1 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
3 Set a special window property for windows with menus
5 * hildon/hildon-window-private.h: Add private
6 hildon_window_set_menu_flag()
7 * hildon/hildon-window.c: (+do_set_has_menu),
8 (+hildon_window_set_menu_flag): set
9 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
10 or remove the property.
11 (hildon_window_set_main_menu),
12 (hildon_window_set_app_menu): call above methods to set or remove
13 the property when a menu is added or removed from the window.
15 Partially fixes: NB#137814 (Indicator for view menu in app title area)
17 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
19 Rename and move the methods to set flags to hildon-private.h
21 * hildon/hildon-gtk.c: (do_set_progress_indicator),
22 (do_set_do_not_disturb), (do_set_portrait_flags): call
23 the new private method hildon_gtk_window_set_clear_window_flag()
24 (hildon_gtk_window_set_progress_indicator),
25 (hildon_gtk_window_set_do_not_disturb),
26 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
27 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
28 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
30 * hildon/hildon-private.h: Add the two new private methds.
32 2009-09-11 Alejandro G. Castro <alex@igalia.com>
34 * hildon/hildon-pannable-area.c,
35 (hildon_pannable_area_init),
36 (hildon_pannable_area_size_allocate),
37 (hildon_pannable_area_button_release_cb): More tuning of the
38 speed, adding a way to calculate the acceleration and fast-panning
39 based on the child size.
41 2009-09-10 Alberto Garcia <agarcia@igalia.com>
43 * hildon/hildon-touch-selector.c
44 (hildon_touch_selector_class_init):
49 2009-09-10 Alberto Garcia <agarcia@igalia.com>
51 * hildon/hildon-touch-selector.c:
54 Fixes: MB#5104 (HildonTouchSelector docs should say no
55 HildonPannableArea is necessary)
57 2009-09-08 Alejandro G. Castro <alex@igalia.com>
59 * hildon/hildon-pannable-area.c,
60 (hildon_pannable_area_timeout): Fixed problem with the timeout
61 function, we need to move before decelerating the first time or we
62 are loosing the first jump.
64 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
66 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
68 [2.2.0 Release Candidate 3]
70 * debian/changelog: updates
72 2009-09-07 Alejandro G. Castro <alex@igalia.com>
74 * hildon/hildon-pannable-area.c,
75 (hildon_pannable_area_class_init): Increased max speed.
77 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
79 [2.2.0 Release Candidate 2]
82 * debian/changelog: bump version, updates
84 2009-09-07 Alejandro G. Castro <alex@igalia.com>
86 * hildon/hildon-pannable-area.c,
87 (hildon_pannable_area_class_init),
88 (hildon_pannable_area_button_release_cb): More tuning for the
91 2009-09-07 Alejandro G. Castro <alex@igalia.com>
93 * hildon/hildon-pannable-area.c,
94 (hildon_pannable_area_class_init):
95 Change the default value of the scrollbar_fade_delay.
97 Fixes: NB#127018 (Panning indicator fades out too slowly)
99 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
101 [2.2.0 Release Candidate 1]
104 * configure.ac: Bump version
105 * debian/changelog: updates
107 2009-09-04 Alejandro G. Castro <alex@igalia.com>
109 * hildon/hildon-pannable-area.c,
110 (hildon_pannable_area_init),
111 (hildon_pannable_area_button_press_cb),
112 (hildon_pannable_area_button_release_cb): Added a new acceleration
113 system to help traversing big lists, tuned the stop threshold.
115 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
117 2009-09-04 Alberto Garcia <agarcia@igalia.com>
119 * hildon/hildon-window.h:
120 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
122 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
124 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
128 * configure.ac: bump version
130 * debian/changelog: updates
132 2009-09-04 Alberto Garcia <agarcia@igalia.com>
134 * hildon/hildon-entry.c
135 * hildon/hildon-text-view.c:
136 Documentation updates
138 2009-09-04 Alberto Garcia <agarcia@igalia.com>
140 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
141 Redraw menu when the number of items change.
143 Fixes: NB#131911 (Appmenu does not resize properly, when number of
146 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
148 * hildon/hildon-pannable-area.c:
149 (hildon_pannable_area_launch_fade_timeout),
150 (hildon_pannable_area_motion_event_scroll),
151 (hildon_pannable_area_check_move),
152 (hildon_pannable_area_button_release_cb),
153 (hildon_pannable_area_scroll_to):
155 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
156 area drawing operations, since this is the recommended for drawing
159 Fixes: NB#110894 (In event view containing very large description
160 field, application menu is displayed blank while panning)
161 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
164 2009-09-03 Alberto Garcia <agarcia@igalia.com>
166 * doc/hildon-sections.txt
167 * hildon/hildon-button.c
168 * hildon/hildon-edit-toolbar.c
169 * hildon/hildon-gtk.[ch]
170 * hildon/hildon-main.c
171 * hildon/hildon-program.c
172 * hildon/hildon-stackable-window.c:
173 Documentation updates
175 2009-08-28 Alberto Garcia <agarcia@igalia.com>
177 * hildon/hildon-app-menu.c
178 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
179 Close the menu if it receives a grab-notify signal.
181 Fixes: NB#134533 (UI freezes if we show a dialog with
182 gtk_dialog_run() while a menu is opened)
184 2009-08-27 Alejandro G. Castro <alex@igalia.com>
186 * hildon/hildon-pannable-area.c,
187 (hildon_pannable_area_class_init): Reverted tuning modifications:
188 "Pannign needs to be faster" and "Pannable kinetics in large lists
191 2009-08-26 Alberto Garcia <agarcia@igalia.com>
193 * hildon/hildon-sound.c (hildon_play_system_sound):
194 Set "module-stream-restore.id" to "x-maemo-system-sound" when
195 playing system sounds
197 Fixes: NB#133767 (Information and confirmation note sound should
198 follow system profile setting)
200 2009-08-26 Alejandro G. Castro <alex@igalia.com>
202 * hildon/hildon-pannable-area.c,
203 (hildon_pannable_area_class_init): Added more force and increased
204 the max speed threshold.
206 Fixes: NB#135344 (Pannign needs to be faster)
208 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
210 [Release 2.1.96, this time for real]
213 * debian/changelog: updates
215 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
217 * hildon/hildon-pannable-area.c
218 (hildon_pannable_area_get_topmost): change the computation of the
219 co-ordinates transformed when no one of the children is a topmost
221 Fixes: NB#133252 (Opening any feed item from RSS always opens the
222 first feed item in browser)
224 2009-08-26 Alejandro G. Castro <alex@igalia.com>
226 * hildon/hildon-pannable-area.c,
227 (hildon_pannable_area_remove_timeouts): Adding this new function
228 with the code that removes the timeouts of the widget.
229 (hildon_pannable_area_dispose),
230 (hildon_pannable_area_unrealize): Use the new remove function to
231 stop timeouts when unrealizing and disposing.
232 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
233 calculation to avoid negative values in some cases.
235 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
237 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
239 * examples/hildon-check-button-example.c: (button_toggled_cb):
240 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
241 (hildon_check_button_set_active), (hildon_check_button_new),
242 (hildon_check_button_clicked), (hildon_check_button_class_init):
243 * hildon/hildon-check-button.h:
244 * hildon/hildon-set-password-dialog.c: (create_contents),
245 (hildon_set_password_response_change), (hildon_checkbox_toggled):
247 Revert "Make HildonCheckButton derive from GtkToggleButton"
249 2009-08-21 Alberto Garcia <agarcia@igalia.com>
253 * configure.ac: bump version
255 * debian/changelog: updates
257 2009-08-21 Alberto Garcia <agarcia@igalia.com>
259 * hildon/hildon-check-button.h
260 * hildon/hildon-check-button.c
261 (hildon_check_button_clicked, hildon_check_button_class_init):
262 Make HildonCheckButton derive from GtkToggleButton
263 (hildon_check_button_toggled, hildon_check_button_set_active)
264 (hildon_check_button_get_active):
265 Deprecate unnecessary HildonCheckButton API and use the
266 one from GtkToggleButton instead.
268 * hildon/hildon-set-password-dialog.c (create_contents)
269 (hildon_set_password_response_change, hildon_checkbox_toggled)
270 * examples/hildon-check-button-example.c (button_toggled_cb):
271 Update to use the GtkToggleButton API
273 Fixes: MB#4739 (HildonCheckButton should inherit from
276 Fixes: NB#132661 (HildonCheckButton should inherit from
279 2009-08-20 Alberto Garcia <agarcia@igalia.com>
281 * hildon/hildon-pannable-area.c
282 (hildon_pannable_area_class_init):
283 Increase default value of HildonPannableArea:velocity_max to 2000
285 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
287 2009-08-18 Alberto Garcia <agarcia@igalia.com>
291 * configure.ac: bump version
293 * debian/changelog: updates
295 2009-08-11 Alejandro G. Castro <alex@igalia.com>
297 * hildon/hildon-pannable-area.c
298 (hildon_pannable_area_size_allocate): Checked the scrollbars
299 before the first try when defining the layout, avoids two
300 allocations in some situations.
302 Fixes: NB#131794 (pannable area produces unnecessary allocations
303 causing performance problems)
305 2009-08-11 Alejandro G. Castro <alex@igalia.com>
307 * hildon/hildon-pannable-area.c
308 (hildon_pannable_area_button_press_cb),
309 (hildon_pannable_area_motion_notify_cb),
310 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
311 the spurious ref added in the copy, fixes leak of window.
313 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
314 if it's realized without showing and then deleted)
316 2009-08-10 Alberto Garcia <agarcia@igalia.com>
320 * configure.ac: bump version
322 * debian/changelog: updates
324 2009-08-06 Alberto Garcia <agarcia@igalia.com>
326 * examples/hildon-hvolumebar-timer-example.c
328 * hildon/hildon-banner.c
329 (hildon_banner_timeout, hildon_banner_ensure_timeout)
330 * hildon/hildon-calendar.c
331 (calendar_timer, start_spinning)
332 * hildon/hildon-color-chooser.c
333 (inline_limited_expose)
334 * hildon/hildon-date-editor.c
335 (hildon_date_editor_entry_focus_in)
336 (hildon_date_editor_entry_validate)
337 (hildon_date_editor_entry_select_all)
338 * hildon/hildon-note.c
340 * hildon/hildon-number-editor.c
341 (hildon_number_editor_button_pressed)
342 (hildon_number_editor_start_timer, do_mouse_timeout),
343 (add_select_all_idle, hildon_number_editor_select_all)
344 * hildon/hildon-time-editor.c
345 (hildon_time_editor_entry_focus_in)
346 (highlight_callback, hildon_time_editor_validate)
347 (hildon_time_editor_entry_select_all)
348 * hildon/hildon-time-picker.c
349 (hildon_time_picker_arrow_press)
350 (hildon_time_picker_key_repeat_timeout)
351 * hildon/hildon-window.c
352 (hildon_window_key_press_event)
353 (hildon_window_escape_timeout):
354 Replace all calls to g_idle_add/g_timeout_add with their
355 gdk_threads counterparts.
357 Fixes: NB#126198 (gdk-threads API should be used to install idle
358 and timeout handlers)
360 2009-08-06 Alejandro G. Castro <alex@igalia.com>
362 * hildon/hildon-pannable-area.c,
363 (hildon_pannable_area_class_init): Increased the overshooting max
364 speed to get a faster effect.
365 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
366 deceleration of the overshooting
367 (hildon_pannable_area_button_release_cb): Calculate initial
368 overshooting speed when finger on the screen using the distance to
369 launch the effect faster.
371 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
372 lists with slow row renderers)
374 2009-08-05 Alberto Garcia <agarcia@igalia.com>
376 * doc/hildon-sections.txt: Add new functions
378 2009-08-05 Alberto Garcia <agarcia@igalia.com>
380 * hildon/hildon-text-view.[ch]
381 * hildon/hildon-entry.[ch]:
382 Add deprecation guards around deprecated functions.
384 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
386 * hildon/hildon-app-menu.c: Remove leftover function declaration.
388 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
390 Remove the grab from HildonAppMenu
392 * hildon/hildon-app-menu.c:
393 Now hildon-desktop places a blocker window behind the menu to handle
394 its closing, so the grab is no longer needed. This simplifies its
395 implementation and allows the system blanking to succeed.
397 Fixes: NB#130910 (Screen gets unlocked when menu is open)
399 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
403 * configure.ac: bump version
405 * debian/changelog: updates
406 * debian/control: raise debian dependency on GTK+
408 2009-08-04 Alberto Garcia <agarcia@igalia.com>
410 * hildon/hildon-text-view.c
411 * hildon/hildon-entry.c:
412 Remove all placeholder code from HildonEntry and HildonTextView
413 and use the API in GtkEntry and GtkTextView instead.
415 * examples/hildon-entry-example.c
416 * examples/hildon-text-view-example.c
417 * examples/hildon-wizard-dialog-example.c
418 * hildon/hildon-get-password-dialog.c
419 * hildon/hildon-login-dialog.c
420 * hildon/hildon-picker-dialog.c
421 * hildon/hildon-set-password-dialog.c
422 * hildon/hildon-touch-selector-entry.c:
423 Replace all deprecated calls to HildonEntry and HildonTextView
424 with their Gtk counterparts.
426 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
429 2009-08-03 Alejandro G. Castro <alex@igalia.com>
431 * hildon/hildon-pannable-area.c,
432 (hildon_pannable_area_check_move),
433 (hildon_pannable_area_button_release_cb),
434 (hildon_pannable_area_scroll_to): Reverted the priority change of
435 the timeout, in some situations, slow renderers, the click do not
436 make it to the mainloop on time.
438 Fixes NB#131013 (unable to stop panning file manager by tapping on
441 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
443 * configure.ac: bump version
445 * debian/changelog: updates
447 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
449 * hildon/hildon-touch-selector.[ch]
450 (hildon_touch_selector_center_on_index): New method that allows to center
451 on a item not selected
453 Fixes NB#130291 (New HildonTouchSelector API is required to center on
456 2009-07-29 Alberto Garcia <agarcia@igalia.com>
458 * hildon/hildon-text-view.c
459 (+set_logical_color, +hildon_text_view_style_set)
460 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
461 (hildon_text_view_init)
462 * hildon/hildon-entry.c
463 (+set_logical_color, +hildon_entry_style_set)
464 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
465 (hildon_entry_class_init, hildon_entry_init)
466 * hildon/hildon-button.c
467 (+set_logical_font, +set_logical_color)
468 (hildon_button_style_set, hildon_button_init)
469 (hildon_button_set_arrangement, hildon_button_set_style):
470 Remove all calls to hildon_helper_set_logical_font() and
471 hildon_helper_set_logical_color(), which are recursive, from
474 Fixes: NB#123409 (Showing dialog consumes significant amount of
477 2009-07-29 Alejandro G. Castro <alex@igalia.com>
479 * hildon/hildon-pannable-area.c,
480 (hildon_pannable_area_timeout): Added the process updates of the
481 scrollbars window in the pannable.
483 Fixes: NB#130043 (scrollindicator not smooth while panning)
485 2009-07-23 Alejandro G. Castro <alex@igalia.com>
487 * hildon/hildon-pannable-area.c,
488 (hildon_pannable_area_check_move),
489 (hildon_pannable_area_button_release_cb),
490 (hildon_pannable_area_scroll_to): Increased the priority of the
491 timeout this way it is going to be handled before the events.
493 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
497 * configure.ac: bump version
498 * debian/changelog: updates
500 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
502 * hildon/hildon-entry.c: (set_property): Do not allow to set
503 automatic height and use finger height instead, to prevent an to
504 have a smaller size than than its theme pixbuf.
506 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
508 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
510 * configure.ac: postrelease version bump.
511 * debian/changelog: post release version bump
513 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
518 * configure.ac: Bump version.
519 * debian/changelog: Updates.
521 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
523 * hildon/hildon-note.c: (label_size_request): Take the note
524 padding into account when setting the size request.
526 Fixes: NB#127896 (Information notes text truncated)
528 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
530 * configure.ac: postrelease version bump.
531 * debian/changelog: post release version bump
533 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
538 * configure.ac: Bump version.
539 * debian/changelog: Updates.
541 2009-07-16 Alejandro G. Castro <alex@igalia.com>
544 * hildon/hildon-text-view.c,
545 (hildon_text_view_button_press_event): Grabbed the focus in button
546 press, this way we are sure the widget has the focus in the
547 release event, required for HIM.
549 Fixes: NB#121445 (Virtual keyboard opening is not working in same
550 way for each text entry field)
552 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
554 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
555 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
556 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
557 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
558 (hildon_pannable_area_[gs]et_center_on_child_focus)
559 Redefined GtkContainer set-focus-child signal, in order to center
560 properly on a child when it receives the focus. Defined a new property
561 "center-on-child-focus" in order to activate this feature (deactivated
562 by default). Public get/set methods defined to manage the property.
564 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
566 2009-07-14 László Pere <lpere@blumsoft.eu>
568 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
569 the new size is applied.
571 Fixes: NB#124510 (The Application Menu is distorted when switched
572 between portrait and landscape mode)
573 Fixes: NB#115388 (Power key menu does not resize itself)
575 2009-07-01 Alberto Garcia <agarcia@igalia.com>
577 * hildon/hildon-banner.c (hildon_banner_map):
578 Set banner position after mapping.
580 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
582 * configure.ac: postrelease version bump.
583 * debian/changelog: post release version bump
585 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
590 * configure.ac: Bump version.
591 * debian/changelog: Updates.
593 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
595 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
598 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
600 * tests/check-hildon-banner.c
602 * tests/test_suites.h
603 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
604 were testing deprecated functions.
605 * examples/hildon-banner-example.c: typo on button3 type, that causes
606 a fail compiling with --with-examples but without --disable-deprecated
608 Missed commit in order to fix compilation using '--enable-fatal' and
609 '--disable-deprecated' (see previous commit)
611 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
613 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
614 functions with #ifndef HILDON_DISABLE_DEPRECATED
615 * examples/hildon-find-toolbar.c: Protect deprecated
616 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
617 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
618 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
619 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
621 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
622 to allow proper compilation of deprecated functions defined on the header
624 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
626 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
628 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
629 Cache the panning indicator color.,
630 (hildon_pannable_area_style_set): Query the color on style changes.
631 (hildon_pannable_draw_vscroll),
632 (hildon_pannable_draw_hscroll),
633 (hildon_pannable_area_expose_event): Use the cached panning indicator
634 color instead of looking it up on every expose and more.
636 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
638 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
639 (hildon_pannable_draw_hscroll),
640 (hildon_pannable_area_expose_event): Fix the panning indicator color,
641 so that it's "SecondaryTextColor", as desired.
643 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
645 * hildon/hildon-picker-dialog.c:
646 (selection_completed): take into account HILDON_UI_MODE_NORMAL
647 * hildon/hildon-touch-selector.c
648 (hildon_touch_selector_init): Initialize hildon-ui-mode
649 (hildon_touch_selector_row_activated): new callback for the
650 "row-activated" signal, in order to save the last activated
651 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
652 if the current hildon-ui-mode is coherent with the touch selector
653 (hildon_touch_selector_class_init)
654 (hildon_touch_selector_get_property)
655 (hildon_touch_selector_set_property)
656 Added "hildon-ui-mode" property
657 (disconnect_model_handlers): renamed to clean_column
658 (hildon_touch_selector_remove): use clean_column function
659 (_create_new_column): use the hildon-ui-mode to create the treeview, and
660 only select the first element on HILDON_UI_MODE_EDIT
661 (hildon_touch_selector_column_init): Initialize last_activate
662 (hildon_touch_selector_append_column): check that the touch selector
663 is coherent with the current hildon-ui-mode
664 (hildon_touch_selector_get_hildon_ui_mode)
665 (hildon_touch_selector_set_hildon_ui_mode)
666 Added a getter/setter for the hildon-ui-mode property
667 (hildon_touch_selector_get_last_activated_row): Added this method in
668 order to get the last activated row.
669 * examples/hildon-touch-selector-normal-mode-example.c
670 New example, that shows how to use the HildonTouchSelector in
671 HILDON_UI_MODE_NORMAL
673 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
674 Kristian Rietveld <kris@lanedo.com> advices
676 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
678 * hildon/hildon-time-selector.c: (update_format_policy): Do
679 not call update_format_dependant_columns() if not necessary.
680 (update_format_dependant_columns): Remove unnecessary check for
681 the number of columns.
683 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
685 * hildon/hildon-note.c (+hildon_note_constructor),
686 (hildon_note_class_init), (+hildon_note_set_padding),
687 (hildon_note_rebuild): Install a constructor where to set the
688 padding properties in the note, so that it actually works fine.
689 Use hildon_note_set_padding() for this, and also to set it during
692 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
694 * configure.ac: Bump GTK+ requirement to 2.14.3.
695 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
696 when using maemo-gtk to define proper margins for the notes.
698 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
699 with the dialog edge)
701 2009-06-24 Alberto Garcia <agarcia@igalia.com>
703 * hildon/hildon-banner.c
704 (hildon_banner_class_init):
706 (+hildon_banner_size_request):
707 Request always the full width of the screen.
708 (hildon_banner_realize)
709 (-hildon_banner_check_position, hildon_banner_map):
710 hildon_banner_check_position() is not needed in Hildon 2.2.
711 (-hildon_banner_reset_wrap_state)
712 (hildon_banner_constructor, hildon_banner_init):
713 Remove unnecessary calls to hildon_banner_reset_wrap_state()
714 (+banner_do_set_text)
715 (force_to_wrap_truncated):
716 Remove has_been_wrapped and has_been_truncated attributes.
717 (+reshow_banner, hildon_banner_real_show_information)
718 (hildon_banner_show_information_with_markup)
719 (hildon_banner_show_animation, hildon_banner_show_progress)
720 (hildon_banner_set_text, hildon_banner_set_markup):
721 Refactor code. Shrink banner vertically to use the minimum space
722 necessary everytime the text of the label is updated.
723 (screen_size_changed):
724 Call force_to_wrap_truncated() when the size of the screen
727 Fixes: NB#120500 (only device memory connect mmc in use info
728 banner is left aligned)
730 Fixes: NB#120613 (Size of HildonBanner varies depending on
731 previously opened banners)
733 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
735 * hildon/hildon-color-chooser.c
736 (hildon_color_chooser_pointer_motion): Take the widget allocation
739 Fixes: NB#124385 (Unable to select exact point in color mixing box
740 in color palette dialog)
742 2009-06-23 Alejandro G. Castro <alex@igalia.com>
744 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
745 (hildon_pannable_area_dispose)
746 (hildon_pannable_area_button_press_cb)
747 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
748 (hildon_pannable_area_button_release_cb)
749 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
750 New 'panning-started' and 'panning-finished' signals.
752 Fixes: NB#121732 (New feature request: Signal to pannable area
753 that informs when panning is stopped.)
755 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
757 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
758 instead of hardcoded colon.
760 Fixes: NB#124090 (New calendar wizard title is not using
761 ecdg_ti_caption_separator)
763 2009-06-22 David King <davidk@openismus.com>
765 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
766 constants and functions, as well as correct many typos throughout the
769 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
772 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
774 * configure.ac: postrelease version bump.
775 * debian/changelog: post release version bump
777 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
782 * configure.ac: Bump version.
783 * debian/changelog: Updates.
785 2009-06-18 Alberto Garcia <agarcia@igalia.com>
787 * hildon/hildon-window-stack.c
788 (hildon_window_stack_pop_and_push_list):
789 Prevent windows from having the same stack index
791 2009-06-18 Alberto Garcia <agarcia@igalia.com>
793 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
794 Use the index of the previous window rather than the stack length
795 to calculate the new index.
799 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
801 * hildon/hildon-date-selector.c
802 (hildon_date_selector_select_current_date)
803 (hildon_date_selector_get_date)
804 (hildon_date_selector_select_day):
805 Update the documentation: uses always the range (1-31), as it is obvious
806 that the final one will depend on the month and the year, but globally
807 the range is this, in a similar GtkCalendar approach
808 (hildon_date_selector_get_date):
809 Update the documentation: add NULL as a valid value for the day, month
812 Fix some details, after talk with David King on bug MB#4698
814 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
816 * hildon/hildon-touch-selector-entry.c
817 * hildon/hildon-touch-selector.c
818 Update the documentation of the "text-column" property
820 2009-06-18 David King <davidk@openismus.com>
822 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
823 several typos and errors throughout the documentation.
825 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
828 2009-06-18 Alberto Garcia <agarcia@igalia.com>
830 * hildon/hildon-note.c (hildon_note_realize):
831 Make HildonNote support portrait mode.
833 Fixes: NB#123448 (HildonNote is not portrait-friendly)
835 2009-06-17 Alberto Garcia <agarcia@igalia.com>
837 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
838 Document this function
840 2009-06-17 David King <davidk@openismus.com>
842 * hildon/hildon-date-selector.c
843 (hildon_date_selector_select_current_date)
844 (hildon_date_selector_get_date): Update documentation regarding days,
845 as the day of the month is dependent on both the month and the year.
846 (hildon_date_selector_get_date): Fix documentation of output arguments.
848 Fixes: MB#4698 (DateSelector documentation has bad output argument
849 description, and the day depends on both the month and the year)
851 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
853 * hildon/hildon-caption.c: Other documentation fixes to
856 2009-06-17 David King <davidk@openismus.com>
858 * hildon/hildon-caption.c: Minor documentation updates for
859 HildonCaption. Fixes MB#4697.
861 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
863 * doc/hildon-docs.sgml: Add hildon-version section.
864 * doc/hildon-sections.txt:
865 * hildon/hildon-version.h.in: Document versioning macros and
868 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
870 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
871 from HildonPickerDialog section.
873 2009-06-16 Alberto Garcia <agarcia@igalia.com>
875 * hildon/hildon-banner.c (hildon_banner_bind_style)
876 (screen_size_changed, hildon_banner_init)
877 (hildon_banner_real_show_information)
878 (hildon_banner_show_information_with_markup)
879 (hildon_banner_show_animation, hildon_banner_show_progress):
880 Set a different widget name to banners in portrait mode, for them
881 to be themed correctly.
883 2009-06-16 Alberto Garcia <agarcia@igalia.com>
885 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
886 Set a different widget name to notes in portrait mode, for them to
889 Partially fixes: NB#118401 (HildonNote causes unnecessary
892 2009-06-16 Alberto Garcia <agarcia@igalia.com>
894 * hildon/hildon-note.c (hildon_note_class_init)
895 (+hildon_note_size_request, screen_size_changed):
896 Always request the full width of the screen.
898 Fixes: NB#118375 (unnecessary rescaling of images)
900 2009-06-16 Alejandro G. Castro <alex@igalia.com>
902 * hildon/hildon-pannable-area.c,
903 (hildon_pannable_area_init),
904 (hildon_pannable_area_realize): Replaced old code adding flags in
905 the object init, now we add it with the other flags in the realize
908 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
910 * hildon/hildon-note.c: (hildon_note_class_init): Several
911 documentation improvements to the HildonNote widget.
913 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
915 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
917 Fixes: MB#4556 (HildonNoteType is undocumented)
919 2009-06-15 Alberto Garcia <agarcia@igalia.com>
921 * hildon/hildon-picker-button.c:
922 Explain how HildonPickerButton sets the title of its dialog
924 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
925 the title of its dialog)
927 2009-06-15 Alberto Garcia <agarcia@igalia.com>
929 * hildon/hildon-check-button.c:
930 Documentation updates
932 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
935 2009-06-15 Alberto Garcia <agarcia@igalia.com>
938 * hildon/hildon-edit-toolbar-private.h
939 * hildon/hildon-edit-toolbar.c
940 (+hildon_edit_toolbar_set_progress_indicator)
941 (hildon_edit_toolbar_init): Add progress indicator to the
944 * hildon/hildon-gtk.c
945 (hildon_gtk_window_set_progress_indicator):
946 If the window contains a HildonEditToolbar, enable the progress
949 * hildon/hildon-private.h
950 * hildon/hildon-private.c
951 (+hildon_private_create_animation)
952 * hildon/hildon-banner.c
953 (-hildon_banner_create_animation):
954 Moved to hildon-private.c
956 Fixes: NB#102373 (Progress indicator also for the Edit mode
959 2009-06-15 Alberto Garcia <agarcia@igalia.com>
961 * hildon/hildon-app-menu-private.h
962 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
963 (hildon_app_menu_add_filter, +menu_item_button_event)
964 (hildon_app_menu_button_release, hildon_app_menu_init):
965 Make sure that buttons receive 'button-release-event' in spite of
966 the grab held by HildonAppMenu
968 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
970 2009-06-15 Alberto Garcia <agarcia@igalia.com>
972 * hildon/hildon-app-menu.c
973 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
974 New style property to set the size of the group of filter buttons.
976 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
978 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
983 * configure.ac: Bump version.
984 * debian/changelog: Updates.
986 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
988 * hildon/hildon-main.c: Minor documentation fixes.
990 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
992 * doc/hildon-sections.txt:
993 * hildon/hildon-defines.h: Document the defines, organize them,
994 and mark deprecations as such.
996 Fixes: MB#4463 (Hildon size #defines are undocumented)
998 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1000 * hildon/hildon-animation-actor.c:
1001 * hildon/hildon-app-menu.c:
1002 * hildon/hildon-button.c:
1003 * hildon/hildon-date-editor.c:
1004 * hildon/hildon-dialog.c:
1005 * hildon/hildon-edit-toolbar.c:
1006 * hildon/hildon-entry.c:
1007 * hildon/hildon-program.c:
1008 * hildon/hildon-remote-texture.c:
1009 * hildon/hildon-stackable-window.c:
1010 * hildon/hildon-text-view.c:
1011 * hildon/hildon-touch-selector.c:
1012 * hildon/hildon-window-stack.c:
1013 * hildon/hildon-window.c:
1015 Remove redundant "represents" wording from most of the documentation.
1017 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1019 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1023 * hildon/Makefile.am
1024 * hildon/hildon-banner-private.h
1025 * hildon/hildon-banner.c:
1026 Move HildonBannerPrivate to hildon-banner.c and remove
1027 hildon-banner-private.h
1028 Use a bit field to store private booleans.
1030 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1032 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1033 Don't install a new idle function if there's already one
1038 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1040 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1041 (+legacy_menu_realized, +legacy_menu_unmapped)
1042 (+set_legacy_menu_type):
1043 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1044 they can be identified by the window manager.
1046 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1047 displayed in wrong location)
1049 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1052 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1054 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1056 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1057 use gtk-doc support)
1059 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1061 * hildon/hildon-code-dialog.c
1062 * hildon/hildon-date-editor.c
1063 * hildon/hildon-number-editor.c
1064 * hildon/hildon-seekbar.c
1065 * hildon/hildon-stackable-window.c
1066 * hildon/hildon-window.c:
1067 Misc documentation updates
1069 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1071 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1072 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1074 Fixes: NB#117931 (Theming issues in accounts dialogs)
1076 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1078 * hildon/hildon-pannable-area.c,
1079 (hildon_pannable_area_button_release_cb): Changed the coordinates
1080 of the original release in case we want to discard the release,
1081 some widgets in Fremantle do not handle the leave-notify.
1083 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1085 * hildon/hildon-pannable-area.c,
1086 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1087 the release using the last refactored functions and avoiding the
1088 movement if an element was selected.
1090 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1092 * hildon/hildon-pannable-area.c,
1093 (hildon_pannable_area_check_move),
1094 (hildon_pannable_area_handle_move),
1095 (hildon_pannable_area_motion_notify_cb): Refactored the
1096 motion_notify method using a couple of new functions.
1098 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1100 * hildon/hildon-date-selector.c:
1101 (hildon_date_selector_construct_ui):
1102 * hildon/hildon-time-selector.c:
1103 (hildon_time_selector_constructor):
1104 * hildon/hildon-touch-selector-entry.c:
1105 (hildon_touch_selector_entry_set_text_column),
1106 (hildon_touch_selector_entry_get_text_column):
1107 * hildon/hildon-touch-selector.c: (_default_print_func),
1108 (hildon_touch_selector_new_text): Use
1109 hildon_touch_selector_set/get_text_column() instead of
1110 setting/getting the "text-column" property.
1112 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1114 * doc/hildon-sections.txt: Add the new public methods below.
1116 * examples/hildon-picker-button-multicolumn-example.c:
1117 (create_touch_selector):
1118 * examples/hildon-touch-selector-example.c: (create_selector):
1119 * examples/hildon-touch-selector-multi-cells-example.c:
1121 Use hildon_touch_selector_column_set_text_column()
1123 * hildon/hildon-touch-selector-column.h:
1124 * hildon/hildon-touch-selector.c:
1125 (hildon_touch_selector_column_set_text_column),
1126 (hildon_touch_selector_column_get_text_column):
1127 Make hildon_touch_selector_column_set/get_column() public, use
1128 them in the inline example, document them, and reference to them
1131 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1133 * hildon/hildon-time-selector.c: Fix the docs for
1134 hildon_time_selector_new_step().
1136 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1138 * hildon/hildon-touch-selector.c: Improve the documentation for
1139 hildon_touch_selector_append_column().
1141 Fixes MB#4641 (Documentation:
1142 hildon_touch_selector_append_column() ref-counting)
1144 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1146 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1147 Comment out test 5, since the hildon_controlbar_set_range() range
1148 check is broken and fixing it would have side effects. Also,
1149 this finally fixes make distcheck.
1151 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1153 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1155 * tests/TEST-CASES.txt: Remove other bogus test.
1156 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1157 Remove bogus test that was setting/retrieving a valid value.
1159 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1161 * tests/TEST-CASES.txt: Remove bogus tests.
1162 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1163 Remove three bogus tests that were actually setting valid colors.
1165 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1167 * configure.ac: post release version bump
1168 * debian/changelog: post release version bump
1170 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1175 * configure.ac: Bump version.
1176 * debian/changelog: Updates.
1178 2009-06-08 Christian Dywan <christian@lanedo.com>
1182 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1183 Correct errors in hildon_format_file-size_for_display and use
1184 translations from the hildon-fm package instead of osso-filemanager.
1186 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1188 * hildon/hildon-pannable-area.c,
1189 (hildon_pannable_area_init): Initialized new values to handle the
1190 adjustment position.
1191 (hildon_pannable_area_adjust_value_changed): Check if the values
1192 changed before even call the redraw function.
1193 (hildon_pannable_area_size_allocate),
1194 (hildon_pannable_axis_scroll),
1195 (hildon_pannable_area_scroll),
1196 (hildon_pannable_area_jump_to): Improved the diagonal movement
1199 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1202 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1204 * examples/hildon-banner-example.c:
1205 Several style updates
1206 (on_animation_clicked, on_animation_idle)
1207 (on_progress_clicked, on_progress_idle):
1208 Add additional reference for the cases when the parent window is
1211 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1213 * doc/hildon-sections.txt
1214 * hildon/hildon-pannable-area.c
1215 * hildon/hildon-banner.h
1216 * hildon/hildon-banner.c: Documentation updates.
1218 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1221 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1223 * hildon/hildon-calendar-popup.h:
1224 * hildon/hildon-caption.h:
1225 * hildon/hildon-code-dialog.h:
1226 * hildon/hildon-controlbar.h:
1227 * hildon/hildon-date-editor.h:
1228 * hildon/hildon-dialog.h:
1229 * hildon/hildon-get-password-dialog.h:
1230 * hildon/hildon-hvolumebar.h:
1231 * hildon/hildon-login-dialog.h:
1232 * hildon/hildon-note.h:
1233 * hildon/hildon-number-editor.h:
1234 * hildon/hildon-range-editor.h:
1235 * hildon/hildon-seekbar.h:
1236 * hildon/hildon-set-password-dialog.h:
1237 * hildon/hildon-sort-dialog.h:
1238 * hildon/hildon-time-editor.h:
1239 * hildon/hildon-time-picker.h:
1240 * hildon/hildon-volumebar-range.h:
1241 * hildon/hildon-volumebar.h:
1242 * hildon/hildon-vvolumebar.h:
1243 * hildon/hildon-weekday-picker.h:
1244 * hildon/hildon-window.h:
1245 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1246 macros with the current replacements
1248 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1250 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1252 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1253 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1254 itself, to make it fit better with Fremantle style.
1256 Fixes: NB#109878 (height and width of focus on color icon is not
1257 consistent with other item in the application tool bar)
1259 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1261 * hildon/hildon-touch-selector.c:
1262 (hildon_touch_selector_optimal_size_request): use the current requisition
1263 as the base, in order to include any possible extra widget, like the
1264 hildon entry on HildonTouchSelectorEntry
1266 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1268 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1270 * configure.ac: post release version bump
1271 * debian/changelog: post release version bump
1273 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1278 * configure.ac: Bump version.
1279 * debian/changelog: Updates.
1281 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1283 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1285 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1286 to ensure the banner contents are centered, instead of relying on
1287 the expand and fill properties in GtkHBox.
1288 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1290 Fixes: NB#108265 (Animation banner not properly centered)
1292 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1294 * hildon/hildon-pannable-area.c
1295 (hildon_pannable_area_initial_effect): Remove the initial_effect
1296 management, check initial_hint
1297 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1298 set initial_effect to FALSE
1299 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1300 by launching the fade_timeout if the scrollbars state has changed and are
1302 * examples/hildon-pannable-area-initial-hint-example.c
1303 Modified to allow to remove rows too. Add and remove rows one by one.
1305 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1307 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1308 Don't close the menu if there's an animation actor below it.
1310 Fixes: NB#117927 (Application menu not usable with animation
1313 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1315 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1316 "focus-on-click" from the dialog button, to avoid stealing the
1317 focus from the entry.
1319 Fixes: NB#118903 (Account setup wizard: Text in Search field
1320 should be focused when "Region" touch list picker is reopened
1323 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1325 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1326 (prepare_action_area): Completely hide the dialog separator.
1328 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1330 * hildon/hildon-touch-selector-entry.c
1331 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1332 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1333 now that the entry is exposed.
1335 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1337 * hildon/hildon-touch-selector-entry.c
1338 (hildon_touch_selector_entry_init): Change the entry's size
1339 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1341 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1343 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1344 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1345 avoid unnecessary scaling.
1347 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1349 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1350 Create grab transfer window before calling parent's map function.
1352 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1353 "crushed" button(s) in the top left corner)
1355 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1357 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1358 Check if the window is already realized when pushing it.
1360 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1362 * configure.ac: post release version bump
1363 * debian/changelog: post release version bump
1365 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1370 * configure.ac: Bump version.
1371 * debian/changelog: Updates.
1373 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1375 * hildon/hildon-app-menu.c: Doc updates.
1377 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1379 * hildon/hildon-banner.c: Remove leftover macro.
1381 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1383 * hildon/hildon-pannable-area.c,
1384 (hildon_pannable_area_scroll_indicator_fade),
1385 (hildon_pannable_area_button_release_cb): Reviewed vmin
1386 conditions, it could cause problems in the fadeout procedure.
1388 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1390 * hildon/hildon-pannable-area.c
1391 (hildon_pannable_area_button_release_cb): Added a threshold to
1392 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1394 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1396 * hildon/hildon-pannable-area.c,
1397 (hildon_pannable_area_set_property): Added code to sync the gtk
1398 dnd threshold with the panning threshold.
1400 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1402 * hildon/hildon-pannable-area.c,
1403 (hildon_pannable_area_class_init): Changed some of the default
1404 values, now it should be less responsive and more accurate.
1406 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1408 * hildon/hildon-pannable-area.c,
1409 (hildon_pannable_area_init),
1410 (hildon_pannable_area_scroll_indicator_fade),
1411 (hildon_pannable_area_button_press_cb),
1412 (hildon_pannable_axis_scroll),
1413 (hildon_pannable_area_timeout),
1414 (hildon_pannable_area_motion_notify_cb),
1415 (hildon_pannable_area_button_release_cb): Changed the name of the
1416 clicked attribute to button_pressed, it is more clear about its use.
1418 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1420 * src/hildon-pannable-area.c
1421 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1423 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1424 vertical scrollbar visibility, and use the data on private section instead,
1425 remove the initial_hint check
1426 (hildon_pannable_area_expose_event): add the initial_hint check here
1428 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1430 * src/hildon-pannable-area.c
1431 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1432 if the fadeout effect was used
1433 (hildon_pannable_area_expose_event): check if it is required to
1434 manage the initial effect on the begining of the function. Previously
1435 it was made at the end, but this doesn't ensure that the scrollbars
1436 will be painted on the first show. Do not set to FALSE initial_effect,
1437 to ensure that the initial hint is showed the first time the pannable
1439 * examples/Makefile.am
1440 * examples/hildon-pannable-area-initial-hint-example.c:
1441 New example, to show that the initial-hint is showed when the widget
1444 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1445 initially if the application can be scrolled)
1447 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1449 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1450 Resize table before adding new items to make sure that
1451 gtk_table_resize() is called just once.
1453 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1455 * hildon/hildon-app-menu-private.h
1456 * hildon/hildon-app-menu.c (item_visibility_changed)
1457 (filter_visibility_changed, hildon_app_menu_show_all)
1458 (hildon_app_menu_hide_all, hildon_app_menu_init):
1459 Rearrange items just once when gtk_widget_show_all()/hide_all()
1462 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1464 * hildon/hildon-app-menu.c
1465 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1466 Don't call gtk_widget_show() on added items.
1468 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1469 automatically when they're added)
1471 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1473 * hildon/hildon-banner.c
1474 (hildon_banner_realize, +hildon_banner_unrealize)
1475 (+screen_size_changed, hildon_banner_class_init):
1476 Redisplay the banner if the screen is rotated.
1478 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1479 on transition from landscape to portrait)
1481 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1483 * hildon/hildon-banner.[ch]:
1484 (hildon_banner_show_information_override_dnd): remove icon_name from the
1485 method definition as it is ignored.
1486 * examples/hildon-banner-dnd-example.c: updated with the change on
1489 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1491 * hildon/hildon-banner-private.h: new require_override_dnd and
1492 overrides_dnd variables
1493 * hildon/hildon-banner.h:
1494 (hildon_banner_show_information_override_dnd): new method, that shows
1495 the information but sets the override flag, in order to show important
1497 * hildon/hildon-banner.c
1498 (hildon_banner_show_information_override_dnd): new method
1499 (hildon_banner_set_override_flag): new utility function
1500 (hildon_banner_real_show_information): new utility function, in order to
1501 generalize the current hildon_banner_show_information_override_dnd and
1502 hildon_banner_show_information_override_dnd
1503 * examples/Makefile.am
1504 * examples/hildon-banner-dnd-example.c: New example that show how to
1505 use the new hildon_banner_show_information_override_dnd
1507 Fixes: NB#114874 (There is no possibility to show hildon banners with
1510 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1512 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1513 behind hildon_pannable_calculate_vel_factor().
1515 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1517 * hildon/hildon-pannable-area.c
1518 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1519 deceleration factors.
1521 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1523 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1524 Reduce the default value for 'scroll_time' to 1 second, since the
1525 current initial scrolling takes too much time.
1527 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1529 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1530 calculate velocity factor during initialization, since the properties
1533 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1535 * hildon/hildon-pannable-area.c
1536 (hildon_pannable_area_set_property): Calculate the velocity factor
1537 after setting the deceleration property and not after.
1539 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1541 * hildon/hildon-entry.c
1542 (hildon_entry_class_init, +set_property, hildon_entry_new)
1543 * hildon/hildon-check-button.c
1544 (hildon_check_button_class_init)
1545 (+set_property, hildon_check_button_new):
1546 Make the theme size a property.
1548 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1549 others) do too much in the _new function)
1551 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1553 * configure.ac: post release version bump
1554 * debian/changelog: post release version bump
1556 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1561 * configure.ac: Bump version.
1562 * debian/changelog: Updates.
1564 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1566 * hildon/hildon-gtk.h
1567 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1568 New API function to take a screenshot of a window
1570 Fixes: NB#106374 (Need API to take a loading screenshot)
1572 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1574 * hildon/hildon-time-selector.c
1575 (update_format_policy): prevent to use hours and minutes unitialized
1577 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1579 * hildon/hildon-window.c (hildon_window_size_request):
1580 Always request the full size of the screen (minus the title bar if
1581 not in fullscreen mode).
1583 Fixes: NB#107486 (HildonWindow should size itself properly)
1585 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1587 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1588 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1589 (on_show_cb), (sound_handling): Disconnect the idle handler for
1590 the sound when the note is finalized to avoid possible crashes.
1592 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1595 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1597 * src/hildon-animation-actor.c,
1598 * src/hildon-remote-texture.c:
1599 Added proper object cleanup to remove signal handler and object
1600 references as HildonAnimationActor and HildonRemoteTexture
1601 objects get destroyed.
1603 Fixes: NB#116682 (Destroying parented animation actors when
1604 parent in unmapped leads to crash)
1606 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1608 Based on a patch by Christian Dywan (christian@imendio.com)
1610 * doc/hildon-sections.txt:
1611 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1612 * hildon/hildon-helper.h: New file size formatting method.
1614 * debian/control: Depend on osso-filemanager l10n package for
1615 proper localization strings.
1617 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1619 * tests/Makefile.am: Include top_srcdir to make possible to build
1620 tests in a different builddir.
1621 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1622 on a different builddir.
1624 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1626 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1627 (hildon_touch_selector_remove): Disconnect model's signal handler
1630 Fixes: NB#116289 (Hildon home crashes while adding task
1633 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1635 * hildon/hildon-button.c
1636 (hildon_button_set_title, hildon_button_set_value):
1637 Hide labels containing an empty string.
1639 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1641 * configure.ac: post release version bump
1642 * debian/changelog: post release version bump
1644 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1649 * configure.ac: Bump version.
1650 * debian/changelog: Updates.
1652 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1654 * hildon/hildon-note-private.h: Removed sound_signal_handler
1655 * hildon/hildon-note.c
1656 (on_show_cb): new callback on note "show" event, this simply adds
1657 a idle, with the function sound_handling
1658 (sound_handling): removed the sound_signal_handler management
1659 (hildon_note_init): connect note "show" event to on_show_cb
1660 (hildon_note_realize): remove the connection to "expose-event"
1662 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1663 device?' confirmation note)
1665 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1667 * hildon/hildon-note.c
1668 (hildon_note_new_information_with_icon_name)
1669 (hildon_note_new_confirmation_with_icon_name):
1670 Terminate the list of parameters in g_object_set() calls
1672 Fixes: NB#115166 (Formatting memory card is not taking place)
1674 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1676 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1677 "dialog-information" role for the sound being played.
1679 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1681 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1682 Don't make the menu a modal window, it causes strange interactions
1683 with the pointer grab and it's not really needed.
1685 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1687 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1689 * hildon/hildon-touch-selector.[ch]
1690 (hildon_touch_selector_optimal_size_request): function added to get a
1691 optimal size request from the touch selector, when you want a dialog to
1692 show as much of the selector
1693 * hildon/hildon-picker-dialog.c:
1694 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1695 (hildon_app_menu_class_init):
1696 New "max-height-landscape" and "max-height-portrait" style properties
1697 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1698 (hildon_picker_dialog_get_max_height): returns the maximum height using
1699 the style properties defined and checking the current portrait/landscape
1701 (_hildon_picker_dialog_set_selector): removed the set_size_request
1703 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1705 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1707 * hildon/hildon-bread-crumb-trail.c:
1708 * hildon/hildon-bread-crumb.c:
1709 * hildon/hildon-seekbar.c:
1710 Add reference to replacements for these deprecated widgets.
1712 Fixes: MB#4461 (Documentation: All deprecations should mention
1715 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1717 * examples/hildon-remote-texture-example.c
1719 Change the include to the hildon-remote-texture in order to compile
1720 properly the examples on the installed libhildon1-examples package
1722 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1724 * tests/Makefile.am: Add check for HildonPickerButton.
1725 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1726 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1727 checks for the HildonPickerButton.
1728 * tests/check_test.c (configure_tests): Add the test suite.
1729 * tests/test_suites.h: likewise.
1731 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1733 * hildon/hildon-touch-selector.c
1734 (+on_row_changed): Emit HildonTouchSelector:changed when the
1735 contents of a selected row change.
1736 (_create_new_column), (_hildon_touch_selector_set_model): connect
1737 to GtkTreeModel:row-changed on a newly set model.
1739 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1741 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1743 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1745 * hildon/hildon-banner.c (hildon_banner_destroy)
1746 (hildon_banner_show_progress, hildon_banner_set_fraction):
1747 Remove the progress bar from HildonBanner and use a progress
1750 Fixes: NB#113761 (Update progress banner to use progress
1753 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1755 * hildon/hildon-banner.c:
1756 Calculate size of the banner label using the actual screen width
1757 rather than using a fixed value.
1759 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1762 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1764 * hildon/hildon-pannable-area.c,
1765 (hildon_pannable_area_class_init): Fixed signals documentation
1768 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1770 * configure.ac: post release version bump
1771 * debian/changelog: post release version bump
1773 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1778 * configure.ac: Bump version.
1779 * debian/changelog: Updates.
1781 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1783 * hildon/hildon-edit-toolbar.c
1784 (hildon_edit_toolbar_init):
1785 Don't let buttons in HildonEditToolbar receive focus.
1787 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1788 typing on an HW arrows key)
1790 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1792 * doc/Makefile.am: Fix build.
1794 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1796 * doc/Makefile.am: Do not redefine content_files.
1798 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1806 Renamed src/ to hildon/
1811 Include <hildon/hildon.h> directly in all examples.
1813 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1815 * src/hildon-sort-dialog.c
1816 (hildon_sort_dialog_add_sort_key_with_sorting)
1820 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1822 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1823 make distcheck passes.
1825 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1827 * Makefile.am: Enable gtk-doc during distcheck.
1829 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1831 * Makefile.am: Do not distribute the debian/ directory.
1833 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1835 * doc/Makefile.am: Add the extra SGML files to content_files,
1836 so that they are distributed properly.
1838 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1840 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1843 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1845 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1846 (hildon_note_new_information_with_icon_name): Set the "icon" property
1847 to preserve soundness.
1849 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1851 * src/hildon-font-selection-dialog.c
1852 (hildon_font_selection_dialog_set_property): Fail when the "family"
1853 property is set to NULL.
1855 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1860 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1862 * src/hildon-time-selector.h:
1863 Added HildonTimeSelectorFormatPolicy
1864 * src/hildon-time-selector.c:
1865 Added PROP_TIME_FORMAT_POLICY
1866 (_check_ampm_format): renamed to check_automatic_ampm_format
1867 (update_format_policy), (update_format_dependant_columns): new functions
1868 (hildon_time_selector_class_init)
1869 (hildon_time_selector_contructor)
1870 (hildon_time_selector_init)
1871 (hildon_time_selector_get_property)
1872 (hildon_time_selector_set_property)
1873 (hildon_time_selector_get_time)
1874 (hildon_time_selector_set_time)
1875 * src/hildon-touch-selector.h: new file
1876 * src/hildon-touch-selector.c
1877 (hildon_touch_selector_emit_changed)
1878 (hildon_touch_selector_block_changed)
1879 (hildon_touch_selector_unblock_changed)
1880 Added functions to allow to block the emission of the "changed" signal
1881 * src/hildon-picker-dialog.c
1882 (hildon_picker_dialog_show): call the parent show before the custom code
1883 * examples/hildon-time-button-example.c
1884 Modified, so now you can configure the time format using the new property
1886 Added a new property "time-format-policy" that allow to choose the time
1887 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1888 case it uses gconf in order to check if the time selector must use
1891 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1894 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-note.c (hildon_note_init):
1897 Label in HildonNote must be left aligned, not centered. This
1898 reverts the last commit in HildonNote.
1900 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1901 is connectivity dialog)
1903 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1908 * doc/hildon-sections.txt:
1909 Added hildon_gtk_window_set_do_not_disturb()
1911 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1913 * src/hildon-note.c (hildon_note_init): Center label.
1915 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1918 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1923 * configure.ac: Bump version.
1924 * debian/changelog: Updates.
1926 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1928 * src/hildon-note-private.h: Add button-width to the private data.
1929 * src/hildon-note.c (+resize_button),
1930 (+hildon_note_orientation_update): methods to repack widgets on orientation
1932 (screen_size_changed): Call above method for confirmation notes.
1933 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1934 (hildon_note_rebuild): Store the original width request from buttons.
1936 Fixes: NB#109635 (Confirmation notes do not support portrait)
1938 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1940 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1941 when it is a progress note.
1943 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1945 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1946 in the note, since there are no horizontally arranged contents.
1948 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1950 * src/hildon-gtk.c (+set_flag): new generic method to
1951 set/delay a flag setting in a window.
1952 (hildon_gtk_window_set_progress_indicator):
1953 (hildon_gtk_window_set_do_not_disturb),
1954 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1955 avoid code redundance.
1957 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1959 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1961 * src/hildon-gtk.c (set_clear_window_flag),
1962 (do_set_progress_indicator), (do_set_do_not_disturb),
1963 (do_set_portrait_flags),
1964 (hildon_gtk_window_set_progress_indicator),
1965 (hildon_gtk_window_set_do_not_disturb),
1966 (hildon_gtk_window_set_portrait_flags):
1967 Allow setting dnd-flag, progress indicator, and portrait flags
1968 when the window is not realized.
1970 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1972 * src/hildon-pannable-area.c,
1973 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1974 the size request policy function and defines.
1976 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1978 * doc/hildon-sections.txt: Add the new API.
1979 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1980 method to set the portrait flags.
1981 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1983 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1985 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1987 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1988 to allow using this method with other flags.
1989 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1990 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1992 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1994 * src/hildon-touch-selector.c
1995 (hildon_touch_selector_append_text_column):
1996 Make the cell renderer use the smallest width possible.
1998 Fixes: NB#108470 (Selected items in multiple selection are either
1999 having a tick that is cut or not visible at all.)
2001 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2003 * src/hildon-touch-selector.c
2004 (hildon_touch_selector_append_text_column):
2007 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2009 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2010 Use g_strdup_printf() instead of a fixed size buffer.
2012 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2014 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2015 Close banners when a HildonAppMenu is popped up.
2017 Fixes: NB#111027 (Title menu closed immediately if activated when
2018 "Invalid e-mail address" banner is shown)
2020 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: Bump version.
2026 * debian/changelog: Updates.
2028 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2030 * src/hildon-banner.c (hildon_banner_realize):
2031 Mark HildonBanner as supporting portrait mode.
2032 Use GDK to set window properties insetad of direct Xlib calls.
2034 Fixes: NB#111830 (HildonBanner should be marked as supporting
2037 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2039 * src/hildon-note.c (hildon_note_rebuild):
2040 Hide action area in information notes. Prevents text from being
2041 slightly aligned to the left.
2043 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2046 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2048 Patch by Mox Soini (ext-mox.soini@nokia.com)
2050 * src/hildon-banner.c (hildon_banner_create_animation):
2051 Use stylus-sized icons in animation banner.
2053 Fixes: NB#111206 (stylus sized icon for animation banner)
2055 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2059 (+hildon_gtk_window_set_do_not_disturb):
2060 New API to set the do-not-disturb flag.
2062 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2064 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2066 * examples/hildon-progress-indicator-example.c: Fix example
2068 * src/hildon-gtk.c (set_clear_window_flag)
2069 (hildon_gtk_window_set_progress_indicator):
2070 Create a generic function for setting flags to a window.
2071 Use GDK instead of direct Xlib calls.
2073 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2075 * src/hildon-button.c (hildon_button_set_arrangement):
2076 Due to NB#88126, if one of the labels is too long it will be
2077 painted outside the button. The 'value' label is more likely to be
2078 the longest one, so we change its packing options in order to
2079 truncate it if necessary. As a side effect, the 'title' label will
2080 no longer be truncated.
2082 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2084 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2089 * configure.ac: Bump version.
2090 * debian/changelog: Updates.
2092 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2094 Deprecation of the hildon_pannable_area_set_size_request_policy
2095 API, the only policy properly supported in gtk+ nowadays is the
2098 * src/hildon-pannable-area.c,
2099 (hildon_pannable_area_size_request): Added a workaround for the
2100 size_request to avoid the problems of huge pixmaps in case someone
2101 is still using the function.
2102 * src/hildon-pannable-area.h: Deprecated the enum with the
2105 Fixes: NB#110244 (Problems with the
2106 hildon_pannable_area_set_size_request_policy API)
2108 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2110 * src/hildon-pannable-area.c,
2111 (hildon_pannable_area_init),
2112 (hildon_pannable_area_size_request),
2113 (hildon_pannable_area_style_set),
2114 (hildon_pannable_draw_vscroll),
2115 (hildon_pannable_draw_hscroll),
2116 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2117 indicator_width to clarify the use of the attribute.
2119 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2124 * configure.ac: Bump version.
2125 * debian/changelog: Updates.
2127 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2129 * src/hildon-picker-dialog.c
2130 * src/hildon-touch-selector.c
2131 Reverting the change that tried to avoid the hardcoded height on
2132 the picker dialog, as causes problems on the hildon-touch-selector
2135 Fixes: NB#110029 (selectors not scrolling to selected value)
2137 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-touch-selector.c: Fix typos
2141 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2143 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2144 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2145 request more motions after using it.
2147 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2149 * src/hildon-calendar.c (hildon_calendar_expose),
2150 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2151 Remove unused variables.
2153 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2155 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2156 variable assignment.
2158 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2160 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2161 Check the return value of gtk_tree_selection_get_selected()
2164 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-animation-actor.c
2167 * src/hildon-button.c
2169 * src/hildon-pannable-area.c
2170 * src/hildon-picker-button.c
2171 * src/hildon-program.c
2172 * src/hildon-remote-texture.c
2173 * src/hildon-text-view.c
2174 * src/hildon-touch-selector.c
2175 * src/hildon-window-stack.c
2176 * src/hildon-window.c:
2177 Add missing 'Since: 2.2' tags.
2179 * doc/hildon-sections.txt:
2180 Add some missing symbols.
2182 * doc/hildon-docs.sgml:
2183 New 'Other' section for HildonAnimationActor and
2186 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2188 Patch by Iván Gómez (igomez@igalia.com)
2191 * doc/compiling.sgml
2192 * doc/hildon-docs.sgml
2193 * doc/hildon-sections.txt
2194 * doc/migration.sgml
2195 * doc/resources.sgml
2197 New chapters on using the Hildon library.
2198 Updated the general structure of the reference manual.
2199 Other minor documentation fixes.
2201 * src/hildon-calendar-popup.c
2202 * src/hildon-calendar.c
2203 * src/hildon-controlbar.c
2204 * src/hildon-date-editor.c
2205 * src/hildon-dialog.c
2206 * src/hildon-hvolumebar.c
2207 * src/hildon-number-editor.c
2208 * src/hildon-range-editor.c
2209 * src/hildon-sort-dialog.c
2210 * src/hildon-time-editor.c
2211 * src/hildon-time-picker.c
2212 * src/hildon-volumebar-range.c
2213 * src/hildon-volumebar.c
2214 * src/hildon-vvolumebar.c
2215 * src/hildon-weekday-picker.c:
2216 Add deprecation notes
2218 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2219 Document 'horizontal-movement' and 'vertical-movement' signals.
2221 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2226 * configure.ac: Bump version.
2227 * debian/changelog: Updates.
2229 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2231 * src/hildon-pannable-area.c,
2232 (hildon_pannable_area_class_init): increased the minimum velocity.
2233 (hildon_pannable_area_button_release_cb): Updated the
2234 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2235 setup. Review the code to control that last event.
2237 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2240 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2242 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2244 * src/hildon-get-password-dialog.c
2245 (hildon_get_password_set_property),
2246 (hildon_get_password_get_property), (create_contents):
2247 * src/hildon-login-dialog-private.h:
2248 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2249 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2250 (hildon_login_dialog_get_password):
2251 * src/hildon-set-password-dialog-private.h:
2252 * src/hildon-set-password-dialog.c
2253 (hildon_set_password_set_property),
2254 (hildon_set_password_get_property), (create_contents),
2255 (hildon_set_password_response_change),
2256 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2258 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2259 instead and look more Fremantle style.
2261 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2263 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2265 * doc/hildon-sections.txt
2266 * src/hildon-window-stack.h
2267 * src/hildon-window-stack.c
2268 (+hildon_window_stack_get_windows):
2269 New API to obtain the list of windows on a stack.
2271 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2273 * src/hildon-app-menu.c (hildon_app_menu_popup)
2274 (hildon_app_menu_class_init, -hildon_app_menu_show):
2275 Remove hildon_app_menu_show() and move all its checks to
2276 hildon_app_menu_popup()
2278 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2280 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2281 (_hildon_picker_dialog_set_selector): removed call to
2282 gtk_widget_set_size_request
2283 * src/hildon-touch-selector.c
2284 (_create_new_column): change the pannable size request policy
2286 Avoid to use a hardcoded height for the hildon picker dialog. In order
2287 to get that, we needed to change the hildon pannable size request
2289 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2291 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2293 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2294 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2297 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2299 * debian/control: Depend on osso-system-lock localization package.
2300 * src/hildon-code-dialog.c: Obtain the secu_application_title
2301 translation from osso-system-lock.
2302 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2303 for translation the atk related strings, that's not necessary.
2304 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2305 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2306 cancel button, it is not required.
2308 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2310 * src/hildon-pannable-area.c,
2311 (hildon_pannable_area_class_init): Modified the default value of
2312 the overshooting max speed, we have reduced it.
2314 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2316 * doc/hildon-sections.txt
2317 * src/hildon-window-private.h
2318 * src/hildon-window.h
2319 * src/hildon-window.c (hildon_window_class_init)
2320 (hildon_window_init, hildon_window_finalize)
2321 (hildon_window_realize, hildon_window_get_property)
2322 (hildon_window_set_property, hildon_window_update_markup)
2323 (hildon_window_get_markup, hildon_window_set_markup):
2324 New "markup" property and hildon_window_{get,set}_markup() methods.
2326 * examples/hildon-stackable-window-example.c (new_window):
2327 Update example to use hildon_window_set_markup()
2329 Fixes: NB#106375 (Need API to retitle a window with a title
2332 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2334 * src/hildon-pannable-area.c,
2335 (hildon_pannable_area_class_init): Changed the default value of
2336 the initial_hint to TRUE.
2337 (hildon_pannable_area_initial_effect): Changed the initial effect,
2338 not the effect is just the fade-out of the scrollbars.
2340 Fixes: NB#107775 (No scrollbars can be seen when several items are
2341 available in a dialog)
2343 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2345 * src/hildon-program.c (hildon_program_update_top_most):
2348 Fixes: NB#109179 (Memory leak in Hildon program)
2350 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2352 * src/hildon-banner.c (-get_current_app_window):
2353 Remove unused function.
2355 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2357 * src/hildon-pannable-area.c: Modified the documentation of the
2358 get adjustments functions to explain the problem of using the
2359 adjustment directly.
2360 (hildon_pannable_area_class_init): Improved the explanation about
2363 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2365 * src/hildon-app-menu-private.h
2366 * src/hildon-app-menu.c
2367 (hildon_app_menu_class_init):
2368 Bring back the 'external-border' style property
2369 (hildon_app_menu_class_init, hildon_app_menu_init)
2370 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2371 Set a fixed width-request for the menu, independent of the number
2374 Fixes: NB#94957 (Smoothly opened application menu)
2376 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2378 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2380 * src/hildon-banner.c
2381 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2383 Make sure that the banner is correctly placed the first time it's
2385 (hildon_banner_check_position, -check_fullscreen_state):
2386 Show the banner in the same place no matter if the window is in
2387 fullscreen mode or not.
2389 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2391 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2393 * src/hildon-touch-selector.c (_default_print_func): reorder
2394 concatenation for clarity.
2396 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2398 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2399 for multicolumn selectors.
2401 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2403 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2408 * configure.ac: Bump version.
2409 * debian/changelog: Updates.
2411 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2413 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2416 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2418 * configure.ac: removed libcangerra-gtk dependency
2419 * debian/control: removed libcanberra-gtk dependency
2420 * src/Makefile.am: removed libcanberra gtk related flags
2421 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2422 context, and manage a global canberra context instead
2424 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2426 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2428 Patch by Daniel Borgmann (danielb@openismus.com)
2430 * src/hildon-edit-toolbar.c:
2431 Adjust the left padding.
2432 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2433 Paint background of the edit toolbar.
2435 Fixes: NB#107897 (Patch to make editmodetoolbar background
2436 themeable and adjust margin)
2438 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2440 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2442 * src/hildon-program.c (hildon_program_update_top_most):
2443 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2445 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2446 change when the user tasks in/out of an application)
2448 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2450 * configure.ac: added libcangerra-gtk dependency
2451 * debian/control: added libcanberra-gtk dependency
2452 * src/Makefile.am: added libcanberra gtk related flags
2453 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2456 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2458 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2460 * src/hildon-program.c (hildon_program_remove_window)
2461 (hildon_program_add_window): Add checks for the window
2462 parameter. Don't decrease the window counter if the window is not
2465 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2467 * src/hildon-pannable-area.c,
2468 (hildon_pannable_area_realize): Fixed position of the event_window
2469 in the realize method.
2471 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2473 * src/hildon-app-menu-private.h
2474 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2475 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2476 (hildon_app_menu_key_press, hildon_app_menu_init)
2477 (hildon_app_menu_finalize):
2478 Make sure that all idle functions are removed when the widget is
2481 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2483 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2488 * configure.ac: Bump version.
2489 * debian/changelog: Updates.
2491 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2493 * src/hildon-entry.c
2494 (+hildon_entry_show_placeholder),
2495 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2496 that replace hildon_entry_update_contents().
2497 (hildon_entry_set_text),
2498 (hildon_entry_set_placeholder),
2499 (hildon_entry_focus_in_event),
2500 (hildon_entry_focus_out_event): Determine when it is needed
2501 either to show or hide the placeholder and call the above methods.
2503 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2504 when the placeholder text is already set)
2506 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2509 simple GdkPixbufAnim using the new icons for the banner.
2510 (hildon_banner_show_animation): Use the above mentioned method to
2511 create the animation widget.
2513 Fixes: NB#103564 (Make hildon animation banner use individual
2514 image files as the animation)
2516 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2518 * src/hildon-pannable-area.c,
2519 (hildon_pannable_leave_notify_event): Check if the child is NULL
2520 to avoid sending the leave.
2522 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2524 * src/hildon-pannable-area.c,
2525 (hildon_pannable_area_class_init),
2526 (hildon_pannable_leave_notify_event): Added a handler of the
2527 leave-notify-signal to consider when no motion notify before
2530 Fixes: NB#107494 (Items stay selected when clicking and moving
2531 away when inside pannable area)
2533 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2538 * configure.ac: Bump version.
2539 * debian/changelog: Updates.
2541 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2543 Patch by Alberto Garcia (agarcia@igalia.com)
2545 * src/hildon-date-button.c,
2546 (hildon_date_button_class_init),
2547 (hildon_date_button_init): Removed the construct property handling
2548 and created a default selector in the init method.
2549 * src/hildon-picker-button.c,
2550 (hildon_picker_button_class_init): Removed the construct flag of the
2553 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2555 * src/hildon-main.c (hildon_init):
2556 Don't allow hildon_init() to be called more than once.
2558 Fixes: NB#106607 (hildon_init should issue error message upon
2561 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2563 * examples/hildon-pannable-area-touch-list-example.c
2564 * examples/hildon-pannagle-area-touch-grid-example.c
2565 * examples/hildon-edit-toolbar-example.c
2566 * examples/hildon-touch-selector-multi-cells-example.c
2567 Removed the call to gtk_rc_parse_string, as it is not required since
2570 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2572 * src/hildon-pannable-area.c,
2573 (hildon_pannable_area_class_init): Modified the default panning
2574 threshold of the widget to 6px.
2576 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2577 than the threshold value ) within the button is not sending the
2580 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2582 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2583 for the treeview in the new column. This way, the touch list will never
2586 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2587 be selected manually for the HW keys to work)
2589 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2591 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2592 comparison instead of using strcmp(). Fixes a compiler warning as well.
2594 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2596 * doc/hildon-docs.sgml: Do not set the library version in the
2597 document title, use the releaseinfo tag for that purpose instead.
2599 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2601 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2602 Do not jump to the first item if the text in the entry is removed.
2604 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2609 * configure.ac: Bump version.
2610 * debian/changelog: Updates.
2612 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-entry.c (hildon_entry_refresh_contents):
2615 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2616 Use "ReversedSecondaryTextColor" for the placeholder text.
2618 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2620 * src/hildon-text-view.c: Fix compilation warning.
2622 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-button.c (hildon_button_class_init): Don't make
2625 "title" and "value" construction properties, to prevent them from
2626 overwriting labels set from derived classes.
2628 * src/hildon-picker-button.c
2629 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2630 (hildon_picker_button_class_init): Make touch-selector a
2631 construction property.
2633 * src/hildon-date-button.c (hildon_date_button_class_init)
2634 (+hildon_date_button_constructed): Add a default date selector if
2637 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2639 * src/hildon-touch-selector.c: Small documentation fixes.
2641 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2643 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2645 * src/hildon-entry.c (hildon_entry_refresh_contents),
2646 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2647 widget name, set the logical color directly instead and a boolean
2648 showing_placeholder instead.
2649 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2650 use the widget name here either.
2652 Fixes: NB#105678 (HildonTextView should use logical colours
2653 instead of setting widget name)
2655 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2657 Patch by Daniel Elster (danielk@openismus.com)
2659 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2660 Add user_data parameter.
2661 (hildon_touch_selector_set_print_func_full): New function akin
2662 hildon_touch_selector_set_print_func() but with support for user
2663 data and a destroy callback.
2664 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2665 to clean up the print function user data.
2666 (hildon_touch_selector_class_init): Install dispose function.
2667 (HildonTouchSelectorPrivate::print_user_data),
2668 (HildonTouchSelectorPrivate::print_destroy_func): New private
2670 (hildon_touch_selector_init): Initialize new private members.
2671 (hildon_touch_selector_get_current_text): Pass along user data
2672 to the print function.
2673 (_default_print_func): Add dummy user_data to parameter list.
2674 * hildon-date-selector.c (_custom_print_func): ditto,
2675 * hildon-time-selector.c (_custom_print_func): ditto,
2676 * hildon-touch-selector-entry.c
2677 (hildon_touch_selector_entry_print_func): ditto.
2679 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2681 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2683 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2685 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2687 * src/hildon-pannable-area.c,
2688 (hildon_pannable_area_init),
2689 (hildon_pannable_area_button_press_cb),
2690 (hildon_pannable_area_motion_notify_cb): We have added code to
2691 handle the leave and enter events when using the motion events.
2693 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2695 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2697 * src/hildon-date-button.c (hildon_date_button_get_date)
2698 (hildon_date_button_set_date): Make sure that the button has a
2701 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2703 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2705 * src/hildon-pannable-area.c,
2706 (hildon_pannable_area_class_init),
2707 (hildon_pannable_area_calculate_velocity): Modify the use of the
2708 force and adapt the value.
2710 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2712 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2713 (hildon_app_menu_class_init): Hide the menu if it receives a
2714 delete-event, but don't destroy it
2716 Fixes: NB#104485 (Not able to address the call when application
2717 menu is opened at background)
2719 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2721 * src/hildon-app-menu.c
2722 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2723 Remove the "external-border" style property, let the menu take its
2724 natural size (or the one set by the window manager)
2725 (hildon_app_menu_repack_items):
2726 Don't reshow the menu, avoid flickers.
2728 Partially fixes NB#94957 (Smoothly opened application menu)
2730 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2735 * configure.ac: Bump version.
2736 * debian/changelog: Updates.
2738 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2740 * src/hildon-pannable-area.c,
2741 (hildon_pannable_area_motion_notify_cb): We control that the
2742 direction error margin is used just in case the movement is
2743 allowed in the other direction.
2745 Fixes: NB#105012 (buttons inside a pannable area not getting
2746 release event when dragging/releasing)
2748 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2750 * src/hildon-pannable-area.c,
2751 (hildon_pannable_area_class_init),
2752 (hildon_pannable_area_get_property),
2753 (hildon_pannable_area_set_property),
2754 (hildon_pannable_area_initial_effect),
2755 (hildon_pannable_axis_scroll),
2756 (hildon_pannable_area_button_release_cb): Reviewed the
2757 overshooting effect, now it has its own max
2758 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2759 speed when bouncing.
2761 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2766 * configure.ac: Bump version.
2767 * debian/changelog: Updates.
2769 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2771 * src/hildon-pannable-area.c,
2772 (hildon_pannable_area_class_init): Changed the max speed, now
2773 users can launch the widget very fast. Reduced the default force,
2774 that way it is easier to control the launch speed.
2776 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2778 * src/hildon-pannable-area.c,
2779 (hildon_pannable_area_button_release_cb): Removed this check
2780 because it causes problems when the device is overloaded.
2782 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2784 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2785 add a current_text field to store the text entered in the
2786 touch selector entry.
2787 (_clean_current_selection): clean up the current text as well.
2788 (_save_current_selection), (_restore_current_selection):
2789 Save/restore the text in the entry if the selector is a
2790 HildonTouchSelectorEntry.
2792 Fixes: NB#102541 (value entered in the touch selector entry is not
2793 shown when opened for second time)
2795 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2797 * doc/hildon-sections.txt:
2798 * src/hildon-touch-selector-entry.c
2799 (+hildon_touch_selector_entry_get_entry):
2800 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2802 Fixes: NB#104815 (I need accessor to the entry inside
2803 HildonTouchSelectorEntry)
2805 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2808 (hildon_app_menu_class_init):
2809 New "filter-vertical-spacing" style property.
2811 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2813 * src/hildon-find-toolbar.c
2814 (hildon_find_toolbar_emit_close)
2815 (hildon_find_toolbar_emit_invalid_input)
2816 (hildon_find_toolbar_entry_activate):
2817 Use g_signal_emit() instead of g_signal_emit_by_name()
2819 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2821 Patch by Mox Soini (ext-mox.soini@nokia.com)
2823 * tests/TEST-CASES.txt
2824 * tests/check-hildon-banner.c
2825 * tests/check-hildon-note.c
2826 * src/hildon-banner.c
2827 * src/hildon-code-dialog.c
2828 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2829 * src/hildon-time-editor.c
2830 * examples/hildon-lookup-example.c (main):
2831 Replace obsolete icon names with new ones.
2833 * src/hildon-find-toolbar-private.h:
2834 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2835 (-hildon_find_toolbar_emit_search):
2836 Remove find button and change icon of close button.
2838 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2840 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2842 * src/hildon-time-button.c (hildon_time_button_new_step):
2843 Use the "touch-selector" property to set the selector directly
2844 when creating the object.
2846 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2848 Added a new example application that allows tuning the pannable
2849 area and replaced defines with properties in order to simplify the
2850 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2851 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2852 PROP_DIRECTION_ERROR_MARGIN.
2854 * examples/hildon-pannable-area-tuning-example.c: New example
2856 * src/hildon-pannable-area.c,
2857 (hildon_pannable_area_class_init),
2858 (hildon_pannable_area_init),
2859 (hildon_pannable_area_get_property),
2860 (hildon_pannable_area_set_property),
2861 (hildon_pannable_area_launch_fade_timeout),
2862 (hildon_pannable_area_adjust_value_changed),
2863 (hildon_pannable_axis_scroll),
2864 (hildon_pannable_area_motion_notify_cb),
2865 (hildon_pannable_area_scroll_cb),
2866 (hildon_pannable_area_button_release_cb): We have converted some
2867 of the defines that control the widget to properties to simplify
2870 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2872 * src/hildon-app-menu.c (hildon_app_menu_map)
2873 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2874 so it's closed if a new window appears.
2876 Fixes: NB#104485 (Not able to address the call when application
2877 menu is opened at background)
2879 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2881 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2882 missing 'break' statement in in 'case' construct to avoid
2885 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2887 * src/hildon-touch-selector-entry.c
2888 (hildon_touch_selector_entry_get_property),
2889 (hildon_touch_selector_entry_set_property): Add missing 'break'
2890 statements in in 'case' constructs to avoid incorrect warnings.
2892 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-time-editor.c
2895 (hildon_time_editor_get_time_separators): Do not crash if
2896 the first label is NULL.
2898 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-date-selector.c (_month_days): Check for month to be
2901 strictly less than 12, since otherwise we may overrun the array.
2903 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-date-button.c (+hildon_date_button_new_full)
2906 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2907 (hildon_date_button_init): Set the date selector using a
2908 construction property, to make it happen after HildonButton's
2909 "value" property is set.
2911 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2912 current date by default)
2914 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2916 * doc/hildon-sections.txt
2917 * src/hildon-program.c
2918 * src/hildon-stackable-window.c
2919 * src/hildon-window.c:
2920 Documentation updates
2922 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2924 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2925 (hildon_window_stack_new, +hildon_window_stack_set_property)
2926 (+hildon_window_stack_get_property)
2927 (hildon_window_stack_class_init)
2928 (+hildon_window_stack_set_window_group)
2929 (+hildon_window_stack_get_window_group):
2930 Make the window group a construction property.
2932 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2934 * doc/hildon-sections.txt
2935 * src/hildon-stackable-window-private.h
2936 * src/hildon-stackable-window.h
2937 * src/hildon-stackable-window.c
2938 (-hildon_stackable_window_set_app_menu)
2939 (-hildon_stackable_window_get_app_menu)
2940 (-hildon_stackable_window_toggle_menu)
2941 (-hildon_stackable_window_finalize)
2942 (hildon_stackable_window_class_init)
2943 (hildon_stackable_window_init)
2944 * src/hildon-window-private.h
2945 * src/hildon-window.h
2946 * src/hildon-window.c (hildon_window_init)
2947 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2948 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2949 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2950 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2951 Moved all HildonAppMenu code to HildonWindow. The menu does not
2952 require a HildonStackableWindow anymore.
2954 * src/hildon-app-menu.c
2955 * src/hildon-program.c
2956 * examples/hildon-app-menu-example.c (main):
2957 Update examples and documentation to reflect HildonAppMenu
2960 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-remote-texture.c
2963 * src/hildon-animation-actor.c:
2964 Don't include unused private headers.
2966 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2968 * src/hildon-program-private.h
2969 * src/hildon-program.c
2970 (hildon_program_set_common_menu)
2971 (hildon_program_get_common_menu)
2972 (hildon_program_set_common_app_menu)
2973 (hildon_program_get_common_app_menu):
2974 Change common menu pointers from GtkWidget* to GtkMenu* and
2975 HildonAppMenu* to avoid unnecessary casts.
2977 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2979 * src/hildon-window.c (hildon_window_set_main_menu):
2980 Removed incorrect 'Since:' tag
2982 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2984 * src/hildon-pannable-area.c,
2985 (hildon_pannable_area_calculate_velocity): We use now the
2986 RATIO_TOLERANCE here to check the distance, fixed typo in the
2988 (hildon_pannable_area_motion_notify_cb): We have to set the type
2989 and time even if we are not sending the motion.
2991 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2993 * doc/hildon-sections.txt
2994 * src/hildon-app-menu.h
2995 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2996 (+hildon_app_menu_get_filters): New methods to get the contents of
2999 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3002 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3004 * src/hildon-app-menu.c (hildon_app_menu_popup):
3007 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3009 * src/hildon-window.h
3010 * src/hildon-window.c (+hildon_window_get_main_menu)
3011 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3012 and deprecated hildon_window_get_menu().
3014 * src/hildon-stackable-window.h
3015 * src/hildon-stackable-window.c
3016 (+hildon_stackable_window_set_app_menu)
3017 (+hildon_stackable_window_get_app_menu)
3018 (hildon_stackable_window_set_main_menu): Created
3019 hildon_stackable_window_{get,set}_app_menu() and deprecated
3020 hildon_stackable_window_set_main_menu().
3022 * doc/hildon-sections.txt
3023 * examples/hildon-app-menu-example.c (main)
3024 * src/hildon-app-menu.c
3025 * src/hildon-program.c:
3026 Updated examples and documentation.
3028 Fixes: NB#103758 (No way to obtain a menu from a
3029 HildonStackableWindow)
3031 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3036 * configure.ac: Bump version.
3037 * debian/changelog: Updates.
3039 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3041 * examples/hildon-remote-texture-example.c: Include
3042 hildon-remote-texture.h explicitely.
3043 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3044 applications not defining _XOPEN_SOURCE which don't require this header.
3046 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3048 * doc/hildon-sections.txt
3049 * src/hildon-app-menu.h
3050 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3051 New function to pop up a HildonAppMenu
3053 * src/hildon-stackable-window.c
3054 (hildon_stackable_window_toggle_menu):
3055 Use hildon_app_menu_popup() to show the menu.
3057 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3059 * src/hildon-app-menu.c (hildon_app_menu_show)
3060 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3061 menu if there's another window between it and its parent window.
3063 Fixes: NB#100468 (Application menu window is launched even when a
3064 new secondary-window/dialog is pending to be shown/realized)
3066 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3068 * src/hildon-window-stack.c (hildon_window_stack_push)
3069 (hildon_window_stack_pop_and_push):
3070 Don't forget to push/pop the first window.
3071 Reverse the window list before calling _push_list()
3073 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3075 * src/hildon-picker-button.h
3076 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3077 Remove "value_changed" slot to avoid ABI breakage
3079 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3081 * src/hildon-pannable-area.c,
3082 (hildon_pannable_area_realize),
3083 (hildon_pannable_area_unrealize),
3084 (hildon_pannable_draw_vscroll),
3085 (hildon_pannable_draw_hscroll): Changed the method to handle the
3086 GC used to draw the transparent scrollbar, this way we avoid
3087 creating the GC all the time when drawing the scrollbars.
3089 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3091 * src/hildon-pannable-area.c,
3092 (hildon_pannable_area_init),
3093 (hildon_pannable_area_remove): Removed some unnecessary casts.
3094 (hildon_pannable_area_dispose): Disconnected some signals before
3095 releasing the adjustments.
3097 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3099 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3100 Make sure that all widgets contained in the toolbar are shown.
3102 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3104 * doc/hildon-sections.txt
3105 * src/hildon-picker-button.h
3106 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3107 (_selection_changed, hildon_picker_button_on_dialog_response)
3108 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3109 New hildon_picker_button_value_changed() method.
3112 * src/hildon-picker-button-private.h
3113 * src/hildon-picker-button.c (hildon_picker_button_init)
3114 (+hildon_picker_button_disable_value_changed): Add protected
3115 function for disabling the "value-changed" signal.
3117 * src/hildon-date-button.c (hildon_date_button_set_date):
3118 Don't emit "value-changed" for each one of the three columns.
3120 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3121 before actual change of values)
3123 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3125 * src/hildon-pannable-area.c,
3126 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3127 for the treeview overshooting.
3129 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-banner.c (+hildon_banner_bind_style):
3132 Renamed from hildon_banner_bind_label_style(), now naming the
3133 banner itself as well.
3134 (hildon_banner_show_information),
3135 (hildon_banner_show_information_with_markup),
3136 (hildon_banner_show_animation), (hildon_banner_show_progress):
3137 Name the widgets and labels, based on their type.
3139 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3142 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-note.c (hildon_note_set_property): call
3145 hildon_note_rename() on HildonNote:note-type set.
3146 (hildon_note_rename): Name the note and its label, based on the
3147 HildonNote:note-type property.
3149 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3152 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3154 * src/hildon-pannable-area.c,
3155 (hildon_pannable_area_class_init),
3156 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3157 panning parameters, increased SPS and deceleration factor. Added
3158 also a margin to control fake directions.
3160 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3162 Patch by Sven Herzberg (sven@imendio.com)
3164 * configure.ac: Add missing AM_PROG_CC_C_0
3165 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3167 See NB#101420 (Update unit tests and fix make check)
3169 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3171 This patch was applied before but reverted because it caused
3172 problems, we have changed the main condition and tested the
3173 regressions we detected before and they work ok. We have done a
3174 complete review of the topmost algorithm in order to get a more
3177 * src/hildon-pannable-area.c,
3178 (hildon_pannable_area_get_topmost): Added a new parameter to
3179 filter the the windows that do not include those events.
3180 (hildon_pannable_area_button_press_cb),
3181 (hildon_pannable_area_button_release_cb),
3182 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3183 topmost function, we have added the new parameter.
3185 Fixes: NB#97458 (Pannable area prevents propagation of button
3188 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3190 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3191 if all columns in the selector have an item selected.
3192 (_on_dialog_response): Stop "response" signal emission if there is
3193 any selector column without selected items.
3195 Fixes: NB#101889 (Picker dialog should not close when nothing is
3196 selected in multiple selection list)
3198 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-font-selection-dialog.c
3201 (hildon_font_selection_dialog_class_init),
3202 (hildon_font_selection_dialog_init): Remove the preview
3203 button and dialog, since previewing with default theming is likely
3204 to be overcomplicated. The :preview property has now no effect.
3205 Update documentation blurbs to inform about this.
3207 Fixes: NB#92297 (Preview content is not clearly visible for
3208 default colour text)
3210 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3212 Reviewed the geometry that handles the children size and
3213 scrollbar, now it tries a size and reviews the results depending
3214 on the scrollbars visibility.
3216 * src/hildon-pannable-area.c,
3217 (hildon_pannable_area_realize): Fixed a typo.
3218 (hildon_pannable_area_child_allocate_calculate): Added this
3219 function to calculate the child allocation.
3220 (hildon_pannable_area_size_allocate): Reviewed the allocation
3222 (hildon_pannable_area_check_scrollbars),
3223 (hildon_pannable_area_refresh): Refactored refresh function, this
3224 way we can call the code handling the scrollbars without causing a
3225 size_request, it is interesting in the allocate.
3226 (hildon_pannable_area_init): Replace the callbacks of the
3227 value_changed and changed signals to propertly deal with the
3229 (hildon_pannable_area_grab_notify),
3230 (hildon_pannable_area_initial_effect),
3231 (hildon_pannable_area_launch_fade_timeout),
3232 (hildon_pannable_area_adjust_changed),
3233 (hildon_pannable_area_adjust_value_changed),
3234 (hildon_pannable_area_redraw),
3235 (hildon_pannable_area_button_press_cb),
3236 (hildon_pannable_area_button_release_cb),
3237 (hildon_pannable_area_scroll_cb),
3238 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3239 code and use the new functions adjust_changed and
3240 adjust_value_changed.
3242 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3243 Contact editor dialog)
3245 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3250 * configure.ac: Bump version.
3251 * debian/changelog: Updates.
3253 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3255 * src/hildon-pannable-area.c,
3256 (hildon_pannable_area_get_topmost),
3257 (hildon_pannable_area_button_press_cb),
3258 (hildon_pannable_area_button_release_cb),
3259 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3260 topmost function adding the event mask. We have to try a
3261 differente approach because it is still causing problems (NB#9745,
3264 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3266 * src/hildon-banner.c:
3267 Update the maximum width of timed banners.
3268 (force_to_wrap_truncated): Enforce the maximum text width if the
3271 Fixes: NB#102413 (The text margins (wrapping) in information
3272 banner should be HILDON_MARGIN_TRIPLE)
3274 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3276 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3278 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3279 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3280 bound when calculating the scroll indicator position.
3282 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3283 treat ->lower correctly)
3285 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3287 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3288 expose event handling, since it is not necessary to draw the focus
3291 Fixes: NB#102467 (Do not show highlight on the text in
3294 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3296 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3297 full height of the toolbar for the button and the label.
3299 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3301 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3302 padding before the label and after the button.
3304 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3306 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3308 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3309 Add a GtkVSeparator between the button and the back arrow.
3310 Let the button have automatic size.
3311 Set a name to the widget for theming handling.
3313 Fixes: NB#101793 (Make edit toolbar the same height as window
3314 title bar (use title area theming))
3316 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3318 * src/hildon-helper.c (attach_new_color_element): Fix memory
3321 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3323 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3325 * examples/hildon-button-example.c (common_buttons_window): Don't
3328 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3330 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3331 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3333 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3335 * src/hildon-gtk.c: Check that the window is realized.
3337 Fixes: NB#102225 (Crash setting the progress indicator to a non
3340 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3342 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3343 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3344 instead of modifying the one in the widget style.
3346 Fixes: NB#101043 (Second row of all the command button are
3347 displayed in transparent mode.)
3349 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3351 * src/hildon-date-button.c
3352 * src/hildon-time-button.c: Add gettext macros
3354 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3356 * src/hildon-date-button.c (hildon_date_button_new):
3357 * src/hildon-time-button.c (hildon_time_button_new_step):
3358 Use new logical strings to set the button default title.
3360 Fixes: NB#99915 (Date and Time options are not localised in Date
3363 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3365 * src/hildon-pannable-area.c
3366 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3367 the PANNING_THRESHOLD.
3369 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3371 * src/hildon-pannable-area.c,
3372 (hildon_pannable_area_class_init): Increased the maximum speed.
3373 (hildon_pannable_area_get_property),
3374 (hildon_pannable_area_set_property),
3375 (hildon_pannable_area_timeout): Added a new low friction mode, it
3376 allows the user avoid friction when launching the widget fast
3377 enough. It is interesting to traverse long lists.
3379 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3381 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3382 (+hildon_stackable_window_delete_event): Ignore delete events if
3383 the window is not the topmost one.
3385 Fixes: NB#101698 (Back button long press and delete-event handling)
3387 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3389 * src/hildon-pannable-area.c,
3390 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3391 gtk-dnd-drag-threshold, it was too big. We have defined our own
3392 dnd define and set a smaller value: PANNIG_THRESHOLD.
3394 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3397 user-defined icons, use always the default one.
3399 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3401 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3403 This patch was applied before but reverted because it caused
3404 problems, we have changed the main condition and tested the
3405 regressions we detected before and they work ok.
3407 * src/hildon-pannable-area.c,
3408 (hildon_pannable_area_get_topmost): Added a new parameter to
3409 filter the the windows that do not include those events. Added
3410 also a condition when finding the window to filter windows that do
3411 not ask for those events.
3412 (hildon_pannable_area_button_press_cb),
3413 (hildon_pannable_area_button_release_cb),
3414 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3415 topmost function, we have added the new parameter.
3417 Fixes: NB#97458 (Pannable area prevents propagation of button
3420 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3422 * tests/check-hildon-color-button.c (START_TEST): do not leak
3425 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3427 * src/hildon-font-selection-dialog.c
3428 (hildon_font_selection_dialog_get_preview_text): Return NULL
3429 instead of FALSE on the g_return_val_if_fail().
3431 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3433 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3434 * src/hildon-date-selector.c
3435 (hildon_date_selector_select_current_date):
3436 Do not compare unsigned integers to be greater than or equal 0,
3437 because it's always TRUE.
3439 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3441 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3442 (hildon_date_selector_constructor): Do not select the current
3443 date until we are handle the "changed" signal, to avoid having bogus
3444 elements in the days model.
3446 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3448 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3449 for num_days, since _month_days() can return a negative value.
3451 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3453 * src/hildon-caption.c (hildon_caption_size_allocate):
3454 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3455 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3457 Initialize allocation variables to 0, to avoid eventually using
3458 unitialized variables.
3460 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3462 * src/hildon-bread-crumb-trail.c
3463 (hildon_bread_crumb_trail_size_allocate):
3464 * src/hildon-calendar.c (hildon_calendar_set_background):
3465 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3466 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3467 * src/hildon-seekbar.c (hildon_seekbar_init):
3468 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3469 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3470 * src/hildon-touch-selector-entry.c
3471 (hildon_touch_selector_get_text_from_model):
3472 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3473 * src/hildon-window.c (hildon_window_finalize):
3475 Remove many unused variables.
3477 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3479 * src/hildon-seekbar.c: (hildon_seekbar_init),
3480 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3482 Remove unnecessary g_assert() calls.
3484 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3486 * src/hildon-caption.c: (hildon_caption_expose),
3487 (hildon_caption_set_property), (hildon_caption_init),
3488 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3489 (hildon_caption_size_request), (hildon_caption_size_allocate),
3490 (hildon_caption_forall), (hildon_caption_set_separator),
3491 (hildon_caption_activate), (hildon_caption_set_child_expand),
3492 (hildon_caption_set_label_text),
3493 (hildon_caption_get_label_alignment):
3495 Remove unnecessary g_assert() calls.
3497 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3499 * src/hildon-banner.c
3500 (hildon_banner_map, hildon_banner_init): Make banner temporary
3501 before mapping it to avoid closing other temporary windows, but
3502 make it non-temporary afterwards to avoid being closed by other
3503 non-temporary windows.
3504 (-hildon_banner_client_event, hildon_banner_init):
3505 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3507 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3510 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3512 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3515 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3517 * src/hildon-remote-texture.c
3518 * src/hildon-remote-texture.h
3519 * src/hildon-remote-texture-private.h
3520 * examples/hildon-remote-texture-example.c:
3521 Updates/fixes to remote-texture and its example.
3523 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3525 Patch by Mox Soini (ext-mox.soini@nokia.com)
3527 * src/hildon-code-dialog.c: Update logical id.
3528 * src/hildon-set-password-dialog.c: Update logical id.
3530 Fixes: NB#100646 (Logical strings is shown for ok in set
3531 password,Password needed dialogs)
3533 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3536 * src/hildon-remote-texture.c
3537 * src/hildon-remote-texture.h
3538 * src/hildon-remote-texture-private.h
3540 Added remote texture widget (for Clutter shared memory textures)
3542 * examples/hildon-remote-texture-example.c
3543 * examples/Makefile.am
3544 Added example file for remote texture usage
3546 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3548 * configure.ac: post release version bump.
3549 * debian/changelog: version bump.
3551 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3556 * configure.ac: Bump version.
3557 * debian/changelog: Updates.
3559 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3561 * src/hildon-date-selector.c (hildon_date_selector_init)
3562 (hildon_date_selector_constructor): Don't connect to the "changed"
3563 signal until the selector is completely constructed.
3565 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3567 * src/hildon-touch-selector.c: (_create_new_column),
3568 (hildon_touch_selector_append_column),
3569 (hildon_touch_selector_set_column_selection_mode),
3570 (hildon_touch_selector_set_active),
3571 (hildon_touch_selector_select_iter):
3572 Emit the HildonTouchSelector::changed signal every time selection
3573 is changed in any of the methods above. This behavior was already
3574 documented but not fully functional.
3576 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3577 selection is programmatically changed)
3579 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3581 * doc/hildon-sections.txt: Remove obsolete icon
3582 sizes from here as well.
3584 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3586 * examples/hildon-stackable-window-example.c (add_window): Remove
3589 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3591 * src/hildon-app-menu.c
3592 (hildon_app_menu_show): Check whether the parent window of a menu
3593 is topmost before popping it up.
3595 Fixes: NB#100468 (Application menu window is launched even when a
3596 new secondary-window/dialog is pending to be shown/realized.)
3598 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3600 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3603 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3605 Patch by Mox Soini (ext-mox.soini@nokia.com)
3607 * src/hildon-banner.c: (hildon_banner_show_animation):
3608 use stylus size instead of obsolete note size.
3609 * src/hildon-defines.h: Update icon sizes.
3611 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3613 * src/hildon-touch-selector-entry.c:
3614 (hildon_touch_selector_entry_init): Disable unsupported
3616 (hildon_touch_selector_entry_get_text_column): Emit a warning
3617 if an unsupported input modes is used and explicitile state
3618 these modes in the documentation.
3620 Fixes: NB#99802 (Hildon touch selector entry not working properly
3621 for some of the input modes)
3623 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3625 * src/hildon-pannable-area.c,
3626 (hildon_pannable_area_init): Added the changed signal handlers of
3629 Fixes: NB#100320 (HildonPannableArea does not listen to
3630 GtkAdjustment "change" signals)
3632 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3634 * doc/hildon-sections.txt
3635 * src/hildon-window-private.h
3636 * src/hildon-window.h
3637 * src/hildon-window.c (hildon_window_init)
3638 (hildon_window_realize, hildon_window_unrealize)
3639 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3640 (hildon_window_size_request, hildon_window_size_allocate)
3641 (hildon_window_forall, hildon_window_show_all)
3642 (hildon_window_destroy, +paint_edit_toolbar)
3643 (+hildon_window_set_edit_toolbar):
3644 New hildon_window_set_edit_toolbar() method, to add a
3645 HildonEditToolbar to a window without having to pack it manually.
3647 Reorganize hildon_window_size_allocate()
3649 * src/hildon-edit-toolbar.c: Update documentation.
3651 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3652 example to use the new API.
3654 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3656 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3658 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3659 Remove from stack before calling parent's hide.
3661 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3663 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3664 window is removed from the middle of the stack, update the
3665 transiency of the previous one.
3667 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3670 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3672 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3673 block/unblock the signal handler if it's not actually being used.
3674 Fixes some critical warnings.
3676 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3678 Based on a patch by Iván Gómez (igomez@igalia.com)
3680 * src/hildon-banner.c
3684 * src/hildon-pannable-area.c
3685 * src/hildon-picker-dialog.c
3686 * src/hildon-wizard-dialog.h
3687 * src/hildon-wizard-dialog.c: Documentation updates.
3689 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3690 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3692 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3694 * configure.ac: post release version bump.
3695 * debian/changelog: version bump.
3697 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3702 * configure.ac: Bump version.
3703 * debian/changelog: Updates.
3705 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3707 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3708 a stock icon nor change the relief of the back arrow.
3710 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3711 graphics from theme)
3713 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3715 * src/hildon-button.c (hildon_button_set_alignment): Use
3716 priv->alignment if the button has no child yet.
3718 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3720 * src/hildon-button.c: (hildon_button_init): Set the
3721 button style during initialization to give it the proper
3724 Fixes: NB#99713 (HildonButton value label color is wrong)
3726 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3728 * src/hildon-touch-selector.c: Document
3729 hildon_touch_selector_center_on_selected()
3731 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3733 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3734 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3735 all menu items, but not the menu itself.
3736 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3737 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3738 items after adding them to the menu so keyboard accelerators work.
3739 (hildon_app_menu_show): Don't show the menu if it contains items
3740 but none of them are visible.
3742 * examples/hildon-app-menu-example.c (create_menu): Use
3743 gtk_widget_show_all() to show all menu items.
3745 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3747 * src/hildon-picker-dialog.c:
3748 (-_update_title_on_selector_changed_cb),
3749 (-_dialog_update_title): Removed.
3750 (_select_on_selector_changed_cb), (_on_dialog_response),
3751 (on_selector_columns_changed): Do not update the dialog title.
3752 (setup_interaction_mode): Do not connect to
3753 HildonTouchSelector::changed signal if there's a "done" button, as
3754 the dialog title doesn't need to be updated.
3756 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3759 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3761 Patch by Kristian Rietveld (kris@imendio.com)
3763 * src/hildon-touch-selector.c: (_create_new_column): Use new
3764 GtkTreeView::hildon-row-tapped signal to react to user interactions
3765 instead of ::changed.
3767 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3768 with some dynamic tree model)
3770 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3773 (+screen_size_changed, +label_size_request)
3774 (hildon_note_class_init): Make the Hildon information note have a
3775 minimum height, and make its text hvae a maximum width.
3777 Fixes: NB#98614 (Hildon information note (background) should have
3778 minimum height and maximum text width)
3780 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3782 * src/hildon-banner.h
3783 * src/hildon-banner.c (hildon_banner_show_information)
3784 (hildon_banner_show_informationf)
3785 (hildon_banner_show_information_with_markup): Update documentation
3786 to reflect that the icon_name parameter is not used anymore.
3787 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3788 Remove all code from these functions and mark them as deprecated.
3789 (hildon_banner_show_progress): Mark as deprecated.
3791 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3793 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3795 * src/hildon-pannable-area.c,
3796 (hildon_pannable_area_class_init),
3797 (tranparency_color),
3798 (hildon_pannable_draw_vscroll),
3799 (hildon_pannable_draw_hscroll),
3800 (hildon_pannable_area_expose_event): Added a new way to render the
3801 scrollbars of the pannable area avoiding using cairo at all. This
3802 way we improve the performance of the pannable area rendering. The
3803 cairo rendering procedure is still in the code, we can control
3804 which one to use changing the value of the define
3805 USE_CAIRO_SCROLLBARS.
3807 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3809 * configure.ac: post release version bump.
3810 * debian/changelog: version bump.
3812 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3817 * configure.ac: Bump version.
3818 * debian/changelog: Updates.
3820 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3822 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3823 banners instead of destroying them when they receive a button
3826 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3828 Reverted commit 34028, it was causing regressions, probably the
3829 topmost condition is not correct, we have to check it in more
3830 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3831 propagation of button press events)
3833 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3835 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3836 that the selection is not empty before attempting to retrieve the
3837 current ampm selection.
3839 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3841 * src/hildon-picker-button.c:
3842 (hildon_picker_button_on_dialog_response): Directly update the
3843 button contents when required instead of calling _selection_changed.
3845 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-program.c (hildon_program_update_top_most): Update
3848 'is-topmost' property also when wm_hints is not set.
3850 Fixes: NB#98383 (is-topmost signal is not emitted when task
3851 switcher is clicked.)
3853 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3855 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3859 * src/hildon-animation-actor.c,
3860 * src/hildon-animation-actor.h: Added the animation actor class,
3861 this widget represents an animation actor for WM-assisted
3862 animation effects in the Hildon framework.
3864 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3866 * src/hildon-window-stack-private.h
3867 * src/hildon-window-stack.c
3868 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3869 Avoid calling gtk_widget_show() again indirectly from
3870 hildon_stackable_window_show()
3872 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3874 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3877 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3879 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3880 (hildon_time_selector_init): Move the construction of the hours and
3881 ampm columns to the constructor to preserve the order the columns
3884 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3886 * src/hildon-picker-dialog.c:
3887 (hildon_picker_dialog_class_init): Connect a realize method.
3888 (+hildon_picker_dialog_realize): Setup the interaction mode here
3890 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3891 yet, do it during the realize instead.
3892 (_on_dialog_response):
3893 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3894 if the widget is not realized, to avoid the dialog response before it
3897 Avoid premature responses in the HildonPickerDialog that can cause it
3898 to be hidden before it's even shown.
3900 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3902 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3903 (on_selector_columns_changed), (requires_done_button),
3904 (+prepare_action_area), (setup_interaction_mode),
3905 (_hildon_picker_dialog_set_selector):
3907 Split the interaction mode setup into preparation of the
3908 action area (prepare_action_area()) and the connection of
3909 the signals in setup_interaction_mode() and update the code to
3912 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3914 * src/hildon-pannable-area.c,
3915 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3916 per second to 15, we will check if this is ok regarding
3919 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3921 * src/hildon-pannable-area.c,
3922 (hildon_pannable_axis_scroll): Avoid resize if we already have
3923 reached overshoot_max.
3925 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3927 * src/hildon-pannable-area.c,
3928 (hildon_pannable_area_init),
3929 (hildon_pannable_area_realize),
3930 (hildon_pannable_area_size_allocate),
3931 (hildon_pannable_area_map),
3932 (hildon_pannable_area_unmap),
3933 (hildon_pannable_draw_vscroll),
3934 (hildon_pannable_draw_hscroll),
3935 (hildon_pannable_area_expose_event),
3936 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3937 pannable are to avoid the expose events go to the window and
3938 redraw the window. We save this way that part of the stack and the
3939 paint_boxes. We had to change the positions of the elements when
3942 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3945 * src/hildon-color-chooser-dialog.c:
3946 (hildon_color_chooser_dialog_init):
3947 * src/hildon-font-selection-dialog.c:
3948 (hildon_font_selection_dialog_init),
3949 (hildon_font_selection_dialog_show_preview):
3950 * src/hildon-get-password-dialog.c:
3951 * src/hildon-login-dialog.c:
3952 * src/hildon-set-password-dialog.c:
3953 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3954 * src/hildon-time-picker.c: (hildon_time_picker_init):
3956 Remove obsolete logical string IDs and update to the appropriate ones.
3958 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3960 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3962 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3963 that happens if the window hasn't been realized yet.
3965 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3966 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3968 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3970 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3971 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3974 Fixes: NB#98537 (Device hangs in account settings dialog)
3976 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3978 * configure.ac: post release version bump.
3979 * debian/changelog: version bump
3981 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3986 * configure.ac: Bump version.
3987 * debian/changelog: Updates.
3989 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3991 Added a new function to the HildonTimeButton widget that allows to
3992 change the step of the minutes in the selector associated with the
3993 button: hildon_time_button_new_step
3995 * src/hildon-time-button.c,
3996 (hildon_time_button_init),
3997 (hildon_time_button_new),
3998 (hildon_time_button_new_step):
3999 * src/hildon-time-button.h: Added the new function and refactored
4001 * examples/hildon-time-button-example.c,
4002 (main): We have replaced the function without parameters with the
4003 function with the steps set to 5
4005 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4007 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4009 * src/hildon-time-selector.c,
4010 (hildon_time_selector_class_init),
4011 (hildon_time_selector_constructor),
4012 (hildon_time_selector_get_property),
4013 (hildon_time_selector_set_property),
4014 (_create_minutes_model),
4015 (hildon_time_selector_new_step),
4016 (hildon_time_selector_set_time),
4017 * src/hildon-time-selector.h: Added a new property to the
4018 HildonTimeSelector (minutes-step), we use that property to control
4019 the steps between the minutes in the list of the selector. We have
4020 added a new function to the API to create a widget changing the
4021 step: hildon_time_selector_new_step.
4023 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4025 * src/hildon-time-selector.c,
4026 (hildon_time_selector_class_init),
4027 (hildon_time_selector_constructor),
4028 (hildon_time_selector_init): Overrided the construct function when
4029 creating the time selector object. We have moved the minutes model
4030 handling code from the init to the new construction function:
4031 hildon_time_selector_constructor.
4033 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4035 * examples/hildon-date-button-example.c: (main): Use the new
4036 hildon_date_button_new_with_year_range() method in the example.
4037 * src/hildon-date-button.c:
4038 (+hildon_date_button_new_with_year_range): New public method
4039 to conveniently create a HildonDateButton with a custom year range
4040 in its HildonDateSelector.
4041 * src/hildon-date-button.h: Add the new public method definition.
4043 Fixes: NB#97908 (Not possible to change the year range in
4044 HildonDateSelector/HildonDateButton)
4046 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4048 * src/hildon-date-selector.c:
4049 (+hildon_date_selector_set_property),
4050 (+hildon_date_selector_get_property),
4051 (hildon_date_selector_class_init): Install new properties "min-year"
4052 and "max-year" to define boundaries for the year column.
4053 (_create_year_model): Use the boundary properties to populate the model.
4054 (+hildon_date_selector_new_with_year_range): New public method to
4055 create a HildonDateSelector with a user defined year range.
4056 (hildon_date_selector_select_current_date): Use the new boundaries to
4057 calculate the iterator of current year.
4058 * src/hildon-date-selector.h: Add the new public method definition.
4060 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4062 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4063 Install a constructor method.
4064 (+hildon_date_selector_construct_ui): construct the widget.
4065 (+hildon_date_selector_constructor): new constructor.
4066 (+hildon_date_selector_init): move out widget construction code to
4067 the new constructor.
4069 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4071 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4072 that there's actually a month or year selected before obtaining them.
4073 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4074 of the HildonTouchSelector::changed signal, as it was emitted on every
4075 single item selection.
4077 Fix some warnings and possible crashers due to the selection restoring.
4079 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4081 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4082 the signal handlers only after creating the dialog instead of on every
4085 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4087 * src/hildon-button.c (hildon_button_init)
4088 * src/hildon-check-button.c (hildon_check_button_init)
4089 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4090 focus when clicked by default.
4092 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4094 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4097 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4099 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4100 Alejandro G. Castro (alex@igalia.com)
4102 * src/hildon-picker-dialog.c:
4103 (hildon_picker_dialog_class_init): install new "center-on-show"
4105 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4106 (hildon_picker_dialog_set_property): add setter code for the new
4108 (hildon_picker_dialog_get_property): add getter code for the new
4110 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4111 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4114 Fixes: NB#92849 (Selected item is not always visible when
4115 HildonTouchSelector is shown)
4117 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4119 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4120 Alejandro G. Castro (alex@igalia.com)
4122 * src/hildon-touch-selector.c:
4123 (_create_new_column): Do not connect to the "realize" signal of the
4125 (hildon_touch_selector_append_column): center on the selected items
4126 when a new column is appended.
4127 (hildon_touch_selector_select_iter): Factor out the code to select a
4128 column to hildon_touch_selector_scroll_to().
4129 (+search_nearest_element): Method to retrieve the nearest selected
4130 element to the visible area of the pannable area in a column.
4131 (+on_realize_cb): scroll to the initially selected item.
4132 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4133 the pannable area is realized, otherwise delay this until it is.
4134 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4135 selected items of a given column.
4136 (+hildon_touch_selector_center_on_selected): Public method to center
4137 all columns on the nearest selected item.
4138 * src/hildon-touch-selector.h: Add definition for
4139 hildon_touch_selector_center_on_selected().
4141 Implement public API to ensure visibility of all selected items in
4142 a HildonTouchSelector.
4144 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4146 Fixed a problem in the fading when calling the scroll_to API, and
4147 improve scrollbar fading handling.
4149 * src/hildon-pannable-area.c,
4150 (hildon_pannable_area_grab_notify): avoid the timeout when the
4152 (hildon_pannable_area_button_press_cb),
4153 (hildon_pannable_area_motion_notify_cb): Code style changes.
4154 (hildon_pannable_area_button_release_cb): Review the conditions
4155 when releasing the mouse button to avoid unrequired fading
4157 (hildon_pannable_area_scroll_to): Do not calculate and set the
4158 velocity if the scroll is not required.
4160 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4162 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4163 Don't check whether the new selector is NULL: it cannot be.
4164 Hold a reference to the selector while doing the replacement.
4166 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4168 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4169 unnecessary size_request in a removed widget.
4171 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4173 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4174 an unnecessary reference tracking that was leaking.
4176 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4178 Added delayed motion notify event handling, this way we can
4179 discard redrawing if more than 25 events arrive per second.
4181 * src/hildon-pannable-area.c,
4182 (hildon_pannable_area_init): Initialized the new private atributes
4183 controlling this timeout
4184 (hildon_pannable_area_dispose): Remove the timeout that controls
4185 the motion notify events.
4186 (hildon_pannable_area_scroll): Added a condition to control the
4187 use of the acceleration.
4188 (hildon_pannable_area_motion_event_scroll_timeout),
4189 (hildon_pannable_area_motion_event_scroll): Added this two
4190 functions, they handle the motion notify events inside the
4192 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4193 to the scroll method with the new function.
4194 (hildon_pannable_area_button_release_cb): We have to remove the
4195 timeout handler and move to the last position if the last motion
4196 events were not handled.
4198 Fixes: NB#97028 (Pannable area updates on every motion event)
4200 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4202 * src/hildon-pannable-area.c,
4203 (hildon_pannable_area_get_topmost): Added a new parameter to
4204 filter the the windows that do not include those events. Added
4205 also a condition when finding the window to filter windows that do
4206 not ask for those events.
4207 (hildon_pannable_area_button_press_cb),
4208 (hildon_pannable_area_button_release_cb),
4209 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4210 topmost function, we have added the new parameter.
4212 Fixes: NB#97458 (Pannable area prevents propagation of button
4215 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4217 * src/hildon-pannable-area.c,
4218 (hildon_pannable_area_initial_effect): Added controls before
4219 launching the timeout and the idle functions.
4220 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4221 of the method, in some situations it can return with TRUE and 0 in
4223 (hildon_pannable_area_button_press_cb): We do not need to set
4224 DELAY for fading out here.
4226 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4228 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4231 post-cleaning if the selection is not NULL.
4233 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4235 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4236 all items before restoring the selection.
4238 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4240 * src/hildon-touch-selector.c:
4241 (+hildon_touch_selector_unselect_all):
4242 * src/hildon-touch-selector.h: New API to unselect all items in a
4243 column of the touch selector.
4245 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4247 * src/hildon-pannable-area.c,
4248 (hildon_pannable_area_redraw): Added a call to the refresh
4249 function inside the redraw because apparently in some cases the
4250 change in the adjustment does not imply a size allocate.
4252 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4253 despite the view not being scrollable)
4255 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4257 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4258 leak. Check for NULL before attempting to set the window title.
4260 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4262 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4263 whether to show or not the 'Done' button each time the dialog is
4264 shown, as it depends on the HildonTouchSelector selection mode.
4266 Fixes: NB#96226 (In multiple selection mode Done button is shown
4267 sometimes in listpicker)
4269 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4271 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4272 for the number of columns in the HildonTouchSelector more than once.
4274 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4276 * src/hildon-touch-selector.c: Minor documentation fixes.
4278 * src/hildon-picker-dialog.c (+_dialog_update_title)
4279 (_select_on_selector_changed_cb)
4280 (_update_title_on_selector_changed_cb)
4281 (on_selector_columns_changed): Update dialog title when there's no
4282 'Done' button and also when the number of columns in the selector
4286 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4287 (+_selection_changed, hildon_picker_button_on_dialog_response)
4288 (hildon_picker_button_selector_selection_changed)
4289 (+hildon_picker_button_selector_columns_changed)
4290 (hildon_picker_button_set_selector): Update button value and emit
4291 'value-changed' when the number of columns in the selector
4295 Fixes: NB#96225 (Dialog titles are not shown according to the
4296 values selected in the list picker)
4298 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4300 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4301 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4302 New "arrow-width" and "arrow-height" style properties to set the
4303 size of the arrow button.
4304 Set name of arrow button ("hildon-edit-toolbar-arrow").
4306 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4307 graphics from theme)
4309 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4311 * src/hildon-picker-button.c:
4312 (hildon_picker_button_selector_selection_changed): Use
4313 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4314 the dialog is present.
4316 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4317 the selection is accepted in the dialog)
4319 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4321 * src/hildon-color-chooser.h
4322 * src/hildon-color-chooser-dialog.h:
4323 Added G_BEGIN_DECLS and G_END_DECLS
4325 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4327 (_clean_current_selection): plug a leak in the list.
4329 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4331 * src/hildon-picker-dialog.c:
4332 (+free_path_list): Method to free a GList of GtkTreePaths.
4333 (_clean_current_selection), (_save_current_selection),
4334 (_restore_current_selection): Save the current selection in
4335 as a list of lists, to support multiple selection properly.
4337 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4339 patch by Claudio Saavedra (csaavedra@igalia.com)
4341 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4342 Store the press position.
4343 (+hildon_text_view_button_release_event): If the release position is
4344 close enough to the press position, move the cursor here. Otherwise,
4346 (hildon_text_view_class_init): Override GtkTextView press, release, and
4347 motion event handlers, disabling this way text selection through
4348 pointer interaction, and allowing the container widget to handle the
4351 Fixes: NB#95828 (HildonTextView functionality)
4353 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4355 Based on a patch by Iván Gómez (igomez@igalia.com)
4357 * src/hildon-button.[ch]
4358 * src/hildon-calendar.c
4359 * src/hildon-check-button.c
4360 * src/hildon-date-editor.c
4361 * src/hildon-date-selector.c
4362 * src/hildon-picker-button.c
4363 * src/hildon-time-editor.c
4364 * src/hildon-time-selector.c
4365 * src/hildon-touch-selector.[ch]:
4366 Documentation updates
4368 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4370 * src/hildon-pannable-area.c,
4371 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4372 threshold, it was required due to X events handling.
4374 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4376 * src/hildon-pannable-area.c,
4377 (hildon_pannable_area_grab_notify),
4378 (hildon_pannable_area_initial_effect),
4379 (hildon_pannable_area_button_press_cb),
4380 (hildon_pannable_area_button_release_cb),
4381 (hildon_pannable_area_scroll_cb),
4382 (hildon_pannable_area_scroll_to): Review the timeout management of
4383 the scrollbar, the frecuency was incorrectly set.
4385 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4387 * src/hildon-picker-button.c:
4388 (+hildon_picker_button_on_dialog_response),
4389 (hildon_picker_button_clicked): Present the dialog instead of
4390 running it with gtk_dialog_run().
4392 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4395 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4397 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4398 (hildon_app_menu_finalize): When a window is hidden it doesn't
4399 emit notify::is-topmost, so make sure than the menu also
4400 disappears in that case.
4401 (parent_window_topmost_notify): Renamed from parent_window_hidden
4403 Fixes: NB#94460 (stackable window's menu is not closed when its
4406 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4408 * src/hildon-touch-selector-entry.c:
4409 (+hildon_touch_selector_entry_set_input_mode),
4410 (+hildon_touch_selector_entry_get_input_mode):
4411 * src/hildon-touch-selector-entry.h: New methods to access the input
4412 mode in the selector's entry.
4414 Fixes: NB#93410 (API required for setting IM mode in
4415 HildonTouchSelectorEntry)
4417 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4419 * configure.ac: post release version bump.
4420 * debian/changelog: version bump
4422 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4427 * configure.ac: Bump version.
4428 * debian/changelog: Updates.
4430 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4432 * src/hildon-touch-selector.c:
4433 (_hildon_touch_selector_has_multiple_selection): No need
4434 to initialize the variables here.
4436 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4438 * src/hildon-note-private.h
4439 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4440 (hildon_note_finalize, hildon_note_rebuild): Close information
4441 notes when they receive a button press.
4443 Fixes: NB#89890 (Information notes does not get disappeared after
4446 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4448 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4449 mark from the wizard title, as it's not really necessary. Also,
4450 do not display the page title if not set.
4452 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4454 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4455 (parent_window_hidden): Use the window's "is-topmost" property to
4456 detect when to hide the menu.
4458 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4460 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4461 (hildon_app_menu_finalize): If the parent window of the menu is
4462 hidden, hide the menu too.
4464 Fixes: NB#94460 (stackable window's menu is not closed when its
4467 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4470 * debian/libhildon1-examples.install
4472 * examples/Makefile.am:
4473 Use dh_install to install all examples.
4474 Use DEB_SRCDIR instead of defining SOURCE_DIR
4476 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4478 * configure.ac: post release version bump.
4479 * debian/changelog: version bump
4481 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4486 * configure.ac: bump version
4487 * debian/changelog: updates
4488 * debian/control: bump gtk+ dependency
4490 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4492 patch by Christian Dywan (christian@imendio.com)
4494 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4495 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4497 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4499 * src/hildon-check-button.c (hildon_check_button_init)
4500 (hildon_check_button_class_init, hildon_check_button_style_set)
4501 (hildon_check_button_apply_style):
4502 New "checkbox-size" style property.
4504 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4505 larger / configurable size)
4507 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4509 * configure.ac: post release version bump.
4510 * debian/changelog: version bump
4512 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4517 * configure.ac: bump version
4518 * debian/changelog: updates
4520 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4522 * doc/hildon-sections.txt
4523 * src/hildon-pannable-area.c
4524 * src/hildon-program.c
4525 * src/hildon-time-editor.c
4526 * src/hildon-touch-selector-entry.c:
4528 More documentation updates.
4530 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4532 * doc/hildon-sections.txt
4533 * src/hildon-caption.c
4534 * src/hildon-code-dialog.c
4535 * src/hildon-color-button.c
4536 * src/hildon-controlbar.c
4537 * src/hildon-date-editor.c
4538 * src/hildon-date-selector.c
4539 * src/hildon-edit-toolbar.c
4540 * src/hildon-find-toolbar.c
4541 * src/hildon-font-selection-dialog.c
4543 * src/hildon-program.c
4544 * src/hildon-range-editor.c
4545 * src/hildon-seekbar.c
4546 * src/hildon-time-editor.c
4547 * src/hildon-time-selector.c
4548 * src/hildon-volumebar-range.c
4549 * src/hildon-volumebar.c
4550 * src/hildon-vvolumebar.c
4551 * src/hildon-weekday-picker.c
4552 * src/hildon-window.c
4553 * src/hildon-wizard-dialog.c:
4555 Lots of documentation fixes.
4557 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4559 Patch contributed by Iván Gómez (igomez@igalia.com)
4561 * src/hildon-check-button.c:
4562 * src/hildon-date-button.c:
4563 * src/hildon-date-selector.c:
4564 * src/hildon-dialog.c:
4565 * src/hildon-edit-toolbar.c:
4566 * src/hildon-entry.c:
4567 * src/hildon-picker-button.c:
4568 * src/hildon-program.c:
4569 * src/hildon-text-view.c:
4570 * src/hildon-time-button.c:
4571 * src/hildon-touch-selector-entry.c:
4572 * src/hildon-window-stack.c:
4574 Add more "since" tags to the new API.
4576 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4578 * doc/hildon-sections.txt: Add below method.
4579 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4580 version for the hildonized scale.
4581 * src/hildon-gtk.h: Add the definition.
4583 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4585 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4587 * doc/hildon-sections.txt: Add missing entries for new methods.
4589 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4591 Added API to pannable are in order to get its adjustments. We
4592 added two properties to manage the values we had in the private
4595 * src/hildon-pannable-area.c:
4596 (hildon_pannable_area_class_init): Added hadjustment and
4597 vadjustment properties in order to expose horizontal and vertical
4599 (hildon_pannable_area_get_property),
4600 (hildon_pannable_area_set_property): Added code to handle the new
4602 (hildon_pannable_area_get_hadjustment),
4603 (hildon_pannable_area_get_vadjustment): API functions to get the
4605 * src/hildon-pannable-area.h:
4606 (hildon_pannable_area_get_hadjustment),
4607 (hildon_pannable_area_get_vadjustment): API functions to get the
4610 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4612 Fixed some leaks, after valgrinding.
4614 * src/hildon-touch-selector.c:
4615 (_default_print_func): Fixed a leak.
4616 (hildon_touch_selector_append_column): Fixed a leak.
4617 * src/hildon-date-button.c:
4618 (hildon_date_button_init): Fixed a leak.
4619 * src/hildon-date-selector.c
4620 (hildon_date_selector_finalize): Fixed a leak.
4622 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4624 Based on a patch by Christian Dywan (christian@imendio.com)
4626 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4628 * src/hildon-gtk.h: Add definition.
4630 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4632 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4634 * src/hildon-picker-button.c: (hildon_picker_button_init),
4635 (hildon_picker_button_new): Set the HildonButton::style property
4636 in the init method, to propagate the value to the derived classes.
4638 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4640 * src/hildon-button.c: (hildon_button_class_init): Do not make
4641 the "style" property a construct property.
4643 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4645 * src/hildon-wizard-dialog.h
4646 * src/hildon-wizard-dialog.c
4647 (hildon_wizard_dialog_set_forward_page_func)
4648 * src/hildon-pannable-area.h
4649 * src/hildon-pannable-area.c
4650 (hildon_pannable_area_set_size_request_policy):
4651 Documentation fixes.
4653 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4655 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4657 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4659 * doc/hildon-sections.txt: Added sections file.
4661 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4664 * src/*.[ch]: Updates.
4666 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4668 * examples/hildon-progress-indicator-example.c: new file
4669 * examples/Makefile.am: include the new example program
4671 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4673 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4675 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4677 * configure.ac: post release version bump
4678 * debian/changelog: version bump
4680 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4685 * configure.ac: bump version
4686 * debian/changelog: updates
4687 * debian/control: bump gtk+ dependency
4689 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4691 * src/hildon-dialog.c: Mark as deprecated.
4692 * src/hildon-dialog.h: Mark as deprecated.
4693 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4694 from HildonDialog and still work, even if
4695 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4696 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4698 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4699 maemo changes) instead)
4701 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4703 * src/hildon-pannable_area.h:
4704 * src/hildon-pannable_area.c:
4705 (hildon_pannable_area_class_init),
4706 (hildon_pannable_area_set_property),
4707 (hildon_pannable_area_get_property),
4708 (hildon_pannable_area_size_request),
4709 (hildon_pannable_area_get_size_request_policy),
4710 (hildon_pannable_area_set_size_request_policy): Added new API
4711 allowing applications to control the request policy. Now they can
4712 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4713 children allocation (HILDON_MOVEMENT_CHILDREN).
4715 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4719 (hildon_gtk_tree_view_set_ui_mode)
4720 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4721 mode of treeviews and iconviews.
4723 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4725 * src/hildon-touch-selector-entry.c:
4726 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4727 of a GtkEntry to get proper theming.
4729 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4730 widget, not GtkEntry)
4732 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4734 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4735 no HildonWizardDialogPageFunc.
4737 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4739 Patch contributed by Iván Gómez (igomez@igalia.com)
4741 * src/hildon-app-menu.c:
4742 * src/hildon-button.c:
4743 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4744 * src/hildon-stackable-window.c:
4745 * src/hildon-time-selector.c:
4746 * src/hildon-touch-selector.c:
4747 * src/hildon-window.c:
4749 Add more "since" tags to the new API in hildon 2.2.
4751 2008-12-05 Tim Janik <timj@imendio.com>
4753 Patch contributed by Christian Dywan (christian@imendio.com)
4755 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4756 HildonSizeType, which are supplied by Gtk+ now.
4758 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4760 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4761 (with maemo changes) instead)
4763 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4765 Patch contributed by Iván Gómez (igomez@igalia.com)
4767 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4770 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4772 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4773 (some_page_func), (main): Update the example to use a
4774 HildonWizardDialogPageFunc function.
4776 * src/hildon-wizard-dialog-private.h: Add private data for
4777 the HildonWizardDialogPageFunc function usage.
4779 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4780 (destroy), (hildon_wizard_dialog_init), (response),
4781 (hildon_wizard_dialog_set_forward_page_func):
4782 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4783 that applications can use to stop a HildonWizardDialog to jump to
4786 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4789 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4791 * src/hildon-program.h
4792 * src/hildon-program-private.h
4793 * src/hildon-program.c (hildon_program_init)
4794 (hildon_program_set_common_app_menu)
4795 (hildon_program_get_common_app_menu):
4796 New API for setting a common HildonAppMenu for all
4797 HildonStackableWindows registered with the HildonProgram.
4799 * src/hildon-stackable-window.c
4800 (hildon_stackable_window_toggle_menu):
4801 Use the common HildonAppMenu if a window doesn't have a specific
4804 * src/hildon-app-menu-private.h
4805 * src/hildon-app-menu.c
4806 (hildon_app_menu_get_parent_window):
4807 Function to obtain the window a HildonAppMenu is attached to.
4808 (hildon_app_menu_set_parent_window):
4809 Hide the menu if the parent window is set to NULL.
4811 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4813 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4814 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4815 search widget to popup.
4817 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4819 * configure.ac: post release version bump
4820 * debian/changelog: version bump
4822 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4827 * configure.ac: bump version
4828 * debian/changelog: updates
4830 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4832 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4834 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4835 (hildon_window_stack_window_realized)
4836 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4837 Set the leader GdkWindow when a window is stacked and realized,
4838 unset it when it's unstacked.
4839 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4841 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4843 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4845 * src/hildon-stackable-window.h
4846 * src/hildon-window-stack.h:
4847 Protect definition of HildonWindowStack using the preprocessor.
4849 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4851 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4852 Fix warning if all menu items are hidden.
4854 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4856 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4858 * src/hildon-controlbar.c:
4859 * src/hildon-hvolumebar.c:
4860 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4861 Multiple scale size defines updates.
4863 Fixes: NB#94322 (Scale Updates)
4865 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4867 * examples/hildon-app-menu-example.c (create_menu)
4868 Show items after adding them to the menu, as in the future the
4869 menu will no longer call gtk_widget_show() on the added items.
4871 * src/hildon-app-menu.c:
4872 Update example as explained above.
4874 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4876 * src/hildon-app-menu.c
4877 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4878 Make sure that all menu items have finger height.
4880 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4882 * src/hildon-picker-dialog.c:
4883 (_on_dialog_response), (_save_current_selection),
4884 (_restore_current_selection), (_clean_current_selection),
4885 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4886 Defined new functions in order to save the current internal selector
4887 selection previous open the dialog, in case that the use cancel the
4888 interaction, so the widget restores the previous selection.
4890 Fixes: NB#92032 (In calendar application, date values in 'new event'
4893 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4895 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4897 * src/hildon-button.c: Add a reference to the button examples in
4898 hildon-button-example.c
4900 * examples/hildon-button-example.c: Added examples of the most
4901 common button layouts.
4903 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4905 * src/hildon-app-menu.c (hildon_app_menu_show)
4906 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4908 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4910 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4912 * src/hildon-picker-dialog.c:
4913 (hildon_picker_dialog_init): Initialize the signal id for
4914 HildonTouchSelector::columns-changed.
4915 (+on_selector_columns_changed): Set up the interaction mode everytime a
4916 column is added or removed from the HildonTouchSelector.
4917 (_hildon_picker_dialog_set_selector): Connect to
4918 HildonTouchSelector::columns-changed and keep track of it.
4920 Make sure to update the interaction mode of the dialog everytime a
4921 column is added or removed in the HildonTouchSelector.
4923 Fixes: NB#93228 (Done button is not shown always in listpicker)
4925 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4928 a new ::columns-changed signal.
4929 (hildon_touch_selector_append_column): Emit ::columns-changed.
4930 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4932 Add a ::columns-changed signal, emitted when the number of columns in a
4933 HildonTouchSelector changes.
4935 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4937 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4938 (_hildon_picker_dialog_set_selector): Factor out the code
4939 to set up the dialog interaction mode.
4941 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4943 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4944 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4945 to signal_changed_id.
4947 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4949 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4952 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4954 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4955 Updated the logical ids related to ampm format, as now it is required to
4956 show it correctly localized even on languages with no default
4957 abbreviations for am or pm
4958 (_check_am_pm_format): check correctly the 24h format gconf property
4960 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4962 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4964 * src/hildon-button.c: Documentation updates.
4966 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4968 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4969 * src/hildon-caption.c: (hildon_caption_class_init):
4970 * src/hildon-color-button.c: (hildon_color_button_class_init):
4971 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4972 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4973 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4974 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4976 Remove deprecated GTK+ marshalers and replace them with the ones
4977 provided by GLib, for those available, add a marshaler for
4978 BOOLEAN:VOID, which is not available in GLib, and use it.
4980 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4982 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4983 the text from the previous column if there is no
4984 HildonTouchSelectorColumn::text-property set.
4986 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4988 * src/hildon-button.h
4989 * src/hildon-button.c (hildon_button_set_property)
4990 (hildon_button_get_property, hildon_button_class_init)
4991 (hildon_button_set_style, hildon_button_get_style):
4992 New "style" property to change the visual appearance of the
4995 * src/hildon-picker-button.c (hildon_picker_button_new):
4996 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4998 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4999 HildonButton look like PickerButton)
5001 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5003 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5004 column while building the default string.
5006 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5008 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5009 scroll indicator by default.
5011 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5013 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5015 * src/hildon-main.c: Fix the documentation for hildon_init()
5017 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5019 * doc/hildon-docs.sgml
5023 * src/hildon-window-stack-private.h
5024 * src/hildon-window-stack.h
5025 * src/hildon-window-stack.c:
5026 New HildonWindowStack object, that adds support for multiple
5027 stacks of windows per process.
5029 * src/hildon-stackable-window-private.h
5030 * src/hildon-stackable-window.h
5031 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5032 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5033 (hildon_stackable_window_show, hildon_stackable_window_hide)
5034 (hildon_stackable_window_class_init)
5035 (hildon_stackable_window_init):
5036 Use HildonWindowStack for stack management.
5038 * src/hildon-program.c (hildon_program_pop_window_stack)
5039 (hildon_program_peek_window_stack)
5040 (hildon_program_go_to_root_window):
5041 Add a fallback implementation to the deprecated functions using
5044 * examples/hildon-stackable-window-example.c:
5045 Use the new HildonWindowStack API.
5047 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-stackable-window-private.h
5050 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5051 (hildon_stackable_window_hide, hildon_stackable_window_init):
5052 Remove all window stack management.
5054 * src/hildon-program-private.h
5055 * src/hildon-program.h
5056 * src/hildon-program.c (hildon_program_init)
5057 (hildon_program_pop_window_stack)
5058 (hildon_program_peek_window_stack)
5059 (hildon_program_go_to_root_window):
5060 Remove all window stack management and mark functions as
5063 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5065 * src/hildon-app-menu.c (hildon_app_menu_realize):
5066 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5068 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5070 * configure.ac: post release version bump
5071 * debian/changelog: version bump
5073 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5078 * configure.ac: bump version
5079 * debian/changelog: updates
5081 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5083 Based on initial code by Christian Dywan (christian@imendio.com)
5085 * doc/hildon-docs.sgml: Add section for hildon-main.
5086 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5087 * src/Makefile.am: Add new hildon-main.[ch]
5088 * src/hildon-defines.h: Update the icon sizes.
5089 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5090 new library initialization files and register icon sizes.
5091 * src/hildon-main.h: New declarations.
5092 * src/hildon.h: Include hildon-main.h
5094 Add new initialization functions to the library. These methods
5095 will register the hildon specific icon sizes and can be used in the
5096 future for other hildon specific bits.
5098 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5100 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5102 * src/hildon-window.c: (hildon_window_realize),
5103 (hildon_window_notify), (-hildon_window_update_title): Do not set
5104 the application name in the window title.
5106 Fixes: NB#89754 (Applications shouldn't display their names in the
5109 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5111 * src/hildon-note-private.h:
5112 * src/hildon-note.c: (hildon_note_set_property),
5113 (hildon_note_get_property), (hildon_note_class_init),
5114 (hildon_note_init), (hildon_note_finalize),
5115 (hildon_note_new_confirmation_with_icon_name),
5116 (hildon_note_new_information_with_icon_name):
5118 No need to mark as deprecated the actual code. Revert
5119 to avoid missing symbols in widgets using deprecated API.
5121 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5123 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5125 * src/hildon-volumebar.h
5126 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5127 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5129 * src/hildon-helper.h
5130 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5131 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5133 * examples/Makefile.am:
5134 Deprecate hildon-insensitive-example
5136 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5138 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5140 * examples/hildon-pannable-area-buttons-scroll-example.c:
5141 Make all buttons finger height
5143 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5145 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5147 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5148 update the day model only if it is really required, and to avoid the
5149 full-reconstruction aproach. Now it only add or remove the required days.
5151 The purpose of this is avoid superfluous HildonTouchSelector::changed
5154 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5155 with strange parameters)
5157 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5159 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5161 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5162 the WINDOW_TYPE property.
5164 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5166 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5169 Fix dependency to allow parallel compilation with make -jX
5171 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5173 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5174 color frame and some minor tweaks to make it more consistent with
5177 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5178 highlighted but not visible)
5180 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5182 * examples/Makefile.am: Fixed typo in the Makefile.am.
5184 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5186 Reviewed the use of MAEMO_GTK define, now we add the define in the
5187 compilation line, and we also add it to the pc file.
5189 * configure.ac: Added MAEMO_GTK define to the compilation command
5190 and removed it from the config.h.
5192 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5193 do not have to take care about this define if the library was
5197 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5199 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5201 * examples/Makefile.am,
5202 * examples/hildon-pannable-area-buttons-scroll-example.c,
5203 * examples/hildon-pannable-area-gesture-signals-example.c,
5204 * examples/hildon-pannable-area-scroll-jump-example.c,
5205 * examples/hildon-pannable-area-tree-view-example.c:
5206 Renamed the pannable area examples, now they have more meaningful
5209 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5211 * src/hildon-touch-selector.c:
5212 (hildon_touch_selector_set_column_selection_mode): Used of
5213 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5214 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5215 to avoid re-seting the same selection mode.
5217 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5218 breaks HildonPickerDialog)
5220 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5222 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5223 conditional in the Makefile.am
5225 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5227 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5228 Remove unused methods.
5230 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5232 * src/hildon-button.c (hildon_button_init):
5233 Make button images center-aligned by default
5235 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5238 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5239 activated, we have to think about how to deal with both defines
5240 MAEMO_GTK and MAEMO_CHANGES.
5242 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5244 * examples/hildon-app-menu-example.c (create_menu): Make all
5245 buttons finger size.
5247 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5249 Fixed the compilation without maemo gtk adding ifdefs with
5250 MAEMO_GTK define to the code, we have to check this version more
5253 * examples/Makefile.am: Added control to avoid some examples that
5254 just make sense with maemo gtk.
5257 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5258 hildon modes with the define.
5260 * examples/hildon-edit-toolbar-example.c,
5261 (create_icon_view): Create the icon view without hildon-gtk
5262 helpers if we are not using maemo gtk.
5264 * src/hildon-touch-selector.c,
5265 (_create_new_column): Create the treeview without hildon-gtk
5266 helpers if we are not using maemo gtk.
5268 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5270 * src/hildon-pnnable-area.c,
5271 (hildon_pannable_area_dispose),
5272 (hildon_pannable_area_button_press_cb),
5273 (hildon_pannable_area_child_mapped),
5274 (hildon_pannable_area_add),
5275 (hildon_pannable_area_remove): Added code to control the position
5276 of the event_window when adding and removing children from the
5277 pannable. We have to raise the event window when the child is
5280 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5281 selection mode using custom widget inside pannable)
5283 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5285 * configure.ac: post release version bump
5286 * debian/changelog: version bump
5288 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5293 * configure.ac: bump version
5294 * debian/changelog: updates
5296 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5298 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5299 search mode, in order to avoid lose the focus on the treeview when
5300 a hw key (like enter) is pressed.
5302 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5303 in HildonDateSelector dialog)
5305 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5307 * debian/rules: Added --enable-maintainer-mode
5308 * Makefile.am: Added ACLOCAL_AMFLAGS
5310 This allows to properly regenerate the Makefiles if you modify the
5311 configure.ac or any Makefile.am.
5313 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5315 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5316 properties, not needed at all.
5318 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5320 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5322 * src/hildon-note.c: (hildon_note_set_property),
5323 (hildon_note_get_property), (hildon_note_class_init),
5324 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5325 (hildon_note_new_confirmation_add_buttons): Remove icons.
5326 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5327 (hildon_note_new_information_with_icon_name): Deprecate.
5328 (hildon_note_new_confirmation): Act directly, without calling
5329 the deprecated constructor.
5330 (hildon_note_new_information): Act directly, without calling
5331 the deprecated constructor.
5332 * src/hildon-note.h: Mark deprecate methods as such.
5333 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5334 not run tests on the deprecated methods if built with deprecation
5337 Fixes: NB#91688 (Never show icons in information notes/confirmation
5340 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5342 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5343 (hildon_app_menu_key_press): Remove leftover usage of the
5344 private structure in HildonAppMenu struct.
5345 * src/hildon-app-menu.h: Remove leftover private structure
5346 from the HildonAppMenu struct.
5348 Fixes a crasher when using the HildonAppMenu.
5350 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5352 * src/hildon-picker-dialog.c: Use appropriate logical id
5353 for the default "Done" text.
5355 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5357 * configure.ac: post release version bump
5358 * debian/changelog: version bump
5360 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5362 Modified the way to scroll to the current selection just when the touch
5363 selector is shown on the screen, avoiding a g_idle. Added too a property
5364 to configure this behaviour. See hildon_pannable_area_jump_to_child
5365 documentation for more information.
5367 * src/hildon-touch-selector.c
5368 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5369 Added 'initial-scroll' property
5370 (hildon_touch_selector_set_property): Added
5371 (hildon_touch_selector_map): Removed as not required anymore
5372 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5373 only a concrete column, instead of iterate along all the columns
5375 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5380 * configure.ac: bump version
5381 * debian/changelog: updates
5383 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5385 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5386 compilation time warnings.
5388 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5390 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5391 the default value for HildonPannableArea::mov-mode to
5392 HILDON_PANNABLE_AREA_MODE_VERT.
5394 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5396 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5398 Reverting following commit:
5400 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5402 * src/hildon-app-menu-private.h
5403 * src/hildon-app-menu.[ch]
5404 * src/hildon-button.[ch]
5405 * src/hildon-check-button.[ch]
5406 * src/hildon-entry.[ch]
5407 * src/hildon-pannable-area.[ch]
5408 * src/hildon-text-view.[ch]:
5409 Added private field to the object's structure.
5411 because it causes an ABI breakage. We will need to introduce these
5412 changes later at some point. See NB#91636 for an extensive
5413 explanation and status.
5415 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5417 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5419 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5420 remove special cases that are no longer necessary.
5422 Fixes: NB#91016 (Change toolbar sizes, simplification)
5424 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5426 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5427 is shown in the cancel note.
5429 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5431 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5432 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5433 (hildon_seekbar_init): Remove steppers, remove expose event.
5434 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5436 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5438 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5440 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5441 label font to "SmallSystemFont" for vertically arranged buttons.
5443 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5446 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5448 * src/hildon-check-button.c
5449 (hildon_check_button_set_active, hildon_check_button_clicked):
5450 Don't access private parts directly, use getters instead.
5452 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5454 * src/hildon-check-button.c (hildon_check_button_new):
5455 Align the contents of the check button to the left.
5457 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5459 * src/hildon-pannable-area.c,
5460 (hildon_pannable_area_scroll_to),
5461 (hildon_pannable_area_jump_to),
5462 (hildon_pannable_area_scroll_to_child),
5463 (hildon_pannable_area_jump_to_child): Replace the mapped
5464 precondition of these functions with the realized, it is the
5465 correct state of the widget in this case. Changed the
5466 documentation according to this modification.
5468 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5470 Added a new EXTRA_CFLAGS option to add the deprecated define to
5471 the compilation command. This way we can avoid using the define in
5472 the documentation compilation.
5474 * configure.ac: Defined EXTRA_CFLAGS.
5476 * examples/Makefile.am:
5478 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5480 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5482 * src/hildon-picker-dialog.c:
5483 Defined a utility macro with the desired touch selector height
5484 Removed currently unused separator, and title_label variables from
5486 (hildon_picker_dialog_init): Removed code related to the creation
5487 of unused private variables title_label and separator.
5488 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5489 to ensure correct visualization of the touch selector inside the dialog.
5490 * src/hildon-touch-selector.c
5491 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5492 ensure a concrete height of the widget.
5494 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5497 * tests/Makefile.am:
5499 Remove spurious whitespaces.
5501 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5503 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5504 compilation warning after the cancel button removal.
5506 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5508 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5510 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5511 Makefile.am, that way we can choose not to compile some examples
5512 and tests of the deprecated widgets.
5514 * examples/Makefile.am: Divided the sources in deprecated and
5517 * src/Makefile.am: Added undef statement of the deprecated
5518 symbol to the enums file generation process.
5520 * src/hildon-color-chooser-dialog.c
5521 * src/hildon-color-chooser-dialog.h
5522 * src/hildon-color-button.c
5523 * src/hildon-color-button.h
5524 * src/hildon-color-chooser.c
5525 * src/hildon-color-chooser.h
5526 * src/hildon-controlbar.c
5527 * src/hildon-controlbar.h
5528 * src/hildon-date-editor.c
5529 * src/hildon-date-editor.h
5530 * src/hildon-hvolumebar.c
5531 * src/hildon-hvolumebar.h
5532 * src/hildon-private.c
5533 * src/hildon-private.h
5534 * src/hildon-range-editor.c
5535 * src/hildon-range-editor.h
5536 * src/hildon-seekbar.c
5537 * src/hildon-seekbar.h
5538 * src/hildon-time-editor.c
5539 * src/hildon-time-editor.h
5540 * src/hildon-time-picker.c
5541 * src/hildon-time-picker.h
5542 * src/hildon-volumebar.c
5543 * src/hildon-volumebar.h
5544 * src/hildon-vvolumebar.c
5545 * src/hildon-vvolumebar.h
5546 * src/hildon-bread-crumb-trail.h
5547 * src/hildon-bread-crumb-trail.c
5548 * src/hildon-calendar-popup.c
5549 * src/hildon-calendar-popup.h
5550 * src/hildon-weekday-picker.c:
5551 * src/hildon-weekday-picker.h:
5552 * src/hildon-bread-crumb-widget.c:
5553 * src/hildon-bread-crumb-widget.h:
5554 * src/hildon-bread-crumb.c:
5555 * src/hildon-bread-crumb.h:
5556 * src/hildon-calendar.c:
5557 * src/hildon-calendar.h:
5558 * src/hildon-caption.c:
5559 * src/hildon-code-dialog.c:
5560 * src/hildon-code-dialog.h:
5561 * src/hildon-font-selection-dialog.c:
5562 * src/hildon-font-selection-dialog.h:
5563 * src/hildon-get-password-dialog.c:
5564 * src/hildon-get-password-dialog.h:
5565 * src/hildon-login-dialog.c:
5566 * src/hildon-login-dialog.h:
5567 * src/hildon-number-editor.c:
5568 * src/hildon-number-editor.h:
5569 * src/hildon-set-password-dialog.c:
5570 * src/hildon-set-password-dialog.h:
5571 * src/hildon-sort-dialog.c:
5572 * src/hildon-sort-dialog.h: This is the list of deprecated
5575 * src/hildon-touch-selector.c:
5576 * src/hildon-window.c: Added undef statement to avoid compilation
5579 * tests/Makefile.am: Divided the sources in deprecated and
5582 * tests/check_test.c,
5583 (configure_tests): Marked the deprecated code that was adding
5584 suites with deprecated tests.
5586 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5588 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5590 * src/hildon-touch-selector.c: (_default_print_func): Do not
5591 duplicate a string returned by gtk_tree_model_get(), it is already
5594 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5597 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5599 * src/hildon-pannable-area.c
5600 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5601 method, it had problems when adding a widget with viewport the
5602 second time. Now checks if it already has a viewport and uses it.
5604 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5607 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5609 * src/hildon-pannable-area.c,
5610 (hildon_pannable_area_scroll_to),
5611 (hildon_pannable_area_jump_to),
5612 (hildon_pannable_area_scroll_to_child),
5613 (hildon_pannable_area_jump_to_child): Added a precondition to the
5614 scroll and jump to functions: the widget must be mapped before we
5615 can safely call these functions. We have also added documentation
5616 to the functions to explain how to use them in this situation.
5619 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5621 Reviewed the threading handling of the pannable widget, we have
5622 used the gdk_threads_add_timeout function instead of the usual
5623 glib handlers. This avoids some problems with the threads.
5625 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5626 (hildon_pannable_area_initial_effect),
5627 (hildon_pannable_area_scroll_indicator_fade),
5628 (hildon_pannable_area_button_press_cb),
5629 (hildon_pannable_area_timeout),
5630 (hildon_pannable_area_motion_notify_cb),
5631 (hildon_pannable_area_button_release_cb),
5632 (hildon_pannable_area_scroll_cb),
5633 (hildon_pannable_area_scroll_to): Removed the
5634 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5635 gdk_threads_add_timeout.
5637 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5639 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5644 * configure.ac: bump version
5645 * debian/changelog: updates
5647 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5649 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5650 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5651 * src/hildon-color-chooser-dialog.c:
5652 (hildon_color_chooser_dialog_init):
5653 * src/hildon-font-selection-dialog.c:
5654 (hildon_font_selection_dialog_init):
5655 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5657 Remove all cancel/close-like dialogs, as these are not going to be
5660 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5662 * src/hildon-note.c: (hildon_note_rebuild),
5663 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5666 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5668 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5670 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5671 sure all buttons are shown, even the Cancel/Close-like ones.
5673 Fixes: NB#90861 (Custom Confirmation dialogs should be
5674 protected from cancel button removal)
5676 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5678 * debian/control: Change libhildon1-examples dependency from libhildon1
5680 * debian/libhildon1-examples.install
5682 * Makefile.am: Modified the final install directory for the examples on
5683 package libhildon1-examples
5684 * Makefile.static: Update clean target in order to remove all the binary
5687 Changes suggested by Claudio after review new libhildon1-examples package
5689 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5691 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5692 * src/hildon-touch-selector.c: Ditto.
5694 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5696 * debian/control: Added new package libhildon1-examples, in order to pack
5697 the current hildon examples as documentation
5698 * debian/rules: Not to compress .c files, modify some includes on the
5699 examples (as normally are compiled locally, but when installed it will
5700 require to include the installed libhildon1 library), and rename
5702 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5703 install all the example files on the new example package
5704 * examples/Makefile.static: Added static makefile that can be used to
5705 compile the examples, once installed the new example package
5706 * examples: Most of the examples were modified in order to grant that
5707 all use only '#include "hildon.h"', in order to be easy to prepare
5708 it on the example package
5710 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5713 * debian/libhildon1-dev.install
5714 * debian/libhildon1-doc.install:
5715 Move all gtk-doc files to a separate libhildon1-doc package.
5717 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5719 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5721 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5723 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5725 * debian/rules: Fixed a error in order to avoid unnecessary calls
5726 to autogen.sh on package building
5728 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5730 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5732 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5734 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5737 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5739 * src/hildon-picker-button.c
5740 (hildon_picker_button_finalize):
5741 Free priv->done_button_text
5743 * src/hildon-time-button.c
5744 (hildon_time_button_set_time)
5745 * src/hildon-picker-button.c
5746 (hildon_picker_button_clicked)
5747 (hildon_picker_button_selector_selection_changed)
5748 (hildon_picker_button_set_selector)
5749 * src/hildon-date-button.c
5750 (hildon_date_button_set_date):
5751 Free strings returned by hildon_touch_selector_get_current_text()
5753 * src/hildon-button.c (hildon_button_construct_child):
5754 Fix leaks in priv->image and priv->label_box
5756 Fixes: NB#90535 (Memory leak in picker button)
5758 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5760 * src/hildon-button.c: (hildon_button_get_property): Do not access
5761 private elements directly, use getters instead.
5763 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5765 * src/hildon-app-menu-private.h
5766 * src/hildon-app-menu.c
5767 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5768 Store the menu's parent window.
5770 * src/hildon-stackable-window.c
5771 (hildon_stackable_window_toggle_menu)
5772 (hildon_stackable_window_finalize):
5773 Set the menu's parent window when the menu is shown, unset it when
5776 * src/hildon-app-menu.c
5777 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5778 (hildon_app_menu_class_init):
5779 Send unhandled keyboard accelerators to the parent window.
5781 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5783 * src/hildon-stackable-window.c
5784 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5786 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5788 * configure.ac: post release version bump
5790 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5793 * configure.ac: Bump version
5794 * debian/changelog: Updates
5795 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5798 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5800 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5803 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5804 GtkMenu with Hildon style.
5806 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5808 * src/hildon-picker-button.c:
5809 (hildon_picker_button_set_done_button_text): Set the dialog's
5810 done button text here as well.
5812 Fixes: NB#90232 (Picker button does not set the label on done button
5813 for the second time)
5815 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5817 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5820 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5822 * src/hildon-app-menu.c (hildon_app_menu_insert)
5823 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5824 the HildonAppMenu to be activatable using keyboard accelerators
5825 when the menu is not being shown.
5827 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5829 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5831 * src/hildon-stackable-window.c
5832 (hildon_stackable_window_show):
5833 Don't hide old windows automatically when new windows are shown:
5834 this is now a task for the window manager.
5835 (hildon_stackable_window_class_init)
5836 (hildon_stackable_window_hide):
5837 Remove windows from the stack everytime they're hidden.
5838 (hildon_stackable_window_realize):
5839 Don't change the _NET_WM_WINDOW_TYPE property. Use
5840 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5841 it as a stackable window.
5843 * src/hildon-program.c
5844 (hildon_program_pop_window_stack):
5845 Just hide the window to remove it from the stack.
5846 (hildon_program_go_to_root_window):
5847 Don't call gtk_widget_show(), this is now a task for the window
5850 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5852 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5854 * src/hildon-button.c
5855 (hildon_button_construct_child):
5856 Don't pack anything in the button until text or image are
5857 set. This allows adding a custom child after creating the button
5858 with hildon_button_new().
5859 (hildon_button_finalize, hildon_button_class_init)
5860 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5861 alignment and the label box even when they're not packed in the
5864 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5866 * src/hildon-touch-selector.h:
5867 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5868 currently the type definition was using GTK_TYPE_VBOX
5869 * src/hildon-touch-selector.c:
5870 Added some implementation notes in order to clarify that any other widget
5871 added without the column related API will not be included on the
5872 selection logic, and how the widget is freed, as some people ask about
5874 (hildon_touch_selector_remove): Reimplemented in order to free properly
5875 the column related data when you remove the private hbox.
5876 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5877 to get a proper HildonTouchSelectorColumn documentation
5879 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5881 * src/hildon-touch-selector-entry.c:
5882 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5883 text in the GtkEntry and there is no item selected. Fixes a
5886 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5888 * src/hildon-app-menu-private.h
5889 * src/hildon-app-menu.[ch]
5890 * src/hildon-button.[ch]
5891 * src/hildon-check-button.[ch]
5892 * src/hildon-entry.[ch]
5893 * src/hildon-pannable-area.[ch]
5894 * src/hildon-text-view.[ch]:
5895 Added private field to the object's structure.
5897 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5899 * configure.ac: post-release version bump
5901 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5905 * configure.ac: pre-release version bump
5907 * debian/changelog: updates.
5909 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5911 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5912 Disconnect the handler for HildonTouchSelector::changed.
5914 (hildon_picker_button_selector_selection_changed): Update the button
5915 value if the selection change was not triggered by the
5918 (hildon_picker_button_set_selector): connect to
5919 HildonTouchSelector::changed.
5921 Fixes: NB#89650 (Picker button is not updated, when selection in
5922 selector has changed)
5924 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5926 * src/hildon-picker-dialog.c
5927 (hildon_picker_dialog_realize): Removed as not required
5928 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5929 * src/hildon-picker-button.c
5930 (_current_selector_empty): New function, checks if the selector is empty
5931 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5932 if the current selector is empty, in order to avoid to show the dialog
5933 close the dialog in this case (and shows a g_warning).
5935 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5937 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5939 * src/hildon-pannable-area.c,
5940 (hildon_pannable_area_scroll): Added clause to stop movement when
5941 the child of pannable is smaller than one page.
5942 (hildon_pannable_area_scroll_to): Added conditions to avoid
5943 starting the scrolling movement if the child is smaller than one
5944 page, the complete child is in the screen, we do not have to move.
5946 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5948 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5950 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5951 this is managed automatically by the widget when the size of the
5954 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5956 * src/hildon-picker-button.c
5957 (hildon_picker_button_set_done_button_text): Make a copy of the
5958 text, and free the previous value.
5960 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5962 * src/hildon-touch-selector-entry.c:
5963 (hildon_touch_selector_entry_print_func): Return the selected row's
5964 text if the entry is empty.
5966 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5969 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5971 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5973 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5976 * src/hildon-check-button.h
5977 * src/hildon-check-button.c
5978 * examples/hildon-check-button-example.c:
5979 HildonCheckButton is now a new widget. 'toggled' signal added.
5981 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5983 * src/hildon-program-private.h
5984 * src/hildon-program.c (hildon_program_init)
5985 (hildon_program_finalize): Removed unused variables group_leader
5986 and name from HildonProgramPrivate.
5988 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-check-button.c (hildon_check_button_set_active)
5991 (hildon_check_button_get_active, hildon_check_button_new): Use
5992 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5994 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5996 * src/hildon-touch-selector.h
5997 (hildon_touch_selector_set_column_attributes): added deprecation
5998 guard HILDON_DISABLE_DEPRECATED
5999 * src/hildon-time-selector.c
6000 (hildon_time_selector_set_time)
6001 (hildon_time_selector_get_time): Fixed a typo on documentation
6002 * src/hildon-touch-selector.c: update HildonTouchSelector and
6003 HildonTouchSelectorColumn documentation
6004 * src/hildon-touch-selector-entry.c: update "text-column" property
6006 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6007 to be added to the general documentation.
6009 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6011 * examples/hildon-pannable-area-example-4.c,
6013 * examples/hildon-pannable-area-example.c,
6014 (main): Modified the code in order to use the container add, with
6015 viewport treeviews could have problems if they are really big.
6017 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6019 * src/hildon-weekday-picker.c,
6020 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6021 the agreement regarding deprecation in the library.
6023 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6025 * examples/hildon-picker-button-multicolumn-example.c:
6026 (main): Use custom "done" button text.
6028 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6029 (hildon_picker_button_set_property),
6030 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6031 (hildon_picker_button_init),
6032 (+hildon_picker_button_get_done_button_text),
6033 (+hildon_picker_button_set_done_button_text): New methods to customize
6034 the "done" button label in the launched HildonPickerDialog. Also,
6037 * src/hildon-picker-button.h: add the public API.
6039 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6041 * src/hildon-date-selector.h:
6042 * src/hildon-picker-dialog.h:
6043 * src/hildon-time-selector.h:
6044 * src/hildon-touch-selector-column.h:
6045 * src/hildon-touch-selector.h:
6047 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6048 declarations. Fixes gtk-doc warnings.
6050 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6052 * src/hildon-picker-dialog.h
6053 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6054 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6056 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6057 long text is set as label for done button)
6059 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6061 * src/hildon-dialog.c (hildon_dialog_add_button):
6062 Set fixed width to all buttons in the HildonDialog.
6064 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6066 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6068 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6069 Set widget name using class name plus "-finger" or "-thumb".
6071 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6073 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6074 'clicked' when the state of the button is manually changed.
6076 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6078 * src/hildon-app-menu.c (hildon_app_menu_realize)
6079 (hildon_app_menu_unrealize, hildon_app_menu_init)
6080 (hildon_app_menu_class_init, item_visibility_changed):
6081 Change the menu layout when the size of the screen changes.
6082 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6083 Show warning only when changing the number of colums using the
6086 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6088 * debian/compat: Set to 5
6089 * debian/control: Update dependencies.
6090 * debian/libhildon1-dbg.install: Remove.
6091 * debian/libhildon1-dev.install: Update according to cdbs paths.
6092 * debian/libhildon1.install: Update according to cdbs paths.
6093 * debian/rules: Switch to cdbs.
6095 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6097 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6098 'item' variable renamed to 'filter'
6100 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6102 * src/hildon-app-menu.c (hildon_app_menu_insert)
6103 (hildon_app_menu_add_filter, remove_item_from_list)
6104 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6105 Don't leak hidden items when the menu is destroyed.
6107 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6109 * src/hildon-app-menu.c (hildon_app_menu_insert)
6110 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6111 (hildon_app_menu_set_columns, item_visibility_changed)
6112 (filter_visibility_changed, hildon_app_menu_repack_filters)
6113 (hildon_app_menu_repack_items):
6114 Repack items and filters separately.
6116 Don't repack all items, change only the ones that are needed to
6119 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6121 * src/Makefile.am: added hildon-touch-selector-column.h
6123 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6125 * src/hildon-touch-selector.c: added the property "text-column" to the
6126 class HildonTouchSelectorColumn, and related get/set functions
6127 (_default_printf_func): updated to use "text-column" property
6128 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6129 "text-column" in his documentation, as this is now included on
6130 HildonTouchSelectorColumn. The get/set_property can still be used,
6131 working as a wrapper to the concrete column "text-column" property
6132 (_text_column_modified): callback added in order to handle the signal
6133 "notify::text-column" of the concrete HildonTouchSelectorColumn
6134 (hildon_touch_selector_entry_get_text_column)
6135 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6136 modified in order to use the HildonTouchSelectorColumn "text-column"
6138 * src/hildon-time-selector.c:
6139 * src/hildon-date-selector.c:
6140 * examples/hildon-touch-selector-example.c
6141 * examples/hildon-touch-selector-multi-cells-example.c
6142 * examples/hildon-picker-button-multicolumn-example.c
6143 Set the right value to "text-column" property on the creation of a new
6144 column using hildon_touch_selector_append_column()
6146 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6148 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6150 * src/hildon-app-menu.c
6151 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6152 updating the layout of the menu, don't create all widgets again,
6153 just repack the items in their new places.
6155 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6157 * src/hildon-time-selector.c
6158 (hildon_time_selector_get_time)
6159 (hildon_time_selector_set_time)
6160 Added documentation of these public methods
6162 * src/hildon-date-button.h
6163 * src/hildon-touch-selector-column.h
6164 * src/hildon-time-button.h
6165 * src/hildon-picker-dialog.h
6166 * src/hildon-time-selector.h
6167 * src/hildon-picker-button.h
6168 * src/hildon-touch-selector.h
6169 * src/hildon-time-picker.h
6170 * src/hildon-date-selector.h
6171 * src/hildon-touch-selector-entry.h
6172 Modified in order to use hildon-widgets code style
6174 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6176 Added deprecated support to the compilation process using
6177 HILDON_DISABLE_DEPRECATED
6179 * configure.ac: Added the --disable-deprecated to the configure
6182 * src/hildon-weekday-picker.c:
6183 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6184 to use the deprecated support. We will update the other deprecated
6185 widgets status in a new patch.
6187 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6189 * configure.ac: Fixed typo with fatal warnings support, the
6190 variable name was not correct
6192 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6194 * src/hildon-app-menu.c
6195 * src/hildon-program.c: Update documentation.
6197 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6199 * configure.ac: Post-release version bump.
6201 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6206 * configure.ac: Pre-release version bump.
6207 * debian/changelog: Updates.
6209 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6211 * NEWS: Update news for previous releases.
6213 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6215 * examples/hildon-touch-selector-multi-cells-example.c:
6216 (create_selector): Update the example to use
6217 hildon_touch_selector_append_column() with a NULL renderer and set
6218 the renderers later.
6219 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6220 passed a NULL renderer. This is documented behavior now.
6222 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6223 This must be used if the developer wants full control on the layout of
6224 the renderers to be added to the column.
6226 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6228 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6230 * src/hildon-touch-selector.c: Documentation fixes.
6232 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6234 * src/hildon-wizard-dialog-private.h: Remove image and box.
6235 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6236 (hildon_wizard_dialog_set_property), (response): Completely remove
6237 image/icon support, and the containers required for the layout.
6239 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6241 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6243 * src/hildon-app-menu.c: Updated documentation.
6245 * src/hildon-stackable-window.c
6246 (hildon_stackable_window_set_main_menu): Unref the old menu after
6247 ref'ing the new one.
6249 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6251 * src/hildon-stackable-window.c
6252 (hildon_stackable_window_set_main_menu): Unref the previous menu
6253 instead of destroying it.
6255 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6256 floating reference and set has_user_ref_count to FALSE to make
6257 HildonAppMenu act like a normal ref-counted widget and not a
6260 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6263 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6265 * src/hildon-touch-selector-column.h: new file
6266 * src/hildon-touch-selector.h
6267 * src/hildon-touch-selector.c
6268 Implemented GtkCellLayout interface, in order to allow to configure
6269 the cell layout on each individual selector column
6270 (hildon_touch_selector_set_column_attributes): marked as deprecated
6271 * examples/hildon-touch-selector-multi-cells-example.c
6272 Example of how to use the GtkCellLayout interface on the selector
6274 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6276 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6278 * src/hildon-app-menu.h
6279 * src/hildon-app-menu.c
6280 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6281 (hildon_app_menu_append, hildon_app_menu_prepend):
6282 New methods to prepend, insert and move items in the menu.
6284 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6286 * src/hildon-wizard-dialog.c:
6288 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6290 (create_title): Update logical IDs and related code.
6291 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6293 * src/hildon-wizard-dialog.h: Note that
6294 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6295 point, as it is not used anymore.
6297 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6299 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6301 * src/hildon-note.c:
6302 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6303 shown. Do not display an icon in confirmation notes nor information
6305 (hildon_note_set_button_text): Update logical ID for cancel button.
6307 Fixes: NB#88850 (Update HildonNote button strings + signals)
6309 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6311 * src/hildon-stackable-window.c
6312 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6314 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6316 * src/hildon-app-menu-private.h
6317 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6318 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6319 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6320 temporary property 'columns' to change the number of columns.
6322 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6324 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6326 * examples/hildon-note-example.c: (on_information_clicked),
6327 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6328 debugging information.
6329 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6331 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6332 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6333 in order to close: this will be handled by the WM from now on.
6335 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6337 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6339 * src/hildon-app-menu-private.h
6340 * src/hildon-app-menu.c
6341 (hildon_app_menu_append, hildon_app_menu_add_filter)
6342 (button_visibility_changed, hildon_app_menu_apply_style)
6343 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6344 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6345 layout everytime a button (item or filter) is shown or hidden.
6347 * src/hildon-stackable-window.c
6348 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6351 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6353 * src/hildon-touch-selector.c:
6354 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6355 that the treeview inside the touch selector is in fremantle hildon mode
6356 * examples/hildon-date-button-example.c
6357 * examples/hildon-picker-button-multicolumn-example.c
6358 * examples/hildon-touch-selector-entry-example.c
6359 * examples/hildon-touch-selector-example.c
6360 * examples/hildon-time-button-example.c
6361 * examples/hildon-picker-button-example.c:
6362 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6364 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6366 * examples/hildon-text-view-example.c: (main): Remove the
6367 gtkrc bits, now handled by the theme.
6369 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6371 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6374 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6376 * po/Makefile.am: Install properly the mo files.
6377 * po/en_GB.po: Update translation, to ease testing purposes.
6379 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6381 * examples/hildon-picker-button-example.c: (main): Select an item
6382 in the selector before setting it to the button.
6384 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6386 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6387 Update button's value if the selector has an item active.
6389 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6390 'value' with the selector)
6392 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6394 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6395 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6396 (hildon_picker_button_class_init): Plug the finalize method.
6397 (hildon_picker_button_set_selector): If there's a previously set
6398 selector, unref'it before setting a new one.
6400 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6401 HildonTouchSelector)
6403 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6405 * src/hildon-touch-selector-entry.c:
6406 (hildon_touch_selector_entry_changed): Check if there is no text
6407 selected before setting the entry text.
6410 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6412 * src/hildon-touch-selector.h
6413 * src/hildon-touch-selector.c
6414 (hildon_touch_selector_get_active)
6415 (hildon_touch_selector_set_active): New methods to set/get the
6416 index of the selected item.
6418 * src/hildon-picker-button.h
6419 * src/hildon-picker-button.c
6420 (hildon_picker_button_get_active)
6421 (hildon_picker_button_set_active): New methods to set/get the
6422 index of the selected item.
6424 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6426 * configure.ac: post-release version bump.
6428 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6432 * configure.ac: Pre-release version bump.
6433 * debian/changelog: Updates.
6434 * debian/control: Add myself as maintainer and depend on l10n
6437 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6439 * src/hildon-window.c
6440 (hildon_window_set_main_menu)
6441 * src/hildon-stackable-window.c
6442 (hildon_stackable_window_set_main_menu):
6443 Updated documentation.
6445 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6447 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6448 Don't free selector->priv manually.
6451 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6454 (hildon_gtk_window_set_progress_indicator):
6455 * src/hildon-gtk.h: Added the new API
6456 hildon_gtk_window_set_progress_indicator, it changes the state of
6457 the window progress hint.
6459 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6461 * src/hildon-button.c
6462 * src/hildon-stackable-window.c: Minor documentation updates.
6464 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6466 * src/hildon-stackable-window.c: Updated documentation.
6468 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6470 * src/hildon-defines.h: Update margins definitions
6471 to the Fremantle sizes.
6474 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6476 * src/hildon-touch-selector.c,
6477 (_hildon_touch_selector_set_model): Cleaning the code after
6478 review, removed g_print and #if 0 from the code.
6480 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6482 * src/hildon-edit-toolbar.c: Update documentation.
6484 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6486 * src/hildon-check-button.h
6487 * src/hildon-check-button.c
6488 (hildon_check_button_set_label, hildon_check_button_get_label)
6489 * examples/hildon-check-button-example.c
6490 (button_clicked_cb):
6491 Removed deprecated methods.
6493 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6495 * src/hildon-text-view.c:
6496 Add sample code to the documentation.
6498 * src/hildon-entry.h
6499 * src/hildon-text-view.h:
6500 Minor cosmetic changes.
6502 * src/hildon-entry.c:
6503 Add sample code to the documentation.
6504 (hildon_entry_init, hildon_entry_refresh_contents):
6505 Don't allow NULL values in the placeholder.
6507 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6509 * doc/hildon-docs.sgml
6511 * examples/Makefile.am
6512 * examples/hildon-text-view-example.c
6514 * src/hildon-text-view.c
6515 * src/hildon-text-view.h
6517 New HildonTextView widget, with example.
6519 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6521 * po/POTFILES.in: Add missing files with translatable strings.
6522 Partially fixes NB#88287.
6524 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6526 * examples/hildon-pannable-area-example-2.c: (main): No need to
6527 set the cellrenderer height inside hildon touch lists, the theme does
6530 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6532 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6533 they are integrated in the theme.
6535 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6537 * examples/hildon-entry-example.c: Update the example adding
6538 widgets to modify the text and the placeholder of the HildonEntry.
6540 * src/hildon-entry.c: Show the placeholder everytime the widget
6541 is empty and loses the focus.
6543 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6545 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6547 * src/hildon-pannable-area.c,
6548 (hildon_pannable_area_size_request): Fixed bug in height
6549 requisition, avoid increasing size and add border twice.
6551 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6553 * configure.ac: postrelease version bump.
6555 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6559 * configure.ac: Prerelease version bump.
6560 * debian/changelog: update.
6561 * debian/rules: make -dbg package contain useful debugging symbols.
6563 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-dialog.h
6566 * src/hildon-dialog.c
6567 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6568 New methods to add buttons with finger size.
6569 (hildon_dialog_new_with_buttons):
6570 Create buttons with finger size.
6572 * examples/hildon-dialog-example.c (main): Use HildonDialog
6573 methods to add buttons.
6575 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6577 * src/hildon-entry.c: Updated HildonButton documentation.
6579 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6581 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6582 button value label with (FALSE, FALSE) to prevent NB#88126 from
6585 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6587 * examples/hildon-pannable-area-example.c,
6588 (main): Removed examples panning a vbox inside a pannable
6589 area. Check bug NB#87965
6591 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6593 Patch contributed by Kris Rietveld (kris@imendio.com)
6595 * src/hildon-pannable-area.c,
6596 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6597 get_size and get_position, this saves an X server roundtrip.
6599 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6601 * doc/hildon-docs.sgml
6603 * examples/Makefile.am
6604 * examples/hildon-entry-example.c
6606 * src/hildon-entry.c
6607 * src/hildon-entry.h
6609 New HildonEntry widget, with example.
6611 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6613 * src/hildon-button.c (hildon_button_construct_child): Pack the
6614 image with expand == fill == FALSE. This is a workaround for a bug
6617 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6619 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6620 labels for the text column, to make it more look more dynamic.
6622 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6624 * src/hildon-time-selector.c
6625 Define gettext auxiliar macro N_
6626 (_create_minutes_model)
6627 (_create_hours_model)
6628 (_create_ampm_model): use of strftime in order to fill the model
6629 * src/hildon-date-selector.c
6630 (hildon_date_selector_finalize):
6631 (_locales_init): remove the logic related to get the name of the months
6632 using nl_langinfo, as it is not required anymore
6634 (_create_year_model)
6635 (_create_month_model)
6636 (_update_day_model): use of strftime in order to fill the model properly
6639 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6641 * src/hildon-button.h
6642 * src/hildon-button.c (hildon_button_get_image): New method to
6645 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6647 * src/hildon-touch-selector.c:
6648 (hildon_touch_selector_remove_column): Remove from the correct parent
6649 and also remove the list element and free it.
6652 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6654 * src/hildon-time-selector.c
6655 (_create_hours_model): change the range on 12h ampm format in order to use
6656 a 12-11 range instead of previous 01-12 range
6657 (hildon_time_selector_set_time): change the way to select the current time
6658 on 12h ampm format, due the change on the range
6659 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6662 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6664 * src/hildon-touch-selector.c
6665 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6666 in order to allow use this function on multiple row selection mode if
6667 the column is different that the first one
6670 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6672 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6673 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6675 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6677 * src/hildon-date-selector.h: clean some comments, now on the .c
6678 * src/hildon-date-selector.c
6679 (hildon_date_selector_select_month): first implementation
6680 (hildon_date_selector_select_day): added documentation, reimplemented
6681 using hildon_date_selector_select_current_date to avoid repeat code
6684 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6686 Reviewed interaction logic based on device experiences, refactored
6689 * src/hildon-pannable-area.c,
6690 (hildon_pannable_area_class_init): Updated default vmax speed.
6691 (hildon_pannable_area_calculate_velocity): Added this function, it
6692 avoids duplicate valocity calculation. Adjusted calculation to
6693 avoid problems with zero dist events.
6695 (hildon_pannable_area_motion_notify_cb): Now we use the
6696 calculate_velocity function.
6698 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6700 * src/hildon-date-selector.c
6701 (hildon_date_selector_select_current_date): fix the day range check
6702 as it failed using the last day of the current month
6705 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6707 * src/hildon-touch-selector.c
6708 (hildon_touch_selector_get_num_columns): added a parameter validation
6711 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6713 * examples/Makefile.am
6714 * examples/hildon-edit-toolbar-example.c: Example of the
6715 HildonEditToolbar widget.
6717 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6719 * configure.ac: postrelease version bump.
6721 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6725 * configure.ac: prerelease version bump.
6726 * debian/changelog: update.
6728 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6730 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6731 renderer to display stock icons in the touch list. Also, set the sizes
6732 to the recommended in the style guide.
6734 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6735 * src/hildon-touch-selector.h
6736 (hildon_touch_selector_set_active_iter): renamed, now is
6737 hildon_touch_selector_select_iter
6738 (hildon_touch_selector_get_active_iter): renamed, now is
6739 hildon_touch_selector_get_selected
6740 (hildon_touch_selector_unselect_iter): added
6741 * src/hildon-touch-selector.c
6742 Update after API modification (methods renamed)
6743 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6744 order to avoid problems selecting multiple elements on the column
6745 (hildon_touch_selector_unselect_iter): added the implementation
6746 * src/hildon-time-selector.c
6747 * src/hildon-date-selector.c
6748 * src/hildon-touch-selector-entry.c
6749 Update methods calls after hildon-touch-selector.h API modification (methods
6752 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6754 * src/hildon-stackable-window.c
6755 (hildon_stackable_window_finalize): Call the parent class's finalize.
6757 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6759 * examples/hildon-touch-selector-example.c: (create_selector): Use
6760 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6763 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6765 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6766 set a cell background color, to respect theming.
6768 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6770 * doc/hildon-docs.sgml
6773 * src/hildon-edit-toolbar.c
6774 * src/hildon-edit-toolbar.h
6775 * src/hildon.h: New HildonEditToolbar widget.
6777 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6779 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6782 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6783 * src/hildon-touch-selector.c
6784 (_create_new_column): use g_object_set instead of two g_object_set_property
6786 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6787 * src/hildon-touch-selector.c
6788 (_create_new_column): use of hildon_gtk_tree_view_new to create
6789 the treeview, instead of use directly g_object_new
6790 (_create_new_column): update the property name "vindicator-mode" for the
6791 new one "vscrollbar-policy"
6792 * examples/hildon-date-button-example.c
6793 * examples/hildon-picker-button-multicolumn-example.c
6794 * examples/hildon-touch-selector-entry-example.c
6795 * examples/hildon-touch-selector-example.c
6796 * examples/hildon-time-button-example.c
6797 * examples/hildon-picker-button-example.c
6798 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6799 to all the treeviews inside a pannable area.
6801 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6803 * src/hildon-button.h
6804 * src/hildon-button.c (hildon_button_init)
6805 (hildon_button_set_arrangement, hildon_button_set_alignment)
6806 (hildon_button_set_title_alignment)
6807 (hildon_button_set_value_alignment)
6808 (hildon_button_set_image_alignment)
6809 (hildon_button_construct_child): New methods to set the alignment
6810 of the individual components of the button (title, value,
6811 image). Also, new method to alter the xscale and yscale properties
6812 of the GtkAlignment inside the button, so more complex layouts can
6815 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6817 * src/hildon-button.c (hildon_button_style_set)
6818 (hildon_button_class_init, hildon_button_set_arrangement)
6819 (hildon_button_construct_child): Apply style properties
6820 correctly. Use the 'image-spacing' style property too.
6822 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6824 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6825 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6828 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6830 * src/hildon-pannable-area.c,
6831 (hildon_pannable_area_size_request): Fixed problem with
6832 pannable-area size_request.
6834 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6836 Added management for the grab-focus to a child widget, like a
6837 range, we need to fade out the scrollbar when releasing.
6839 * src/hildon-pannable-area.c,
6840 (hildon_pannable_area_init): Connected the grab-focus signal to
6842 (hildon_pannable_area_grab_notify): Added this function in order
6843 to manage the situation when the grab-focus ends. We have to
6844 fade-out the scrollbar.
6846 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6848 * src/hildon-app-menu.c: Minor documentation update.
6850 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6852 * src/hildon-app-menu.c
6853 * examples/hildon-app-menu-example.c (create_menu): Update
6854 examples and documentation to explain how to connect callbacks.
6856 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6858 * examples/hildon-button-example.c
6859 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6860 hildon_stackable_window_new instead of gtk_window_new
6862 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6864 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6865 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6866 (hildon_pannable_area_set_property),
6867 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6868 (hildon_pannable_area_unrealize),
6869 (hildon_pannable_area_size_request),
6870 (hildon_pannable_area_size_allocate),
6871 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6872 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6873 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6874 (hildon_pannable_area_initial_effect),
6875 (hildon_pannable_area_redraw),
6876 (hildon_pannable_area_scroll_indicator_fade),
6877 (hildon_pannable_area_expose_event),
6878 (hildon_pannable_area_get_topmost), (synth_crossing),
6879 (hildon_pannable_area_button_press_cb),
6880 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6881 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6882 (hildon_pannable_area_motion_notify_cb),
6883 (hildon_pannable_area_button_release_cb),
6884 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6885 (hildon_pannable_area_remove),
6886 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6887 chage the code layout to a more GtkWidget like. Review the use of
6890 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6892 * examples/hildon-pannable-area-example-4.c,
6893 (main): Modified the name of the hindicator_mode to
6896 * src/hildon-pannable-area.c,
6897 (hildon_pannable_area_class_init),
6898 (hildon_pannable_area_motion_notify_cb),
6899 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6900 we have reduced the amount of signals and managed reviewed its
6901 rationale. Changed the default decelerate value.
6903 (hildon_pannable_area_add),
6904 (hildon_pannable_area_redraw): Refactored functions.
6906 (hildon_pannable_area_init),
6907 (hildon_pannable_area_get_property),
6908 (hildon_pannable_area_set_property):
6909 (hildon_pannable_draw_vscroll),
6910 (hildon_pannable_draw_hscroll),
6911 (hildon_pannable_area_initial_effect),
6912 (hildon_pannable_area_expose_event),
6913 (hildon_pannable_area_scroll),
6914 (hildon_pannable_area_button_press_cb),
6915 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6916 and vindicator_mode with hscrollbar_policy and
6917 vscrollbar_policy. Replaced hscroll and vscroll with
6918 hscroll_visible and vscroll_visible.
6920 (hildon_pannable_area_refresh): Refactor the function, remove
6921 variables and check the calls to this function, added resize
6922 conditions in case the children change their layout.
6924 (hildon_pannable_area_size_request): Added more detailed
6925 size_request calculation.
6928 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6930 * src/hildon-color-chooser.c
6931 (init_borders): use the correct gtk_border_free instead of g_free, to
6932 avoid a crash when this widget is used (ie: the three color selection
6935 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6937 * src/hildon-check-button.c,
6938 (hildon_check_button_set_active): Fixed problem when setting the
6939 active value, the widget was not redrawn.
6941 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6943 * src/hildon-pannable-area.c,
6944 (hildon_pannable_area_refresh),
6945 (hildon_pannable_area_scroll),
6946 (hildon_pannable_area_motion_notify_cb): Small code style change.
6948 (hildon_pannable_area_class_init): Default initial_hint set to
6949 FALSE, it is not in the specs.
6951 (hildon_pannable_area_initial_effect),
6952 (hildon_pannable_area_expose_event),
6953 (hildon_pannable_area_map),
6954 (hildon_pannable_area_init): Moved the launching point of the
6955 initial effect, it was in map but the sizes where not correct in
6956 that method so we do not know if we have the reproduce it. Now it
6957 is placed in the expose_event method and uses a variable to
6958 reproduce it just once.
6960 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6962 * src/hildon-pannable-area.c,
6963 (hildon_pannable_draw_vscroll),
6964 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6965 position allowed for the scrollbars.
6967 (hildon_pannable_area_size_allocate): Small style change.
6969 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6971 * src/hildon-pannable-area.c,
6972 (hildon_pannable_area_scroll_indicator_fade),
6973 (hildon_pannable_area_button_press_cb),
6974 (hildon_pannable_area_button_release_cb),
6975 (hildon_pannable_area_scroll_cb),
6976 (hildon_pannable_area_expose_event),
6977 (hildon_pannable_area_init): Added the define parameter
6978 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6979 and refactor the fade variable.
6981 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6983 * src/hildon-pannable-area.c,
6984 (hildon_pannable_area_redraw),
6985 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6986 lines, we were reimplemeting the redraw code.
6988 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6990 * src/hildon-pannable-area.c,
6991 (hildon_pannable_area_scroll_cb),
6992 (hildon_pannable_area_realize),
6993 (hildon_pannable_area_class_init): Added scroll_event management
6994 for pannable area, now we can scroll the usual desktop method.
6996 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6997 initialization of the parameters should depend on idle_id.
6999 (hildon_pannable_area_init),
7000 (hildon_pannable_area_map): Small code style modifications
7002 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7004 * src/hildon-pannable-area.c
7005 (hildon_pannable_area_button_press_cb),
7006 (hildon_pannable_area_motion_notify_cb),
7007 (hildon_pannable_area_button_release_cb),
7008 (hildon_pannable_area_size_allocate),
7009 (hildon_pannable_area_scroll_to): Improved the timeouts
7010 management, we avoid creating them each time.
7012 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7014 * src/hildon-pannable-area.c:
7015 (hildon_pannable_area_refresh),
7016 (hildon_pannable_area_motion_notify_cb),
7017 (hildon_pannable_area_class_init):
7018 * src/hildon-pannable-area.h:
7019 * src/hildon-touch-selector.c
7020 (_create_new_column):
7021 * examples/hildon-pannable-area-example-4.c:
7022 (horizontal_movement),
7023 (vertical_movement),
7025 Replaced the names of enums in the HildonPannableArea:
7026 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7027 HILDON_MOVEMENT_MODE_*
7028 - HILDON_PANNABLE_AREA_MOV_* ->
7030 - Removed HildonPannableAreaIndicatorMode, now we
7033 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7035 * examples/hildon-pannable-area-touch-grid-example.c
7036 * examples/hildon-pannable-area-touch-list-example.c: Fix
7037 compilation warnings.
7039 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7041 * src/hildon-gtk.c (hildon_gtk_button_new)
7042 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7043 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7044 images overriding the value of the "gtk-button-images" setting.
7046 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7048 * src/hildon-check-button.c (hildon_check_button_new):
7049 Instead of using a custom container, display the label and the
7050 checkbox using the standard GtkButton API.
7052 * examples/hildon-check-button-example.c (main): Don't use
7053 hildon_check_button_set_label() anymore
7055 * src/hildon-check-button.h
7056 * src/hildon-check-button.c
7057 (hildon_check_button_set_label, hildon_check_button_get_label):
7058 Set as deprecated, now we're using gtk_button_{get,set}_label()
7060 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7062 * src/hildon-pannable-area.c,
7063 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7064 GtkTreeview first line we detected it after the inclusion of the
7065 GtkWindowImpl in gtk+. We now check if the window is visible, not
7066 just if the pointer is over the window.
7067 (hildon_pannable_axis_scroll),
7068 (hildon_pannable_area_expose_event): Small style changes.
7070 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7072 * src/hildon-button.c: Update documentation.
7074 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7076 * examples/hildon-button-example.c: Add a switch to show images in
7079 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7081 * doc/hildon-docs.sgml: Some docs reorganization.
7083 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7085 * examples/hildon-pannable-area-touch-list-example.c
7087 * examples/hildon-pannable-area-touch-grid-example.c
7088 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7089 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7090 Fix memory leak when setting the tree model.
7092 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7096 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7098 * doc/hildon.types: Remove duplicated hildon_window_get_type
7099 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7100 documentation comment.
7102 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7104 * doc/Makefile.am: Complete list of private headers.
7106 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7108 * doc/hildon-docs.sgml
7109 * src/hildon-app-menu.c
7110 * src/hildon-bread-crumb.c
7111 * src/hildon-button.c
7113 * src/hildon-program.c
7114 * src/hildon-stackable-window.c
7115 * src/hildon-window.c: Lots of documentation updates.
7117 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7119 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7121 * configure.ac: Require Gtk+ 2.12.9 at least
7123 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7125 * src/hildon-pannable-area.c
7126 (hildon_pannable_area_scroll_indicator_fade),
7127 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7128 to protect the return of this timeout callbacks, avoiding deadlocks.
7130 2008-08-12 Christian Dywan <christian@imendio.com>
7133 * src/hildon-*.h: Ensure a consistent include order,
7134 include <gtk/gtk.h> instead of particular files and
7135 only include the topmost header in the gtk stack. See NB #39857
7137 2008-08-12 Christian Dywan <christian@imendio.com>
7139 * src/hildon-picker-dialog.c
7140 * src/hildon-touch-selector.c: Fix warnings about unused and
7141 uninitialized variables.
7143 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7145 * examples/Makefile.am
7146 * examples/hildon-check-button-example.c: Example of the hildon
7149 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7151 * src/hildon-window.h
7152 * src/hildon-window.c (hildon_window_class_init)
7153 (hildon_window_unset_program): Don't make
7154 hildon_window_unset_program a virtual function anymore.
7156 * src/hildon-stackable-window.c: Update documentation
7158 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7161 * doc/hildon-docs.sgml
7162 * doc/visual_index.xml
7163 * src/hildon-defines.c
7165 * src/hildon-helper.c
7166 * src/hildon-range-editor.c: Lots of documentation fixes.
7168 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7170 * examples/hildon-picker-button-multicolumn-example.c
7171 (create_touch_selector): Fix compilation warning.
7173 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7175 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7176 (hildon_pannable_area_button_release_cb)
7177 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7179 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7181 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7184 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7186 * src/hildon-bread-crumb-trail.h
7187 * src/hildon-date-editor.c
7188 * src/hildon-date-selector.c
7189 * src/hildon-pannable-area.c
7190 * src/hildon-picker-dialog.c
7191 * src/hildon-time-selector.c
7192 * src/hildon-touch-selector-entry.c
7193 * src/hildon-touch-selector.c
7194 * src/hildon-touch-selector.h: Misc documentation fixes
7196 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7198 * examples/hildon-date-editor-example.c (main): Updated date
7201 * examples/hildon-note-example.c (on_confirmation_clicked):
7202 Updated confirmation note example.
7204 * src/hildon-date-editor.c
7205 * src/hildon-note.c: Updated sample programs in documentation.
7208 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7210 * src/hildon-date-button.h:
7211 * src/hildon-picker-button.h:
7212 * src/hildon-time-button.c:
7213 * src/hildon-time-button.h:
7215 Some declarations changes to allow gtk-doc to document the widgets
7218 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7220 * src/hildon-date-button.c: Document the widget.
7221 * src/hildon-time-button.c: Document the widget.
7223 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7225 * src/hildon-picker-button.c: Document the widget.
7226 * src/hildon-touch-selector-entry.c: Document the widget.
7228 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7230 * doc/hildon-docs.sgml
7233 * src/hildon-check-button.h
7234 * src/hildon-check-button.c: New functions to create the Hildon
7238 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7240 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7242 * src/hildon-button.h
7243 * src/hildon-button.c
7244 (hildon_button_add_title_size_group)
7245 (hildon_button_add_value_size_group)
7246 (hildon_button_add_image_size_group)
7247 (hildon_button_add_size_groups): New functions to set size groups
7248 for the button labels and image.
7249 (hildon_button_new_full): Removed
7251 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7253 * src/hildon-time-selector.c
7254 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7255 in order to avoid a crash if gconf is not available
7257 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7259 * src/hildon-button.c (hildon_button_set_arrangement)
7260 (hildon_button_construct_child): Don't construct the button child
7261 before setting the arrangement.
7263 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7265 * src/hildon-program-private.h
7266 * src/hildon-program.c
7267 * src/hildon-program.h
7268 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7269 (hildon_program_peek_window_stack)
7270 (hildon_program_pop_window_stack)
7271 (hildon_program_go_to_root_window): HildonProgram now has a
7272 separate list for stackable windows. Functions are provided to
7273 manage that list with a stack-like API.
7275 * src/hildon-stackable-window.c: Stackable window management is
7276 now much simpler with the new HildonProgram API. Windows no
7277 longer need to be manually added to the program, they're
7278 automatically pushed to the top of the stack when shown.
7280 * examples/hildon-stackable-window-example.c: Updated example to
7281 reflect the API changes.
7283 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7285 * src/hildon-touch-selector.c: Comment out unimplemented
7286 hildon_touch_selector_insert_column() to avoid a compile warning.
7288 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7290 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7291 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7292 (hildon_touch_selector_set_column_selection_mode),
7293 (_hildon_touch_selector_set_model),
7294 (hildon_touch_selector_set_model):
7296 Complete review of HildonTouchSelector documentation.
7298 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7300 * doc/hildon-docs.sgml
7304 * src/hildon-gtk.c: Convenience functions for standard Gtk
7305 widgets, used to easily perform frequent operations.
7307 * src/hildon-button-helpers.h
7308 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7310 * src/hildon-helper.h
7311 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7312 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7314 * src/hildon-button.h
7315 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7317 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7319 * src/hildon-button.c (hildon_button_init)
7320 (hildon_button_set_arrangement, hildon_button_construct_child):
7321 Pack the image and the labels inside the same GtkAlignment so
7322 gtk_button_set_alignment() can be used
7324 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7326 * src/hildon-button.h
7327 * src/hildon-button.c
7328 (hildon_button_init, hildon_button_set_image)
7329 (hildon_button_set_image_position)
7330 (hildon_button_construct_child): New functions to add an image to
7333 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7335 * src/hildon-date-button.c
7336 * src/hildon-picker-button.c
7337 * src/hildon-time-button.c
7338 * src/hildon-button.c:
7339 (hildon_button_class_init): "size-flags" renamed to "size"
7340 (hildon_button_set_title): Hide the title label if set to NULL.
7342 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7344 HildonButtonFlags split into HildonButtonArrangement (to set the
7345 button layout) and HildonSizeType (which can be used for any
7348 * src/hildon-button.h
7349 * src/hildon-button.c
7350 (hildon_button_class_init)
7351 (hildon_button_set_arrangement)
7352 (hildon_button_set_property): New "size-flags"
7353 property. "arrangement-flags" renamed to "arrangement".
7354 (hildon_button_new, hildon_button_new_with_text)
7355 (hildon_button_new_full): Constructors updated to reflect type changes.
7357 * src/hildon-helper.h
7358 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7359 to set the size of a widget.
7363 * src/hildon-button-helpers.c
7364 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7366 * src/hildon-date-button.c
7367 * src/hildon-date-button.h
7368 * src/hildon-picker-button.c
7369 * src/hildon-picker-button.h
7370 * src/hildon-time-button.c
7371 * src/hildon-time-button.h: Updated widgets to reflect
7372 HildonButton API changes.
7374 * examples/hildon-button-example.c
7375 * examples/hildon-date-button-example.c
7376 * examples/hildon-picker-button-example.c
7377 * examples/hildon-picker-button-multicolumn-example.c
7378 * examples/hildon-time-button-example.c
7379 * examples/hildon-touch-selector-entry-example.c
7380 * examples/hildon-touch-selector-example.c: Updated examples to
7381 reflect HildonButton API changes.
7383 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7385 * doc/hildon-docs.sgml:
7387 * examples/Makefile.am:
7388 * examples/hildon-touch-selector-entry-example.c:
7390 * src/hildon-touch-selector-entry.c:
7391 * src/hildon-touch-selector-entry.h:
7394 Moved HildonTouchSelectorEntry from sandbox. Added its
7395 documentation and examples.
7397 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7399 * src/hildon-touch-selector.h:
7400 * examples/hildon-picker-button-multicolumn-example.c:
7401 (hildon_touch_selector_append_text_column): Add a gboolean
7402 parameter to determine if text must be centered in the column.
7404 * src/hildon-date-selector.c: (hildon_date_selector_init):
7405 * src/hildon-time-selector.c: (hildon_time_selector_init):
7406 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7407 (create_touch_selector): Update widgets and example to reflect
7410 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7412 * src/hildon-touch-selector.c:
7413 (hildon_touch_selector_set_active_iter): Set also the cursor in
7416 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7418 * doc/hildon-docs.sgml
7421 * src/hildon-toggle-button.c
7422 * src/hildon-toggle-button.h
7423 * src/hildon.h: Removed HildonToggleButton widget, a derived
7424 class is not necessary for this.
7426 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7428 * src/hildon-pannable-area.c,
7429 (hildon_pannable_area_realize),
7430 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7433 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7435 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7436 "done" button the default widget for the dialog.
7438 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7440 * src/hildon-touch-selector.c:
7441 (hildon_touch_selector_class_init),
7442 (hildon_touch_selector_get_property),
7443 (_hildon_touch_selector_set_model),
7444 (_hildon_touch_selector_has_multiple_selection),
7445 (hildon_touch_selector_has_multiple_selection):
7446 Add a "has-multiple-selection" property with a virtual
7447 has_multiple_selection() method to allow derived classes to
7448 override the default value for it. See the method and property
7449 documentation for details.
7451 * src/hildon-touch-selector.h: Add the new API.
7453 * src/hildon-picker-dialog.c: (requires_done_button): Call
7454 hildon_touch_selector_has_multiple_selection() instead of
7455 determining the need for a button itself.
7457 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7459 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7460 (_hildon_touch_selector_set_model),
7461 (hildon_touch_selector_set_model): Move working code to
7462 _hildon_touch_selector_set_mode(). Call the class method instead.
7464 * src/hildon-touch-selector.h: Add (*set_model) to
7465 HildonTouchSelectorClass.
7467 Make hildon_touch_selector_set_model() a virtual method, so that
7468 derived classes can extend it and do fancy stuff with the model.
7470 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7472 * configure.ac: Set back the tarname in AC_INIT to hildon.
7474 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7478 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7479 instead of libesd (NB#86876). Volume handling is still an open issue.
7481 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7484 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7486 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7487 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7488 derived class to ease placement of an entry widget in
7489 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7490 end, where the selector columns are packed now.
7492 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7494 * src/hildon-picker-button.c: Removed the simple _text() API.
7495 * src/hildon-picker-button.h: Likewise.
7497 * src/hildon-touch-selector.h:
7498 * src/hildon-touch-selector.c:
7499 (hildon_touch_selector_new_text),
7500 (hildon_touch_selector_append_text),
7501 (hildon_touch_selector_prepend_text),
7502 (hildon_touch_selector_insert_text):
7504 Moved the simple _text() API from HildonPickerButton to
7505 HildonTouchPicker, to provide better escalability and not to tie
7506 that API to HildonPickerButton.
7508 * examples/hildon-picker-button-example.c: (main): Example updated.
7510 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7512 * src/hildon-button.c: Updated documentation.
7514 * examples/hildon-button-example.c: Add the posibility to create
7515 the buttons using horizontal layout for title and value.
7517 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7519 * src/hildon-app-menu-private.h
7520 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7521 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7522 GtkSizeGroup for the filters, use the 'homogeneous' property of
7525 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7527 * examples/hildon-button-example.c: Updated example.
7529 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7531 * doc/hildon-docs.sgml:
7534 Update documentation.
7536 * examples/Makefile.am: Update renamed examples.
7538 * examples/hildon-picker-button-multicolumn-example.c:
7539 (create_touch_selector), (main): Update after the rename.
7541 * examples/hildon-touch-picker-example.c: Removed.
7542 * examples/hildon-touch-selector-example.c: (value_changed),
7543 (create_selector), (get_visible_content), (main): Renamed from
7544 hildon-touch-picker-example.c
7546 * src/Makefile.am: Updated renamed files.
7548 * src/hildon-date-button.c: (hildon_date_button_init),
7549 (hildon_date_button_get_date), (hildon_date_button_set_date):
7550 * src/hildon-date-selector.c: (hildon_date_selector_init),
7551 (_custom_print_func), (_update_day_model),
7552 (_manage_selector_change_cb),
7553 (hildon_date_selector_select_current_date),
7554 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7555 * src/hildon-date-selector.h:
7556 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7557 (hildon_picker_button_set_property),
7558 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7559 (hildon_picker_button_init), (hildon_picker_button_new_text),
7560 (hildon_picker_button_append_text),
7561 (hildon_picker_button_prepend_text),
7562 (hildon_picker_button_insert_text),
7563 (hildon_picker_button_set_selector),
7564 (hildon_picker_button_get_selector):
7565 * src/hildon-picker-button.h:
7566 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7567 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7568 (_update_title_on_selector_changed_cb), (requires_done_button),
7569 (_hildon_picker_dialog_set_selector),
7570 (hildon_picker_dialog_set_selector),
7571 (hildon_picker_dialog_get_selector):
7572 * src/hildon-picker-dialog.h:
7573 * src/hildon-time-button.c: (hildon_time_button_init),
7574 (hildon_time_button_get_time), (hildon_time_button_set_time):
7575 * src/hildon-time-selector.c: (hildon_time_selector_init),
7576 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7577 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7578 * src/hildon-time-selector.h:
7581 Massive code updates after the rename.
7583 * src/hildon-touch-picker.c: Removed.
7584 * src/hildon-touch-picker.h: Removed.
7586 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7587 (hildon_touch_selector_init), (hildon_touch_selector_map),
7588 (hildon_touch_selector_remove), (_default_print_func),
7589 (_selection_changed_cb), (_create_new_column),
7590 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7591 (hildon_touch_selector_append_text_column),
7592 (hildon_touch_selector_remove_column),
7593 (hildon_touch_selector_set_column_attributes),
7594 (hildon_touch_selector_insert_column),
7595 (hildon_touch_selector_get_num_columns),
7596 (hildon_touch_selector_get_column_selection_mode),
7597 (hildon_touch_selector_set_column_selection_mode),
7598 (hildon_touch_selector_set_print_func),
7599 (hildon_touch_selector_get_print_func),
7600 (hildon_touch_selector_get_active_iter),
7601 (hildon_touch_selector_set_active_iter),
7602 (hildon_touch_selector_get_selected_rows),
7603 (hildon_touch_selector_get_model),
7604 (hildon_touch_selector_set_model),
7605 (hildon_touch_selector_get_current_text),
7606 (_hildon_touch_selector_center_on_selected_items):
7607 * src/hildon-touch-selector.h: Renamed from
7608 hildon-touch-picker.[ch]
7610 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7611 references, code examples, and related documentation.
7613 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7615 * doc/hildon-docs.sgml
7618 * src/hildon-toggle-button.c
7619 * src/hildon-toggle-button.h
7620 * src/hildon.h: New HildonToggleButton widget.
7622 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7624 * src/hildon-button.c: Add API documentation.
7625 (hildon_button_set_size_groups): Check input parameters
7627 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7629 * src/hildon-pannable-area.c
7630 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7631 effect after reaching the movement thredshold. This way we start
7632 using the distance after passing the thredshold.
7634 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7636 * src/hildon-button.c: (hildon_button_set_property): Use the
7637 appropriate g_value_get_flags() method.
7639 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7641 * doc/hildon-docs.sgml:
7644 Add the touch pickers, picker dialogs, and picker button widgets
7645 to the documentation.
7647 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7649 * src/hildon-button.c: (hildon_button_set_property),
7650 (hildon_button_class_init): Make "arrangement-flags" a proper
7651 G_TYPE_FLAGS derived property.
7653 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7655 * examples/Makefile.am: Add below examples.
7656 * examples/hildon-date-button-example.c:
7657 * examples/hildon-picker-button-example.c:
7658 * examples/hildon-picker-button-multicolumn-example.c:
7659 * examples/hildon-time-button-example.c:
7660 * examples/hildon-touch-picker-example.c:
7662 Add examples for the recently added touch pickers,
7663 picker dialogs, and picker button widgets.
7665 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7667 * src/hildon-button.c: Add some API documentation
7669 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7671 * src/hildon-button.h
7672 * src/hildon-button.c
7674 (hildon_button_new_with_text): New constructor to create a button
7675 with no text at all.
7676 (hildon_button_init, hildon_button_set_arrangement)
7677 (hildon_button_set_title, hildon_button_set_value)
7678 (hildon_button_set_text)
7679 (hildon_button_construct_child): Hide the value when it's not used
7680 so the rest of the text is properly aligned.
7681 Allow creating buttons with arbitrary widgets inside (not just
7682 title/value labels).
7684 * examples/hildon-button-example.c (vertical_buttons_window)
7685 (horizontal_buttons_window): Update example to use new API.
7687 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7689 * src/Makefile.am: Added HildonTimeButton.
7690 * src/hildon-time-button.c: Added missing LGPL header.
7691 * src/hildon-time-button.h: Added missing LGPL header.
7692 * src/hildon.h: Add hildon-time-button.h
7694 Copied HildonTimeButton from sandbox to trunk. Future work on this
7695 widget must take place in trunk.
7697 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7699 * src/Makefile.am: Added HildonDateButton.
7700 * src/hildon-date-button.c: Update includes.
7701 * src/hildon.h: Add hildon-date-button.h
7703 Copied HildonDateButton from sandbox to trunk. Future work on this
7704 widget must take place in trunk.
7706 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7708 * src/Makefile.am: Added HildonPickerButton.
7709 * src/hildon-picker-button.h: Update includes.
7710 * src/hildon.h: Add hildon-picker-button.h
7712 Copied HildonPickerButton from sandbox to trunk. Future work on
7713 this widget must take place in trunk.
7715 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7717 * src/Makefile.am: Added HildonPickerDialog.
7718 * src/hildon-picker-dialog.c: Update includes.
7719 * src/hildon.h: Add hildon-picker-dialog.h
7721 Copied HildonPickerDialog from sandbox to trunk. Future work
7722 on this widget must take place in trunk.
7724 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7726 * src/Makefile.am: Added HildonTimeSelector.
7727 * src/hildon.h: Add hildon-time-selector.h
7729 Copied HildonTimeSelector widget from sandbox to trunk. Future
7730 work on this widget must happen in trunk.
7732 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7734 * src/Makefile.am: Added HildonDateSelector.
7735 * src/hildon.h: Add hildon-date-selector.h
7737 Copied HildonDateSelector widget from sandbox to trunk. Future
7738 work on this widget must happen in trunk.
7740 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7742 * src/Makefile.am: Added HildonTouchPicker.
7743 * src/hildon-touch-picker.c: Update includes.
7744 * src/hildon.h: Add hildon-touch-picker.h
7746 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7747 on this widget must happen in trunk.
7749 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7751 * src/hildon-pannable-area.c:
7752 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7754 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7756 * examples/hildon-app-menu-example.c (main): Let the window
7759 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7761 * src/hildon-pannable-area.c
7762 (hildon_pannable_area_class_init): Set the min value of the
7763 overshoot properties to zero, which points out that not
7764 overshooting allowed.
7766 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7768 Modified the procedure to get the widget at a point inside the
7769 pannable area when using the movement type signals. Now the user
7770 has to call a function to get the child, that way we just
7771 calculate the child in case the user really want to use it and not
7774 * src/hildon-marshalers.list: Modified the marshallers, now we do
7775 not have the widget as a parameter.
7777 * src/hildon-pannable-area.c
7778 (hildon_pannable_area_motion_notify_cb),
7779 (hildon_pannable_area_class_init),
7780 (hildon_pannable_get_child_widget_at): Removed the widget
7781 parameter from the signal callback. We have also refactored the
7782 emission of the signals.
7784 * src/hildon-pannable-area.h: Added a new method to the API to
7785 calculate a widget at a point inside the pannable area,
7786 hildon_pannable_get_child_widget_at.
7788 * examples/hildon-pannable-area-example-4.c
7789 (horizontal_movement): Modified the example to use the new API,
7790 added condition to control which widget is under the event. This
7791 way we can avoid scrolling laterally over other widgets.
7793 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7795 * src/hildon-pannable-area.c
7796 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7797 modes, we stop getting the pointer events due to returning the
7798 callback without properly calling the get pointer again. Fixed
7799 also an error using the hscroll and vscroll.
7801 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7803 * src/hildon-app-menu-private.h
7804 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7805 (hildon_app_menu_button_release, hildon_app_menu_init)
7806 (hildon_app_menu_class_init): Don't hide the menu on button
7807 release if the user didn't press outside first.
7809 * src/hildon-window.h
7810 * src/hildon-window.c (hildon_window_toggle_menu)
7811 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7812 hildon_window_toggle_menu a virtual function for the stackable
7813 window to override it.
7815 * src/hildon-stackable-window.h
7816 * src/hildon-stackable-window-private.h
7817 * src/hildon-stackable-window.c
7818 (hildon_stackable_window_realize)
7819 (hildon_stackable_window_finalize)
7820 (hildon_stackable_window_class_init)
7821 (hildon_stackable_window_init)
7822 (hildon_stackable_window_set_main_menu): New function to set the
7823 app menu of a HildonStackableWindow.
7825 * examples/hildon-app-menu-example.c: Remove the button to show
7826 the app menu, now it'll be shown when clicking on the title bar
7829 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7831 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7832 set the widget name if the arrangement flags do not specify
7835 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7837 * src/hildon-button.c: (hildon_button_set_property),
7838 (hildon_button_class_init), (hildon_button_new_full),
7839 (hildon_button_set_arrangement): Added "arrangement-flags"
7842 Make the HildonButtonFlags a construction-only property, to allow
7843 subclasses to set them properly.
7845 2008-07-21 Tim Janik <timj@imendio.com>
7847 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7848 insertion position after backspace, so additional digits are appended,
7851 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7853 * src/hildon-pannable-area.c,
7854 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7855 TODO list, it was complete and removed the g_debug and g_print
7858 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7860 Added the movement modes to the hildon-pannable-area, with this
7861 modes the developers can control in which directions the widget
7862 can scroll. They can also connect to signals in order to do
7863 something when that happens, allowing applications scroll. There
7864 is an example uploaded showing how to use it.
7866 * examples/Makefile.am:
7867 * examples/hildon-pannable-area-example-4.c: Added this example of
7868 an application using the modes.
7870 * src/hildon-marshalers.list: Added a new marshaller for the new
7873 * src/hildon-pannable-area.h: Added new enumerations and flags in
7874 order to control the movement modes and the new signals to warn
7875 about the movements in the area.
7877 * src/hildon-pannable-area.c:
7878 (hildon_pannable_axis_scroll),
7879 (hildon_pannable_area_scroll),
7880 (hildon_pannable_area_motion_notify_cb),
7881 (hildon_pannable_area_get_property),
7882 (hildon_pannable_area_set_property),
7883 (hildon_pannable_area_map),
7884 (hildon_pannable_area_class_init),
7885 (hildon_pannable_area_init),
7886 (hildon_pannable_area_jump_to): Added the modes to control the
7887 movement in the widget. We have added properties to control it,
7888 signals to warn about the movements and refactored some code.
7890 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7892 Changes required in order to allow vfast_factor set to zero to
7895 * src/hildon-pannable-area.c:
7896 (hildon_pannable_area_button_press_cb): Changed the condition, it
7897 is required for not allowing click when vfast_factor is zero.
7898 (hildon_pannable_area_timeout): Initialized velocity variables
7899 when we stop moving, it was less than 1 but not zero and we need
7900 to check zero in some situations.
7901 (hildon_pannable_area_class_init): Changed the default value of
7902 the speed factor, now the button_press is just sent in case the
7903 speed is 2 per cent of the max speed.
7904 (hildon_pannable_area_init): Initialization with 0.
7906 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7908 * src/hildon-pannable-area.c,
7909 (hildon_pannable_area_get_topmost): replaced
7910 gdk_window_get_children with gdk_window_peek_children, this way we
7911 do not have to free the list because it is not a copy.
7913 (hildon_pannable_axis_scroll),
7914 (hildon_pannable_area_scroll),
7915 (hildon_pannable_area_timeout),
7916 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7917 two parameters that were only used inside the
7918 hildon_pannable_area_scroll function.
7920 * examples/hildon-pannable-area-example.c,
7921 (get_sawtooth_label): Fixed small memory leak.
7923 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7925 More checks for the case where the overshoot is bigger than the
7928 * src/hildon-pannable-area.c:
7929 (hildon_pannable_draw_vscroll),
7930 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7931 to draw the slider of the scrollbar under the other scrollbar.
7932 (hildon_pannable_area_expose_event): added new checks to control
7933 the drawing of the overshooting area rectangle, in case it is too
7934 big for the area of the widget.
7935 (hildon_pannable_area_size_allocate): add more checks to avoid
7936 setting a position to the child widget outside the area.
7938 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7940 * src/hildon-pannable-area.c
7941 (hildon_pannable_area_size_allocate): Added conditions to control
7942 when overshooting is bigger than the allocated space for the
7943 children, this avoids negative allocations.
7945 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7947 * doc/hildon-docs.sgml
7949 * examples/Makefile.am
7950 * examples/hildon-button-example.c
7952 * src/hildon-button.c
7953 * src/hildon-button.h
7954 * src/hildon.h: Initial version of the new HildonButton widget,
7957 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7959 * src/hildon-pannable-area.c:
7960 (hildon_pannable_area_button_press_cb),
7961 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7962 (hildon_pannable_area_motion_notify_cb),
7963 (hildon_pannable_area_button_release_cb),
7964 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7965 (hildon_pannable_area_jump_to_child):
7967 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7969 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7971 * examples/Makefile.am
7972 * examples/hildon-pannable-area-touch-grid-example.c
7973 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7974 the Hildon Touch List and Hildon Touch Grid using the
7975 HildonPannableArea widget.
7977 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7979 * src/hildon-pannable-area.c,
7980 (hildon_pannable_area_button_press_cb),
7981 (hildon_pannable_area_refresh),
7982 (hildon_pannable_area_scroll),
7983 (hildon_pannable_area_motion_notify_cb),
7984 (hildon_pannable_area_button_release_cb),
7985 (hildon_pannable_area_expose_event),
7986 (hildon_pannable_area_add),
7987 (hildon_pannable_area_remove),
7988 (hildon_pannable_area_realize),
7989 (hildon_pannable_area_size_allocate),
7990 (hildon_pannable_area_class_init),
7991 (hildon_pannable_area_init),
7992 (hildon_pannable_area_scroll_to_child),
7993 (hildon_pannable_area_jump_to_child): Fixed the problem of
7994 removing the child from the GtkBin, we have rearranged the widget
7995 hierarchy, now there is no GtkAlignment which was not doing
7996 anything interesting but breaking some of the assumptions of
7997 GtkContainer. Now developers if they want to add a GtkAlignment
7998 they could, but it is not inside the area.
8000 We had to review the whole allocation/expose process, now it is
8001 improved and we save at least three signals which would be saving
8002 some time when rendering the widget. The allocation of the
8003 scrollbars is now made in the allocate method as usual.
8005 We have also added some conditions in order to control when there
8006 is no child of the pannable area. Maybe we will need more work
8009 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8011 * src/hildon-pannable-area.c,
8012 (hildon_pannable_area_dispose): Released the fade-out timeout when
8013 disposing the widget.
8015 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8017 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8018 zero, we are going to use that property in order to deactivate the
8020 (hildon_pannable_axis_scroll),
8021 (hildon_pannable_area_size_allocate): Added conditions to control
8022 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8023 call, now it is called in all situations and we can remove calls
8024 in the allocate method.
8025 (hildon_pannable_area_map): Control the situation when
8026 overshoot_max is zero, we do not need the timeout.
8027 (hildon_pannable_area_class_init): Added documentation in order to
8028 point out that setting zero to overshoot_max means deactivate
8031 NOTE: removed trailing whitespaces from my previous comments of
8034 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8036 * src/hildon-pannable-area.c
8037 (hildon_pannable_area_get_property),
8038 (hildon_pannable_area_set_property),
8039 (hildon_pannable_area_map),
8040 (hildon_pannable_area_class_init),
8041 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8042 to cause the widget give a hint about its panning abilities upon
8045 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8047 * src/hildon-pannable-area.c: Several documentation improvements.
8049 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8051 * src/hildon-program.c
8052 * src/hildon-stackable-window.c: Update documentation.
8054 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8056 * src/hildon-stackable-window.c (get_previous_window_if_last):
8057 Renamed get_last_window()
8058 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8059 (hildon_stackable_window_unset_program):
8061 (get_previous_window_if_last):
8062 Detect if the window hasn't been added to a HildonProgram.
8064 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8066 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8068 * src/hildon-pannable-area.c
8069 (hildon_pannable_area_button_press_cb),
8070 (hildon_pannable_axis_scroll),
8071 (hildon_pannable_area_scroll),
8072 (hildon_pannable_area_timeout),
8073 (hildon_pannable_calculate_vel_factor),
8074 (hildon_pannable_area_get_property),
8075 (hildon_pannable_area_set_property),
8076 (hildon_pannable_area_class_init),
8077 (hildon_pannable_area_init),
8078 (hildon_pannable_area_scroll_to),
8079 (hildon_pannable_area_jump_to),
8080 (hildon_pannable_area_scroll_to_child),
8081 (hildon_pannable_area_jump_to_child):
8082 * src/hildon-pannable-area.h: Added the new API functions:
8083 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8084 hildon_pannable_area_scroll_to_child,
8085 hildon_pannable_area_jump_to_child
8088 * examples/Makefile.am
8089 * examples/hildon-pannable-area-example-2.c
8090 * examples/hildon-pannable-area-example-3.c: Added these two new
8091 examples in order to test and show how the new APIs work.
8093 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8095 * examples/hildon-stackable-window-example.c (new_window):
8096 * src/Makefile.am (noinst_HEADERS):
8097 * src/hildon-program.c (hildon_program_go_to_root_window):
8098 * src/hildon-program.h:
8099 * src/hildon-stackable-window-private.h:
8100 * src/hildon-stackable-window.c:
8101 * src/hildon-stackable-window.h:
8102 Create hildon-stackable-window-private.h
8103 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8105 * examples/hildon-app-menu-example.c (create_menu):
8106 * examples/hildon-hvolumebar-insensitive-example.c (main):
8107 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8108 * examples/hildon-toolbar-seekbar-example.c (main):
8109 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8110 * src/hildon-banner.c (hildon_banner_set_property):
8111 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8112 Fix compilation warnings
8114 * src/hildon-window.c:
8117 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8119 * src/hildon-stackable-window.c
8120 (hildon_stackable_window_unset_program):
8121 Calculate correctly whether to show the previous window if the
8122 last one is removed from the stack.
8123 (hildon_stackable_window_go_to_root_window):
8124 Send delete events starting from the topmost window.
8125 Stop if one of the windows is not destroyed.
8127 (hildon_stackable_window_delete_event)
8128 (hildon_stackable_window_class_init):
8129 Ignore the delete event if the window is not the topmost one.
8131 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8133 * src/hildon-pannable-area.c
8134 (hildon_pannable_area_expose_event): Fixed a problem when
8135 selecting the background color of the scrollbars.
8137 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8139 * examples/hildon-stackable-window-example.c
8140 * src/hildon-stackable-window.c
8141 * src/hildon-stackable-window.h
8142 hildon_stackable_window_go_home() renamed to
8143 hildon_stackable_window_go_to_root_window()
8144 Send delete events to windows rather than closing them with
8145 gtk_widget_destroy()
8147 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8149 * src/hildon-pannable-area.c
8150 (hildon_pannable_area_button_release_cb): Fix overshooting in
8153 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8155 * src/hildon-pannable-area.c
8156 (hildon_pannable_area_init): Initially show the scroll indicators.
8157 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8159 Add initial effect showing the widget is pannable.
8161 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8163 * src/hildon-pannable-area.c
8164 (hildon_pannable_area_class_init)
8165 (hildon_pannable_area_set_property)
8166 (hildon_pannable_area_get_property)
8167 (hildon_pannable_area_button_press_cb):
8168 New 'velocity_fast_factor' property to decide which velocity is
8171 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8173 * src/hildon-pannable-area.c
8174 (hildon_pannable_draw_hscroll)
8175 (hildon_pannable_draw_vscroll):
8176 Use float variables to calculate the size of the scrollbars to
8177 avoid error propagation and resizing during scrolling.
8179 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8181 * src/hildon-pannable-area.c
8182 (hildon_pannable_draw_vscroll)
8183 (hildon_pannable_draw_hscroll):
8184 Define a minimum size for the scroll bars
8186 * src/hildon-stackable-window.c
8187 (hildon_stackable_window_go_home): Fix compilation warning
8188 (get_last_window): Minor optimizations
8189 (hildon_stackable_window_class_init): Fix initialization of
8192 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8194 * src/hildon-stackable-window.c: Fixed typos in doc
8196 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8198 * src/hildon-pannable-area.c
8199 (hildon_pannable_area_scroll):
8200 Calculate here whether we need to scroll instead of using the booleans
8201 that tell us whether to /draw/ the scrolling bars.
8203 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8205 * src/hildon-app-menu.h
8207 * src/hildon-app-menu.c
8208 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8209 multiple filter groups related code and API. Now we support only
8211 * examples/hildon-app-menu-example.c:
8213 Update to reflect API changes.
8215 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8217 * src/hildon-stackable-window.c
8218 (hildon_stackable_window_class_init):
8219 Add hildon_stackable_window_realize.
8220 (hildon_stackable_window_realize):
8221 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8222 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8223 to apply theming and behavior specific to HildonStackableWindow
8226 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8228 * src/hildon-note.c (hildon_note_button_release):
8229 Close information notes also when tapping on them
8231 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8233 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8234 ELASTICITY, refactor and review, fix some issues with drawing
8237 * src/hildon-pannable-area.c:
8238 (hildon_pannable_area_button_press_cb): removed the conditions to
8239 avoid clicks when overshooting. It is not required
8241 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8242 define. Refatored and reviewed the code, now we do not need to
8243 manage velocity in motion_notify.
8245 (hildon_pannable_area_motion_notify_cb): We have moved the code
8246 that controls the area_scroll to the axis_scroll function and get
8247 rid of duplicated code.
8249 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8251 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8253 (hildon_pannable_draw_vscroll),
8254 (hildon_pannable_draw_hscroll): Fixed the problems with the
8255 scrollbar drawing, now we do not use two surfaces, it is easier
8256 and saves resources.
8258 (hildon_pannable_area_get_property): Style modification.
8260 (hildon_pannable_area_class_init): Changed some default values.
8262 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8264 * src/hildon-stackable-window.c: Fix some typos in the
8267 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8269 * src/hildon-dialog.c:
8270 Change indentation style
8273 (hildon_note_button_release):
8274 Use root coordinates to check if the release event happened
8277 * src/hildon-app-menu.c
8278 (hildon_app_menu_button_release):
8279 Remove unnecessary check
8281 * examples/hildon-app-menu-example.c
8283 Add cast to fix warning
8285 * src/hildon-app-menu.c
8286 (hildon_app_menu_class_init):
8287 New inner-border style property.
8288 Set all default spacings to 16
8289 (hildon_app_menu_init):
8290 Use vertical-spacing to set the space between filter buttons and
8291 regular menu buttons.
8292 Set the default container border using the inner-border value.
8294 * examples/hildon-app-menu-example.c
8296 Don't set the menu border explicitly, now we have the inner-border
8297 style property for that.
8299 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8301 * src/hildon-app-menu.c (hildon_app_menu_init):
8302 Make the window modal
8304 * src/hildon-note.c (hildon_note_map)
8305 * src/hildon-app-menu.c (hildon_app_menu_map):
8306 Destroy the grab window if we're unable to grab the pointer
8308 * src/hildon-app-menu-private.h
8309 * src/hildon-app-menu.c
8310 (hildon_app_menu_init, hildon_app_menu_finalize)
8311 (hildon_app_menu_map, hildon_app_menu_unmap)
8312 (hildon_app_menu_button_release)
8313 (grab_transfer_window_get):
8314 Bring back the grab window
8315 (hildon_app_menu_realize):
8316 Decorate the window, set WM hint for Matchbox
8318 * src/hildon-note.c (hildon_note_realize):
8319 * src/hildon-banner.c (hildon_banner_realize):
8320 Add WM hints for Matchbox
8322 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8324 * src/hildon-app-menu-private.h
8325 * src/hildon-app-menu.c
8326 (hildon_app_menu_init, hildon_app_menu_finalize)
8327 (hildon_app_menu_map, hildon_app_menu_unmap)
8328 (hildon_app_menu_button_release):
8329 Remove the grab window, it's not needed anymore
8331 * src/hildon-program.c
8332 Fixed typo in documentation
8334 * src/hildon-app-menu.h
8335 * src/hildon-app-menu.c
8336 * examples/hildon-app-menu-example.c
8337 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8339 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8342 Added new transfer_window and close_if_pressed_outside private
8344 (hildon_note_rebuild):
8345 Don't add a cancel button to the information note. It will be
8346 closed when tapping outside
8347 Remove the comment about the OK button in the documentation
8348 (hildon_note_realize):
8349 Set the notification type hint
8350 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8351 Grab/ungrab pointer and keyboard if the note has to be closed when
8353 (hildon_note_button_release):
8354 Close the note when tapping outside (if applicable)
8356 * src/hildon-app-menu.c
8357 Grab/ungrab pointer and keyboard on map/unmap
8358 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8359 Close the menu on button release, not button press
8361 * src/hildon-banner.c
8362 (hildon_banner_set_property)
8363 (hildon_banner_check_position):
8364 Make the banner use the full width of the screen
8365 (hildon_banner_show_information)
8366 (hildon_banner_show_information_with_markup):
8367 Don't display an icon by default
8369 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8371 Added fading scrollbars and adapted all the overshooting code to
8372 horizontal scrolling. We have also fixed bugs with overshooting
8373 and current fading implementation.
8375 * src/hildon-pannable-area.c
8376 (hildon_pannable_area_scroll_indicator_fade): Time out function
8377 used to change the transparency of the scrollbars.
8379 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8380 control and fixed a problem with fading, we now remove the fade
8381 timeout before adding a new one.
8383 (hildon_pannable_axis_scroll):
8384 (hildon_pannable_area_scroll):
8385 (hildon_pannable_area_timeout): Added this functions so we can use
8386 the scroll code both for vertical and horizontal.
8388 (hildon_pannable_area_motion_notify_cb):
8389 (hildon_pannable_area_button_release_cb): Added the horizontal
8390 scrolling control, fixed a problem with the overshooting timeout.
8392 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8393 painting of the scrolls.
8395 (hildon_pannable_draw_vscroll):
8396 (hildon_pannable_draw_hscroll):
8397 (hildon_pannable_area_expose_event):
8398 Draw both scrollbars and rectangles in the overshooting area.
8400 (hildon_pannable_area_get_property):
8401 (hildon_pannable_area_set_property):
8402 Modified the overshoot property to overshoot_max
8404 (hildon_pannable_area_map):
8405 Replaced the comments symbols.
8407 (hildon_pannable_area_size_allocate):
8408 (hildon_pannable_area_class_init):
8409 (hildon_pannable_area_init): Added horizontal scroll, fading
8410 effect properties, fixed a problem when overshooting in the bottom
8413 * examples/hildon-pannable-area-example.c:
8414 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8415 looks better in the example.
8417 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8419 * src/hildon-window.c
8420 * src/hildon-window.h
8421 (hildon_window_class_init)
8422 (hildon_window_unset_program)
8423 (hildon_window_unset_program_real):
8424 Make unset_program a virtual function
8426 * src/hildon-stackable-window.c
8427 * src/hildon-stackable-window.h
8428 Added hildon_stackable_window_go_home()
8430 * examples/Makefile.am
8431 * examples/hildon-stackable-window-example.c
8432 HildonStackableWindow example
8434 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8436 * hildon-pannable-area.c: Added the overshoot property and removed
8437 the OVERSHOOT define. Fixed an indent style error.
8438 (hildon_pannable_area_motion_notify_cb):
8439 (hildon_pannable_area_get_property):
8440 (hildon_pannable_area_set_property): Add overshoot property.
8442 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8445 (hildon_pannable_area_class_init): Installed the new property.
8447 * hildon-pannable-area-example.c: Added a sawtooth function, this
8448 way it is easier to check the movement in the pannable.
8449 (get_sawtooth_label): Added this function.
8450 (main): Now we get the labels from the new get_sawtooth_label
8453 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8455 * src/hildon-app-menu.h
8456 * src/hildon-app-menu.c
8457 Renamed API variables for consistency
8459 (hildon_app_menu_popup): Use also the default window size to
8460 decide where to place the menu
8462 (hildon_app_menu_init, hildon_app_menu_class_init): New
8463 external-border style property
8465 2008-05-26 Michael Natterer <mitch@imendio.com>
8467 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8468 widget_class->tap_and_hold_setup signal slot doesn't exist any
8469 longer, stop overriding it.
8471 (hildon_time_editor_init): g_signal_connect() to the
8472 tap-and-hold-setup signal instead.
8474 (hildon_time_editor_entry_keypress): add cast to fix warning.
8476 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8478 * doc/hildon-docs.sgml
8480 * examples/Makefile.am
8481 * examples/hildon-app-menu-example.c
8483 * src/hildon-app-menu-private.h
8484 * src/hildon-app-menu.c
8485 * src/hildon-app-menu.h
8487 New HildonAppMenu widget
8489 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8491 Rearranged the inheritance of the pannable area, now it inherits
8492 from GtkBin. This will allow us to control the event_window and
8493 the allocation process of the widget, required for some effects.
8495 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8496 GtkBin structures. * src/hildon-pannable-area.c: Added the
8497 event_window variable.
8498 (hildon_pannable_area_button_press_cb):
8499 (hildon_pannable_area_button_release_cb):
8500 (hildon_pannable_area_motion_notify_cb):
8501 Changed the signature of the method, now we override the event
8502 callback instead of connecting to the signal.
8504 (hildon_pannable_area_realize):
8505 (hildon_pannable_area_unrealize):
8506 (hildon_pannable_area_map):
8507 (hildon_pannable_area_unmap):
8508 (hildon_pannable_area_size_allocate):
8509 Added functions to control the widget construction. We add a
8510 INPUT_ONLY window and we put it over the widgets inside the
8511 container, this event_window handles the events.
8513 (hildon_pannable_area_class_init):
8514 Replaced the signal connections with overrides of the event
8517 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8519 Bouncing effect added when touching the borders, you can change
8520 the elasticity of the border changing the ELASTICITY define.
8522 * src/hildon-pannable-area.c: Added ELASTICITY define.
8523 (hildon_pannable_area_timeout): Added inverse velocity when
8524 touching the border of the child widget, that causes a bounce.
8526 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8528 Improved performance, we now do not go to the X server in order to
8529 get the list of window children. Apparently the effect is the
8530 same, we have to be careful and check if this breaks something in
8533 * src/hildon-pannable-area.c:
8534 (get_ordered_children): Removed this function.
8535 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8536 the children windows function with gdk_window_get_children.
8538 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8540 * src/hildon-pannable-area.c:
8541 (hildon_pannable_area_dispose): Fixed a crash when closing the
8542 window and kinetics is activated.
8544 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8546 * src/hildon-pannable-area.h
8547 * src/hildon-pannable-area.c
8548 Changed indentation style to meet the one used in Hildon
8550 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8552 Reviewed the interaction of the AUTO mode, now we use the time
8553 attribute of the events and calculate the velocity in the motion,
8554 doing a gimp like calculation. The velocity is calculated in each
8555 motion event using the last velocity and the current one, the
8556 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8558 * src/hildon-pannable-area.c: Replaced the time based algorithm
8560 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8561 timeout for the AUTO mode when we are still moving the cursor. We
8562 added also the velocity calculation in this function.
8563 (hildon_pannable_area_button_release_cb): launch the timeout in
8564 case we are in AUTO mode. There are still some constants here that
8565 come from the old implementation that should be reviewed and
8568 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8570 * doc/hildon-docs.sgml
8573 * src/hildon-stackable-window.c
8574 * src/hildon-stackable-window.h
8576 New HildonStackableWindow widget
8578 * examples/hildon-dialog-example.c
8579 * examples/hildon-pannable-area-example.c
8582 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8584 * src/hildon-dialog.c
8585 (hildon_dialog_new_with_buttons): New constructor.
8587 * examples/hildon-dialog-example.c
8588 (main): Update the example to use the new
8589 hildon_dialog_new_with_buttons().
8591 * examples/hildon-pannable-area-example.c
8592 (main): Update example.
8594 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8596 * doc/hildon-docs.sgml
8598 Added HildonPannableArea to the documentation.
8600 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8602 * doc/visual_index.xml
8603 Fix reference to HildonLoginDialog in documentation
8605 * doc/hildon-docs.sgml
8607 * examples/Makefile.am
8608 * examples/hildon-dialog-example.c
8610 * src/hildon-dialog.c
8611 * src/hildon-dialog.h
8613 New HildonDialog widget.
8615 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8617 * src/hildon-pannable-area.c
8618 Merge latest changes (r4318, r4342) from libmokoui trunk
8620 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8622 * examples/Makefile.am
8623 * examples/hildon-pannable-area-example.c
8625 * src/hildon-pannable-area.c
8626 * src/hildon-pannable-area.h
8628 New HildonPannableArea widget.
8630 2008-04-15 18:05:19 <timj@imendio.com>
8632 * src/hildon-banner.c: revert the recent change, that introduced
8633 gtk_window_present() calls. this reopens:
8634 Bug 78481 - [freetest] information banners are hidden under browser menu
8635 But resolves another variant of:
8636 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8638 2008-04-15 13:21:13 <timj@imendio.com>
8640 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8641 recreated its layout, spotted by Kris. this fixes all remaining
8642 artefacts and stability issues with the banner code. in particular:
8643 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8645 2008-04-14 16:52:59 <timj@imendio.com>
8647 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8648 operating on unrealized widgets, fixes:
8649 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8651 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8653 2008-04-09 Kristian Rietveld <kris@imendio.com>
8655 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8656 makes banner disappear.
8657 Fixes: NB#79182: info banner flickering with certain message lengts.
8659 * src/hildon-banner.c (hildon_banner_constructor),
8660 (hildon_banner_init), (hildon_banner_set_text),
8661 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8662 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8663 FALSE, reset size requests of label and banner,
8664 (force_to_wrap_truncated): when the text is too wide, always enforce
8665 the maximum possible width instead of recalculating it from the
8666 layout; enforce the maximum banner height of 3 lines,
8667 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8668 nicer wrapping and no truncated chars if space gets tight.
8670 * src/hildon-banner-private.h: add has_been_wrapped and
8671 has_been_truncated fields.
8673 2008-04-07 Sven Herzberg <sven@imendio.com>
8675 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8676 local values in hildon_date_editor_size_allocate
8678 * src/hildon-date-editor.c: moved the real allocation code into the
8681 2008-04-07 Sven Herzberg <sven@imendio.com>
8683 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8684 local values in hildon_date_editor_size_allocate
8686 * src/hildon-date-editor.c: merged the two if() branches together
8688 2008-04-07 Sven Herzberg <sven@imendio.com>
8690 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8691 local values in hildon_date_editor_size_allocate
8693 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
8702 from the real allocation
8704 2008-03-27 Michael Natterer <mitch@imendio.com>
8706 Fixes: NB#81696: The passcode is not overwritten even after
8709 * src/hildon-code-dialog.c
8710 (hildon_code_dialog_button_clicked)
8711 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8712 because that doesn't overwrite selected text. Instead, emit the
8713 "commit" signal on the entry's im_context so the entry's normal
8714 insert logic is triggered. Set the cursor to the end of the entry
8715 after each insert operation so that we *only* insert in the middle
8716 of the text if something was selected.
8718 2008-03-27 Michael Natterer <mitch@imendio.com>
8720 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8721 selector cannot be opened
8723 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8724 when the popup color selector is created. Please connect to this
8725 signal in order to set the dialog's help ID.
8727 2008-03-25 Sven Herzberg <sven@imendio.com>
8729 Fixes: MB#1212: Hide info banners (infoprints) on click
8731 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8732 extracted the close event simulation into an extra function
8733 (hildon_banner_button_press_event): simulate a close event and destroy
8734 the widget if the event wasn't handled
8735 (hildon_banner_class_init): added the button_press_event handler
8736 (hildon_banner_init): added button-press events to the widget
8738 2008-03-25 Sven Herzberg <sven@imendio.com>
8740 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8741 Patch from: Mohammad Anwari <mdamt@maemo.org>
8743 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8744 instead of the right in RTL mode
8745 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8746 breadcrumb button list in RTL mode
8747 * src/hildon-caption.c: mirror the appearance of the caption widget in
8749 * src/hildon-date-editor.c: mirror appearance of the date editor in
8751 * src/hildon-time-editor.c: mirror appearance of the time editor in
8753 * src/hildon-window.c: fix the position of the popup in RTL mode
8755 2008-03-25 Sven Herzberg <sven@imendio.com>
8757 Amendment to the fix of NB#22072. Fix compilation.
8759 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8761 2008-03-19 Sven Herzberg <sven@imendio.com>
8763 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8766 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8767 timeout id properly when the timeout will disappear this leaves no
8768 artifacts around in the destroy(); there will only be the timeout
8769 created by hildon_banner_ensure_timeout() and adding a new timeout
8770 will also work if the timeout gets removed because the timeout_handler
8773 2008-03-19 Michael Natterer <mitch@imendio.com>
8775 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8777 * src/hildon-volumebar.c
8778 * src/hildon-vvolumebar.c
8779 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8780 the widget becomes focussable at all.
8782 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8783 set the focus to wither the mute button or the volumebar.
8785 Remove own "can-focus" property and instead listen to
8786 notify::can-focus in order to update the widget's state.
8788 Implement GtkWidget::focus() and make sure we can also *leave* the
8789 widget, not only enter it, depending on volumebar orientation and
8790 requested focus direction.
8792 Clean up set_mute() to cooperate nicely with all the above.
8794 2008-03-04 Michael Natterer <mitch@imendio.com>
8796 Fixes: NB#78481: information banners are hidden under browser menu
8798 * src/hildon-banner.c: call gtk_window_present() on the banners so
8799 they are risen if they are already visible.
8801 2008-03-03 Sven Herzberg <sven@imendio.com>
8803 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8805 * examples/hildon-window-menu-example.c: (main): extended the window
8806 menu example to serve as a testcase for automatically added
8807 accelerator groups, too
8808 * src/hildon-window.c: (hildon_window_add_accel_group),
8809 (hildon_window_set_menu): added patch by Tommi Komulainen
8811 2008-03-03 Sven Herzberg <sven@imendio.com>
8813 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8815 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8816 knowledge about the border allocators used within GTK+
8818 2008-02-26 Sven Herzberg <sven@imendio.com>
8820 Fixes: MB#2981: Build with asserts broken
8822 * src/hildon-date-editor.c,
8823 * src/hildon-number-editor.c,
8824 * src/hildon-time-editor.c,
8825 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8826 the proper GType instance check
8828 2008-02-25 Sven Herzberg <sven@imendio.com>
8830 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8832 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8833 * examples/hildon-window-menu-example.c: (main): explicitly show
8835 * src/hildon-window.c:
8836 (hildon_window_set_main_menu): moved most of the code from set_menu()
8837 to this place; skipped the call to gtk_widget_show_all(); also didn't
8838 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8839 (hildon_window_set_menu): removed most of the code, just keep the
8840 questionable gtk_widget_show_all()
8841 * src/hildon-window.h: added the new function and deprecate the old
8844 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8850 * debian/changelog: Updating.
8852 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8855 * pkgconfig/Makefile.am:
8856 * pkgconfig/hildon.pc.in:
8859 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8860 use newly created API_MAJOR_VERSION.
8862 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8868 * debian/changelog: Updating.
8870 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8872 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8874 Add outer_border style property, we use it but don't define it (!).
8878 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8880 * examples/hildon-bread-crumb-trail-example.c (main):
8884 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8886 Fix logic for the bread crumb trail node removal.
8890 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8896 * debian/changelog: Updating.
8898 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8900 Patch by Alejandro to get/set passwords dialogs accesibility.
8902 * hildon-1/src/hildon-get-password-dialog.c:
8903 * hildon-1/src/hildon-set-password-dialog.c:
8904 Set atk_set_name to the passwd entries in order to allow
8905 accessibility by name on this entries.
8907 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8912 * debian/control: Updating gtk dep.
8914 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8916 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8917 USE_MAEMO_GTK is enabled.
8919 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8921 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8922 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8924 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8930 * debian/changelog: Updating.
8932 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8934 * examples/Makefile.am:
8935 * examples/hildon-logical-color-example.c:
8936 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8937 applied + adding a test case. Fixes: NB#71660.
8939 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8941 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8942 to be visible, fixes warning on map for windows without toolbars.
8944 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8946 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8947 2.11.0, add a check for that besides the MAEMO_GTK check.
8949 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8955 * debian/changelog: Updating.
8957 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8959 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8960 visibility. Fixes: NB#70842 and MB#615.
8962 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8964 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8965 set the separator as no-show-all so it doesn't unintentionally appear when
8966 someone does a show_all.
8968 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8970 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8971 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8972 toplevel item. Fixes: NB#62031
8974 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8976 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8977 fix the name of the function in the docs.
8979 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * debian/changelog: Updating.
8987 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * examples/hildon-banner-long-example.c: Adding a test-case for long
8992 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8994 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8996 * src/hildon-color-chooser-dialog.c:
8997 * src/hildon-color-chooser.c:
8998 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8999 memory leaks in font selector and color selector. Fixes: NB#70499 and
9002 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9004 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9006 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9009 little bit bigger. Fixes: #NB63694.
9011 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9017 * debian/changelog: Updating.
9019 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9022 * doc/hildon-docs.sgml:
9023 * doc/images/bread-crumb-trail.png:
9024 * doc/images/calendar-popup.png:
9025 * doc/images/caption.png:
9026 * doc/images/code-dialog.png:
9027 * doc/images/color-button.png:
9028 * doc/images/color-chooser-dialog.png:
9029 * doc/images/color-chooser.png:
9030 * doc/images/controlbar.png:
9031 * doc/images/date-editor.png:
9032 * doc/images/font-selection-dialog.png:
9033 * doc/images/get-password-dialog.png:
9034 * doc/images/hvolumebar.png:
9035 * doc/images/login-dialog.png:
9036 * doc/images/note.png:
9037 * doc/images/number-editor.png:
9038 * doc/images/range-editor.png:
9039 * doc/images/seekbar.png:
9040 * doc/images/set-password-dialog.png:
9041 * doc/images/sort-dialog.png:
9042 * doc/images/time-editor.png:
9043 * doc/images/time-picker.png:
9044 * doc/images/vvolumebar.png:
9045 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9046 Adding the bread-crumb-trial and helpers to the documentation.
9048 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9050 * examples/hildon-find-toolbar-example.c:
9051 * src/hildon-find-toolbar.c:
9052 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9053 actually continue firing the other handlers if connected. Adding a new
9055 hildon_find_toolbar_get_last_index that gets the index of the most
9056 recently added (last) item. Fixes: NB#52301.
9058 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9060 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9061 behaviour. Fixes: NB#68610.
9063 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9068 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9070 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9071 when realizing the banner. Should make the infonbanner effect a bit more
9074 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9076 * src/hildon-volumebar.c:
9077 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9078 hildon_volumebar_set_range_insensitive_message and
9079 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9081 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9083 * src/hildon-window.c: Fixing the border freeing on destroy.
9085 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9087 * src/hildon-code-dialog-private.h:
9088 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9089 kw keyboard support in HildonCodeDialog.
9091 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9097 * debian/changelog: Updating.
9099 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * src/hildon-date-editor.c:
9102 * src/hildon-number-editor.c:
9103 * src/hildon-private.c:
9104 * src/hildon-private.h:
9105 * src/hildon-time-editor.c:
9106 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9107 handling in subclassed composite widgets. Fixes: NB#66628.
9109 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9111 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9112 from destroy_ callback as it introduces problems in async dbus signal
9113 handlers. Fixes NB#66673.
9115 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9117 * examples/hildon-hvolumebar-example.c:
9118 * src/hildon-volumebar.c: Improving the focus handling in the
9119 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9120 set_property accessor so that "mute" property can be actually set. I'm
9121 scared that nobody noticed it's totally broken.
9123 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9128 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9130 * src/hildon-calendar.c:
9131 * src/hildon-number-editor.c:
9132 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9133 matches the spec of 6 chars per second. Fixes: NB#60489.
9135 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9137 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9138 gtk_style_lookup_color sometime returns FALSE even though color was
9139 found and values were filled properly. Weird. Removing the warning for the
9142 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9144 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9145 expand vertically. Adding some extra space to the find toolbar buttons to
9146 make them thumbable. Fixes NB#66060.
9148 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9150 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9151 popup with "Ok" and "Cancel". Fixes NB#59299.
9153 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9155 * src/hildon-calendar.c: Process all window updates before executing next
9156 timeout. Fixes: NB#54146.
9158 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9164 * debian/changelog: Updating.
9166 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9168 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9169 the client event and ignore it, since we use the delete event to close
9172 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * src/hildon-helper.c: Remove the bogus warning about color not being
9175 found. Fixes NB#58352.
9177 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9179 * examples/Makefile.am:
9180 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9181 HildonSeekbar widget inside a toolbar.
9183 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9185 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9186 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9187 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9188 don't want to be closed by non-temporary windows on map.
9190 Also use G_DEFINE_TYPE instead of manually typed code.
9192 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9199 * debian/rules: Updating.
9201 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9203 * examples/Makefile.am:
9204 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9205 bug NB#61128. Strangely it works.
9207 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9209 * src/hildon-date-editor.c: When the date editor entry has been changed
9210 but the numbers of characters < max, turn off the skip validation flag.
9211 Prevents a situation when we enter first a valid year and later re-write
9212 it with an invalid one. Fixes NB#60154.
9214 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9216 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9217 code dialog. Fixes NB#64355.
9219 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9221 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9222 switching the page. Fixes NB#49374.
9224 * examples/Makefile.am:
9225 * examples/hildon-wizard-dialog-example.c: Adding an example for
9226 HildonWizardDialog that shows how to handle manual sensitivity setting on
9229 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9233 * src/hildon-version.h.in:
9234 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9236 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9238 * src/hildon-volumebar.c: Updating the docs.
9240 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9246 * debian/changelog: Updating.
9248 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9250 * src/hildon-find-toolbar.c:
9251 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9252 selected item: hildon_find_toolbar_set_active,
9253 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9254 hildon_find_toolbar_get_active_iter . They correspond to respective
9255 GtkComboBox functions.
9257 * examples/Makefile.am:
9258 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9261 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9263 * examples/Makefile.am:
9264 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9267 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9268 when font size > 32 and we pack a focusable widget inside. Actually using
9269 the default response would work too, but since we don't show default
9270 response state in any way (no theming) it would not be visible to the
9271 user. Fixes NB#63430.
9273 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9275 * src/hildon-date-editor.c: Adding the missing variable setter in the
9276 set_property handler. Fixes NB#54182.
9278 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9280 * src/hildon-window.h: Changing the long key press time from 1500ms to
9281 800ms as requested in NB#63700. I have a bad feeling about this, let's
9282 see... Fixes NB#63700.
9284 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9286 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9287 hildon_time_picker_map, hildon_time_picker_realize,
9288 hildon_time_picker_style_set): Split the contents of map to more
9289 appropriate functions; set window decorations on realize and update
9290 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9292 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9297 * debian/changelog: Updating.
9299 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9301 * src/Makefile.am: fixed installation of the header files
9303 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9309 * debian/changelog: Updating.
9311 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9313 * configure.ac: Removing some remaining of --enable-xan.
9315 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9317 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9318 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9320 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9321 2.10.12-osso6 because the move-focus signal needs to be available in
9324 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9326 * examples/Makefile.am:
9327 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9328 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9329 fine. Prolly NB#61128 is fixed now.
9331 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9333 * src/hildon-volumebar.c:
9334 * src/hildon-volumebar.h: Adding the
9335 hildon_volumebar_set_range_insensitive_message and
9336 hildon_volumebar_set_range_insensitive_messagef functions to set
9337 insensitive message on the slider of the volumebar. Fixes NB#61129.
9339 * examples/Makefile.am:
9340 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9341 test the new insensitive messsage functionality on HildonVolumebar.
9343 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9345 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9348 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9350 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9351 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9352 button on after clearing the trail.
9354 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9356 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9358 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9360 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9361 by splitting the installed headers in generated and non-generated groups. Use
9362 only the non-generated headers to create the hildon-enum-types.h file.
9364 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9366 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9368 * src/hildon-window.c: Hide the window before performing the destroy.
9369 Should make the app closing a little tiny bit more snappy.
9371 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9373 * src/hildon-seekbar.c: add gtkrange.h header
9374 * src/hildon-caption.c: remove unused variable
9376 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9378 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9381 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9387 * debian/changelog: Updating.
9389 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9391 * src/hildon-window.c (hildon_window_window_state_event,
9392 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9393 escape timeout on focus-out-event rather than notify::is-topmost; the
9394 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9396 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9398 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9399 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9401 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9403 * src/hildon-window: actually, you need to use the macro always, there's
9404 no private pointer in the instance structure. We should have cleaned this up
9405 when we had the chance...
9407 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9409 * src/hildon-window.c: do not get the private date from HildonWindow before
9410 it passes the g_return_if_fail check. Once it's passed the test, there's no
9411 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9412 if you are only going to access the data once. Whitespace cleanups.
9414 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9416 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9417 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9419 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9425 * debian/changelog: Updating.
9427 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9429 * src/hildon-window.c: When destroying the window, remove (if exists) the
9430 escape timeout handler. Fixes #NB59276.
9432 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9434 * src/hildon-banner.c: When realizing the widget, set the window
9435 transiency. Setting the transiency in the gobject constructor is not
9436 good, as the widget is not realized at that point. Fixes: #NB56624.
9438 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9440 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9441 Add padding for future expansions.
9443 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9445 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9446 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9447 will fake an activation on the previous to the last item of the trail, so
9448 the effect can be overrided by the developer as usual.
9449 Also change the callback for the back button to do the same thing, so its
9450 effect can be overrided too. Fixes: NB#58982
9452 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9454 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9455 HildonCaption. Fixes NB#52379.
9457 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9459 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9460 the internal state of the trail after the user has had the chance of executing
9461 his handler for the signal. Specifically, it may happen that the activated button
9462 is removed and the user still lets the default handler run. This would segfault
9465 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9467 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9468 scrollbar to the preview dialog. Fixes NB#54147.
9470 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9472 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9473 max/min year properties can be altered, so the client can modify it
9474 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9476 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9478 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9479 hildonlike by default. Fixing a problem with disappearing arrows when
9480 scrolling through months and years. Fixes NB#54127.
9482 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9484 * examples/hildon-date-editor-example.c: Adding error callback to the date
9487 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9493 * configure.ac: Updating.
9495 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9497 * configure.ac: Adding a special '--enable-xan' configure option that
9498 turns off the -Werror compilation setting. Usefull for development.
9500 * src/hildon-calendar.c:
9501 * src/hildon-number-editor.c:
9502 * src/hildon-time-picker.c: Adding the 5* multiplier to
9505 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9507 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9508 instead of g_object_ref + gtk_object_sink.
9510 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9516 * debian/changelog: Updating.
9518 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9520 * src/hildon-color-chooser-dialog.c:
9521 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9522 straight from Tommi labs.
9524 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9526 * examples/hildon-finger-example.c: Correcting the header file path.
9528 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9529 the changed signal. Fixes a small memory leak.
9531 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9535 * src/hildon-banner.c: Importing several usefull fixes from the
9536 ubuntu-mobile branch.
9538 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9540 * examples/Makefile.am:
9541 * examples/hildon-finger-example.c: Adding a finger-checking code
9544 * src/hildon-font-selection-dialog.c: Do not allocate the color
9545 structure using the g_new. Fixes NB#54061.
9547 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9549 * src/hildon-helper.c: Correcting tabs in file.
9551 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9553 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9554 control the visibility of the children.
9556 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9558 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9564 * debian/changelog: Updating.
9566 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9568 * src/hildon-bread-crumb-trail.c:
9569 (hildon_bread_crumb_trail_size_allocate):
9571 Make the back button always a square.
9573 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9575 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9576 from the .c file as it's a private file.
9578 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9580 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9581 uses slightly bigger height.
9583 * src/hildon-font-selection-dialog.c: Adding some checks before
9584 freeing memory in the font selection dialog.
9586 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9588 * src/hildon-font-selection-dialog.c: Adding a small check when
9591 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9592 buttons sensitivity on page switching.
9594 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9596 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9597 internal details of adding a bread crumb to the trail.
9599 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9605 * debian/changelog: Updating.
9607 * src/hildon-bread-crumb-trail.h:
9608 * src/hildon-bread-crumb.h: Changing the API guard to
9609 HILDON_ENABLE_UNSTABLE_API.
9611 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9619 * src/hildon-helper.h: Updating.
9621 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9629 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9633 * src/hildon-helper.h: Small fix to make the package actually compile.
9635 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9637 * src/hildon-bread-crumb-trail.h:
9638 * src/hildon-bread-crumb.h:
9640 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9641 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9643 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9645 * examples/hildon-bread-crumb-trail-example.c:
9647 * src/hildon-bread-crumb-trail.c:
9648 * src/hildon-bread-crumb-trail.h:
9649 * src/hildon-bread-crumb.c:
9650 * src/hildon-bread-crumb.h:
9651 * src/hildon-marshalers.list:
9652 * src/hildon-bread-crumb-widget.c:
9653 * src/hildon-bread-crumb-widget.h:
9655 Slight change in the widget design. The bread crumb trail API is
9656 unchanged, but HildonBreadCrumb is now an interface. A *private*
9657 implementation, hildon-bread-crumb-widget, is provided and used
9658 internally by the trail for the push_text/push_icon functions.
9660 The generic push API is still available, so anyone can implement
9661 and use its own bread crumb widget.
9663 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9665 * debian/rules: Fixing the shlibs.
9667 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9669 * src/hildon-banner.c: Fixing a problem with timed banners having
9670 their parrent destroyed before they are.
9672 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9674 * src/hildon-bread-crumb.c:
9675 * src/hildon-bread-crumb.h:
9677 Make the get_natural_size function a vfunc.
9679 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9681 * src/hildon-bread-crumb.c:
9682 * src/hildon-bread-crumb-trail.c:
9686 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9693 * debian/changelog: Updating for release.
9695 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9697 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9698 don't leak the pango layout.
9700 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9703 * examples/hildon-bread-crumb-trail-example.c:
9707 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9709 * debian/changelog: Removing the bug-fixed entries that were actually
9710 resolved as WONTFIX.
9712 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9715 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9717 * src/hildon-bread-crumb-trail.c:
9718 * src/hildon-bread-crumb-trail.h:
9719 * src/hildon-bread-crumb.c:
9720 * src/hildon-bread-crumb.h:
9724 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9726 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9727 until it's passed the type check.
9729 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9731 * examples/hildon-bread-crumb-trail-example.c
9735 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9737 * examples/Makefile.am
9738 * examples/hildon-bread-crumb-trail-example.c
9740 * src/hildon-bread-crumb-trail.c
9741 * src/hildon-bread-crumb-trail.h
9742 * src/hildon-bread-crumb.c
9743 * src/hildon-bread-crumb.h
9745 New HildonBreadCrumbTrail widget.
9747 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9749 * src/hildon-range-editor.c (hildon_range_editor_init),
9750 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9751 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9752 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9753 hildon_time_editor_class_init, hildon_time_editor_init),
9754 src/hildon-get-password-dialog.c (invalid_input,
9755 hildon_get_password_set_property, hildon_get_password_get_property,
9756 create_contents, hildon_get_password_dialog_set_max_characters),
9757 src/hildon-set-password-dialog.c (create_contents),
9758 src/hildon-date-editor.c (hildon_date_editor_init),
9759 src/hildon-login-dialog.c (hildon_login_dialog_init),
9760 src/hildon-number-editor.c (hildon_number_editor_init),
9761 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9762 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9763 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9764 configure option and adding the respective checks in the code.
9765 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9766 hildon_calendar_drag_data_received): fixed some build warnings.
9768 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9770 * debian/changelog: A 1.0.0 release notes.