1 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
3 Set the window menu flag for application-common menus
5 * hildon/hildon-program.c:
6 (+hildon_program_window_set_common_menu_flag): Set or remove the
7 menu flag from a window only this doesn't have its own menu.
8 (+hildon_program_set_common_menu_flag): adjust menu flag for
9 all windows in the program.
10 (hildon_program_add_window),
11 (hildon_program_remove_window): add/remove the menu flag when
12 a window is added to the program.
14 Fixes: NB#137814 (Indicator for view menu in app title area)
16 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
18 Set a special window property for windows with menus
20 * hildon/hildon-window-private.h: Add private
21 hildon_window_set_menu_flag()
22 * hildon/hildon-window.c: (+do_set_has_menu),
23 (+hildon_window_set_menu_flag): set
24 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
25 or remove the property.
26 (hildon_window_set_main_menu),
27 (hildon_window_set_app_menu): call above methods to set or remove
28 the property when a menu is added or removed from the window.
30 Partially fixes: NB#137814 (Indicator for view menu in app title area)
32 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
34 Rename and move the methods to set flags to hildon-private.h
36 * hildon/hildon-gtk.c: (do_set_progress_indicator),
37 (do_set_do_not_disturb), (do_set_portrait_flags): call
38 the new private method hildon_gtk_window_set_clear_window_flag()
39 (hildon_gtk_window_set_progress_indicator),
40 (hildon_gtk_window_set_do_not_disturb),
41 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
42 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
43 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
45 * hildon/hildon-private.h: Add the two new private methds.
47 2009-09-08 Alejandro G. Castro <alex@igalia.com>
49 * hildon/hildon-pannable-area.c,
50 (hildon_pannable_area_timeout): Fixed problem with the timeout
51 function, we need to move before decelerating the first time or we
52 are loosing the first jump.
54 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
56 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
58 [2.2.0 Release Candidate 3]
60 * debian/changelog: updates
62 2009-09-07 Alejandro G. Castro <alex@igalia.com>
64 * hildon/hildon-pannable-area.c,
65 (hildon_pannable_area_class_init): Increased max speed.
67 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
69 [2.2.0 Release Candidate 2]
72 * debian/changelog: bump version, updates
74 2009-09-07 Alejandro G. Castro <alex@igalia.com>
76 * hildon/hildon-pannable-area.c,
77 (hildon_pannable_area_class_init),
78 (hildon_pannable_area_button_release_cb): More tuning for the
81 2009-09-07 Alejandro G. Castro <alex@igalia.com>
83 * hildon/hildon-pannable-area.c,
84 (hildon_pannable_area_class_init):
85 Change the default value of the scrollbar_fade_delay.
87 Fixes: NB#127018 (Panning indicator fades out too slowly)
89 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
91 [2.2.0 Release Candidate 1]
94 * configure.ac: Bump version
95 * debian/changelog: updates
97 2009-09-04 Alejandro G. Castro <alex@igalia.com>
99 * hildon/hildon-pannable-area.c,
100 (hildon_pannable_area_init),
101 (hildon_pannable_area_button_press_cb),
102 (hildon_pannable_area_button_release_cb): Added a new acceleration
103 system to help traversing big lists, tuned the stop threshold.
105 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
107 2009-09-04 Alberto Garcia <agarcia@igalia.com>
109 * hildon/hildon-window.h:
110 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
112 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
114 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
118 * configure.ac: bump version
120 * debian/changelog: updates
122 2009-09-04 Alberto Garcia <agarcia@igalia.com>
124 * hildon/hildon-entry.c
125 * hildon/hildon-text-view.c:
126 Documentation updates
128 2009-09-04 Alberto Garcia <agarcia@igalia.com>
130 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
131 Redraw menu when the number of items change.
133 Fixes: NB#131911 (Appmenu does not resize properly, when number of
136 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
138 * hildon/hildon-pannable-area.c:
139 (hildon_pannable_area_launch_fade_timeout),
140 (hildon_pannable_area_motion_event_scroll),
141 (hildon_pannable_area_check_move),
142 (hildon_pannable_area_button_release_cb),
143 (hildon_pannable_area_scroll_to):
145 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
146 area drawing operations, since this is the recommended for drawing
149 Fixes: NB#110894 (In event view containing very large description
150 field, application menu is displayed blank while panning)
151 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
154 2009-09-03 Alberto Garcia <agarcia@igalia.com>
156 * doc/hildon-sections.txt
157 * hildon/hildon-button.c
158 * hildon/hildon-edit-toolbar.c
159 * hildon/hildon-gtk.[ch]
160 * hildon/hildon-main.c
161 * hildon/hildon-program.c
162 * hildon/hildon-stackable-window.c:
163 Documentation updates
165 2009-08-28 Alberto Garcia <agarcia@igalia.com>
167 * hildon/hildon-app-menu.c
168 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
169 Close the menu if it receives a grab-notify signal.
171 Fixes: NB#134533 (UI freezes if we show a dialog with
172 gtk_dialog_run() while a menu is opened)
174 2009-08-27 Alejandro G. Castro <alex@igalia.com>
176 * hildon/hildon-pannable-area.c,
177 (hildon_pannable_area_class_init): Reverted tuning modifications:
178 "Pannign needs to be faster" and "Pannable kinetics in large lists
181 2009-08-26 Alberto Garcia <agarcia@igalia.com>
183 * hildon/hildon-sound.c (hildon_play_system_sound):
184 Set "module-stream-restore.id" to "x-maemo-system-sound" when
185 playing system sounds
187 Fixes: NB#133767 (Information and confirmation note sound should
188 follow system profile setting)
190 2009-08-26 Alejandro G. Castro <alex@igalia.com>
192 * hildon/hildon-pannable-area.c,
193 (hildon_pannable_area_class_init): Added more force and increased
194 the max speed threshold.
196 Fixes: NB#135344 (Pannign needs to be faster)
198 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
200 [Release 2.1.96, this time for real]
203 * debian/changelog: updates
205 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
207 * hildon/hildon-pannable-area.c
208 (hildon_pannable_area_get_topmost): change the computation of the
209 co-ordinates transformed when no one of the children is a topmost
211 Fixes: NB#133252 (Opening any feed item from RSS always opens the
212 first feed item in browser)
214 2009-08-26 Alejandro G. Castro <alex@igalia.com>
216 * hildon/hildon-pannable-area.c,
217 (hildon_pannable_area_remove_timeouts): Adding this new function
218 with the code that removes the timeouts of the widget.
219 (hildon_pannable_area_dispose),
220 (hildon_pannable_area_unrealize): Use the new remove function to
221 stop timeouts when unrealizing and disposing.
222 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
223 calculation to avoid negative values in some cases.
225 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
227 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
229 * examples/hildon-check-button-example.c: (button_toggled_cb):
230 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
231 (hildon_check_button_set_active), (hildon_check_button_new),
232 (hildon_check_button_clicked), (hildon_check_button_class_init):
233 * hildon/hildon-check-button.h:
234 * hildon/hildon-set-password-dialog.c: (create_contents),
235 (hildon_set_password_response_change), (hildon_checkbox_toggled):
237 Revert "Make HildonCheckButton derive from GtkToggleButton"
239 2009-08-21 Alberto Garcia <agarcia@igalia.com>
243 * configure.ac: bump version
245 * debian/changelog: updates
247 2009-08-21 Alberto Garcia <agarcia@igalia.com>
249 * hildon/hildon-check-button.h
250 * hildon/hildon-check-button.c
251 (hildon_check_button_clicked, hildon_check_button_class_init):
252 Make HildonCheckButton derive from GtkToggleButton
253 (hildon_check_button_toggled, hildon_check_button_set_active)
254 (hildon_check_button_get_active):
255 Deprecate unnecessary HildonCheckButton API and use the
256 one from GtkToggleButton instead.
258 * hildon/hildon-set-password-dialog.c (create_contents)
259 (hildon_set_password_response_change, hildon_checkbox_toggled)
260 * examples/hildon-check-button-example.c (button_toggled_cb):
261 Update to use the GtkToggleButton API
263 Fixes: MB#4739 (HildonCheckButton should inherit from
266 Fixes: NB#132661 (HildonCheckButton should inherit from
269 2009-08-20 Alberto Garcia <agarcia@igalia.com>
271 * hildon/hildon-pannable-area.c
272 (hildon_pannable_area_class_init):
273 Increase default value of HildonPannableArea:velocity_max to 2000
275 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
277 2009-08-18 Alberto Garcia <agarcia@igalia.com>
281 * configure.ac: bump version
283 * debian/changelog: updates
285 2009-08-11 Alejandro G. Castro <alex@igalia.com>
287 * hildon/hildon-pannable-area.c
288 (hildon_pannable_area_size_allocate): Checked the scrollbars
289 before the first try when defining the layout, avoids two
290 allocations in some situations.
292 Fixes: NB#131794 (pannable area produces unnecessary allocations
293 causing performance problems)
295 2009-08-11 Alejandro G. Castro <alex@igalia.com>
297 * hildon/hildon-pannable-area.c
298 (hildon_pannable_area_button_press_cb),
299 (hildon_pannable_area_motion_notify_cb),
300 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
301 the spurious ref added in the copy, fixes leak of window.
303 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
304 if it's realized without showing and then deleted)
306 2009-08-10 Alberto Garcia <agarcia@igalia.com>
310 * configure.ac: bump version
312 * debian/changelog: updates
314 2009-08-06 Alberto Garcia <agarcia@igalia.com>
316 * examples/hildon-hvolumebar-timer-example.c
318 * hildon/hildon-banner.c
319 (hildon_banner_timeout, hildon_banner_ensure_timeout)
320 * hildon/hildon-calendar.c
321 (calendar_timer, start_spinning)
322 * hildon/hildon-color-chooser.c
323 (inline_limited_expose)
324 * hildon/hildon-date-editor.c
325 (hildon_date_editor_entry_focus_in)
326 (hildon_date_editor_entry_validate)
327 (hildon_date_editor_entry_select_all)
328 * hildon/hildon-note.c
330 * hildon/hildon-number-editor.c
331 (hildon_number_editor_button_pressed)
332 (hildon_number_editor_start_timer, do_mouse_timeout),
333 (add_select_all_idle, hildon_number_editor_select_all)
334 * hildon/hildon-time-editor.c
335 (hildon_time_editor_entry_focus_in)
336 (highlight_callback, hildon_time_editor_validate)
337 (hildon_time_editor_entry_select_all)
338 * hildon/hildon-time-picker.c
339 (hildon_time_picker_arrow_press)
340 (hildon_time_picker_key_repeat_timeout)
341 * hildon/hildon-window.c
342 (hildon_window_key_press_event)
343 (hildon_window_escape_timeout):
344 Replace all calls to g_idle_add/g_timeout_add with their
345 gdk_threads counterparts.
347 Fixes: NB#126198 (gdk-threads API should be used to install idle
348 and timeout handlers)
350 2009-08-06 Alejandro G. Castro <alex@igalia.com>
352 * hildon/hildon-pannable-area.c,
353 (hildon_pannable_area_class_init): Increased the overshooting max
354 speed to get a faster effect.
355 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
356 deceleration of the overshooting
357 (hildon_pannable_area_button_release_cb): Calculate initial
358 overshooting speed when finger on the screen using the distance to
359 launch the effect faster.
361 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
362 lists with slow row renderers)
364 2009-08-05 Alberto Garcia <agarcia@igalia.com>
366 * doc/hildon-sections.txt: Add new functions
368 2009-08-05 Alberto Garcia <agarcia@igalia.com>
370 * hildon/hildon-text-view.[ch]
371 * hildon/hildon-entry.[ch]:
372 Add deprecation guards around deprecated functions.
374 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
376 * hildon/hildon-app-menu.c: Remove leftover function declaration.
378 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
380 Remove the grab from HildonAppMenu
382 * hildon/hildon-app-menu.c:
383 Now hildon-desktop places a blocker window behind the menu to handle
384 its closing, so the grab is no longer needed. This simplifies its
385 implementation and allows the system blanking to succeed.
387 Fixes: NB#130910 (Screen gets unlocked when menu is open)
389 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
393 * configure.ac: bump version
395 * debian/changelog: updates
396 * debian/control: raise debian dependency on GTK+
398 2009-08-04 Alberto Garcia <agarcia@igalia.com>
400 * hildon/hildon-text-view.c
401 * hildon/hildon-entry.c:
402 Remove all placeholder code from HildonEntry and HildonTextView
403 and use the API in GtkEntry and GtkTextView instead.
405 * examples/hildon-entry-example.c
406 * examples/hildon-text-view-example.c
407 * examples/hildon-wizard-dialog-example.c
408 * hildon/hildon-get-password-dialog.c
409 * hildon/hildon-login-dialog.c
410 * hildon/hildon-picker-dialog.c
411 * hildon/hildon-set-password-dialog.c
412 * hildon/hildon-touch-selector-entry.c:
413 Replace all deprecated calls to HildonEntry and HildonTextView
414 with their Gtk counterparts.
416 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
419 2009-08-03 Alejandro G. Castro <alex@igalia.com>
421 * hildon/hildon-pannable-area.c,
422 (hildon_pannable_area_check_move),
423 (hildon_pannable_area_button_release_cb),
424 (hildon_pannable_area_scroll_to): Reverted the priority change of
425 the timeout, in some situations, slow renderers, the click do not
426 make it to the mainloop on time.
428 Fixes NB#131013 (unable to stop panning file manager by tapping on
431 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
433 * configure.ac: bump version
435 * debian/changelog: updates
437 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
439 * hildon/hildon-touch-selector.[ch]
440 (hildon_touch_selector_center_on_index): New method that allows to center
441 on a item not selected
443 Fixes NB#130291 (New HildonTouchSelector API is required to center on
446 2009-07-29 Alberto Garcia <agarcia@igalia.com>
448 * hildon/hildon-text-view.c
449 (+set_logical_color, +hildon_text_view_style_set)
450 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
451 (hildon_text_view_init)
452 * hildon/hildon-entry.c
453 (+set_logical_color, +hildon_entry_style_set)
454 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
455 (hildon_entry_class_init, hildon_entry_init)
456 * hildon/hildon-button.c
457 (+set_logical_font, +set_logical_color)
458 (hildon_button_style_set, hildon_button_init)
459 (hildon_button_set_arrangement, hildon_button_set_style):
460 Remove all calls to hildon_helper_set_logical_font() and
461 hildon_helper_set_logical_color(), which are recursive, from
464 Fixes: NB#123409 (Showing dialog consumes significant amount of
467 2009-07-29 Alejandro G. Castro <alex@igalia.com>
469 * hildon/hildon-pannable-area.c,
470 (hildon_pannable_area_timeout): Added the process updates of the
471 scrollbars window in the pannable.
473 Fixes: NB#130043 (scrollindicator not smooth while panning)
475 2009-07-23 Alejandro G. Castro <alex@igalia.com>
477 * hildon/hildon-pannable-area.c,
478 (hildon_pannable_area_check_move),
479 (hildon_pannable_area_button_release_cb),
480 (hildon_pannable_area_scroll_to): Increased the priority of the
481 timeout this way it is going to be handled before the events.
483 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
487 * configure.ac: bump version
488 * debian/changelog: updates
490 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
492 * hildon/hildon-entry.c: (set_property): Do not allow to set
493 automatic height and use finger height instead, to prevent an to
494 have a smaller size than than its theme pixbuf.
496 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
498 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
500 * configure.ac: postrelease version bump.
501 * debian/changelog: post release version bump
503 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
508 * configure.ac: Bump version.
509 * debian/changelog: Updates.
511 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
513 * hildon/hildon-note.c: (label_size_request): Take the note
514 padding into account when setting the size request.
516 Fixes: NB#127896 (Information notes text truncated)
518 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
520 * configure.ac: postrelease version bump.
521 * debian/changelog: post release version bump
523 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
528 * configure.ac: Bump version.
529 * debian/changelog: Updates.
531 2009-07-16 Alejandro G. Castro <alex@igalia.com>
534 * hildon/hildon-text-view.c,
535 (hildon_text_view_button_press_event): Grabbed the focus in button
536 press, this way we are sure the widget has the focus in the
537 release event, required for HIM.
539 Fixes: NB#121445 (Virtual keyboard opening is not working in same
540 way for each text entry field)
542 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
544 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
545 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
546 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
547 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
548 (hildon_pannable_area_[gs]et_center_on_child_focus)
549 Redefined GtkContainer set-focus-child signal, in order to center
550 properly on a child when it receives the focus. Defined a new property
551 "center-on-child-focus" in order to activate this feature (deactivated
552 by default). Public get/set methods defined to manage the property.
554 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
556 2009-07-14 László Pere <lpere@blumsoft.eu>
558 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
559 the new size is applied.
561 Fixes: NB#124510 (The Application Menu is distorted when switched
562 between portrait and landscape mode)
563 Fixes: NB#115388 (Power key menu does not resize itself)
565 2009-07-01 Alberto Garcia <agarcia@igalia.com>
567 * hildon/hildon-banner.c (hildon_banner_map):
568 Set banner position after mapping.
570 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
572 * configure.ac: postrelease version bump.
573 * debian/changelog: post release version bump
575 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
580 * configure.ac: Bump version.
581 * debian/changelog: Updates.
583 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
585 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
588 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
590 * tests/check-hildon-banner.c
592 * tests/test_suites.h
593 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
594 were testing deprecated functions.
595 * examples/hildon-banner-example.c: typo on button3 type, that causes
596 a fail compiling with --with-examples but without --disable-deprecated
598 Missed commit in order to fix compilation using '--enable-fatal' and
599 '--disable-deprecated' (see previous commit)
601 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
603 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
604 functions with #ifndef HILDON_DISABLE_DEPRECATED
605 * examples/hildon-find-toolbar.c: Protect deprecated
606 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
607 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
608 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
609 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
611 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
612 to allow proper compilation of deprecated functions defined on the header
614 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
616 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
618 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
619 Cache the panning indicator color.,
620 (hildon_pannable_area_style_set): Query the color on style changes.
621 (hildon_pannable_draw_vscroll),
622 (hildon_pannable_draw_hscroll),
623 (hildon_pannable_area_expose_event): Use the cached panning indicator
624 color instead of looking it up on every expose and more.
626 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
628 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
629 (hildon_pannable_draw_hscroll),
630 (hildon_pannable_area_expose_event): Fix the panning indicator color,
631 so that it's "SecondaryTextColor", as desired.
633 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
635 * hildon/hildon-picker-dialog.c:
636 (selection_completed): take into account HILDON_UI_MODE_NORMAL
637 * hildon/hildon-touch-selector.c
638 (hildon_touch_selector_init): Initialize hildon-ui-mode
639 (hildon_touch_selector_row_activated): new callback for the
640 "row-activated" signal, in order to save the last activated
641 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
642 if the current hildon-ui-mode is coherent with the touch selector
643 (hildon_touch_selector_class_init)
644 (hildon_touch_selector_get_property)
645 (hildon_touch_selector_set_property)
646 Added "hildon-ui-mode" property
647 (disconnect_model_handlers): renamed to clean_column
648 (hildon_touch_selector_remove): use clean_column function
649 (_create_new_column): use the hildon-ui-mode to create the treeview, and
650 only select the first element on HILDON_UI_MODE_EDIT
651 (hildon_touch_selector_column_init): Initialize last_activate
652 (hildon_touch_selector_append_column): check that the touch selector
653 is coherent with the current hildon-ui-mode
654 (hildon_touch_selector_get_hildon_ui_mode)
655 (hildon_touch_selector_set_hildon_ui_mode)
656 Added a getter/setter for the hildon-ui-mode property
657 (hildon_touch_selector_get_last_activated_row): Added this method in
658 order to get the last activated row.
659 * examples/hildon-touch-selector-normal-mode-example.c
660 New example, that shows how to use the HildonTouchSelector in
661 HILDON_UI_MODE_NORMAL
663 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
664 Kristian Rietveld <kris@lanedo.com> advices
666 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
668 * hildon/hildon-time-selector.c: (update_format_policy): Do
669 not call update_format_dependant_columns() if not necessary.
670 (update_format_dependant_columns): Remove unnecessary check for
671 the number of columns.
673 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
675 * hildon/hildon-note.c (+hildon_note_constructor),
676 (hildon_note_class_init), (+hildon_note_set_padding),
677 (hildon_note_rebuild): Install a constructor where to set the
678 padding properties in the note, so that it actually works fine.
679 Use hildon_note_set_padding() for this, and also to set it during
682 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
684 * configure.ac: Bump GTK+ requirement to 2.14.3.
685 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
686 when using maemo-gtk to define proper margins for the notes.
688 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
689 with the dialog edge)
691 2009-06-24 Alberto Garcia <agarcia@igalia.com>
693 * hildon/hildon-banner.c
694 (hildon_banner_class_init):
696 (+hildon_banner_size_request):
697 Request always the full width of the screen.
698 (hildon_banner_realize)
699 (-hildon_banner_check_position, hildon_banner_map):
700 hildon_banner_check_position() is not needed in Hildon 2.2.
701 (-hildon_banner_reset_wrap_state)
702 (hildon_banner_constructor, hildon_banner_init):
703 Remove unnecessary calls to hildon_banner_reset_wrap_state()
704 (+banner_do_set_text)
705 (force_to_wrap_truncated):
706 Remove has_been_wrapped and has_been_truncated attributes.
707 (+reshow_banner, hildon_banner_real_show_information)
708 (hildon_banner_show_information_with_markup)
709 (hildon_banner_show_animation, hildon_banner_show_progress)
710 (hildon_banner_set_text, hildon_banner_set_markup):
711 Refactor code. Shrink banner vertically to use the minimum space
712 necessary everytime the text of the label is updated.
713 (screen_size_changed):
714 Call force_to_wrap_truncated() when the size of the screen
717 Fixes: NB#120500 (only device memory connect mmc in use info
718 banner is left aligned)
720 Fixes: NB#120613 (Size of HildonBanner varies depending on
721 previously opened banners)
723 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
725 * hildon/hildon-color-chooser.c
726 (hildon_color_chooser_pointer_motion): Take the widget allocation
729 Fixes: NB#124385 (Unable to select exact point in color mixing box
730 in color palette dialog)
732 2009-06-23 Alejandro G. Castro <alex@igalia.com>
734 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
735 (hildon_pannable_area_dispose)
736 (hildon_pannable_area_button_press_cb)
737 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
738 (hildon_pannable_area_button_release_cb)
739 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
740 New 'panning-started' and 'panning-finished' signals.
742 Fixes: NB#121732 (New feature request: Signal to pannable area
743 that informs when panning is stopped.)
745 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
747 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
748 instead of hardcoded colon.
750 Fixes: NB#124090 (New calendar wizard title is not using
751 ecdg_ti_caption_separator)
753 2009-06-22 David King <davidk@openismus.com>
755 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
756 constants and functions, as well as correct many typos throughout the
759 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
762 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
764 * configure.ac: postrelease version bump.
765 * debian/changelog: post release version bump
767 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
772 * configure.ac: Bump version.
773 * debian/changelog: Updates.
775 2009-06-18 Alberto Garcia <agarcia@igalia.com>
777 * hildon/hildon-window-stack.c
778 (hildon_window_stack_pop_and_push_list):
779 Prevent windows from having the same stack index
781 2009-06-18 Alberto Garcia <agarcia@igalia.com>
783 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
784 Use the index of the previous window rather than the stack length
785 to calculate the new index.
789 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
791 * hildon/hildon-date-selector.c
792 (hildon_date_selector_select_current_date)
793 (hildon_date_selector_get_date)
794 (hildon_date_selector_select_day):
795 Update the documentation: uses always the range (1-31), as it is obvious
796 that the final one will depend on the month and the year, but globally
797 the range is this, in a similar GtkCalendar approach
798 (hildon_date_selector_get_date):
799 Update the documentation: add NULL as a valid value for the day, month
802 Fix some details, after talk with David King on bug MB#4698
804 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
806 * hildon/hildon-touch-selector-entry.c
807 * hildon/hildon-touch-selector.c
808 Update the documentation of the "text-column" property
810 2009-06-18 David King <davidk@openismus.com>
812 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
813 several typos and errors throughout the documentation.
815 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
818 2009-06-18 Alberto Garcia <agarcia@igalia.com>
820 * hildon/hildon-note.c (hildon_note_realize):
821 Make HildonNote support portrait mode.
823 Fixes: NB#123448 (HildonNote is not portrait-friendly)
825 2009-06-17 Alberto Garcia <agarcia@igalia.com>
827 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
828 Document this function
830 2009-06-17 David King <davidk@openismus.com>
832 * hildon/hildon-date-selector.c
833 (hildon_date_selector_select_current_date)
834 (hildon_date_selector_get_date): Update documentation regarding days,
835 as the day of the month is dependent on both the month and the year.
836 (hildon_date_selector_get_date): Fix documentation of output arguments.
838 Fixes: MB#4698 (DateSelector documentation has bad output argument
839 description, and the day depends on both the month and the year)
841 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
843 * hildon/hildon-caption.c: Other documentation fixes to
846 2009-06-17 David King <davidk@openismus.com>
848 * hildon/hildon-caption.c: Minor documentation updates for
849 HildonCaption. Fixes MB#4697.
851 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
853 * doc/hildon-docs.sgml: Add hildon-version section.
854 * doc/hildon-sections.txt:
855 * hildon/hildon-version.h.in: Document versioning macros and
858 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
860 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
861 from HildonPickerDialog section.
863 2009-06-16 Alberto Garcia <agarcia@igalia.com>
865 * hildon/hildon-banner.c (hildon_banner_bind_style)
866 (screen_size_changed, hildon_banner_init)
867 (hildon_banner_real_show_information)
868 (hildon_banner_show_information_with_markup)
869 (hildon_banner_show_animation, hildon_banner_show_progress):
870 Set a different widget name to banners in portrait mode, for them
871 to be themed correctly.
873 2009-06-16 Alberto Garcia <agarcia@igalia.com>
875 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
876 Set a different widget name to notes in portrait mode, for them to
879 Partially fixes: NB#118401 (HildonNote causes unnecessary
882 2009-06-16 Alberto Garcia <agarcia@igalia.com>
884 * hildon/hildon-note.c (hildon_note_class_init)
885 (+hildon_note_size_request, screen_size_changed):
886 Always request the full width of the screen.
888 Fixes: NB#118375 (unnecessary rescaling of images)
890 2009-06-16 Alejandro G. Castro <alex@igalia.com>
892 * hildon/hildon-pannable-area.c,
893 (hildon_pannable_area_init),
894 (hildon_pannable_area_realize): Replaced old code adding flags in
895 the object init, now we add it with the other flags in the realize
898 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
900 * hildon/hildon-note.c: (hildon_note_class_init): Several
901 documentation improvements to the HildonNote widget.
903 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
905 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
907 Fixes: MB#4556 (HildonNoteType is undocumented)
909 2009-06-15 Alberto Garcia <agarcia@igalia.com>
911 * hildon/hildon-picker-button.c:
912 Explain how HildonPickerButton sets the title of its dialog
914 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
915 the title of its dialog)
917 2009-06-15 Alberto Garcia <agarcia@igalia.com>
919 * hildon/hildon-check-button.c:
920 Documentation updates
922 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
925 2009-06-15 Alberto Garcia <agarcia@igalia.com>
928 * hildon/hildon-edit-toolbar-private.h
929 * hildon/hildon-edit-toolbar.c
930 (+hildon_edit_toolbar_set_progress_indicator)
931 (hildon_edit_toolbar_init): Add progress indicator to the
934 * hildon/hildon-gtk.c
935 (hildon_gtk_window_set_progress_indicator):
936 If the window contains a HildonEditToolbar, enable the progress
939 * hildon/hildon-private.h
940 * hildon/hildon-private.c
941 (+hildon_private_create_animation)
942 * hildon/hildon-banner.c
943 (-hildon_banner_create_animation):
944 Moved to hildon-private.c
946 Fixes: NB#102373 (Progress indicator also for the Edit mode
949 2009-06-15 Alberto Garcia <agarcia@igalia.com>
951 * hildon/hildon-app-menu-private.h
952 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
953 (hildon_app_menu_add_filter, +menu_item_button_event)
954 (hildon_app_menu_button_release, hildon_app_menu_init):
955 Make sure that buttons receive 'button-release-event' in spite of
956 the grab held by HildonAppMenu
958 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
960 2009-06-15 Alberto Garcia <agarcia@igalia.com>
962 * hildon/hildon-app-menu.c
963 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
964 New style property to set the size of the group of filter buttons.
966 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
968 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
973 * configure.ac: Bump version.
974 * debian/changelog: Updates.
976 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
978 * hildon/hildon-main.c: Minor documentation fixes.
980 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
982 * doc/hildon-sections.txt:
983 * hildon/hildon-defines.h: Document the defines, organize them,
984 and mark deprecations as such.
986 Fixes: MB#4463 (Hildon size #defines are undocumented)
988 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
990 * hildon/hildon-animation-actor.c:
991 * hildon/hildon-app-menu.c:
992 * hildon/hildon-button.c:
993 * hildon/hildon-date-editor.c:
994 * hildon/hildon-dialog.c:
995 * hildon/hildon-edit-toolbar.c:
996 * hildon/hildon-entry.c:
997 * hildon/hildon-program.c:
998 * hildon/hildon-remote-texture.c:
999 * hildon/hildon-stackable-window.c:
1000 * hildon/hildon-text-view.c:
1001 * hildon/hildon-touch-selector.c:
1002 * hildon/hildon-window-stack.c:
1003 * hildon/hildon-window.c:
1005 Remove redundant "represents" wording from most of the documentation.
1007 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1009 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1013 * hildon/Makefile.am
1014 * hildon/hildon-banner-private.h
1015 * hildon/hildon-banner.c:
1016 Move HildonBannerPrivate to hildon-banner.c and remove
1017 hildon-banner-private.h
1018 Use a bit field to store private booleans.
1020 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1022 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1023 Don't install a new idle function if there's already one
1028 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1030 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1031 (+legacy_menu_realized, +legacy_menu_unmapped)
1032 (+set_legacy_menu_type):
1033 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1034 they can be identified by the window manager.
1036 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1037 displayed in wrong location)
1039 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1042 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1044 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1046 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1047 use gtk-doc support)
1049 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1051 * hildon/hildon-code-dialog.c
1052 * hildon/hildon-date-editor.c
1053 * hildon/hildon-number-editor.c
1054 * hildon/hildon-seekbar.c
1055 * hildon/hildon-stackable-window.c
1056 * hildon/hildon-window.c:
1057 Misc documentation updates
1059 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1061 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1062 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1064 Fixes: NB#117931 (Theming issues in accounts dialogs)
1066 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1068 * hildon/hildon-pannable-area.c,
1069 (hildon_pannable_area_button_release_cb): Changed the coordinates
1070 of the original release in case we want to discard the release,
1071 some widgets in Fremantle do not handle the leave-notify.
1073 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1075 * hildon/hildon-pannable-area.c,
1076 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1077 the release using the last refactored functions and avoiding the
1078 movement if an element was selected.
1080 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1082 * hildon/hildon-pannable-area.c,
1083 (hildon_pannable_area_check_move),
1084 (hildon_pannable_area_handle_move),
1085 (hildon_pannable_area_motion_notify_cb): Refactored the
1086 motion_notify method using a couple of new functions.
1088 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1090 * hildon/hildon-date-selector.c:
1091 (hildon_date_selector_construct_ui):
1092 * hildon/hildon-time-selector.c:
1093 (hildon_time_selector_constructor):
1094 * hildon/hildon-touch-selector-entry.c:
1095 (hildon_touch_selector_entry_set_text_column),
1096 (hildon_touch_selector_entry_get_text_column):
1097 * hildon/hildon-touch-selector.c: (_default_print_func),
1098 (hildon_touch_selector_new_text): Use
1099 hildon_touch_selector_set/get_text_column() instead of
1100 setting/getting the "text-column" property.
1102 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1104 * doc/hildon-sections.txt: Add the new public methods below.
1106 * examples/hildon-picker-button-multicolumn-example.c:
1107 (create_touch_selector):
1108 * examples/hildon-touch-selector-example.c: (create_selector):
1109 * examples/hildon-touch-selector-multi-cells-example.c:
1111 Use hildon_touch_selector_column_set_text_column()
1113 * hildon/hildon-touch-selector-column.h:
1114 * hildon/hildon-touch-selector.c:
1115 (hildon_touch_selector_column_set_text_column),
1116 (hildon_touch_selector_column_get_text_column):
1117 Make hildon_touch_selector_column_set/get_column() public, use
1118 them in the inline example, document them, and reference to them
1121 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1123 * hildon/hildon-time-selector.c: Fix the docs for
1124 hildon_time_selector_new_step().
1126 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1128 * hildon/hildon-touch-selector.c: Improve the documentation for
1129 hildon_touch_selector_append_column().
1131 Fixes MB#4641 (Documentation:
1132 hildon_touch_selector_append_column() ref-counting)
1134 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1136 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1137 Comment out test 5, since the hildon_controlbar_set_range() range
1138 check is broken and fixing it would have side effects. Also,
1139 this finally fixes make distcheck.
1141 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1143 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1145 * tests/TEST-CASES.txt: Remove other bogus test.
1146 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1147 Remove bogus test that was setting/retrieving a valid value.
1149 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1151 * tests/TEST-CASES.txt: Remove bogus tests.
1152 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1153 Remove three bogus tests that were actually setting valid colors.
1155 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1157 * configure.ac: post release version bump
1158 * debian/changelog: post release version bump
1160 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1165 * configure.ac: Bump version.
1166 * debian/changelog: Updates.
1168 2009-06-08 Christian Dywan <christian@lanedo.com>
1172 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1173 Correct errors in hildon_format_file-size_for_display and use
1174 translations from the hildon-fm package instead of osso-filemanager.
1176 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1178 * hildon/hildon-pannable-area.c,
1179 (hildon_pannable_area_init): Initialized new values to handle the
1180 adjustment position.
1181 (hildon_pannable_area_adjust_value_changed): Check if the values
1182 changed before even call the redraw function.
1183 (hildon_pannable_area_size_allocate),
1184 (hildon_pannable_axis_scroll),
1185 (hildon_pannable_area_scroll),
1186 (hildon_pannable_area_jump_to): Improved the diagonal movement
1189 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1192 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1194 * examples/hildon-banner-example.c:
1195 Several style updates
1196 (on_animation_clicked, on_animation_idle)
1197 (on_progress_clicked, on_progress_idle):
1198 Add additional reference for the cases when the parent window is
1201 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1203 * doc/hildon-sections.txt
1204 * hildon/hildon-pannable-area.c
1205 * hildon/hildon-banner.h
1206 * hildon/hildon-banner.c: Documentation updates.
1208 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1211 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1213 * hildon/hildon-calendar-popup.h:
1214 * hildon/hildon-caption.h:
1215 * hildon/hildon-code-dialog.h:
1216 * hildon/hildon-controlbar.h:
1217 * hildon/hildon-date-editor.h:
1218 * hildon/hildon-dialog.h:
1219 * hildon/hildon-get-password-dialog.h:
1220 * hildon/hildon-hvolumebar.h:
1221 * hildon/hildon-login-dialog.h:
1222 * hildon/hildon-note.h:
1223 * hildon/hildon-number-editor.h:
1224 * hildon/hildon-range-editor.h:
1225 * hildon/hildon-seekbar.h:
1226 * hildon/hildon-set-password-dialog.h:
1227 * hildon/hildon-sort-dialog.h:
1228 * hildon/hildon-time-editor.h:
1229 * hildon/hildon-time-picker.h:
1230 * hildon/hildon-volumebar-range.h:
1231 * hildon/hildon-volumebar.h:
1232 * hildon/hildon-vvolumebar.h:
1233 * hildon/hildon-weekday-picker.h:
1234 * hildon/hildon-window.h:
1235 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1236 macros with the current replacements
1238 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1240 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1242 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1243 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1244 itself, to make it fit better with Fremantle style.
1246 Fixes: NB#109878 (height and width of focus on color icon is not
1247 consistent with other item in the application tool bar)
1249 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1251 * hildon/hildon-touch-selector.c:
1252 (hildon_touch_selector_optimal_size_request): use the current requisition
1253 as the base, in order to include any possible extra widget, like the
1254 hildon entry on HildonTouchSelectorEntry
1256 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1258 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1260 * configure.ac: post release version bump
1261 * debian/changelog: post release version bump
1263 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1268 * configure.ac: Bump version.
1269 * debian/changelog: Updates.
1271 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1273 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1275 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1276 to ensure the banner contents are centered, instead of relying on
1277 the expand and fill properties in GtkHBox.
1278 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1280 Fixes: NB#108265 (Animation banner not properly centered)
1282 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1284 * hildon/hildon-pannable-area.c
1285 (hildon_pannable_area_initial_effect): Remove the initial_effect
1286 management, check initial_hint
1287 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1288 set initial_effect to FALSE
1289 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1290 by launching the fade_timeout if the scrollbars state has changed and are
1292 * examples/hildon-pannable-area-initial-hint-example.c
1293 Modified to allow to remove rows too. Add and remove rows one by one.
1295 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1297 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1298 Don't close the menu if there's an animation actor below it.
1300 Fixes: NB#117927 (Application menu not usable with animation
1303 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1305 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1306 "focus-on-click" from the dialog button, to avoid stealing the
1307 focus from the entry.
1309 Fixes: NB#118903 (Account setup wizard: Text in Search field
1310 should be focused when "Region" touch list picker is reopened
1313 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1315 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1316 (prepare_action_area): Completely hide the dialog separator.
1318 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1320 * hildon/hildon-touch-selector-entry.c
1321 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1322 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1323 now that the entry is exposed.
1325 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1327 * hildon/hildon-touch-selector-entry.c
1328 (hildon_touch_selector_entry_init): Change the entry's size
1329 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1331 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1333 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1334 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1335 avoid unnecessary scaling.
1337 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1339 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1340 Create grab transfer window before calling parent's map function.
1342 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1343 "crushed" button(s) in the top left corner)
1345 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1347 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1348 Check if the window is already realized when pushing it.
1350 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1352 * configure.ac: post release version bump
1353 * debian/changelog: post release version bump
1355 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1360 * configure.ac: Bump version.
1361 * debian/changelog: Updates.
1363 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1365 * hildon/hildon-app-menu.c: Doc updates.
1367 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1369 * hildon/hildon-banner.c: Remove leftover macro.
1371 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1373 * hildon/hildon-pannable-area.c,
1374 (hildon_pannable_area_scroll_indicator_fade),
1375 (hildon_pannable_area_button_release_cb): Reviewed vmin
1376 conditions, it could cause problems in the fadeout procedure.
1378 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1380 * hildon/hildon-pannable-area.c
1381 (hildon_pannable_area_button_release_cb): Added a threshold to
1382 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1384 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1386 * hildon/hildon-pannable-area.c,
1387 (hildon_pannable_area_set_property): Added code to sync the gtk
1388 dnd threshold with the panning threshold.
1390 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1392 * hildon/hildon-pannable-area.c,
1393 (hildon_pannable_area_class_init): Changed some of the default
1394 values, now it should be less responsive and more accurate.
1396 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1398 * hildon/hildon-pannable-area.c,
1399 (hildon_pannable_area_init),
1400 (hildon_pannable_area_scroll_indicator_fade),
1401 (hildon_pannable_area_button_press_cb),
1402 (hildon_pannable_axis_scroll),
1403 (hildon_pannable_area_timeout),
1404 (hildon_pannable_area_motion_notify_cb),
1405 (hildon_pannable_area_button_release_cb): Changed the name of the
1406 clicked attribute to button_pressed, it is more clear about its use.
1408 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1410 * src/hildon-pannable-area.c
1411 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1413 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1414 vertical scrollbar visibility, and use the data on private section instead,
1415 remove the initial_hint check
1416 (hildon_pannable_area_expose_event): add the initial_hint check here
1418 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1420 * src/hildon-pannable-area.c
1421 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1422 if the fadeout effect was used
1423 (hildon_pannable_area_expose_event): check if it is required to
1424 manage the initial effect on the begining of the function. Previously
1425 it was made at the end, but this doesn't ensure that the scrollbars
1426 will be painted on the first show. Do not set to FALSE initial_effect,
1427 to ensure that the initial hint is showed the first time the pannable
1429 * examples/Makefile.am
1430 * examples/hildon-pannable-area-initial-hint-example.c:
1431 New example, to show that the initial-hint is showed when the widget
1434 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1435 initially if the application can be scrolled)
1437 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1439 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1440 Resize table before adding new items to make sure that
1441 gtk_table_resize() is called just once.
1443 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1445 * hildon/hildon-app-menu-private.h
1446 * hildon/hildon-app-menu.c (item_visibility_changed)
1447 (filter_visibility_changed, hildon_app_menu_show_all)
1448 (hildon_app_menu_hide_all, hildon_app_menu_init):
1449 Rearrange items just once when gtk_widget_show_all()/hide_all()
1452 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1454 * hildon/hildon-app-menu.c
1455 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1456 Don't call gtk_widget_show() on added items.
1458 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1459 automatically when they're added)
1461 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1463 * hildon/hildon-banner.c
1464 (hildon_banner_realize, +hildon_banner_unrealize)
1465 (+screen_size_changed, hildon_banner_class_init):
1466 Redisplay the banner if the screen is rotated.
1468 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1469 on transition from landscape to portrait)
1471 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1473 * hildon/hildon-banner.[ch]:
1474 (hildon_banner_show_information_override_dnd): remove icon_name from the
1475 method definition as it is ignored.
1476 * examples/hildon-banner-dnd-example.c: updated with the change on
1479 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1481 * hildon/hildon-banner-private.h: new require_override_dnd and
1482 overrides_dnd variables
1483 * hildon/hildon-banner.h:
1484 (hildon_banner_show_information_override_dnd): new method, that shows
1485 the information but sets the override flag, in order to show important
1487 * hildon/hildon-banner.c
1488 (hildon_banner_show_information_override_dnd): new method
1489 (hildon_banner_set_override_flag): new utility function
1490 (hildon_banner_real_show_information): new utility function, in order to
1491 generalize the current hildon_banner_show_information_override_dnd and
1492 hildon_banner_show_information_override_dnd
1493 * examples/Makefile.am
1494 * examples/hildon-banner-dnd-example.c: New example that show how to
1495 use the new hildon_banner_show_information_override_dnd
1497 Fixes: NB#114874 (There is no possibility to show hildon banners with
1500 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1502 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1503 behind hildon_pannable_calculate_vel_factor().
1505 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1507 * hildon/hildon-pannable-area.c
1508 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1509 deceleration factors.
1511 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1513 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1514 Reduce the default value for 'scroll_time' to 1 second, since the
1515 current initial scrolling takes too much time.
1517 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1519 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1520 calculate velocity factor during initialization, since the properties
1523 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1525 * hildon/hildon-pannable-area.c
1526 (hildon_pannable_area_set_property): Calculate the velocity factor
1527 after setting the deceleration property and not after.
1529 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1531 * hildon/hildon-entry.c
1532 (hildon_entry_class_init, +set_property, hildon_entry_new)
1533 * hildon/hildon-check-button.c
1534 (hildon_check_button_class_init)
1535 (+set_property, hildon_check_button_new):
1536 Make the theme size a property.
1538 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1539 others) do too much in the _new function)
1541 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1543 * configure.ac: post release version bump
1544 * debian/changelog: post release version bump
1546 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1551 * configure.ac: Bump version.
1552 * debian/changelog: Updates.
1554 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1556 * hildon/hildon-gtk.h
1557 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1558 New API function to take a screenshot of a window
1560 Fixes: NB#106374 (Need API to take a loading screenshot)
1562 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1564 * hildon/hildon-time-selector.c
1565 (update_format_policy): prevent to use hours and minutes unitialized
1567 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1569 * hildon/hildon-window.c (hildon_window_size_request):
1570 Always request the full size of the screen (minus the title bar if
1571 not in fullscreen mode).
1573 Fixes: NB#107486 (HildonWindow should size itself properly)
1575 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1577 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1578 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1579 (on_show_cb), (sound_handling): Disconnect the idle handler for
1580 the sound when the note is finalized to avoid possible crashes.
1582 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1585 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1587 * src/hildon-animation-actor.c,
1588 * src/hildon-remote-texture.c:
1589 Added proper object cleanup to remove signal handler and object
1590 references as HildonAnimationActor and HildonRemoteTexture
1591 objects get destroyed.
1593 Fixes: NB#116682 (Destroying parented animation actors when
1594 parent in unmapped leads to crash)
1596 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1598 Based on a patch by Christian Dywan (christian@imendio.com)
1600 * doc/hildon-sections.txt:
1601 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1602 * hildon/hildon-helper.h: New file size formatting method.
1604 * debian/control: Depend on osso-filemanager l10n package for
1605 proper localization strings.
1607 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1609 * tests/Makefile.am: Include top_srcdir to make possible to build
1610 tests in a different builddir.
1611 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1612 on a different builddir.
1614 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1616 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1617 (hildon_touch_selector_remove): Disconnect model's signal handler
1620 Fixes: NB#116289 (Hildon home crashes while adding task
1623 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1625 * hildon/hildon-button.c
1626 (hildon_button_set_title, hildon_button_set_value):
1627 Hide labels containing an empty string.
1629 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1631 * configure.ac: post release version bump
1632 * debian/changelog: post release version bump
1634 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1639 * configure.ac: Bump version.
1640 * debian/changelog: Updates.
1642 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1644 * hildon/hildon-note-private.h: Removed sound_signal_handler
1645 * hildon/hildon-note.c
1646 (on_show_cb): new callback on note "show" event, this simply adds
1647 a idle, with the function sound_handling
1648 (sound_handling): removed the sound_signal_handler management
1649 (hildon_note_init): connect note "show" event to on_show_cb
1650 (hildon_note_realize): remove the connection to "expose-event"
1652 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1653 device?' confirmation note)
1655 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1657 * hildon/hildon-note.c
1658 (hildon_note_new_information_with_icon_name)
1659 (hildon_note_new_confirmation_with_icon_name):
1660 Terminate the list of parameters in g_object_set() calls
1662 Fixes: NB#115166 (Formatting memory card is not taking place)
1664 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1666 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1667 "dialog-information" role for the sound being played.
1669 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1671 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1672 Don't make the menu a modal window, it causes strange interactions
1673 with the pointer grab and it's not really needed.
1675 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1677 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1679 * hildon/hildon-touch-selector.[ch]
1680 (hildon_touch_selector_optimal_size_request): function added to get a
1681 optimal size request from the touch selector, when you want a dialog to
1682 show as much of the selector
1683 * hildon/hildon-picker-dialog.c:
1684 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1685 (hildon_app_menu_class_init):
1686 New "max-height-landscape" and "max-height-portrait" style properties
1687 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1688 (hildon_picker_dialog_get_max_height): returns the maximum height using
1689 the style properties defined and checking the current portrait/landscape
1691 (_hildon_picker_dialog_set_selector): removed the set_size_request
1693 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1695 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1697 * hildon/hildon-bread-crumb-trail.c:
1698 * hildon/hildon-bread-crumb.c:
1699 * hildon/hildon-seekbar.c:
1700 Add reference to replacements for these deprecated widgets.
1702 Fixes: MB#4461 (Documentation: All deprecations should mention
1705 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1707 * examples/hildon-remote-texture-example.c
1709 Change the include to the hildon-remote-texture in order to compile
1710 properly the examples on the installed libhildon1-examples package
1712 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1714 * tests/Makefile.am: Add check for HildonPickerButton.
1715 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1716 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1717 checks for the HildonPickerButton.
1718 * tests/check_test.c (configure_tests): Add the test suite.
1719 * tests/test_suites.h: likewise.
1721 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1723 * hildon/hildon-touch-selector.c
1724 (+on_row_changed): Emit HildonTouchSelector:changed when the
1725 contents of a selected row change.
1726 (_create_new_column), (_hildon_touch_selector_set_model): connect
1727 to GtkTreeModel:row-changed on a newly set model.
1729 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1731 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1733 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1735 * hildon/hildon-banner.c (hildon_banner_destroy)
1736 (hildon_banner_show_progress, hildon_banner_set_fraction):
1737 Remove the progress bar from HildonBanner and use a progress
1740 Fixes: NB#113761 (Update progress banner to use progress
1743 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1745 * hildon/hildon-banner.c:
1746 Calculate size of the banner label using the actual screen width
1747 rather than using a fixed value.
1749 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1752 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1754 * hildon/hildon-pannable-area.c,
1755 (hildon_pannable_area_class_init): Fixed signals documentation
1758 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1760 * configure.ac: post release version bump
1761 * debian/changelog: post release version bump
1763 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1768 * configure.ac: Bump version.
1769 * debian/changelog: Updates.
1771 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1773 * hildon/hildon-edit-toolbar.c
1774 (hildon_edit_toolbar_init):
1775 Don't let buttons in HildonEditToolbar receive focus.
1777 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1778 typing on an HW arrows key)
1780 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1782 * doc/Makefile.am: Fix build.
1784 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1786 * doc/Makefile.am: Do not redefine content_files.
1788 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1796 Renamed src/ to hildon/
1801 Include <hildon/hildon.h> directly in all examples.
1803 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1805 * src/hildon-sort-dialog.c
1806 (hildon_sort_dialog_add_sort_key_with_sorting)
1810 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1812 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1813 make distcheck passes.
1815 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1817 * Makefile.am: Enable gtk-doc during distcheck.
1819 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1821 * Makefile.am: Do not distribute the debian/ directory.
1823 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1825 * doc/Makefile.am: Add the extra SGML files to content_files,
1826 so that they are distributed properly.
1828 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1830 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1833 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1836 (hildon_note_new_information_with_icon_name): Set the "icon" property
1837 to preserve soundness.
1839 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-font-selection-dialog.c
1842 (hildon_font_selection_dialog_set_property): Fail when the "family"
1843 property is set to NULL.
1845 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1847 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1850 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1852 * src/hildon-time-selector.h:
1853 Added HildonTimeSelectorFormatPolicy
1854 * src/hildon-time-selector.c:
1855 Added PROP_TIME_FORMAT_POLICY
1856 (_check_ampm_format): renamed to check_automatic_ampm_format
1857 (update_format_policy), (update_format_dependant_columns): new functions
1858 (hildon_time_selector_class_init)
1859 (hildon_time_selector_contructor)
1860 (hildon_time_selector_init)
1861 (hildon_time_selector_get_property)
1862 (hildon_time_selector_set_property)
1863 (hildon_time_selector_get_time)
1864 (hildon_time_selector_set_time)
1865 * src/hildon-touch-selector.h: new file
1866 * src/hildon-touch-selector.c
1867 (hildon_touch_selector_emit_changed)
1868 (hildon_touch_selector_block_changed)
1869 (hildon_touch_selector_unblock_changed)
1870 Added functions to allow to block the emission of the "changed" signal
1871 * src/hildon-picker-dialog.c
1872 (hildon_picker_dialog_show): call the parent show before the custom code
1873 * examples/hildon-time-button-example.c
1874 Modified, so now you can configure the time format using the new property
1876 Added a new property "time-format-policy" that allow to choose the time
1877 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1878 case it uses gconf in order to check if the time selector must use
1881 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1884 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1886 * src/hildon-note.c (hildon_note_init):
1887 Label in HildonNote must be left aligned, not centered. This
1888 reverts the last commit in HildonNote.
1890 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1891 is connectivity dialog)
1893 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1898 * doc/hildon-sections.txt:
1899 Added hildon_gtk_window_set_do_not_disturb()
1901 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1903 * src/hildon-note.c (hildon_note_init): Center label.
1905 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1908 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1913 * configure.ac: Bump version.
1914 * debian/changelog: Updates.
1916 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1918 * src/hildon-note-private.h: Add button-width to the private data.
1919 * src/hildon-note.c (+resize_button),
1920 (+hildon_note_orientation_update): methods to repack widgets on orientation
1922 (screen_size_changed): Call above method for confirmation notes.
1923 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1924 (hildon_note_rebuild): Store the original width request from buttons.
1926 Fixes: NB#109635 (Confirmation notes do not support portrait)
1928 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1930 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1931 when it is a progress note.
1933 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1935 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1936 in the note, since there are no horizontally arranged contents.
1938 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1940 * src/hildon-gtk.c (+set_flag): new generic method to
1941 set/delay a flag setting in a window.
1942 (hildon_gtk_window_set_progress_indicator):
1943 (hildon_gtk_window_set_do_not_disturb),
1944 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1945 avoid code redundance.
1947 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1949 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1951 * src/hildon-gtk.c (set_clear_window_flag),
1952 (do_set_progress_indicator), (do_set_do_not_disturb),
1953 (do_set_portrait_flags),
1954 (hildon_gtk_window_set_progress_indicator),
1955 (hildon_gtk_window_set_do_not_disturb),
1956 (hildon_gtk_window_set_portrait_flags):
1957 Allow setting dnd-flag, progress indicator, and portrait flags
1958 when the window is not realized.
1960 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1962 * src/hildon-pannable-area.c,
1963 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1964 the size request policy function and defines.
1966 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1968 * doc/hildon-sections.txt: Add the new API.
1969 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1970 method to set the portrait flags.
1971 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1973 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1975 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1977 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1978 to allow using this method with other flags.
1979 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1980 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1982 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1984 * src/hildon-touch-selector.c
1985 (hildon_touch_selector_append_text_column):
1986 Make the cell renderer use the smallest width possible.
1988 Fixes: NB#108470 (Selected items in multiple selection are either
1989 having a tick that is cut or not visible at all.)
1991 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-touch-selector.c
1994 (hildon_touch_selector_append_text_column):
1997 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2000 Use g_strdup_printf() instead of a fixed size buffer.
2002 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2004 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2005 Close banners when a HildonAppMenu is popped up.
2007 Fixes: NB#111027 (Title menu closed immediately if activated when
2008 "Invalid e-mail address" banner is shown)
2010 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2015 * configure.ac: Bump version.
2016 * debian/changelog: Updates.
2018 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2020 * src/hildon-banner.c (hildon_banner_realize):
2021 Mark HildonBanner as supporting portrait mode.
2022 Use GDK to set window properties insetad of direct Xlib calls.
2024 Fixes: NB#111830 (HildonBanner should be marked as supporting
2027 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-note.c (hildon_note_rebuild):
2030 Hide action area in information notes. Prevents text from being
2031 slightly aligned to the left.
2033 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2036 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2038 Patch by Mox Soini (ext-mox.soini@nokia.com)
2040 * src/hildon-banner.c (hildon_banner_create_animation):
2041 Use stylus-sized icons in animation banner.
2043 Fixes: NB#111206 (stylus sized icon for animation banner)
2045 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2049 (+hildon_gtk_window_set_do_not_disturb):
2050 New API to set the do-not-disturb flag.
2052 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2054 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2056 * examples/hildon-progress-indicator-example.c: Fix example
2058 * src/hildon-gtk.c (set_clear_window_flag)
2059 (hildon_gtk_window_set_progress_indicator):
2060 Create a generic function for setting flags to a window.
2061 Use GDK instead of direct Xlib calls.
2063 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2065 * src/hildon-button.c (hildon_button_set_arrangement):
2066 Due to NB#88126, if one of the labels is too long it will be
2067 painted outside the button. The 'value' label is more likely to be
2068 the longest one, so we change its packing options in order to
2069 truncate it if necessary. As a side effect, the 'title' label will
2070 no longer be truncated.
2072 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2074 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2079 * configure.ac: Bump version.
2080 * debian/changelog: Updates.
2082 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2084 Deprecation of the hildon_pannable_area_set_size_request_policy
2085 API, the only policy properly supported in gtk+ nowadays is the
2088 * src/hildon-pannable-area.c,
2089 (hildon_pannable_area_size_request): Added a workaround for the
2090 size_request to avoid the problems of huge pixmaps in case someone
2091 is still using the function.
2092 * src/hildon-pannable-area.h: Deprecated the enum with the
2095 Fixes: NB#110244 (Problems with the
2096 hildon_pannable_area_set_size_request_policy API)
2098 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2100 * src/hildon-pannable-area.c,
2101 (hildon_pannable_area_init),
2102 (hildon_pannable_area_size_request),
2103 (hildon_pannable_area_style_set),
2104 (hildon_pannable_draw_vscroll),
2105 (hildon_pannable_draw_hscroll),
2106 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2107 indicator_width to clarify the use of the attribute.
2109 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2114 * configure.ac: Bump version.
2115 * debian/changelog: Updates.
2117 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2119 * src/hildon-picker-dialog.c
2120 * src/hildon-touch-selector.c
2121 Reverting the change that tried to avoid the hardcoded height on
2122 the picker dialog, as causes problems on the hildon-touch-selector
2125 Fixes: NB#110029 (selectors not scrolling to selected value)
2127 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-touch-selector.c: Fix typos
2131 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2134 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2135 request more motions after using it.
2137 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2139 * src/hildon-calendar.c (hildon_calendar_expose),
2140 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2141 Remove unused variables.
2143 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2145 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2146 variable assignment.
2148 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2150 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2151 Check the return value of gtk_tree_selection_get_selected()
2154 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-animation-actor.c
2157 * src/hildon-button.c
2159 * src/hildon-pannable-area.c
2160 * src/hildon-picker-button.c
2161 * src/hildon-program.c
2162 * src/hildon-remote-texture.c
2163 * src/hildon-text-view.c
2164 * src/hildon-touch-selector.c
2165 * src/hildon-window-stack.c
2166 * src/hildon-window.c:
2167 Add missing 'Since: 2.2' tags.
2169 * doc/hildon-sections.txt:
2170 Add some missing symbols.
2172 * doc/hildon-docs.sgml:
2173 New 'Other' section for HildonAnimationActor and
2176 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2178 Patch by Iván Gómez (igomez@igalia.com)
2181 * doc/compiling.sgml
2182 * doc/hildon-docs.sgml
2183 * doc/hildon-sections.txt
2184 * doc/migration.sgml
2185 * doc/resources.sgml
2187 New chapters on using the Hildon library.
2188 Updated the general structure of the reference manual.
2189 Other minor documentation fixes.
2191 * src/hildon-calendar-popup.c
2192 * src/hildon-calendar.c
2193 * src/hildon-controlbar.c
2194 * src/hildon-date-editor.c
2195 * src/hildon-dialog.c
2196 * src/hildon-hvolumebar.c
2197 * src/hildon-number-editor.c
2198 * src/hildon-range-editor.c
2199 * src/hildon-sort-dialog.c
2200 * src/hildon-time-editor.c
2201 * src/hildon-time-picker.c
2202 * src/hildon-volumebar-range.c
2203 * src/hildon-volumebar.c
2204 * src/hildon-vvolumebar.c
2205 * src/hildon-weekday-picker.c:
2206 Add deprecation notes
2208 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2209 Document 'horizontal-movement' and 'vertical-movement' signals.
2211 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2216 * configure.ac: Bump version.
2217 * debian/changelog: Updates.
2219 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2221 * src/hildon-pannable-area.c,
2222 (hildon_pannable_area_class_init): increased the minimum velocity.
2223 (hildon_pannable_area_button_release_cb): Updated the
2224 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2225 setup. Review the code to control that last event.
2227 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2230 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2232 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2234 * src/hildon-get-password-dialog.c
2235 (hildon_get_password_set_property),
2236 (hildon_get_password_get_property), (create_contents):
2237 * src/hildon-login-dialog-private.h:
2238 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2239 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2240 (hildon_login_dialog_get_password):
2241 * src/hildon-set-password-dialog-private.h:
2242 * src/hildon-set-password-dialog.c
2243 (hildon_set_password_set_property),
2244 (hildon_set_password_get_property), (create_contents),
2245 (hildon_set_password_response_change),
2246 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2248 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2249 instead and look more Fremantle style.
2251 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2253 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2255 * doc/hildon-sections.txt
2256 * src/hildon-window-stack.h
2257 * src/hildon-window-stack.c
2258 (+hildon_window_stack_get_windows):
2259 New API to obtain the list of windows on a stack.
2261 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2263 * src/hildon-app-menu.c (hildon_app_menu_popup)
2264 (hildon_app_menu_class_init, -hildon_app_menu_show):
2265 Remove hildon_app_menu_show() and move all its checks to
2266 hildon_app_menu_popup()
2268 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2270 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2271 (_hildon_picker_dialog_set_selector): removed call to
2272 gtk_widget_set_size_request
2273 * src/hildon-touch-selector.c
2274 (_create_new_column): change the pannable size request policy
2276 Avoid to use a hardcoded height for the hildon picker dialog. In order
2277 to get that, we needed to change the hildon pannable size request
2279 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2281 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2283 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2284 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2287 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2289 * debian/control: Depend on osso-system-lock localization package.
2290 * src/hildon-code-dialog.c: Obtain the secu_application_title
2291 translation from osso-system-lock.
2292 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2293 for translation the atk related strings, that's not necessary.
2294 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2295 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2296 cancel button, it is not required.
2298 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2300 * src/hildon-pannable-area.c,
2301 (hildon_pannable_area_class_init): Modified the default value of
2302 the overshooting max speed, we have reduced it.
2304 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2306 * doc/hildon-sections.txt
2307 * src/hildon-window-private.h
2308 * src/hildon-window.h
2309 * src/hildon-window.c (hildon_window_class_init)
2310 (hildon_window_init, hildon_window_finalize)
2311 (hildon_window_realize, hildon_window_get_property)
2312 (hildon_window_set_property, hildon_window_update_markup)
2313 (hildon_window_get_markup, hildon_window_set_markup):
2314 New "markup" property and hildon_window_{get,set}_markup() methods.
2316 * examples/hildon-stackable-window-example.c (new_window):
2317 Update example to use hildon_window_set_markup()
2319 Fixes: NB#106375 (Need API to retitle a window with a title
2322 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2324 * src/hildon-pannable-area.c,
2325 (hildon_pannable_area_class_init): Changed the default value of
2326 the initial_hint to TRUE.
2327 (hildon_pannable_area_initial_effect): Changed the initial effect,
2328 not the effect is just the fade-out of the scrollbars.
2330 Fixes: NB#107775 (No scrollbars can be seen when several items are
2331 available in a dialog)
2333 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2335 * src/hildon-program.c (hildon_program_update_top_most):
2338 Fixes: NB#109179 (Memory leak in Hildon program)
2340 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2342 * src/hildon-banner.c (-get_current_app_window):
2343 Remove unused function.
2345 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2347 * src/hildon-pannable-area.c: Modified the documentation of the
2348 get adjustments functions to explain the problem of using the
2349 adjustment directly.
2350 (hildon_pannable_area_class_init): Improved the explanation about
2353 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2355 * src/hildon-app-menu-private.h
2356 * src/hildon-app-menu.c
2357 (hildon_app_menu_class_init):
2358 Bring back the 'external-border' style property
2359 (hildon_app_menu_class_init, hildon_app_menu_init)
2360 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2361 Set a fixed width-request for the menu, independent of the number
2364 Fixes: NB#94957 (Smoothly opened application menu)
2366 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2368 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2370 * src/hildon-banner.c
2371 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2373 Make sure that the banner is correctly placed the first time it's
2375 (hildon_banner_check_position, -check_fullscreen_state):
2376 Show the banner in the same place no matter if the window is in
2377 fullscreen mode or not.
2379 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2381 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2383 * src/hildon-touch-selector.c (_default_print_func): reorder
2384 concatenation for clarity.
2386 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2388 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2389 for multicolumn selectors.
2391 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2393 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2398 * configure.ac: Bump version.
2399 * debian/changelog: Updates.
2401 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2406 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2408 * configure.ac: removed libcangerra-gtk dependency
2409 * debian/control: removed libcanberra-gtk dependency
2410 * src/Makefile.am: removed libcanberra gtk related flags
2411 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2412 context, and manage a global canberra context instead
2414 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2416 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2418 Patch by Daniel Borgmann (danielb@openismus.com)
2420 * src/hildon-edit-toolbar.c:
2421 Adjust the left padding.
2422 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2423 Paint background of the edit toolbar.
2425 Fixes: NB#107897 (Patch to make editmodetoolbar background
2426 themeable and adjust margin)
2428 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2430 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2432 * src/hildon-program.c (hildon_program_update_top_most):
2433 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2435 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2436 change when the user tasks in/out of an application)
2438 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2440 * configure.ac: added libcangerra-gtk dependency
2441 * debian/control: added libcanberra-gtk dependency
2442 * src/Makefile.am: added libcanberra gtk related flags
2443 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2446 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2448 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2450 * src/hildon-program.c (hildon_program_remove_window)
2451 (hildon_program_add_window): Add checks for the window
2452 parameter. Don't decrease the window counter if the window is not
2455 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2457 * src/hildon-pannable-area.c,
2458 (hildon_pannable_area_realize): Fixed position of the event_window
2459 in the realize method.
2461 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-app-menu-private.h
2464 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2465 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2466 (hildon_app_menu_key_press, hildon_app_menu_init)
2467 (hildon_app_menu_finalize):
2468 Make sure that all idle functions are removed when the widget is
2471 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2473 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2478 * configure.ac: Bump version.
2479 * debian/changelog: Updates.
2481 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2483 * src/hildon-entry.c
2484 (+hildon_entry_show_placeholder),
2485 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2486 that replace hildon_entry_update_contents().
2487 (hildon_entry_set_text),
2488 (hildon_entry_set_placeholder),
2489 (hildon_entry_focus_in_event),
2490 (hildon_entry_focus_out_event): Determine when it is needed
2491 either to show or hide the placeholder and call the above methods.
2493 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2494 when the placeholder text is already set)
2496 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2498 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2499 simple GdkPixbufAnim using the new icons for the banner.
2500 (hildon_banner_show_animation): Use the above mentioned method to
2501 create the animation widget.
2503 Fixes: NB#103564 (Make hildon animation banner use individual
2504 image files as the animation)
2506 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2508 * src/hildon-pannable-area.c,
2509 (hildon_pannable_leave_notify_event): Check if the child is NULL
2510 to avoid sending the leave.
2512 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2514 * src/hildon-pannable-area.c,
2515 (hildon_pannable_area_class_init),
2516 (hildon_pannable_leave_notify_event): Added a handler of the
2517 leave-notify-signal to consider when no motion notify before
2520 Fixes: NB#107494 (Items stay selected when clicking and moving
2521 away when inside pannable area)
2523 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2528 * configure.ac: Bump version.
2529 * debian/changelog: Updates.
2531 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2533 Patch by Alberto Garcia (agarcia@igalia.com)
2535 * src/hildon-date-button.c,
2536 (hildon_date_button_class_init),
2537 (hildon_date_button_init): Removed the construct property handling
2538 and created a default selector in the init method.
2539 * src/hildon-picker-button.c,
2540 (hildon_picker_button_class_init): Removed the construct flag of the
2543 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2545 * src/hildon-main.c (hildon_init):
2546 Don't allow hildon_init() to be called more than once.
2548 Fixes: NB#106607 (hildon_init should issue error message upon
2551 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2553 * examples/hildon-pannable-area-touch-list-example.c
2554 * examples/hildon-pannagle-area-touch-grid-example.c
2555 * examples/hildon-edit-toolbar-example.c
2556 * examples/hildon-touch-selector-multi-cells-example.c
2557 Removed the call to gtk_rc_parse_string, as it is not required since
2560 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2562 * src/hildon-pannable-area.c,
2563 (hildon_pannable_area_class_init): Modified the default panning
2564 threshold of the widget to 6px.
2566 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2567 than the threshold value ) within the button is not sending the
2570 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2572 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2573 for the treeview in the new column. This way, the touch list will never
2576 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2577 be selected manually for the HW keys to work)
2579 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2581 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2582 comparison instead of using strcmp(). Fixes a compiler warning as well.
2584 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2586 * doc/hildon-docs.sgml: Do not set the library version in the
2587 document title, use the releaseinfo tag for that purpose instead.
2589 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2591 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2592 Do not jump to the first item if the text in the entry is removed.
2594 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2599 * configure.ac: Bump version.
2600 * debian/changelog: Updates.
2602 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2604 * src/hildon-entry.c (hildon_entry_refresh_contents):
2605 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2606 Use "ReversedSecondaryTextColor" for the placeholder text.
2608 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2610 * src/hildon-text-view.c: Fix compilation warning.
2612 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-button.c (hildon_button_class_init): Don't make
2615 "title" and "value" construction properties, to prevent them from
2616 overwriting labels set from derived classes.
2618 * src/hildon-picker-button.c
2619 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2620 (hildon_picker_button_class_init): Make touch-selector a
2621 construction property.
2623 * src/hildon-date-button.c (hildon_date_button_class_init)
2624 (+hildon_date_button_constructed): Add a default date selector if
2627 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/hildon-touch-selector.c: Small documentation fixes.
2631 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2633 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2635 * src/hildon-entry.c (hildon_entry_refresh_contents),
2636 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2637 widget name, set the logical color directly instead and a boolean
2638 showing_placeholder instead.
2639 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2640 use the widget name here either.
2642 Fixes: NB#105678 (HildonTextView should use logical colours
2643 instead of setting widget name)
2645 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2647 Patch by Daniel Elster (danielk@openismus.com)
2649 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2650 Add user_data parameter.
2651 (hildon_touch_selector_set_print_func_full): New function akin
2652 hildon_touch_selector_set_print_func() but with support for user
2653 data and a destroy callback.
2654 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2655 to clean up the print function user data.
2656 (hildon_touch_selector_class_init): Install dispose function.
2657 (HildonTouchSelectorPrivate::print_user_data),
2658 (HildonTouchSelectorPrivate::print_destroy_func): New private
2660 (hildon_touch_selector_init): Initialize new private members.
2661 (hildon_touch_selector_get_current_text): Pass along user data
2662 to the print function.
2663 (_default_print_func): Add dummy user_data to parameter list.
2664 * hildon-date-selector.c (_custom_print_func): ditto,
2665 * hildon-time-selector.c (_custom_print_func): ditto,
2666 * hildon-touch-selector-entry.c
2667 (hildon_touch_selector_entry_print_func): ditto.
2669 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2671 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2673 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2675 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2677 * src/hildon-pannable-area.c,
2678 (hildon_pannable_area_init),
2679 (hildon_pannable_area_button_press_cb),
2680 (hildon_pannable_area_motion_notify_cb): We have added code to
2681 handle the leave and enter events when using the motion events.
2683 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2685 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2687 * src/hildon-date-button.c (hildon_date_button_get_date)
2688 (hildon_date_button_set_date): Make sure that the button has a
2691 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2693 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2695 * src/hildon-pannable-area.c,
2696 (hildon_pannable_area_class_init),
2697 (hildon_pannable_area_calculate_velocity): Modify the use of the
2698 force and adapt the value.
2700 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2702 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2703 (hildon_app_menu_class_init): Hide the menu if it receives a
2704 delete-event, but don't destroy it
2706 Fixes: NB#104485 (Not able to address the call when application
2707 menu is opened at background)
2709 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-app-menu.c
2712 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2713 Remove the "external-border" style property, let the menu take its
2714 natural size (or the one set by the window manager)
2715 (hildon_app_menu_repack_items):
2716 Don't reshow the menu, avoid flickers.
2718 Partially fixes NB#94957 (Smoothly opened application menu)
2720 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2725 * configure.ac: Bump version.
2726 * debian/changelog: Updates.
2728 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2730 * src/hildon-pannable-area.c,
2731 (hildon_pannable_area_motion_notify_cb): We control that the
2732 direction error margin is used just in case the movement is
2733 allowed in the other direction.
2735 Fixes: NB#105012 (buttons inside a pannable area not getting
2736 release event when dragging/releasing)
2738 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2740 * src/hildon-pannable-area.c,
2741 (hildon_pannable_area_class_init),
2742 (hildon_pannable_area_get_property),
2743 (hildon_pannable_area_set_property),
2744 (hildon_pannable_area_initial_effect),
2745 (hildon_pannable_axis_scroll),
2746 (hildon_pannable_area_button_release_cb): Reviewed the
2747 overshooting effect, now it has its own max
2748 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2749 speed when bouncing.
2751 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2756 * configure.ac: Bump version.
2757 * debian/changelog: Updates.
2759 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2761 * src/hildon-pannable-area.c,
2762 (hildon_pannable_area_class_init): Changed the max speed, now
2763 users can launch the widget very fast. Reduced the default force,
2764 that way it is easier to control the launch speed.
2766 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2768 * src/hildon-pannable-area.c,
2769 (hildon_pannable_area_button_release_cb): Removed this check
2770 because it causes problems when the device is overloaded.
2772 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2774 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2775 add a current_text field to store the text entered in the
2776 touch selector entry.
2777 (_clean_current_selection): clean up the current text as well.
2778 (_save_current_selection), (_restore_current_selection):
2779 Save/restore the text in the entry if the selector is a
2780 HildonTouchSelectorEntry.
2782 Fixes: NB#102541 (value entered in the touch selector entry is not
2783 shown when opened for second time)
2785 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2787 * doc/hildon-sections.txt:
2788 * src/hildon-touch-selector-entry.c
2789 (+hildon_touch_selector_entry_get_entry):
2790 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2792 Fixes: NB#104815 (I need accessor to the entry inside
2793 HildonTouchSelectorEntry)
2795 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2798 (hildon_app_menu_class_init):
2799 New "filter-vertical-spacing" style property.
2801 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2803 * src/hildon-find-toolbar.c
2804 (hildon_find_toolbar_emit_close)
2805 (hildon_find_toolbar_emit_invalid_input)
2806 (hildon_find_toolbar_entry_activate):
2807 Use g_signal_emit() instead of g_signal_emit_by_name()
2809 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2811 Patch by Mox Soini (ext-mox.soini@nokia.com)
2813 * tests/TEST-CASES.txt
2814 * tests/check-hildon-banner.c
2815 * tests/check-hildon-note.c
2816 * src/hildon-banner.c
2817 * src/hildon-code-dialog.c
2818 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2819 * src/hildon-time-editor.c
2820 * examples/hildon-lookup-example.c (main):
2821 Replace obsolete icon names with new ones.
2823 * src/hildon-find-toolbar-private.h:
2824 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2825 (-hildon_find_toolbar_emit_search):
2826 Remove find button and change icon of close button.
2828 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2830 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2832 * src/hildon-time-button.c (hildon_time_button_new_step):
2833 Use the "touch-selector" property to set the selector directly
2834 when creating the object.
2836 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2838 Added a new example application that allows tuning the pannable
2839 area and replaced defines with properties in order to simplify the
2840 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2841 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2842 PROP_DIRECTION_ERROR_MARGIN.
2844 * examples/hildon-pannable-area-tuning-example.c: New example
2846 * src/hildon-pannable-area.c,
2847 (hildon_pannable_area_class_init),
2848 (hildon_pannable_area_init),
2849 (hildon_pannable_area_get_property),
2850 (hildon_pannable_area_set_property),
2851 (hildon_pannable_area_launch_fade_timeout),
2852 (hildon_pannable_area_adjust_value_changed),
2853 (hildon_pannable_axis_scroll),
2854 (hildon_pannable_area_motion_notify_cb),
2855 (hildon_pannable_area_scroll_cb),
2856 (hildon_pannable_area_button_release_cb): We have converted some
2857 of the defines that control the widget to properties to simplify
2860 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2862 * src/hildon-app-menu.c (hildon_app_menu_map)
2863 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2864 so it's closed if a new window appears.
2866 Fixes: NB#104485 (Not able to address the call when application
2867 menu is opened at background)
2869 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2872 missing 'break' statement in in 'case' construct to avoid
2875 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/hildon-touch-selector-entry.c
2878 (hildon_touch_selector_entry_get_property),
2879 (hildon_touch_selector_entry_set_property): Add missing 'break'
2880 statements in in 'case' constructs to avoid incorrect warnings.
2882 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2884 * src/hildon-time-editor.c
2885 (hildon_time_editor_get_time_separators): Do not crash if
2886 the first label is NULL.
2888 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2890 * src/hildon-date-selector.c (_month_days): Check for month to be
2891 strictly less than 12, since otherwise we may overrun the array.
2893 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2895 * src/hildon-date-button.c (+hildon_date_button_new_full)
2896 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2897 (hildon_date_button_init): Set the date selector using a
2898 construction property, to make it happen after HildonButton's
2899 "value" property is set.
2901 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2902 current date by default)
2904 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2906 * doc/hildon-sections.txt
2907 * src/hildon-program.c
2908 * src/hildon-stackable-window.c
2909 * src/hildon-window.c:
2910 Documentation updates
2912 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2915 (hildon_window_stack_new, +hildon_window_stack_set_property)
2916 (+hildon_window_stack_get_property)
2917 (hildon_window_stack_class_init)
2918 (+hildon_window_stack_set_window_group)
2919 (+hildon_window_stack_get_window_group):
2920 Make the window group a construction property.
2922 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2924 * doc/hildon-sections.txt
2925 * src/hildon-stackable-window-private.h
2926 * src/hildon-stackable-window.h
2927 * src/hildon-stackable-window.c
2928 (-hildon_stackable_window_set_app_menu)
2929 (-hildon_stackable_window_get_app_menu)
2930 (-hildon_stackable_window_toggle_menu)
2931 (-hildon_stackable_window_finalize)
2932 (hildon_stackable_window_class_init)
2933 (hildon_stackable_window_init)
2934 * src/hildon-window-private.h
2935 * src/hildon-window.h
2936 * src/hildon-window.c (hildon_window_init)
2937 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2938 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2939 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2940 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2941 Moved all HildonAppMenu code to HildonWindow. The menu does not
2942 require a HildonStackableWindow anymore.
2944 * src/hildon-app-menu.c
2945 * src/hildon-program.c
2946 * examples/hildon-app-menu-example.c (main):
2947 Update examples and documentation to reflect HildonAppMenu
2950 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-remote-texture.c
2953 * src/hildon-animation-actor.c:
2954 Don't include unused private headers.
2956 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2958 * src/hildon-program-private.h
2959 * src/hildon-program.c
2960 (hildon_program_set_common_menu)
2961 (hildon_program_get_common_menu)
2962 (hildon_program_set_common_app_menu)
2963 (hildon_program_get_common_app_menu):
2964 Change common menu pointers from GtkWidget* to GtkMenu* and
2965 HildonAppMenu* to avoid unnecessary casts.
2967 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2969 * src/hildon-window.c (hildon_window_set_main_menu):
2970 Removed incorrect 'Since:' tag
2972 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2974 * src/hildon-pannable-area.c,
2975 (hildon_pannable_area_calculate_velocity): We use now the
2976 RATIO_TOLERANCE here to check the distance, fixed typo in the
2978 (hildon_pannable_area_motion_notify_cb): We have to set the type
2979 and time even if we are not sending the motion.
2981 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2983 * doc/hildon-sections.txt
2984 * src/hildon-app-menu.h
2985 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2986 (+hildon_app_menu_get_filters): New methods to get the contents of
2989 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2992 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-app-menu.c (hildon_app_menu_popup):
2997 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-window.h
3000 * src/hildon-window.c (+hildon_window_get_main_menu)
3001 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3002 and deprecated hildon_window_get_menu().
3004 * src/hildon-stackable-window.h
3005 * src/hildon-stackable-window.c
3006 (+hildon_stackable_window_set_app_menu)
3007 (+hildon_stackable_window_get_app_menu)
3008 (hildon_stackable_window_set_main_menu): Created
3009 hildon_stackable_window_{get,set}_app_menu() and deprecated
3010 hildon_stackable_window_set_main_menu().
3012 * doc/hildon-sections.txt
3013 * examples/hildon-app-menu-example.c (main)
3014 * src/hildon-app-menu.c
3015 * src/hildon-program.c:
3016 Updated examples and documentation.
3018 Fixes: NB#103758 (No way to obtain a menu from a
3019 HildonStackableWindow)
3021 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3026 * configure.ac: Bump version.
3027 * debian/changelog: Updates.
3029 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3031 * examples/hildon-remote-texture-example.c: Include
3032 hildon-remote-texture.h explicitely.
3033 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3034 applications not defining _XOPEN_SOURCE which don't require this header.
3036 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3038 * doc/hildon-sections.txt
3039 * src/hildon-app-menu.h
3040 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3041 New function to pop up a HildonAppMenu
3043 * src/hildon-stackable-window.c
3044 (hildon_stackable_window_toggle_menu):
3045 Use hildon_app_menu_popup() to show the menu.
3047 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-app-menu.c (hildon_app_menu_show)
3050 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3051 menu if there's another window between it and its parent window.
3053 Fixes: NB#100468 (Application menu window is launched even when a
3054 new secondary-window/dialog is pending to be shown/realized)
3056 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-window-stack.c (hildon_window_stack_push)
3059 (hildon_window_stack_pop_and_push):
3060 Don't forget to push/pop the first window.
3061 Reverse the window list before calling _push_list()
3063 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3065 * src/hildon-picker-button.h
3066 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3067 Remove "value_changed" slot to avoid ABI breakage
3069 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3071 * src/hildon-pannable-area.c,
3072 (hildon_pannable_area_realize),
3073 (hildon_pannable_area_unrealize),
3074 (hildon_pannable_draw_vscroll),
3075 (hildon_pannable_draw_hscroll): Changed the method to handle the
3076 GC used to draw the transparent scrollbar, this way we avoid
3077 creating the GC all the time when drawing the scrollbars.
3079 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3081 * src/hildon-pannable-area.c,
3082 (hildon_pannable_area_init),
3083 (hildon_pannable_area_remove): Removed some unnecessary casts.
3084 (hildon_pannable_area_dispose): Disconnected some signals before
3085 releasing the adjustments.
3087 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3089 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3090 Make sure that all widgets contained in the toolbar are shown.
3092 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3094 * doc/hildon-sections.txt
3095 * src/hildon-picker-button.h
3096 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3097 (_selection_changed, hildon_picker_button_on_dialog_response)
3098 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3099 New hildon_picker_button_value_changed() method.
3102 * src/hildon-picker-button-private.h
3103 * src/hildon-picker-button.c (hildon_picker_button_init)
3104 (+hildon_picker_button_disable_value_changed): Add protected
3105 function for disabling the "value-changed" signal.
3107 * src/hildon-date-button.c (hildon_date_button_set_date):
3108 Don't emit "value-changed" for each one of the three columns.
3110 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3111 before actual change of values)
3113 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3115 * src/hildon-pannable-area.c,
3116 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3117 for the treeview overshooting.
3119 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3121 * src/hildon-banner.c (+hildon_banner_bind_style):
3122 Renamed from hildon_banner_bind_label_style(), now naming the
3123 banner itself as well.
3124 (hildon_banner_show_information),
3125 (hildon_banner_show_information_with_markup),
3126 (hildon_banner_show_animation), (hildon_banner_show_progress):
3127 Name the widgets and labels, based on their type.
3129 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3132 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3134 * src/hildon-note.c (hildon_note_set_property): call
3135 hildon_note_rename() on HildonNote:note-type set.
3136 (hildon_note_rename): Name the note and its label, based on the
3137 HildonNote:note-type property.
3139 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3142 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3144 * src/hildon-pannable-area.c,
3145 (hildon_pannable_area_class_init),
3146 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3147 panning parameters, increased SPS and deceleration factor. Added
3148 also a margin to control fake directions.
3150 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3152 Patch by Sven Herzberg (sven@imendio.com)
3154 * configure.ac: Add missing AM_PROG_CC_C_0
3155 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3157 See NB#101420 (Update unit tests and fix make check)
3159 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3161 This patch was applied before but reverted because it caused
3162 problems, we have changed the main condition and tested the
3163 regressions we detected before and they work ok. We have done a
3164 complete review of the topmost algorithm in order to get a more
3167 * src/hildon-pannable-area.c,
3168 (hildon_pannable_area_get_topmost): Added a new parameter to
3169 filter the the windows that do not include those events.
3170 (hildon_pannable_area_button_press_cb),
3171 (hildon_pannable_area_button_release_cb),
3172 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3173 topmost function, we have added the new parameter.
3175 Fixes: NB#97458 (Pannable area prevents propagation of button
3178 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3180 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3181 if all columns in the selector have an item selected.
3182 (_on_dialog_response): Stop "response" signal emission if there is
3183 any selector column without selected items.
3185 Fixes: NB#101889 (Picker dialog should not close when nothing is
3186 selected in multiple selection list)
3188 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3190 * src/hildon-font-selection-dialog.c
3191 (hildon_font_selection_dialog_class_init),
3192 (hildon_font_selection_dialog_init): Remove the preview
3193 button and dialog, since previewing with default theming is likely
3194 to be overcomplicated. The :preview property has now no effect.
3195 Update documentation blurbs to inform about this.
3197 Fixes: NB#92297 (Preview content is not clearly visible for
3198 default colour text)
3200 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3202 Reviewed the geometry that handles the children size and
3203 scrollbar, now it tries a size and reviews the results depending
3204 on the scrollbars visibility.
3206 * src/hildon-pannable-area.c,
3207 (hildon_pannable_area_realize): Fixed a typo.
3208 (hildon_pannable_area_child_allocate_calculate): Added this
3209 function to calculate the child allocation.
3210 (hildon_pannable_area_size_allocate): Reviewed the allocation
3212 (hildon_pannable_area_check_scrollbars),
3213 (hildon_pannable_area_refresh): Refactored refresh function, this
3214 way we can call the code handling the scrollbars without causing a
3215 size_request, it is interesting in the allocate.
3216 (hildon_pannable_area_init): Replace the callbacks of the
3217 value_changed and changed signals to propertly deal with the
3219 (hildon_pannable_area_grab_notify),
3220 (hildon_pannable_area_initial_effect),
3221 (hildon_pannable_area_launch_fade_timeout),
3222 (hildon_pannable_area_adjust_changed),
3223 (hildon_pannable_area_adjust_value_changed),
3224 (hildon_pannable_area_redraw),
3225 (hildon_pannable_area_button_press_cb),
3226 (hildon_pannable_area_button_release_cb),
3227 (hildon_pannable_area_scroll_cb),
3228 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3229 code and use the new functions adjust_changed and
3230 adjust_value_changed.
3232 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3233 Contact editor dialog)
3235 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3240 * configure.ac: Bump version.
3241 * debian/changelog: Updates.
3243 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3245 * src/hildon-pannable-area.c,
3246 (hildon_pannable_area_get_topmost),
3247 (hildon_pannable_area_button_press_cb),
3248 (hildon_pannable_area_button_release_cb),
3249 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3250 topmost function adding the event mask. We have to try a
3251 differente approach because it is still causing problems (NB#9745,
3254 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3256 * src/hildon-banner.c:
3257 Update the maximum width of timed banners.
3258 (force_to_wrap_truncated): Enforce the maximum text width if the
3261 Fixes: NB#102413 (The text margins (wrapping) in information
3262 banner should be HILDON_MARGIN_TRIPLE)
3264 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3266 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3268 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3269 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3270 bound when calculating the scroll indicator position.
3272 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3273 treat ->lower correctly)
3275 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3277 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3278 expose event handling, since it is not necessary to draw the focus
3281 Fixes: NB#102467 (Do not show highlight on the text in
3284 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3287 full height of the toolbar for the button and the label.
3289 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3291 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3292 padding before the label and after the button.
3294 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3296 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3298 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3299 Add a GtkVSeparator between the button and the back arrow.
3300 Let the button have automatic size.
3301 Set a name to the widget for theming handling.
3303 Fixes: NB#101793 (Make edit toolbar the same height as window
3304 title bar (use title area theming))
3306 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3308 * src/hildon-helper.c (attach_new_color_element): Fix memory
3311 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3313 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3315 * examples/hildon-button-example.c (common_buttons_window): Don't
3318 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3321 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3323 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-gtk.c: Check that the window is realized.
3327 Fixes: NB#102225 (Crash setting the progress indicator to a non
3330 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3332 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3333 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3334 instead of modifying the one in the widget style.
3336 Fixes: NB#101043 (Second row of all the command button are
3337 displayed in transparent mode.)
3339 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3341 * src/hildon-date-button.c
3342 * src/hildon-time-button.c: Add gettext macros
3344 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3346 * src/hildon-date-button.c (hildon_date_button_new):
3347 * src/hildon-time-button.c (hildon_time_button_new_step):
3348 Use new logical strings to set the button default title.
3350 Fixes: NB#99915 (Date and Time options are not localised in Date
3353 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3355 * src/hildon-pannable-area.c
3356 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3357 the PANNING_THRESHOLD.
3359 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3361 * src/hildon-pannable-area.c,
3362 (hildon_pannable_area_class_init): Increased the maximum speed.
3363 (hildon_pannable_area_get_property),
3364 (hildon_pannable_area_set_property),
3365 (hildon_pannable_area_timeout): Added a new low friction mode, it
3366 allows the user avoid friction when launching the widget fast
3367 enough. It is interesting to traverse long lists.
3369 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3371 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3372 (+hildon_stackable_window_delete_event): Ignore delete events if
3373 the window is not the topmost one.
3375 Fixes: NB#101698 (Back button long press and delete-event handling)
3377 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3379 * src/hildon-pannable-area.c,
3380 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3381 gtk-dnd-drag-threshold, it was too big. We have defined our own
3382 dnd define and set a smaller value: PANNIG_THRESHOLD.
3384 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3386 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3387 user-defined icons, use always the default one.
3389 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3391 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3393 This patch was applied before but reverted because it caused
3394 problems, we have changed the main condition and tested the
3395 regressions we detected before and they work ok.
3397 * src/hildon-pannable-area.c,
3398 (hildon_pannable_area_get_topmost): Added a new parameter to
3399 filter the the windows that do not include those events. Added
3400 also a condition when finding the window to filter windows that do
3401 not ask for those events.
3402 (hildon_pannable_area_button_press_cb),
3403 (hildon_pannable_area_button_release_cb),
3404 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3405 topmost function, we have added the new parameter.
3407 Fixes: NB#97458 (Pannable area prevents propagation of button
3410 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3412 * tests/check-hildon-color-button.c (START_TEST): do not leak
3415 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3417 * src/hildon-font-selection-dialog.c
3418 (hildon_font_selection_dialog_get_preview_text): Return NULL
3419 instead of FALSE on the g_return_val_if_fail().
3421 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3423 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3424 * src/hildon-date-selector.c
3425 (hildon_date_selector_select_current_date):
3426 Do not compare unsigned integers to be greater than or equal 0,
3427 because it's always TRUE.
3429 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3431 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3432 (hildon_date_selector_constructor): Do not select the current
3433 date until we are handle the "changed" signal, to avoid having bogus
3434 elements in the days model.
3436 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3438 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3439 for num_days, since _month_days() can return a negative value.
3441 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3443 * src/hildon-caption.c (hildon_caption_size_allocate):
3444 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3445 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3447 Initialize allocation variables to 0, to avoid eventually using
3448 unitialized variables.
3450 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3452 * src/hildon-bread-crumb-trail.c
3453 (hildon_bread_crumb_trail_size_allocate):
3454 * src/hildon-calendar.c (hildon_calendar_set_background):
3455 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3456 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3457 * src/hildon-seekbar.c (hildon_seekbar_init):
3458 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3459 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3460 * src/hildon-touch-selector-entry.c
3461 (hildon_touch_selector_get_text_from_model):
3462 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3463 * src/hildon-window.c (hildon_window_finalize):
3465 Remove many unused variables.
3467 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3469 * src/hildon-seekbar.c: (hildon_seekbar_init),
3470 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3472 Remove unnecessary g_assert() calls.
3474 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-caption.c: (hildon_caption_expose),
3477 (hildon_caption_set_property), (hildon_caption_init),
3478 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3479 (hildon_caption_size_request), (hildon_caption_size_allocate),
3480 (hildon_caption_forall), (hildon_caption_set_separator),
3481 (hildon_caption_activate), (hildon_caption_set_child_expand),
3482 (hildon_caption_set_label_text),
3483 (hildon_caption_get_label_alignment):
3485 Remove unnecessary g_assert() calls.
3487 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3489 * src/hildon-banner.c
3490 (hildon_banner_map, hildon_banner_init): Make banner temporary
3491 before mapping it to avoid closing other temporary windows, but
3492 make it non-temporary afterwards to avoid being closed by other
3493 non-temporary windows.
3494 (-hildon_banner_client_event, hildon_banner_init):
3495 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3497 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3500 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3502 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3505 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3507 * src/hildon-remote-texture.c
3508 * src/hildon-remote-texture.h
3509 * src/hildon-remote-texture-private.h
3510 * examples/hildon-remote-texture-example.c:
3511 Updates/fixes to remote-texture and its example.
3513 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3515 Patch by Mox Soini (ext-mox.soini@nokia.com)
3517 * src/hildon-code-dialog.c: Update logical id.
3518 * src/hildon-set-password-dialog.c: Update logical id.
3520 Fixes: NB#100646 (Logical strings is shown for ok in set
3521 password,Password needed dialogs)
3523 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3526 * src/hildon-remote-texture.c
3527 * src/hildon-remote-texture.h
3528 * src/hildon-remote-texture-private.h
3530 Added remote texture widget (for Clutter shared memory textures)
3532 * examples/hildon-remote-texture-example.c
3533 * examples/Makefile.am
3534 Added example file for remote texture usage
3536 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3538 * configure.ac: post release version bump.
3539 * debian/changelog: version bump.
3541 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3546 * configure.ac: Bump version.
3547 * debian/changelog: Updates.
3549 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3551 * src/hildon-date-selector.c (hildon_date_selector_init)
3552 (hildon_date_selector_constructor): Don't connect to the "changed"
3553 signal until the selector is completely constructed.
3555 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-touch-selector.c: (_create_new_column),
3558 (hildon_touch_selector_append_column),
3559 (hildon_touch_selector_set_column_selection_mode),
3560 (hildon_touch_selector_set_active),
3561 (hildon_touch_selector_select_iter):
3562 Emit the HildonTouchSelector::changed signal every time selection
3563 is changed in any of the methods above. This behavior was already
3564 documented but not fully functional.
3566 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3567 selection is programmatically changed)
3569 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3571 * doc/hildon-sections.txt: Remove obsolete icon
3572 sizes from here as well.
3574 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3576 * examples/hildon-stackable-window-example.c (add_window): Remove
3579 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3581 * src/hildon-app-menu.c
3582 (hildon_app_menu_show): Check whether the parent window of a menu
3583 is topmost before popping it up.
3585 Fixes: NB#100468 (Application menu window is launched even when a
3586 new secondary-window/dialog is pending to be shown/realized.)
3588 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3590 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3593 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3595 Patch by Mox Soini (ext-mox.soini@nokia.com)
3597 * src/hildon-banner.c: (hildon_banner_show_animation):
3598 use stylus size instead of obsolete note size.
3599 * src/hildon-defines.h: Update icon sizes.
3601 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3603 * src/hildon-touch-selector-entry.c:
3604 (hildon_touch_selector_entry_init): Disable unsupported
3606 (hildon_touch_selector_entry_get_text_column): Emit a warning
3607 if an unsupported input modes is used and explicitile state
3608 these modes in the documentation.
3610 Fixes: NB#99802 (Hildon touch selector entry not working properly
3611 for some of the input modes)
3613 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3615 * src/hildon-pannable-area.c,
3616 (hildon_pannable_area_init): Added the changed signal handlers of
3619 Fixes: NB#100320 (HildonPannableArea does not listen to
3620 GtkAdjustment "change" signals)
3622 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3624 * doc/hildon-sections.txt
3625 * src/hildon-window-private.h
3626 * src/hildon-window.h
3627 * src/hildon-window.c (hildon_window_init)
3628 (hildon_window_realize, hildon_window_unrealize)
3629 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3630 (hildon_window_size_request, hildon_window_size_allocate)
3631 (hildon_window_forall, hildon_window_show_all)
3632 (hildon_window_destroy, +paint_edit_toolbar)
3633 (+hildon_window_set_edit_toolbar):
3634 New hildon_window_set_edit_toolbar() method, to add a
3635 HildonEditToolbar to a window without having to pack it manually.
3637 Reorganize hildon_window_size_allocate()
3639 * src/hildon-edit-toolbar.c: Update documentation.
3641 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3642 example to use the new API.
3644 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3646 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3649 Remove from stack before calling parent's hide.
3651 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3653 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3654 window is removed from the middle of the stack, update the
3655 transiency of the previous one.
3657 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3660 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3662 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3663 block/unblock the signal handler if it's not actually being used.
3664 Fixes some critical warnings.
3666 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3668 Based on a patch by Iván Gómez (igomez@igalia.com)
3670 * src/hildon-banner.c
3674 * src/hildon-pannable-area.c
3675 * src/hildon-picker-dialog.c
3676 * src/hildon-wizard-dialog.h
3677 * src/hildon-wizard-dialog.c: Documentation updates.
3679 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3680 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3682 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3684 * configure.ac: post release version bump.
3685 * debian/changelog: version bump.
3687 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3692 * configure.ac: Bump version.
3693 * debian/changelog: Updates.
3695 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3697 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3698 a stock icon nor change the relief of the back arrow.
3700 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3701 graphics from theme)
3703 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3705 * src/hildon-button.c (hildon_button_set_alignment): Use
3706 priv->alignment if the button has no child yet.
3708 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3710 * src/hildon-button.c: (hildon_button_init): Set the
3711 button style during initialization to give it the proper
3714 Fixes: NB#99713 (HildonButton value label color is wrong)
3716 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3718 * src/hildon-touch-selector.c: Document
3719 hildon_touch_selector_center_on_selected()
3721 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3723 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3724 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3725 all menu items, but not the menu itself.
3726 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3727 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3728 items after adding them to the menu so keyboard accelerators work.
3729 (hildon_app_menu_show): Don't show the menu if it contains items
3730 but none of them are visible.
3732 * examples/hildon-app-menu-example.c (create_menu): Use
3733 gtk_widget_show_all() to show all menu items.
3735 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3737 * src/hildon-picker-dialog.c:
3738 (-_update_title_on_selector_changed_cb),
3739 (-_dialog_update_title): Removed.
3740 (_select_on_selector_changed_cb), (_on_dialog_response),
3741 (on_selector_columns_changed): Do not update the dialog title.
3742 (setup_interaction_mode): Do not connect to
3743 HildonTouchSelector::changed signal if there's a "done" button, as
3744 the dialog title doesn't need to be updated.
3746 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3749 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3751 Patch by Kristian Rietveld (kris@imendio.com)
3753 * src/hildon-touch-selector.c: (_create_new_column): Use new
3754 GtkTreeView::hildon-row-tapped signal to react to user interactions
3755 instead of ::changed.
3757 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3758 with some dynamic tree model)
3760 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3762 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3763 (+screen_size_changed, +label_size_request)
3764 (hildon_note_class_init): Make the Hildon information note have a
3765 minimum height, and make its text hvae a maximum width.
3767 Fixes: NB#98614 (Hildon information note (background) should have
3768 minimum height and maximum text width)
3770 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-banner.h
3773 * src/hildon-banner.c (hildon_banner_show_information)
3774 (hildon_banner_show_informationf)
3775 (hildon_banner_show_information_with_markup): Update documentation
3776 to reflect that the icon_name parameter is not used anymore.
3777 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3778 Remove all code from these functions and mark them as deprecated.
3779 (hildon_banner_show_progress): Mark as deprecated.
3781 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3783 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3785 * src/hildon-pannable-area.c,
3786 (hildon_pannable_area_class_init),
3787 (tranparency_color),
3788 (hildon_pannable_draw_vscroll),
3789 (hildon_pannable_draw_hscroll),
3790 (hildon_pannable_area_expose_event): Added a new way to render the
3791 scrollbars of the pannable area avoiding using cairo at all. This
3792 way we improve the performance of the pannable area rendering. The
3793 cairo rendering procedure is still in the code, we can control
3794 which one to use changing the value of the define
3795 USE_CAIRO_SCROLLBARS.
3797 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3799 * configure.ac: post release version bump.
3800 * debian/changelog: version bump.
3802 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3807 * configure.ac: Bump version.
3808 * debian/changelog: Updates.
3810 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3812 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3813 banners instead of destroying them when they receive a button
3816 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3818 Reverted commit 34028, it was causing regressions, probably the
3819 topmost condition is not correct, we have to check it in more
3820 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3821 propagation of button press events)
3823 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3826 that the selection is not empty before attempting to retrieve the
3827 current ampm selection.
3829 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3831 * src/hildon-picker-button.c:
3832 (hildon_picker_button_on_dialog_response): Directly update the
3833 button contents when required instead of calling _selection_changed.
3835 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3837 * src/hildon-program.c (hildon_program_update_top_most): Update
3838 'is-topmost' property also when wm_hints is not set.
3840 Fixes: NB#98383 (is-topmost signal is not emitted when task
3841 switcher is clicked.)
3843 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3845 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3849 * src/hildon-animation-actor.c,
3850 * src/hildon-animation-actor.h: Added the animation actor class,
3851 this widget represents an animation actor for WM-assisted
3852 animation effects in the Hildon framework.
3854 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3856 * src/hildon-window-stack-private.h
3857 * src/hildon-window-stack.c
3858 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3859 Avoid calling gtk_widget_show() again indirectly from
3860 hildon_stackable_window_show()
3862 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3867 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3869 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3870 (hildon_time_selector_init): Move the construction of the hours and
3871 ampm columns to the constructor to preserve the order the columns
3874 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-picker-dialog.c:
3877 (hildon_picker_dialog_class_init): Connect a realize method.
3878 (+hildon_picker_dialog_realize): Setup the interaction mode here
3880 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3881 yet, do it during the realize instead.
3882 (_on_dialog_response):
3883 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3884 if the widget is not realized, to avoid the dialog response before it
3887 Avoid premature responses in the HildonPickerDialog that can cause it
3888 to be hidden before it's even shown.
3890 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3892 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3893 (on_selector_columns_changed), (requires_done_button),
3894 (+prepare_action_area), (setup_interaction_mode),
3895 (_hildon_picker_dialog_set_selector):
3897 Split the interaction mode setup into preparation of the
3898 action area (prepare_action_area()) and the connection of
3899 the signals in setup_interaction_mode() and update the code to
3902 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3904 * src/hildon-pannable-area.c,
3905 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3906 per second to 15, we will check if this is ok regarding
3909 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3911 * src/hildon-pannable-area.c,
3912 (hildon_pannable_axis_scroll): Avoid resize if we already have
3913 reached overshoot_max.
3915 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3917 * src/hildon-pannable-area.c,
3918 (hildon_pannable_area_init),
3919 (hildon_pannable_area_realize),
3920 (hildon_pannable_area_size_allocate),
3921 (hildon_pannable_area_map),
3922 (hildon_pannable_area_unmap),
3923 (hildon_pannable_draw_vscroll),
3924 (hildon_pannable_draw_hscroll),
3925 (hildon_pannable_area_expose_event),
3926 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3927 pannable are to avoid the expose events go to the window and
3928 redraw the window. We save this way that part of the stack and the
3929 paint_boxes. We had to change the positions of the elements when
3932 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3934 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3935 * src/hildon-color-chooser-dialog.c:
3936 (hildon_color_chooser_dialog_init):
3937 * src/hildon-font-selection-dialog.c:
3938 (hildon_font_selection_dialog_init),
3939 (hildon_font_selection_dialog_show_preview):
3940 * src/hildon-get-password-dialog.c:
3941 * src/hildon-login-dialog.c:
3942 * src/hildon-set-password-dialog.c:
3943 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3944 * src/hildon-time-picker.c: (hildon_time_picker_init):
3946 Remove obsolete logical string IDs and update to the appropriate ones.
3948 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3950 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3952 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3953 that happens if the window hasn't been realized yet.
3955 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3956 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3958 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3960 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3961 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3964 Fixes: NB#98537 (Device hangs in account settings dialog)
3966 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3968 * configure.ac: post release version bump.
3969 * debian/changelog: version bump
3971 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3976 * configure.ac: Bump version.
3977 * debian/changelog: Updates.
3979 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3981 Added a new function to the HildonTimeButton widget that allows to
3982 change the step of the minutes in the selector associated with the
3983 button: hildon_time_button_new_step
3985 * src/hildon-time-button.c,
3986 (hildon_time_button_init),
3987 (hildon_time_button_new),
3988 (hildon_time_button_new_step):
3989 * src/hildon-time-button.h: Added the new function and refactored
3991 * examples/hildon-time-button-example.c,
3992 (main): We have replaced the function without parameters with the
3993 function with the steps set to 5
3995 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3997 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3999 * src/hildon-time-selector.c,
4000 (hildon_time_selector_class_init),
4001 (hildon_time_selector_constructor),
4002 (hildon_time_selector_get_property),
4003 (hildon_time_selector_set_property),
4004 (_create_minutes_model),
4005 (hildon_time_selector_new_step),
4006 (hildon_time_selector_set_time),
4007 * src/hildon-time-selector.h: Added a new property to the
4008 HildonTimeSelector (minutes-step), we use that property to control
4009 the steps between the minutes in the list of the selector. We have
4010 added a new function to the API to create a widget changing the
4011 step: hildon_time_selector_new_step.
4013 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4015 * src/hildon-time-selector.c,
4016 (hildon_time_selector_class_init),
4017 (hildon_time_selector_constructor),
4018 (hildon_time_selector_init): Overrided the construct function when
4019 creating the time selector object. We have moved the minutes model
4020 handling code from the init to the new construction function:
4021 hildon_time_selector_constructor.
4023 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4025 * examples/hildon-date-button-example.c: (main): Use the new
4026 hildon_date_button_new_with_year_range() method in the example.
4027 * src/hildon-date-button.c:
4028 (+hildon_date_button_new_with_year_range): New public method
4029 to conveniently create a HildonDateButton with a custom year range
4030 in its HildonDateSelector.
4031 * src/hildon-date-button.h: Add the new public method definition.
4033 Fixes: NB#97908 (Not possible to change the year range in
4034 HildonDateSelector/HildonDateButton)
4036 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4038 * src/hildon-date-selector.c:
4039 (+hildon_date_selector_set_property),
4040 (+hildon_date_selector_get_property),
4041 (hildon_date_selector_class_init): Install new properties "min-year"
4042 and "max-year" to define boundaries for the year column.
4043 (_create_year_model): Use the boundary properties to populate the model.
4044 (+hildon_date_selector_new_with_year_range): New public method to
4045 create a HildonDateSelector with a user defined year range.
4046 (hildon_date_selector_select_current_date): Use the new boundaries to
4047 calculate the iterator of current year.
4048 * src/hildon-date-selector.h: Add the new public method definition.
4050 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4052 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4053 Install a constructor method.
4054 (+hildon_date_selector_construct_ui): construct the widget.
4055 (+hildon_date_selector_constructor): new constructor.
4056 (+hildon_date_selector_init): move out widget construction code to
4057 the new constructor.
4059 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4061 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4062 that there's actually a month or year selected before obtaining them.
4063 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4064 of the HildonTouchSelector::changed signal, as it was emitted on every
4065 single item selection.
4067 Fix some warnings and possible crashers due to the selection restoring.
4069 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4071 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4072 the signal handlers only after creating the dialog instead of on every
4075 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4077 * src/hildon-button.c (hildon_button_init)
4078 * src/hildon-check-button.c (hildon_check_button_init)
4079 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4080 focus when clicked by default.
4082 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4084 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4087 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4089 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4090 Alejandro G. Castro (alex@igalia.com)
4092 * src/hildon-picker-dialog.c:
4093 (hildon_picker_dialog_class_init): install new "center-on-show"
4095 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4096 (hildon_picker_dialog_set_property): add setter code for the new
4098 (hildon_picker_dialog_get_property): add getter code for the new
4100 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4101 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4104 Fixes: NB#92849 (Selected item is not always visible when
4105 HildonTouchSelector is shown)
4107 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4109 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4110 Alejandro G. Castro (alex@igalia.com)
4112 * src/hildon-touch-selector.c:
4113 (_create_new_column): Do not connect to the "realize" signal of the
4115 (hildon_touch_selector_append_column): center on the selected items
4116 when a new column is appended.
4117 (hildon_touch_selector_select_iter): Factor out the code to select a
4118 column to hildon_touch_selector_scroll_to().
4119 (+search_nearest_element): Method to retrieve the nearest selected
4120 element to the visible area of the pannable area in a column.
4121 (+on_realize_cb): scroll to the initially selected item.
4122 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4123 the pannable area is realized, otherwise delay this until it is.
4124 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4125 selected items of a given column.
4126 (+hildon_touch_selector_center_on_selected): Public method to center
4127 all columns on the nearest selected item.
4128 * src/hildon-touch-selector.h: Add definition for
4129 hildon_touch_selector_center_on_selected().
4131 Implement public API to ensure visibility of all selected items in
4132 a HildonTouchSelector.
4134 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4136 Fixed a problem in the fading when calling the scroll_to API, and
4137 improve scrollbar fading handling.
4139 * src/hildon-pannable-area.c,
4140 (hildon_pannable_area_grab_notify): avoid the timeout when the
4142 (hildon_pannable_area_button_press_cb),
4143 (hildon_pannable_area_motion_notify_cb): Code style changes.
4144 (hildon_pannable_area_button_release_cb): Review the conditions
4145 when releasing the mouse button to avoid unrequired fading
4147 (hildon_pannable_area_scroll_to): Do not calculate and set the
4148 velocity if the scroll is not required.
4150 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4152 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4153 Don't check whether the new selector is NULL: it cannot be.
4154 Hold a reference to the selector while doing the replacement.
4156 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4158 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4159 unnecessary size_request in a removed widget.
4161 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4163 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4164 an unnecessary reference tracking that was leaking.
4166 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4168 Added delayed motion notify event handling, this way we can
4169 discard redrawing if more than 25 events arrive per second.
4171 * src/hildon-pannable-area.c,
4172 (hildon_pannable_area_init): Initialized the new private atributes
4173 controlling this timeout
4174 (hildon_pannable_area_dispose): Remove the timeout that controls
4175 the motion notify events.
4176 (hildon_pannable_area_scroll): Added a condition to control the
4177 use of the acceleration.
4178 (hildon_pannable_area_motion_event_scroll_timeout),
4179 (hildon_pannable_area_motion_event_scroll): Added this two
4180 functions, they handle the motion notify events inside the
4182 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4183 to the scroll method with the new function.
4184 (hildon_pannable_area_button_release_cb): We have to remove the
4185 timeout handler and move to the last position if the last motion
4186 events were not handled.
4188 Fixes: NB#97028 (Pannable area updates on every motion event)
4190 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4192 * src/hildon-pannable-area.c,
4193 (hildon_pannable_area_get_topmost): Added a new parameter to
4194 filter the the windows that do not include those events. Added
4195 also a condition when finding the window to filter windows that do
4196 not ask for those events.
4197 (hildon_pannable_area_button_press_cb),
4198 (hildon_pannable_area_button_release_cb),
4199 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4200 topmost function, we have added the new parameter.
4202 Fixes: NB#97458 (Pannable area prevents propagation of button
4205 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4207 * src/hildon-pannable-area.c,
4208 (hildon_pannable_area_initial_effect): Added controls before
4209 launching the timeout and the idle functions.
4210 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4211 of the method, in some situations it can return with TRUE and 0 in
4213 (hildon_pannable_area_button_press_cb): We do not need to set
4214 DELAY for fading out here.
4216 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4218 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4220 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4221 post-cleaning if the selection is not NULL.
4223 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4225 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4226 all items before restoring the selection.
4228 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-touch-selector.c:
4231 (+hildon_touch_selector_unselect_all):
4232 * src/hildon-touch-selector.h: New API to unselect all items in a
4233 column of the touch selector.
4235 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4237 * src/hildon-pannable-area.c,
4238 (hildon_pannable_area_redraw): Added a call to the refresh
4239 function inside the redraw because apparently in some cases the
4240 change in the adjustment does not imply a size allocate.
4242 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4243 despite the view not being scrollable)
4245 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4247 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4248 leak. Check for NULL before attempting to set the window title.
4250 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4252 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4253 whether to show or not the 'Done' button each time the dialog is
4254 shown, as it depends on the HildonTouchSelector selection mode.
4256 Fixes: NB#96226 (In multiple selection mode Done button is shown
4257 sometimes in listpicker)
4259 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4261 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4262 for the number of columns in the HildonTouchSelector more than once.
4264 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4266 * src/hildon-touch-selector.c: Minor documentation fixes.
4268 * src/hildon-picker-dialog.c (+_dialog_update_title)
4269 (_select_on_selector_changed_cb)
4270 (_update_title_on_selector_changed_cb)
4271 (on_selector_columns_changed): Update dialog title when there's no
4272 'Done' button and also when the number of columns in the selector
4276 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4277 (+_selection_changed, hildon_picker_button_on_dialog_response)
4278 (hildon_picker_button_selector_selection_changed)
4279 (+hildon_picker_button_selector_columns_changed)
4280 (hildon_picker_button_set_selector): Update button value and emit
4281 'value-changed' when the number of columns in the selector
4285 Fixes: NB#96225 (Dialog titles are not shown according to the
4286 values selected in the list picker)
4288 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4290 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4291 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4292 New "arrow-width" and "arrow-height" style properties to set the
4293 size of the arrow button.
4294 Set name of arrow button ("hildon-edit-toolbar-arrow").
4296 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4297 graphics from theme)
4299 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4301 * src/hildon-picker-button.c:
4302 (hildon_picker_button_selector_selection_changed): Use
4303 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4304 the dialog is present.
4306 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4307 the selection is accepted in the dialog)
4309 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4311 * src/hildon-color-chooser.h
4312 * src/hildon-color-chooser-dialog.h:
4313 Added G_BEGIN_DECLS and G_END_DECLS
4315 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4317 (_clean_current_selection): plug a leak in the list.
4319 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4321 * src/hildon-picker-dialog.c:
4322 (+free_path_list): Method to free a GList of GtkTreePaths.
4323 (_clean_current_selection), (_save_current_selection),
4324 (_restore_current_selection): Save the current selection in
4325 as a list of lists, to support multiple selection properly.
4327 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4329 patch by Claudio Saavedra (csaavedra@igalia.com)
4331 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4332 Store the press position.
4333 (+hildon_text_view_button_release_event): If the release position is
4334 close enough to the press position, move the cursor here. Otherwise,
4336 (hildon_text_view_class_init): Override GtkTextView press, release, and
4337 motion event handlers, disabling this way text selection through
4338 pointer interaction, and allowing the container widget to handle the
4341 Fixes: NB#95828 (HildonTextView functionality)
4343 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4345 Based on a patch by Iván Gómez (igomez@igalia.com)
4347 * src/hildon-button.[ch]
4348 * src/hildon-calendar.c
4349 * src/hildon-check-button.c
4350 * src/hildon-date-editor.c
4351 * src/hildon-date-selector.c
4352 * src/hildon-picker-button.c
4353 * src/hildon-time-editor.c
4354 * src/hildon-time-selector.c
4355 * src/hildon-touch-selector.[ch]:
4356 Documentation updates
4358 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4360 * src/hildon-pannable-area.c,
4361 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4362 threshold, it was required due to X events handling.
4364 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4366 * src/hildon-pannable-area.c,
4367 (hildon_pannable_area_grab_notify),
4368 (hildon_pannable_area_initial_effect),
4369 (hildon_pannable_area_button_press_cb),
4370 (hildon_pannable_area_button_release_cb),
4371 (hildon_pannable_area_scroll_cb),
4372 (hildon_pannable_area_scroll_to): Review the timeout management of
4373 the scrollbar, the frecuency was incorrectly set.
4375 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4377 * src/hildon-picker-button.c:
4378 (+hildon_picker_button_on_dialog_response),
4379 (hildon_picker_button_clicked): Present the dialog instead of
4380 running it with gtk_dialog_run().
4382 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4385 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4387 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4388 (hildon_app_menu_finalize): When a window is hidden it doesn't
4389 emit notify::is-topmost, so make sure than the menu also
4390 disappears in that case.
4391 (parent_window_topmost_notify): Renamed from parent_window_hidden
4393 Fixes: NB#94460 (stackable window's menu is not closed when its
4396 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4398 * src/hildon-touch-selector-entry.c:
4399 (+hildon_touch_selector_entry_set_input_mode),
4400 (+hildon_touch_selector_entry_get_input_mode):
4401 * src/hildon-touch-selector-entry.h: New methods to access the input
4402 mode in the selector's entry.
4404 Fixes: NB#93410 (API required for setting IM mode in
4405 HildonTouchSelectorEntry)
4407 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4409 * configure.ac: post release version bump.
4410 * debian/changelog: version bump
4412 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4417 * configure.ac: Bump version.
4418 * debian/changelog: Updates.
4420 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4422 * src/hildon-touch-selector.c:
4423 (_hildon_touch_selector_has_multiple_selection): No need
4424 to initialize the variables here.
4426 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4428 * src/hildon-note-private.h
4429 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4430 (hildon_note_finalize, hildon_note_rebuild): Close information
4431 notes when they receive a button press.
4433 Fixes: NB#89890 (Information notes does not get disappeared after
4436 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4438 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4439 mark from the wizard title, as it's not really necessary. Also,
4440 do not display the page title if not set.
4442 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4444 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4445 (parent_window_hidden): Use the window's "is-topmost" property to
4446 detect when to hide the menu.
4448 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4450 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4451 (hildon_app_menu_finalize): If the parent window of the menu is
4452 hidden, hide the menu too.
4454 Fixes: NB#94460 (stackable window's menu is not closed when its
4457 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4460 * debian/libhildon1-examples.install
4462 * examples/Makefile.am:
4463 Use dh_install to install all examples.
4464 Use DEB_SRCDIR instead of defining SOURCE_DIR
4466 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4468 * configure.ac: post release version bump.
4469 * debian/changelog: version bump
4471 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4476 * configure.ac: bump version
4477 * debian/changelog: updates
4478 * debian/control: bump gtk+ dependency
4480 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4482 patch by Christian Dywan (christian@imendio.com)
4484 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4485 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4487 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4489 * src/hildon-check-button.c (hildon_check_button_init)
4490 (hildon_check_button_class_init, hildon_check_button_style_set)
4491 (hildon_check_button_apply_style):
4492 New "checkbox-size" style property.
4494 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4495 larger / configurable size)
4497 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4499 * configure.ac: post release version bump.
4500 * debian/changelog: version bump
4502 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4507 * configure.ac: bump version
4508 * debian/changelog: updates
4510 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4512 * doc/hildon-sections.txt
4513 * src/hildon-pannable-area.c
4514 * src/hildon-program.c
4515 * src/hildon-time-editor.c
4516 * src/hildon-touch-selector-entry.c:
4518 More documentation updates.
4520 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4522 * doc/hildon-sections.txt
4523 * src/hildon-caption.c
4524 * src/hildon-code-dialog.c
4525 * src/hildon-color-button.c
4526 * src/hildon-controlbar.c
4527 * src/hildon-date-editor.c
4528 * src/hildon-date-selector.c
4529 * src/hildon-edit-toolbar.c
4530 * src/hildon-find-toolbar.c
4531 * src/hildon-font-selection-dialog.c
4533 * src/hildon-program.c
4534 * src/hildon-range-editor.c
4535 * src/hildon-seekbar.c
4536 * src/hildon-time-editor.c
4537 * src/hildon-time-selector.c
4538 * src/hildon-volumebar-range.c
4539 * src/hildon-volumebar.c
4540 * src/hildon-vvolumebar.c
4541 * src/hildon-weekday-picker.c
4542 * src/hildon-window.c
4543 * src/hildon-wizard-dialog.c:
4545 Lots of documentation fixes.
4547 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4549 Patch contributed by Iván Gómez (igomez@igalia.com)
4551 * src/hildon-check-button.c:
4552 * src/hildon-date-button.c:
4553 * src/hildon-date-selector.c:
4554 * src/hildon-dialog.c:
4555 * src/hildon-edit-toolbar.c:
4556 * src/hildon-entry.c:
4557 * src/hildon-picker-button.c:
4558 * src/hildon-program.c:
4559 * src/hildon-text-view.c:
4560 * src/hildon-time-button.c:
4561 * src/hildon-touch-selector-entry.c:
4562 * src/hildon-window-stack.c:
4564 Add more "since" tags to the new API.
4566 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4568 * doc/hildon-sections.txt: Add below method.
4569 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4570 version for the hildonized scale.
4571 * src/hildon-gtk.h: Add the definition.
4573 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4575 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4577 * doc/hildon-sections.txt: Add missing entries for new methods.
4579 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4581 Added API to pannable are in order to get its adjustments. We
4582 added two properties to manage the values we had in the private
4585 * src/hildon-pannable-area.c:
4586 (hildon_pannable_area_class_init): Added hadjustment and
4587 vadjustment properties in order to expose horizontal and vertical
4589 (hildon_pannable_area_get_property),
4590 (hildon_pannable_area_set_property): Added code to handle the new
4592 (hildon_pannable_area_get_hadjustment),
4593 (hildon_pannable_area_get_vadjustment): API functions to get the
4595 * src/hildon-pannable-area.h:
4596 (hildon_pannable_area_get_hadjustment),
4597 (hildon_pannable_area_get_vadjustment): API functions to get the
4600 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4602 Fixed some leaks, after valgrinding.
4604 * src/hildon-touch-selector.c:
4605 (_default_print_func): Fixed a leak.
4606 (hildon_touch_selector_append_column): Fixed a leak.
4607 * src/hildon-date-button.c:
4608 (hildon_date_button_init): Fixed a leak.
4609 * src/hildon-date-selector.c
4610 (hildon_date_selector_finalize): Fixed a leak.
4612 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4614 Based on a patch by Christian Dywan (christian@imendio.com)
4616 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4618 * src/hildon-gtk.h: Add definition.
4620 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4622 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4624 * src/hildon-picker-button.c: (hildon_picker_button_init),
4625 (hildon_picker_button_new): Set the HildonButton::style property
4626 in the init method, to propagate the value to the derived classes.
4628 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4630 * src/hildon-button.c: (hildon_button_class_init): Do not make
4631 the "style" property a construct property.
4633 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4635 * src/hildon-wizard-dialog.h
4636 * src/hildon-wizard-dialog.c
4637 (hildon_wizard_dialog_set_forward_page_func)
4638 * src/hildon-pannable-area.h
4639 * src/hildon-pannable-area.c
4640 (hildon_pannable_area_set_size_request_policy):
4641 Documentation fixes.
4643 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4645 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4647 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4649 * doc/hildon-sections.txt: Added sections file.
4651 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4654 * src/*.[ch]: Updates.
4656 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4658 * examples/hildon-progress-indicator-example.c: new file
4659 * examples/Makefile.am: include the new example program
4661 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4663 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4665 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4667 * configure.ac: post release version bump
4668 * debian/changelog: version bump
4670 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4675 * configure.ac: bump version
4676 * debian/changelog: updates
4677 * debian/control: bump gtk+ dependency
4679 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4681 * src/hildon-dialog.c: Mark as deprecated.
4682 * src/hildon-dialog.h: Mark as deprecated.
4683 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4684 from HildonDialog and still work, even if
4685 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4686 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4688 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4689 maemo changes) instead)
4691 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4693 * src/hildon-pannable_area.h:
4694 * src/hildon-pannable_area.c:
4695 (hildon_pannable_area_class_init),
4696 (hildon_pannable_area_set_property),
4697 (hildon_pannable_area_get_property),
4698 (hildon_pannable_area_size_request),
4699 (hildon_pannable_area_get_size_request_policy),
4700 (hildon_pannable_area_set_size_request_policy): Added new API
4701 allowing applications to control the request policy. Now they can
4702 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4703 children allocation (HILDON_MOVEMENT_CHILDREN).
4705 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4709 (hildon_gtk_tree_view_set_ui_mode)
4710 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4711 mode of treeviews and iconviews.
4713 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4715 * src/hildon-touch-selector-entry.c:
4716 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4717 of a GtkEntry to get proper theming.
4719 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4720 widget, not GtkEntry)
4722 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4724 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4725 no HildonWizardDialogPageFunc.
4727 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4729 Patch contributed by Iván Gómez (igomez@igalia.com)
4731 * src/hildon-app-menu.c:
4732 * src/hildon-button.c:
4733 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4734 * src/hildon-stackable-window.c:
4735 * src/hildon-time-selector.c:
4736 * src/hildon-touch-selector.c:
4737 * src/hildon-window.c:
4739 Add more "since" tags to the new API in hildon 2.2.
4741 2008-12-05 Tim Janik <timj@imendio.com>
4743 Patch contributed by Christian Dywan (christian@imendio.com)
4745 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4746 HildonSizeType, which are supplied by Gtk+ now.
4748 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4750 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4751 (with maemo changes) instead)
4753 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4755 Patch contributed by Iván Gómez (igomez@igalia.com)
4757 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4760 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4762 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4763 (some_page_func), (main): Update the example to use a
4764 HildonWizardDialogPageFunc function.
4766 * src/hildon-wizard-dialog-private.h: Add private data for
4767 the HildonWizardDialogPageFunc function usage.
4769 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4770 (destroy), (hildon_wizard_dialog_init), (response),
4771 (hildon_wizard_dialog_set_forward_page_func):
4772 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4773 that applications can use to stop a HildonWizardDialog to jump to
4776 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4779 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4781 * src/hildon-program.h
4782 * src/hildon-program-private.h
4783 * src/hildon-program.c (hildon_program_init)
4784 (hildon_program_set_common_app_menu)
4785 (hildon_program_get_common_app_menu):
4786 New API for setting a common HildonAppMenu for all
4787 HildonStackableWindows registered with the HildonProgram.
4789 * src/hildon-stackable-window.c
4790 (hildon_stackable_window_toggle_menu):
4791 Use the common HildonAppMenu if a window doesn't have a specific
4794 * src/hildon-app-menu-private.h
4795 * src/hildon-app-menu.c
4796 (hildon_app_menu_get_parent_window):
4797 Function to obtain the window a HildonAppMenu is attached to.
4798 (hildon_app_menu_set_parent_window):
4799 Hide the menu if the parent window is set to NULL.
4801 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4803 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4804 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4805 search widget to popup.
4807 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4809 * configure.ac: post release version bump
4810 * debian/changelog: version bump
4812 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4817 * configure.ac: bump version
4818 * debian/changelog: updates
4820 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4822 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4824 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4825 (hildon_window_stack_window_realized)
4826 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4827 Set the leader GdkWindow when a window is stacked and realized,
4828 unset it when it's unstacked.
4829 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4831 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4833 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4835 * src/hildon-stackable-window.h
4836 * src/hildon-window-stack.h:
4837 Protect definition of HildonWindowStack using the preprocessor.
4839 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4841 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4842 Fix warning if all menu items are hidden.
4844 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4846 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4848 * src/hildon-controlbar.c:
4849 * src/hildon-hvolumebar.c:
4850 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4851 Multiple scale size defines updates.
4853 Fixes: NB#94322 (Scale Updates)
4855 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4857 * examples/hildon-app-menu-example.c (create_menu)
4858 Show items after adding them to the menu, as in the future the
4859 menu will no longer call gtk_widget_show() on the added items.
4861 * src/hildon-app-menu.c:
4862 Update example as explained above.
4864 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4866 * src/hildon-app-menu.c
4867 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4868 Make sure that all menu items have finger height.
4870 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4872 * src/hildon-picker-dialog.c:
4873 (_on_dialog_response), (_save_current_selection),
4874 (_restore_current_selection), (_clean_current_selection),
4875 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4876 Defined new functions in order to save the current internal selector
4877 selection previous open the dialog, in case that the use cancel the
4878 interaction, so the widget restores the previous selection.
4880 Fixes: NB#92032 (In calendar application, date values in 'new event'
4883 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4885 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4887 * src/hildon-button.c: Add a reference to the button examples in
4888 hildon-button-example.c
4890 * examples/hildon-button-example.c: Added examples of the most
4891 common button layouts.
4893 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4895 * src/hildon-app-menu.c (hildon_app_menu_show)
4896 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4898 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4900 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4902 * src/hildon-picker-dialog.c:
4903 (hildon_picker_dialog_init): Initialize the signal id for
4904 HildonTouchSelector::columns-changed.
4905 (+on_selector_columns_changed): Set up the interaction mode everytime a
4906 column is added or removed from the HildonTouchSelector.
4907 (_hildon_picker_dialog_set_selector): Connect to
4908 HildonTouchSelector::columns-changed and keep track of it.
4910 Make sure to update the interaction mode of the dialog everytime a
4911 column is added or removed in the HildonTouchSelector.
4913 Fixes: NB#93228 (Done button is not shown always in listpicker)
4915 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4917 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4918 a new ::columns-changed signal.
4919 (hildon_touch_selector_append_column): Emit ::columns-changed.
4920 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4922 Add a ::columns-changed signal, emitted when the number of columns in a
4923 HildonTouchSelector changes.
4925 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4928 (_hildon_picker_dialog_set_selector): Factor out the code
4929 to set up the dialog interaction mode.
4931 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4933 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4934 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4935 to signal_changed_id.
4937 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4939 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4942 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4944 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4945 Updated the logical ids related to ampm format, as now it is required to
4946 show it correctly localized even on languages with no default
4947 abbreviations for am or pm
4948 (_check_am_pm_format): check correctly the 24h format gconf property
4950 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4952 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-button.c: Documentation updates.
4956 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4958 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4959 * src/hildon-caption.c: (hildon_caption_class_init):
4960 * src/hildon-color-button.c: (hildon_color_button_class_init):
4961 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4962 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4963 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4964 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4966 Remove deprecated GTK+ marshalers and replace them with the ones
4967 provided by GLib, for those available, add a marshaler for
4968 BOOLEAN:VOID, which is not available in GLib, and use it.
4970 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4972 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4973 the text from the previous column if there is no
4974 HildonTouchSelectorColumn::text-property set.
4976 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4978 * src/hildon-button.h
4979 * src/hildon-button.c (hildon_button_set_property)
4980 (hildon_button_get_property, hildon_button_class_init)
4981 (hildon_button_set_style, hildon_button_get_style):
4982 New "style" property to change the visual appearance of the
4985 * src/hildon-picker-button.c (hildon_picker_button_new):
4986 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4988 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4989 HildonButton look like PickerButton)
4991 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4993 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4994 column while building the default string.
4996 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4998 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4999 scroll indicator by default.
5001 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5003 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5005 * src/hildon-main.c: Fix the documentation for hildon_init()
5007 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5009 * doc/hildon-docs.sgml
5013 * src/hildon-window-stack-private.h
5014 * src/hildon-window-stack.h
5015 * src/hildon-window-stack.c:
5016 New HildonWindowStack object, that adds support for multiple
5017 stacks of windows per process.
5019 * src/hildon-stackable-window-private.h
5020 * src/hildon-stackable-window.h
5021 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5022 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5023 (hildon_stackable_window_show, hildon_stackable_window_hide)
5024 (hildon_stackable_window_class_init)
5025 (hildon_stackable_window_init):
5026 Use HildonWindowStack for stack management.
5028 * src/hildon-program.c (hildon_program_pop_window_stack)
5029 (hildon_program_peek_window_stack)
5030 (hildon_program_go_to_root_window):
5031 Add a fallback implementation to the deprecated functions using
5034 * examples/hildon-stackable-window-example.c:
5035 Use the new HildonWindowStack API.
5037 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5039 * src/hildon-stackable-window-private.h
5040 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5041 (hildon_stackable_window_hide, hildon_stackable_window_init):
5042 Remove all window stack management.
5044 * src/hildon-program-private.h
5045 * src/hildon-program.h
5046 * src/hildon-program.c (hildon_program_init)
5047 (hildon_program_pop_window_stack)
5048 (hildon_program_peek_window_stack)
5049 (hildon_program_go_to_root_window):
5050 Remove all window stack management and mark functions as
5053 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-app-menu.c (hildon_app_menu_realize):
5056 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5058 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5060 * configure.ac: post release version bump
5061 * debian/changelog: version bump
5063 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5068 * configure.ac: bump version
5069 * debian/changelog: updates
5071 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5073 Based on initial code by Christian Dywan (christian@imendio.com)
5075 * doc/hildon-docs.sgml: Add section for hildon-main.
5076 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5077 * src/Makefile.am: Add new hildon-main.[ch]
5078 * src/hildon-defines.h: Update the icon sizes.
5079 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5080 new library initialization files and register icon sizes.
5081 * src/hildon-main.h: New declarations.
5082 * src/hildon.h: Include hildon-main.h
5084 Add new initialization functions to the library. These methods
5085 will register the hildon specific icon sizes and can be used in the
5086 future for other hildon specific bits.
5088 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5090 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5092 * src/hildon-window.c: (hildon_window_realize),
5093 (hildon_window_notify), (-hildon_window_update_title): Do not set
5094 the application name in the window title.
5096 Fixes: NB#89754 (Applications shouldn't display their names in the
5099 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5101 * src/hildon-note-private.h:
5102 * src/hildon-note.c: (hildon_note_set_property),
5103 (hildon_note_get_property), (hildon_note_class_init),
5104 (hildon_note_init), (hildon_note_finalize),
5105 (hildon_note_new_confirmation_with_icon_name),
5106 (hildon_note_new_information_with_icon_name):
5108 No need to mark as deprecated the actual code. Revert
5109 to avoid missing symbols in widgets using deprecated API.
5111 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5113 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5115 * src/hildon-volumebar.h
5116 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5117 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5119 * src/hildon-helper.h
5120 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5121 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5123 * examples/Makefile.am:
5124 Deprecate hildon-insensitive-example
5126 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5128 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5130 * examples/hildon-pannable-area-buttons-scroll-example.c:
5131 Make all buttons finger height
5133 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5135 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5137 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5138 update the day model only if it is really required, and to avoid the
5139 full-reconstruction aproach. Now it only add or remove the required days.
5141 The purpose of this is avoid superfluous HildonTouchSelector::changed
5144 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5145 with strange parameters)
5147 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5149 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5151 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5152 the WINDOW_TYPE property.
5154 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5156 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5159 Fix dependency to allow parallel compilation with make -jX
5161 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5163 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5164 color frame and some minor tweaks to make it more consistent with
5167 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5168 highlighted but not visible)
5170 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5172 * examples/Makefile.am: Fixed typo in the Makefile.am.
5174 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5176 Reviewed the use of MAEMO_GTK define, now we add the define in the
5177 compilation line, and we also add it to the pc file.
5179 * configure.ac: Added MAEMO_GTK define to the compilation command
5180 and removed it from the config.h.
5182 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5183 do not have to take care about this define if the library was
5187 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5189 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5191 * examples/Makefile.am,
5192 * examples/hildon-pannable-area-buttons-scroll-example.c,
5193 * examples/hildon-pannable-area-gesture-signals-example.c,
5194 * examples/hildon-pannable-area-scroll-jump-example.c,
5195 * examples/hildon-pannable-area-tree-view-example.c:
5196 Renamed the pannable area examples, now they have more meaningful
5199 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5201 * src/hildon-touch-selector.c:
5202 (hildon_touch_selector_set_column_selection_mode): Used of
5203 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5204 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5205 to avoid re-seting the same selection mode.
5207 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5208 breaks HildonPickerDialog)
5210 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5212 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5213 conditional in the Makefile.am
5215 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5217 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5218 Remove unused methods.
5220 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5222 * src/hildon-button.c (hildon_button_init):
5223 Make button images center-aligned by default
5225 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5228 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5229 activated, we have to think about how to deal with both defines
5230 MAEMO_GTK and MAEMO_CHANGES.
5232 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5234 * examples/hildon-app-menu-example.c (create_menu): Make all
5235 buttons finger size.
5237 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5239 Fixed the compilation without maemo gtk adding ifdefs with
5240 MAEMO_GTK define to the code, we have to check this version more
5243 * examples/Makefile.am: Added control to avoid some examples that
5244 just make sense with maemo gtk.
5247 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5248 hildon modes with the define.
5250 * examples/hildon-edit-toolbar-example.c,
5251 (create_icon_view): Create the icon view without hildon-gtk
5252 helpers if we are not using maemo gtk.
5254 * src/hildon-touch-selector.c,
5255 (_create_new_column): Create the treeview without hildon-gtk
5256 helpers if we are not using maemo gtk.
5258 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5260 * src/hildon-pnnable-area.c,
5261 (hildon_pannable_area_dispose),
5262 (hildon_pannable_area_button_press_cb),
5263 (hildon_pannable_area_child_mapped),
5264 (hildon_pannable_area_add),
5265 (hildon_pannable_area_remove): Added code to control the position
5266 of the event_window when adding and removing children from the
5267 pannable. We have to raise the event window when the child is
5270 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5271 selection mode using custom widget inside pannable)
5273 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5275 * configure.ac: post release version bump
5276 * debian/changelog: version bump
5278 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5283 * configure.ac: bump version
5284 * debian/changelog: updates
5286 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5288 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5289 search mode, in order to avoid lose the focus on the treeview when
5290 a hw key (like enter) is pressed.
5292 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5293 in HildonDateSelector dialog)
5295 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5297 * debian/rules: Added --enable-maintainer-mode
5298 * Makefile.am: Added ACLOCAL_AMFLAGS
5300 This allows to properly regenerate the Makefiles if you modify the
5301 configure.ac or any Makefile.am.
5303 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5305 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5306 properties, not needed at all.
5308 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5310 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5312 * src/hildon-note.c: (hildon_note_set_property),
5313 (hildon_note_get_property), (hildon_note_class_init),
5314 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5315 (hildon_note_new_confirmation_add_buttons): Remove icons.
5316 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5317 (hildon_note_new_information_with_icon_name): Deprecate.
5318 (hildon_note_new_confirmation): Act directly, without calling
5319 the deprecated constructor.
5320 (hildon_note_new_information): Act directly, without calling
5321 the deprecated constructor.
5322 * src/hildon-note.h: Mark deprecate methods as such.
5323 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5324 not run tests on the deprecated methods if built with deprecation
5327 Fixes: NB#91688 (Never show icons in information notes/confirmation
5330 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5332 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5333 (hildon_app_menu_key_press): Remove leftover usage of the
5334 private structure in HildonAppMenu struct.
5335 * src/hildon-app-menu.h: Remove leftover private structure
5336 from the HildonAppMenu struct.
5338 Fixes a crasher when using the HildonAppMenu.
5340 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5342 * src/hildon-picker-dialog.c: Use appropriate logical id
5343 for the default "Done" text.
5345 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5347 * configure.ac: post release version bump
5348 * debian/changelog: version bump
5350 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5352 Modified the way to scroll to the current selection just when the touch
5353 selector is shown on the screen, avoiding a g_idle. Added too a property
5354 to configure this behaviour. See hildon_pannable_area_jump_to_child
5355 documentation for more information.
5357 * src/hildon-touch-selector.c
5358 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5359 Added 'initial-scroll' property
5360 (hildon_touch_selector_set_property): Added
5361 (hildon_touch_selector_map): Removed as not required anymore
5362 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5363 only a concrete column, instead of iterate along all the columns
5365 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5370 * configure.ac: bump version
5371 * debian/changelog: updates
5373 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5375 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5376 compilation time warnings.
5378 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5380 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5381 the default value for HildonPannableArea::mov-mode to
5382 HILDON_PANNABLE_AREA_MODE_VERT.
5384 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5386 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5388 Reverting following commit:
5390 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5392 * src/hildon-app-menu-private.h
5393 * src/hildon-app-menu.[ch]
5394 * src/hildon-button.[ch]
5395 * src/hildon-check-button.[ch]
5396 * src/hildon-entry.[ch]
5397 * src/hildon-pannable-area.[ch]
5398 * src/hildon-text-view.[ch]:
5399 Added private field to the object's structure.
5401 because it causes an ABI breakage. We will need to introduce these
5402 changes later at some point. See NB#91636 for an extensive
5403 explanation and status.
5405 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5407 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5409 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5410 remove special cases that are no longer necessary.
5412 Fixes: NB#91016 (Change toolbar sizes, simplification)
5414 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5416 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5417 is shown in the cancel note.
5419 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5421 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5422 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5423 (hildon_seekbar_init): Remove steppers, remove expose event.
5424 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5426 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5428 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5430 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5431 label font to "SmallSystemFont" for vertically arranged buttons.
5433 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5436 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5438 * src/hildon-check-button.c
5439 (hildon_check_button_set_active, hildon_check_button_clicked):
5440 Don't access private parts directly, use getters instead.
5442 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5444 * src/hildon-check-button.c (hildon_check_button_new):
5445 Align the contents of the check button to the left.
5447 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5449 * src/hildon-pannable-area.c,
5450 (hildon_pannable_area_scroll_to),
5451 (hildon_pannable_area_jump_to),
5452 (hildon_pannable_area_scroll_to_child),
5453 (hildon_pannable_area_jump_to_child): Replace the mapped
5454 precondition of these functions with the realized, it is the
5455 correct state of the widget in this case. Changed the
5456 documentation according to this modification.
5458 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5460 Added a new EXTRA_CFLAGS option to add the deprecated define to
5461 the compilation command. This way we can avoid using the define in
5462 the documentation compilation.
5464 * configure.ac: Defined EXTRA_CFLAGS.
5466 * examples/Makefile.am:
5468 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5470 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5472 * src/hildon-picker-dialog.c:
5473 Defined a utility macro with the desired touch selector height
5474 Removed currently unused separator, and title_label variables from
5476 (hildon_picker_dialog_init): Removed code related to the creation
5477 of unused private variables title_label and separator.
5478 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5479 to ensure correct visualization of the touch selector inside the dialog.
5480 * src/hildon-touch-selector.c
5481 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5482 ensure a concrete height of the widget.
5484 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5487 * tests/Makefile.am:
5489 Remove spurious whitespaces.
5491 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5493 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5494 compilation warning after the cancel button removal.
5496 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5498 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5500 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5501 Makefile.am, that way we can choose not to compile some examples
5502 and tests of the deprecated widgets.
5504 * examples/Makefile.am: Divided the sources in deprecated and
5507 * src/Makefile.am: Added undef statement of the deprecated
5508 symbol to the enums file generation process.
5510 * src/hildon-color-chooser-dialog.c
5511 * src/hildon-color-chooser-dialog.h
5512 * src/hildon-color-button.c
5513 * src/hildon-color-button.h
5514 * src/hildon-color-chooser.c
5515 * src/hildon-color-chooser.h
5516 * src/hildon-controlbar.c
5517 * src/hildon-controlbar.h
5518 * src/hildon-date-editor.c
5519 * src/hildon-date-editor.h
5520 * src/hildon-hvolumebar.c
5521 * src/hildon-hvolumebar.h
5522 * src/hildon-private.c
5523 * src/hildon-private.h
5524 * src/hildon-range-editor.c
5525 * src/hildon-range-editor.h
5526 * src/hildon-seekbar.c
5527 * src/hildon-seekbar.h
5528 * src/hildon-time-editor.c
5529 * src/hildon-time-editor.h
5530 * src/hildon-time-picker.c
5531 * src/hildon-time-picker.h
5532 * src/hildon-volumebar.c
5533 * src/hildon-volumebar.h
5534 * src/hildon-vvolumebar.c
5535 * src/hildon-vvolumebar.h
5536 * src/hildon-bread-crumb-trail.h
5537 * src/hildon-bread-crumb-trail.c
5538 * src/hildon-calendar-popup.c
5539 * src/hildon-calendar-popup.h
5540 * src/hildon-weekday-picker.c:
5541 * src/hildon-weekday-picker.h:
5542 * src/hildon-bread-crumb-widget.c:
5543 * src/hildon-bread-crumb-widget.h:
5544 * src/hildon-bread-crumb.c:
5545 * src/hildon-bread-crumb.h:
5546 * src/hildon-calendar.c:
5547 * src/hildon-calendar.h:
5548 * src/hildon-caption.c:
5549 * src/hildon-code-dialog.c:
5550 * src/hildon-code-dialog.h:
5551 * src/hildon-font-selection-dialog.c:
5552 * src/hildon-font-selection-dialog.h:
5553 * src/hildon-get-password-dialog.c:
5554 * src/hildon-get-password-dialog.h:
5555 * src/hildon-login-dialog.c:
5556 * src/hildon-login-dialog.h:
5557 * src/hildon-number-editor.c:
5558 * src/hildon-number-editor.h:
5559 * src/hildon-set-password-dialog.c:
5560 * src/hildon-set-password-dialog.h:
5561 * src/hildon-sort-dialog.c:
5562 * src/hildon-sort-dialog.h: This is the list of deprecated
5565 * src/hildon-touch-selector.c:
5566 * src/hildon-window.c: Added undef statement to avoid compilation
5569 * tests/Makefile.am: Divided the sources in deprecated and
5572 * tests/check_test.c,
5573 (configure_tests): Marked the deprecated code that was adding
5574 suites with deprecated tests.
5576 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5578 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5580 * src/hildon-touch-selector.c: (_default_print_func): Do not
5581 duplicate a string returned by gtk_tree_model_get(), it is already
5584 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5587 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5589 * src/hildon-pannable-area.c
5590 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5591 method, it had problems when adding a widget with viewport the
5592 second time. Now checks if it already has a viewport and uses it.
5594 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5597 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5599 * src/hildon-pannable-area.c,
5600 (hildon_pannable_area_scroll_to),
5601 (hildon_pannable_area_jump_to),
5602 (hildon_pannable_area_scroll_to_child),
5603 (hildon_pannable_area_jump_to_child): Added a precondition to the
5604 scroll and jump to functions: the widget must be mapped before we
5605 can safely call these functions. We have also added documentation
5606 to the functions to explain how to use them in this situation.
5609 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5611 Reviewed the threading handling of the pannable widget, we have
5612 used the gdk_threads_add_timeout function instead of the usual
5613 glib handlers. This avoids some problems with the threads.
5615 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5616 (hildon_pannable_area_initial_effect),
5617 (hildon_pannable_area_scroll_indicator_fade),
5618 (hildon_pannable_area_button_press_cb),
5619 (hildon_pannable_area_timeout),
5620 (hildon_pannable_area_motion_notify_cb),
5621 (hildon_pannable_area_button_release_cb),
5622 (hildon_pannable_area_scroll_cb),
5623 (hildon_pannable_area_scroll_to): Removed the
5624 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5625 gdk_threads_add_timeout.
5627 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5629 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5634 * configure.ac: bump version
5635 * debian/changelog: updates
5637 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5639 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5640 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5641 * src/hildon-color-chooser-dialog.c:
5642 (hildon_color_chooser_dialog_init):
5643 * src/hildon-font-selection-dialog.c:
5644 (hildon_font_selection_dialog_init):
5645 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5647 Remove all cancel/close-like dialogs, as these are not going to be
5650 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5652 * src/hildon-note.c: (hildon_note_rebuild),
5653 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5656 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5658 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5660 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5661 sure all buttons are shown, even the Cancel/Close-like ones.
5663 Fixes: NB#90861 (Custom Confirmation dialogs should be
5664 protected from cancel button removal)
5666 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5668 * debian/control: Change libhildon1-examples dependency from libhildon1
5670 * debian/libhildon1-examples.install
5672 * Makefile.am: Modified the final install directory for the examples on
5673 package libhildon1-examples
5674 * Makefile.static: Update clean target in order to remove all the binary
5677 Changes suggested by Claudio after review new libhildon1-examples package
5679 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5681 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5682 * src/hildon-touch-selector.c: Ditto.
5684 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5686 * debian/control: Added new package libhildon1-examples, in order to pack
5687 the current hildon examples as documentation
5688 * debian/rules: Not to compress .c files, modify some includes on the
5689 examples (as normally are compiled locally, but when installed it will
5690 require to include the installed libhildon1 library), and rename
5692 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5693 install all the example files on the new example package
5694 * examples/Makefile.static: Added static makefile that can be used to
5695 compile the examples, once installed the new example package
5696 * examples: Most of the examples were modified in order to grant that
5697 all use only '#include "hildon.h"', in order to be easy to prepare
5698 it on the example package
5700 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5703 * debian/libhildon1-dev.install
5704 * debian/libhildon1-doc.install:
5705 Move all gtk-doc files to a separate libhildon1-doc package.
5707 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5709 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5711 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5713 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5715 * debian/rules: Fixed a error in order to avoid unnecessary calls
5716 to autogen.sh on package building
5718 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5720 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5722 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5724 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5727 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5729 * src/hildon-picker-button.c
5730 (hildon_picker_button_finalize):
5731 Free priv->done_button_text
5733 * src/hildon-time-button.c
5734 (hildon_time_button_set_time)
5735 * src/hildon-picker-button.c
5736 (hildon_picker_button_clicked)
5737 (hildon_picker_button_selector_selection_changed)
5738 (hildon_picker_button_set_selector)
5739 * src/hildon-date-button.c
5740 (hildon_date_button_set_date):
5741 Free strings returned by hildon_touch_selector_get_current_text()
5743 * src/hildon-button.c (hildon_button_construct_child):
5744 Fix leaks in priv->image and priv->label_box
5746 Fixes: NB#90535 (Memory leak in picker button)
5748 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5750 * src/hildon-button.c: (hildon_button_get_property): Do not access
5751 private elements directly, use getters instead.
5753 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5755 * src/hildon-app-menu-private.h
5756 * src/hildon-app-menu.c
5757 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5758 Store the menu's parent window.
5760 * src/hildon-stackable-window.c
5761 (hildon_stackable_window_toggle_menu)
5762 (hildon_stackable_window_finalize):
5763 Set the menu's parent window when the menu is shown, unset it when
5766 * src/hildon-app-menu.c
5767 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5768 (hildon_app_menu_class_init):
5769 Send unhandled keyboard accelerators to the parent window.
5771 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5773 * src/hildon-stackable-window.c
5774 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5776 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5778 * configure.ac: post release version bump
5780 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5783 * configure.ac: Bump version
5784 * debian/changelog: Updates
5785 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5788 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5790 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5793 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5794 GtkMenu with Hildon style.
5796 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5798 * src/hildon-picker-button.c:
5799 (hildon_picker_button_set_done_button_text): Set the dialog's
5800 done button text here as well.
5802 Fixes: NB#90232 (Picker button does not set the label on done button
5803 for the second time)
5805 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5807 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5810 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-app-menu.c (hildon_app_menu_insert)
5813 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5814 the HildonAppMenu to be activatable using keyboard accelerators
5815 when the menu is not being shown.
5817 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5819 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5821 * src/hildon-stackable-window.c
5822 (hildon_stackable_window_show):
5823 Don't hide old windows automatically when new windows are shown:
5824 this is now a task for the window manager.
5825 (hildon_stackable_window_class_init)
5826 (hildon_stackable_window_hide):
5827 Remove windows from the stack everytime they're hidden.
5828 (hildon_stackable_window_realize):
5829 Don't change the _NET_WM_WINDOW_TYPE property. Use
5830 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5831 it as a stackable window.
5833 * src/hildon-program.c
5834 (hildon_program_pop_window_stack):
5835 Just hide the window to remove it from the stack.
5836 (hildon_program_go_to_root_window):
5837 Don't call gtk_widget_show(), this is now a task for the window
5840 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5842 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5844 * src/hildon-button.c
5845 (hildon_button_construct_child):
5846 Don't pack anything in the button until text or image are
5847 set. This allows adding a custom child after creating the button
5848 with hildon_button_new().
5849 (hildon_button_finalize, hildon_button_class_init)
5850 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5851 alignment and the label box even when they're not packed in the
5854 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5856 * src/hildon-touch-selector.h:
5857 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5858 currently the type definition was using GTK_TYPE_VBOX
5859 * src/hildon-touch-selector.c:
5860 Added some implementation notes in order to clarify that any other widget
5861 added without the column related API will not be included on the
5862 selection logic, and how the widget is freed, as some people ask about
5864 (hildon_touch_selector_remove): Reimplemented in order to free properly
5865 the column related data when you remove the private hbox.
5866 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5867 to get a proper HildonTouchSelectorColumn documentation
5869 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5871 * src/hildon-touch-selector-entry.c:
5872 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5873 text in the GtkEntry and there is no item selected. Fixes a
5876 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5878 * src/hildon-app-menu-private.h
5879 * src/hildon-app-menu.[ch]
5880 * src/hildon-button.[ch]
5881 * src/hildon-check-button.[ch]
5882 * src/hildon-entry.[ch]
5883 * src/hildon-pannable-area.[ch]
5884 * src/hildon-text-view.[ch]:
5885 Added private field to the object's structure.
5887 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5889 * configure.ac: post-release version bump
5891 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5895 * configure.ac: pre-release version bump
5897 * debian/changelog: updates.
5899 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5901 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5902 Disconnect the handler for HildonTouchSelector::changed.
5904 (hildon_picker_button_selector_selection_changed): Update the button
5905 value if the selection change was not triggered by the
5908 (hildon_picker_button_set_selector): connect to
5909 HildonTouchSelector::changed.
5911 Fixes: NB#89650 (Picker button is not updated, when selection in
5912 selector has changed)
5914 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5916 * src/hildon-picker-dialog.c
5917 (hildon_picker_dialog_realize): Removed as not required
5918 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5919 * src/hildon-picker-button.c
5920 (_current_selector_empty): New function, checks if the selector is empty
5921 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5922 if the current selector is empty, in order to avoid to show the dialog
5923 close the dialog in this case (and shows a g_warning).
5925 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5927 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5929 * src/hildon-pannable-area.c,
5930 (hildon_pannable_area_scroll): Added clause to stop movement when
5931 the child of pannable is smaller than one page.
5932 (hildon_pannable_area_scroll_to): Added conditions to avoid
5933 starting the scrolling movement if the child is smaller than one
5934 page, the complete child is in the screen, we do not have to move.
5936 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5938 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5940 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5941 this is managed automatically by the widget when the size of the
5944 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5946 * src/hildon-picker-button.c
5947 (hildon_picker_button_set_done_button_text): Make a copy of the
5948 text, and free the previous value.
5950 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5952 * src/hildon-touch-selector-entry.c:
5953 (hildon_touch_selector_entry_print_func): Return the selected row's
5954 text if the entry is empty.
5956 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5959 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5961 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5963 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-check-button.h
5967 * src/hildon-check-button.c
5968 * examples/hildon-check-button-example.c:
5969 HildonCheckButton is now a new widget. 'toggled' signal added.
5971 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-program-private.h
5974 * src/hildon-program.c (hildon_program_init)
5975 (hildon_program_finalize): Removed unused variables group_leader
5976 and name from HildonProgramPrivate.
5978 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5980 * src/hildon-check-button.c (hildon_check_button_set_active)
5981 (hildon_check_button_get_active, hildon_check_button_new): Use
5982 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5984 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5986 * src/hildon-touch-selector.h
5987 (hildon_touch_selector_set_column_attributes): added deprecation
5988 guard HILDON_DISABLE_DEPRECATED
5989 * src/hildon-time-selector.c
5990 (hildon_time_selector_set_time)
5991 (hildon_time_selector_get_time): Fixed a typo on documentation
5992 * src/hildon-touch-selector.c: update HildonTouchSelector and
5993 HildonTouchSelectorColumn documentation
5994 * src/hildon-touch-selector-entry.c: update "text-column" property
5996 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5997 to be added to the general documentation.
5999 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6001 * examples/hildon-pannable-area-example-4.c,
6003 * examples/hildon-pannable-area-example.c,
6004 (main): Modified the code in order to use the container add, with
6005 viewport treeviews could have problems if they are really big.
6007 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6009 * src/hildon-weekday-picker.c,
6010 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6011 the agreement regarding deprecation in the library.
6013 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6015 * examples/hildon-picker-button-multicolumn-example.c:
6016 (main): Use custom "done" button text.
6018 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6019 (hildon_picker_button_set_property),
6020 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6021 (hildon_picker_button_init),
6022 (+hildon_picker_button_get_done_button_text),
6023 (+hildon_picker_button_set_done_button_text): New methods to customize
6024 the "done" button label in the launched HildonPickerDialog. Also,
6027 * src/hildon-picker-button.h: add the public API.
6029 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6031 * src/hildon-date-selector.h:
6032 * src/hildon-picker-dialog.h:
6033 * src/hildon-time-selector.h:
6034 * src/hildon-touch-selector-column.h:
6035 * src/hildon-touch-selector.h:
6037 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6038 declarations. Fixes gtk-doc warnings.
6040 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6042 * src/hildon-picker-dialog.h
6043 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6044 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6046 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6047 long text is set as label for done button)
6049 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6051 * src/hildon-dialog.c (hildon_dialog_add_button):
6052 Set fixed width to all buttons in the HildonDialog.
6054 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6056 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6058 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6059 Set widget name using class name plus "-finger" or "-thumb".
6061 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6063 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6064 'clicked' when the state of the button is manually changed.
6066 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-app-menu.c (hildon_app_menu_realize)
6069 (hildon_app_menu_unrealize, hildon_app_menu_init)
6070 (hildon_app_menu_class_init, item_visibility_changed):
6071 Change the menu layout when the size of the screen changes.
6072 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6073 Show warning only when changing the number of colums using the
6076 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6078 * debian/compat: Set to 5
6079 * debian/control: Update dependencies.
6080 * debian/libhildon1-dbg.install: Remove.
6081 * debian/libhildon1-dev.install: Update according to cdbs paths.
6082 * debian/libhildon1.install: Update according to cdbs paths.
6083 * debian/rules: Switch to cdbs.
6085 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6087 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6088 'item' variable renamed to 'filter'
6090 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6092 * src/hildon-app-menu.c (hildon_app_menu_insert)
6093 (hildon_app_menu_add_filter, remove_item_from_list)
6094 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6095 Don't leak hidden items when the menu is destroyed.
6097 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6099 * src/hildon-app-menu.c (hildon_app_menu_insert)
6100 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6101 (hildon_app_menu_set_columns, item_visibility_changed)
6102 (filter_visibility_changed, hildon_app_menu_repack_filters)
6103 (hildon_app_menu_repack_items):
6104 Repack items and filters separately.
6106 Don't repack all items, change only the ones that are needed to
6109 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6111 * src/Makefile.am: added hildon-touch-selector-column.h
6113 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6115 * src/hildon-touch-selector.c: added the property "text-column" to the
6116 class HildonTouchSelectorColumn, and related get/set functions
6117 (_default_printf_func): updated to use "text-column" property
6118 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6119 "text-column" in his documentation, as this is now included on
6120 HildonTouchSelectorColumn. The get/set_property can still be used,
6121 working as a wrapper to the concrete column "text-column" property
6122 (_text_column_modified): callback added in order to handle the signal
6123 "notify::text-column" of the concrete HildonTouchSelectorColumn
6124 (hildon_touch_selector_entry_get_text_column)
6125 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6126 modified in order to use the HildonTouchSelectorColumn "text-column"
6128 * src/hildon-time-selector.c:
6129 * src/hildon-date-selector.c:
6130 * examples/hildon-touch-selector-example.c
6131 * examples/hildon-touch-selector-multi-cells-example.c
6132 * examples/hildon-picker-button-multicolumn-example.c
6133 Set the right value to "text-column" property on the creation of a new
6134 column using hildon_touch_selector_append_column()
6136 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6138 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6140 * src/hildon-app-menu.c
6141 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6142 updating the layout of the menu, don't create all widgets again,
6143 just repack the items in their new places.
6145 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6147 * src/hildon-time-selector.c
6148 (hildon_time_selector_get_time)
6149 (hildon_time_selector_set_time)
6150 Added documentation of these public methods
6152 * src/hildon-date-button.h
6153 * src/hildon-touch-selector-column.h
6154 * src/hildon-time-button.h
6155 * src/hildon-picker-dialog.h
6156 * src/hildon-time-selector.h
6157 * src/hildon-picker-button.h
6158 * src/hildon-touch-selector.h
6159 * src/hildon-time-picker.h
6160 * src/hildon-date-selector.h
6161 * src/hildon-touch-selector-entry.h
6162 Modified in order to use hildon-widgets code style
6164 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6166 Added deprecated support to the compilation process using
6167 HILDON_DISABLE_DEPRECATED
6169 * configure.ac: Added the --disable-deprecated to the configure
6172 * src/hildon-weekday-picker.c:
6173 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6174 to use the deprecated support. We will update the other deprecated
6175 widgets status in a new patch.
6177 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6179 * configure.ac: Fixed typo with fatal warnings support, the
6180 variable name was not correct
6182 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6184 * src/hildon-app-menu.c
6185 * src/hildon-program.c: Update documentation.
6187 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6189 * configure.ac: Post-release version bump.
6191 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6196 * configure.ac: Pre-release version bump.
6197 * debian/changelog: Updates.
6199 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6201 * NEWS: Update news for previous releases.
6203 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6205 * examples/hildon-touch-selector-multi-cells-example.c:
6206 (create_selector): Update the example to use
6207 hildon_touch_selector_append_column() with a NULL renderer and set
6208 the renderers later.
6209 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6210 passed a NULL renderer. This is documented behavior now.
6212 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6213 This must be used if the developer wants full control on the layout of
6214 the renderers to be added to the column.
6216 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6218 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6220 * src/hildon-touch-selector.c: Documentation fixes.
6222 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6224 * src/hildon-wizard-dialog-private.h: Remove image and box.
6225 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6226 (hildon_wizard_dialog_set_property), (response): Completely remove
6227 image/icon support, and the containers required for the layout.
6229 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6231 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6233 * src/hildon-app-menu.c: Updated documentation.
6235 * src/hildon-stackable-window.c
6236 (hildon_stackable_window_set_main_menu): Unref the old menu after
6237 ref'ing the new one.
6239 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6241 * src/hildon-stackable-window.c
6242 (hildon_stackable_window_set_main_menu): Unref the previous menu
6243 instead of destroying it.
6245 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6246 floating reference and set has_user_ref_count to FALSE to make
6247 HildonAppMenu act like a normal ref-counted widget and not a
6250 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6253 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6255 * src/hildon-touch-selector-column.h: new file
6256 * src/hildon-touch-selector.h
6257 * src/hildon-touch-selector.c
6258 Implemented GtkCellLayout interface, in order to allow to configure
6259 the cell layout on each individual selector column
6260 (hildon_touch_selector_set_column_attributes): marked as deprecated
6261 * examples/hildon-touch-selector-multi-cells-example.c
6262 Example of how to use the GtkCellLayout interface on the selector
6264 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6266 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-app-menu.h
6269 * src/hildon-app-menu.c
6270 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6271 (hildon_app_menu_append, hildon_app_menu_prepend):
6272 New methods to prepend, insert and move items in the menu.
6274 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6276 * src/hildon-wizard-dialog.c:
6278 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6280 (create_title): Update logical IDs and related code.
6281 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6283 * src/hildon-wizard-dialog.h: Note that
6284 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6285 point, as it is not used anymore.
6287 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6289 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6291 * src/hildon-note.c:
6292 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6293 shown. Do not display an icon in confirmation notes nor information
6295 (hildon_note_set_button_text): Update logical ID for cancel button.
6297 Fixes: NB#88850 (Update HildonNote button strings + signals)
6299 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6301 * src/hildon-stackable-window.c
6302 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6304 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6306 * src/hildon-app-menu-private.h
6307 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6308 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6309 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6310 temporary property 'columns' to change the number of columns.
6312 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6314 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6316 * examples/hildon-note-example.c: (on_information_clicked),
6317 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6318 debugging information.
6319 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6321 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6322 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6323 in order to close: this will be handled by the WM from now on.
6325 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6327 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6329 * src/hildon-app-menu-private.h
6330 * src/hildon-app-menu.c
6331 (hildon_app_menu_append, hildon_app_menu_add_filter)
6332 (button_visibility_changed, hildon_app_menu_apply_style)
6333 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6334 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6335 layout everytime a button (item or filter) is shown or hidden.
6337 * src/hildon-stackable-window.c
6338 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6341 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6343 * src/hildon-touch-selector.c:
6344 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6345 that the treeview inside the touch selector is in fremantle hildon mode
6346 * examples/hildon-date-button-example.c
6347 * examples/hildon-picker-button-multicolumn-example.c
6348 * examples/hildon-touch-selector-entry-example.c
6349 * examples/hildon-touch-selector-example.c
6350 * examples/hildon-time-button-example.c
6351 * examples/hildon-picker-button-example.c:
6352 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6354 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6356 * examples/hildon-text-view-example.c: (main): Remove the
6357 gtkrc bits, now handled by the theme.
6359 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6361 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6364 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6366 * po/Makefile.am: Install properly the mo files.
6367 * po/en_GB.po: Update translation, to ease testing purposes.
6369 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6371 * examples/hildon-picker-button-example.c: (main): Select an item
6372 in the selector before setting it to the button.
6374 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6376 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6377 Update button's value if the selector has an item active.
6379 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6380 'value' with the selector)
6382 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6384 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6385 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6386 (hildon_picker_button_class_init): Plug the finalize method.
6387 (hildon_picker_button_set_selector): If there's a previously set
6388 selector, unref'it before setting a new one.
6390 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6391 HildonTouchSelector)
6393 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6395 * src/hildon-touch-selector-entry.c:
6396 (hildon_touch_selector_entry_changed): Check if there is no text
6397 selected before setting the entry text.
6400 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6402 * src/hildon-touch-selector.h
6403 * src/hildon-touch-selector.c
6404 (hildon_touch_selector_get_active)
6405 (hildon_touch_selector_set_active): New methods to set/get the
6406 index of the selected item.
6408 * src/hildon-picker-button.h
6409 * src/hildon-picker-button.c
6410 (hildon_picker_button_get_active)
6411 (hildon_picker_button_set_active): New methods to set/get the
6412 index of the selected item.
6414 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6416 * configure.ac: post-release version bump.
6418 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6422 * configure.ac: Pre-release version bump.
6423 * debian/changelog: Updates.
6424 * debian/control: Add myself as maintainer and depend on l10n
6427 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6429 * src/hildon-window.c
6430 (hildon_window_set_main_menu)
6431 * src/hildon-stackable-window.c
6432 (hildon_stackable_window_set_main_menu):
6433 Updated documentation.
6435 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6437 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6438 Don't free selector->priv manually.
6441 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6444 (hildon_gtk_window_set_progress_indicator):
6445 * src/hildon-gtk.h: Added the new API
6446 hildon_gtk_window_set_progress_indicator, it changes the state of
6447 the window progress hint.
6449 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6451 * src/hildon-button.c
6452 * src/hildon-stackable-window.c: Minor documentation updates.
6454 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6456 * src/hildon-stackable-window.c: Updated documentation.
6458 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6460 * src/hildon-defines.h: Update margins definitions
6461 to the Fremantle sizes.
6464 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6466 * src/hildon-touch-selector.c,
6467 (_hildon_touch_selector_set_model): Cleaning the code after
6468 review, removed g_print and #if 0 from the code.
6470 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6472 * src/hildon-edit-toolbar.c: Update documentation.
6474 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-check-button.h
6477 * src/hildon-check-button.c
6478 (hildon_check_button_set_label, hildon_check_button_get_label)
6479 * examples/hildon-check-button-example.c
6480 (button_clicked_cb):
6481 Removed deprecated methods.
6483 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6485 * src/hildon-text-view.c:
6486 Add sample code to the documentation.
6488 * src/hildon-entry.h
6489 * src/hildon-text-view.h:
6490 Minor cosmetic changes.
6492 * src/hildon-entry.c:
6493 Add sample code to the documentation.
6494 (hildon_entry_init, hildon_entry_refresh_contents):
6495 Don't allow NULL values in the placeholder.
6497 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6499 * doc/hildon-docs.sgml
6501 * examples/Makefile.am
6502 * examples/hildon-text-view-example.c
6504 * src/hildon-text-view.c
6505 * src/hildon-text-view.h
6507 New HildonTextView widget, with example.
6509 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6511 * po/POTFILES.in: Add missing files with translatable strings.
6512 Partially fixes NB#88287.
6514 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6516 * examples/hildon-pannable-area-example-2.c: (main): No need to
6517 set the cellrenderer height inside hildon touch lists, the theme does
6520 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6522 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6523 they are integrated in the theme.
6525 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6527 * examples/hildon-entry-example.c: Update the example adding
6528 widgets to modify the text and the placeholder of the HildonEntry.
6530 * src/hildon-entry.c: Show the placeholder everytime the widget
6531 is empty and loses the focus.
6533 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6535 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6537 * src/hildon-pannable-area.c,
6538 (hildon_pannable_area_size_request): Fixed bug in height
6539 requisition, avoid increasing size and add border twice.
6541 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6543 * configure.ac: postrelease version bump.
6545 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6549 * configure.ac: Prerelease version bump.
6550 * debian/changelog: update.
6551 * debian/rules: make -dbg package contain useful debugging symbols.
6553 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6555 * src/hildon-dialog.h
6556 * src/hildon-dialog.c
6557 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6558 New methods to add buttons with finger size.
6559 (hildon_dialog_new_with_buttons):
6560 Create buttons with finger size.
6562 * examples/hildon-dialog-example.c (main): Use HildonDialog
6563 methods to add buttons.
6565 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6567 * src/hildon-entry.c: Updated HildonButton documentation.
6569 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6571 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6572 button value label with (FALSE, FALSE) to prevent NB#88126 from
6575 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6577 * examples/hildon-pannable-area-example.c,
6578 (main): Removed examples panning a vbox inside a pannable
6579 area. Check bug NB#87965
6581 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6583 Patch contributed by Kris Rietveld (kris@imendio.com)
6585 * src/hildon-pannable-area.c,
6586 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6587 get_size and get_position, this saves an X server roundtrip.
6589 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6591 * doc/hildon-docs.sgml
6593 * examples/Makefile.am
6594 * examples/hildon-entry-example.c
6596 * src/hildon-entry.c
6597 * src/hildon-entry.h
6599 New HildonEntry widget, with example.
6601 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6603 * src/hildon-button.c (hildon_button_construct_child): Pack the
6604 image with expand == fill == FALSE. This is a workaround for a bug
6607 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6609 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6610 labels for the text column, to make it more look more dynamic.
6612 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6614 * src/hildon-time-selector.c
6615 Define gettext auxiliar macro N_
6616 (_create_minutes_model)
6617 (_create_hours_model)
6618 (_create_ampm_model): use of strftime in order to fill the model
6619 * src/hildon-date-selector.c
6620 (hildon_date_selector_finalize):
6621 (_locales_init): remove the logic related to get the name of the months
6622 using nl_langinfo, as it is not required anymore
6624 (_create_year_model)
6625 (_create_month_model)
6626 (_update_day_model): use of strftime in order to fill the model properly
6629 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6631 * src/hildon-button.h
6632 * src/hildon-button.c (hildon_button_get_image): New method to
6635 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6637 * src/hildon-touch-selector.c:
6638 (hildon_touch_selector_remove_column): Remove from the correct parent
6639 and also remove the list element and free it.
6642 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6644 * src/hildon-time-selector.c
6645 (_create_hours_model): change the range on 12h ampm format in order to use
6646 a 12-11 range instead of previous 01-12 range
6647 (hildon_time_selector_set_time): change the way to select the current time
6648 on 12h ampm format, due the change on the range
6649 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6652 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6654 * src/hildon-touch-selector.c
6655 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6656 in order to allow use this function on multiple row selection mode if
6657 the column is different that the first one
6660 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6662 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6663 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6665 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6667 * src/hildon-date-selector.h: clean some comments, now on the .c
6668 * src/hildon-date-selector.c
6669 (hildon_date_selector_select_month): first implementation
6670 (hildon_date_selector_select_day): added documentation, reimplemented
6671 using hildon_date_selector_select_current_date to avoid repeat code
6674 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6676 Reviewed interaction logic based on device experiences, refactored
6679 * src/hildon-pannable-area.c,
6680 (hildon_pannable_area_class_init): Updated default vmax speed.
6681 (hildon_pannable_area_calculate_velocity): Added this function, it
6682 avoids duplicate valocity calculation. Adjusted calculation to
6683 avoid problems with zero dist events.
6685 (hildon_pannable_area_motion_notify_cb): Now we use the
6686 calculate_velocity function.
6688 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6690 * src/hildon-date-selector.c
6691 (hildon_date_selector_select_current_date): fix the day range check
6692 as it failed using the last day of the current month
6695 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6697 * src/hildon-touch-selector.c
6698 (hildon_touch_selector_get_num_columns): added a parameter validation
6701 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6703 * examples/Makefile.am
6704 * examples/hildon-edit-toolbar-example.c: Example of the
6705 HildonEditToolbar widget.
6707 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6709 * configure.ac: postrelease version bump.
6711 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6715 * configure.ac: prerelease version bump.
6716 * debian/changelog: update.
6718 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6720 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6721 renderer to display stock icons in the touch list. Also, set the sizes
6722 to the recommended in the style guide.
6724 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6725 * src/hildon-touch-selector.h
6726 (hildon_touch_selector_set_active_iter): renamed, now is
6727 hildon_touch_selector_select_iter
6728 (hildon_touch_selector_get_active_iter): renamed, now is
6729 hildon_touch_selector_get_selected
6730 (hildon_touch_selector_unselect_iter): added
6731 * src/hildon-touch-selector.c
6732 Update after API modification (methods renamed)
6733 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6734 order to avoid problems selecting multiple elements on the column
6735 (hildon_touch_selector_unselect_iter): added the implementation
6736 * src/hildon-time-selector.c
6737 * src/hildon-date-selector.c
6738 * src/hildon-touch-selector-entry.c
6739 Update methods calls after hildon-touch-selector.h API modification (methods
6742 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6744 * src/hildon-stackable-window.c
6745 (hildon_stackable_window_finalize): Call the parent class's finalize.
6747 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6749 * examples/hildon-touch-selector-example.c: (create_selector): Use
6750 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6753 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6755 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6756 set a cell background color, to respect theming.
6758 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6760 * doc/hildon-docs.sgml
6763 * src/hildon-edit-toolbar.c
6764 * src/hildon-edit-toolbar.h
6765 * src/hildon.h: New HildonEditToolbar widget.
6767 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6769 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6772 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6773 * src/hildon-touch-selector.c
6774 (_create_new_column): use g_object_set instead of two g_object_set_property
6776 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6777 * src/hildon-touch-selector.c
6778 (_create_new_column): use of hildon_gtk_tree_view_new to create
6779 the treeview, instead of use directly g_object_new
6780 (_create_new_column): update the property name "vindicator-mode" for the
6781 new one "vscrollbar-policy"
6782 * examples/hildon-date-button-example.c
6783 * examples/hildon-picker-button-multicolumn-example.c
6784 * examples/hildon-touch-selector-entry-example.c
6785 * examples/hildon-touch-selector-example.c
6786 * examples/hildon-time-button-example.c
6787 * examples/hildon-picker-button-example.c
6788 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6789 to all the treeviews inside a pannable area.
6791 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6793 * src/hildon-button.h
6794 * src/hildon-button.c (hildon_button_init)
6795 (hildon_button_set_arrangement, hildon_button_set_alignment)
6796 (hildon_button_set_title_alignment)
6797 (hildon_button_set_value_alignment)
6798 (hildon_button_set_image_alignment)
6799 (hildon_button_construct_child): New methods to set the alignment
6800 of the individual components of the button (title, value,
6801 image). Also, new method to alter the xscale and yscale properties
6802 of the GtkAlignment inside the button, so more complex layouts can
6805 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6807 * src/hildon-button.c (hildon_button_style_set)
6808 (hildon_button_class_init, hildon_button_set_arrangement)
6809 (hildon_button_construct_child): Apply style properties
6810 correctly. Use the 'image-spacing' style property too.
6812 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6814 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6815 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6818 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6820 * src/hildon-pannable-area.c,
6821 (hildon_pannable_area_size_request): Fixed problem with
6822 pannable-area size_request.
6824 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6826 Added management for the grab-focus to a child widget, like a
6827 range, we need to fade out the scrollbar when releasing.
6829 * src/hildon-pannable-area.c,
6830 (hildon_pannable_area_init): Connected the grab-focus signal to
6832 (hildon_pannable_area_grab_notify): Added this function in order
6833 to manage the situation when the grab-focus ends. We have to
6834 fade-out the scrollbar.
6836 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6838 * src/hildon-app-menu.c: Minor documentation update.
6840 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6842 * src/hildon-app-menu.c
6843 * examples/hildon-app-menu-example.c (create_menu): Update
6844 examples and documentation to explain how to connect callbacks.
6846 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6848 * examples/hildon-button-example.c
6849 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6850 hildon_stackable_window_new instead of gtk_window_new
6852 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6854 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6855 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6856 (hildon_pannable_area_set_property),
6857 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6858 (hildon_pannable_area_unrealize),
6859 (hildon_pannable_area_size_request),
6860 (hildon_pannable_area_size_allocate),
6861 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6862 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6863 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6864 (hildon_pannable_area_initial_effect),
6865 (hildon_pannable_area_redraw),
6866 (hildon_pannable_area_scroll_indicator_fade),
6867 (hildon_pannable_area_expose_event),
6868 (hildon_pannable_area_get_topmost), (synth_crossing),
6869 (hildon_pannable_area_button_press_cb),
6870 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6871 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6872 (hildon_pannable_area_motion_notify_cb),
6873 (hildon_pannable_area_button_release_cb),
6874 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6875 (hildon_pannable_area_remove),
6876 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6877 chage the code layout to a more GtkWidget like. Review the use of
6880 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6882 * examples/hildon-pannable-area-example-4.c,
6883 (main): Modified the name of the hindicator_mode to
6886 * src/hildon-pannable-area.c,
6887 (hildon_pannable_area_class_init),
6888 (hildon_pannable_area_motion_notify_cb),
6889 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6890 we have reduced the amount of signals and managed reviewed its
6891 rationale. Changed the default decelerate value.
6893 (hildon_pannable_area_add),
6894 (hildon_pannable_area_redraw): Refactored functions.
6896 (hildon_pannable_area_init),
6897 (hildon_pannable_area_get_property),
6898 (hildon_pannable_area_set_property):
6899 (hildon_pannable_draw_vscroll),
6900 (hildon_pannable_draw_hscroll),
6901 (hildon_pannable_area_initial_effect),
6902 (hildon_pannable_area_expose_event),
6903 (hildon_pannable_area_scroll),
6904 (hildon_pannable_area_button_press_cb),
6905 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6906 and vindicator_mode with hscrollbar_policy and
6907 vscrollbar_policy. Replaced hscroll and vscroll with
6908 hscroll_visible and vscroll_visible.
6910 (hildon_pannable_area_refresh): Refactor the function, remove
6911 variables and check the calls to this function, added resize
6912 conditions in case the children change their layout.
6914 (hildon_pannable_area_size_request): Added more detailed
6915 size_request calculation.
6918 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6920 * src/hildon-color-chooser.c
6921 (init_borders): use the correct gtk_border_free instead of g_free, to
6922 avoid a crash when this widget is used (ie: the three color selection
6925 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6927 * src/hildon-check-button.c,
6928 (hildon_check_button_set_active): Fixed problem when setting the
6929 active value, the widget was not redrawn.
6931 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6933 * src/hildon-pannable-area.c,
6934 (hildon_pannable_area_refresh),
6935 (hildon_pannable_area_scroll),
6936 (hildon_pannable_area_motion_notify_cb): Small code style change.
6938 (hildon_pannable_area_class_init): Default initial_hint set to
6939 FALSE, it is not in the specs.
6941 (hildon_pannable_area_initial_effect),
6942 (hildon_pannable_area_expose_event),
6943 (hildon_pannable_area_map),
6944 (hildon_pannable_area_init): Moved the launching point of the
6945 initial effect, it was in map but the sizes where not correct in
6946 that method so we do not know if we have the reproduce it. Now it
6947 is placed in the expose_event method and uses a variable to
6948 reproduce it just once.
6950 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6952 * src/hildon-pannable-area.c,
6953 (hildon_pannable_draw_vscroll),
6954 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6955 position allowed for the scrollbars.
6957 (hildon_pannable_area_size_allocate): Small style change.
6959 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6961 * src/hildon-pannable-area.c,
6962 (hildon_pannable_area_scroll_indicator_fade),
6963 (hildon_pannable_area_button_press_cb),
6964 (hildon_pannable_area_button_release_cb),
6965 (hildon_pannable_area_scroll_cb),
6966 (hildon_pannable_area_expose_event),
6967 (hildon_pannable_area_init): Added the define parameter
6968 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6969 and refactor the fade variable.
6971 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6973 * src/hildon-pannable-area.c,
6974 (hildon_pannable_area_redraw),
6975 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6976 lines, we were reimplemeting the redraw code.
6978 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6980 * src/hildon-pannable-area.c,
6981 (hildon_pannable_area_scroll_cb),
6982 (hildon_pannable_area_realize),
6983 (hildon_pannable_area_class_init): Added scroll_event management
6984 for pannable area, now we can scroll the usual desktop method.
6986 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6987 initialization of the parameters should depend on idle_id.
6989 (hildon_pannable_area_init),
6990 (hildon_pannable_area_map): Small code style modifications
6992 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6994 * src/hildon-pannable-area.c
6995 (hildon_pannable_area_button_press_cb),
6996 (hildon_pannable_area_motion_notify_cb),
6997 (hildon_pannable_area_button_release_cb),
6998 (hildon_pannable_area_size_allocate),
6999 (hildon_pannable_area_scroll_to): Improved the timeouts
7000 management, we avoid creating them each time.
7002 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7004 * src/hildon-pannable-area.c:
7005 (hildon_pannable_area_refresh),
7006 (hildon_pannable_area_motion_notify_cb),
7007 (hildon_pannable_area_class_init):
7008 * src/hildon-pannable-area.h:
7009 * src/hildon-touch-selector.c
7010 (_create_new_column):
7011 * examples/hildon-pannable-area-example-4.c:
7012 (horizontal_movement),
7013 (vertical_movement),
7015 Replaced the names of enums in the HildonPannableArea:
7016 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7017 HILDON_MOVEMENT_MODE_*
7018 - HILDON_PANNABLE_AREA_MOV_* ->
7020 - Removed HildonPannableAreaIndicatorMode, now we
7023 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7025 * examples/hildon-pannable-area-touch-grid-example.c
7026 * examples/hildon-pannable-area-touch-list-example.c: Fix
7027 compilation warnings.
7029 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7031 * src/hildon-gtk.c (hildon_gtk_button_new)
7032 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7033 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7034 images overriding the value of the "gtk-button-images" setting.
7036 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7038 * src/hildon-check-button.c (hildon_check_button_new):
7039 Instead of using a custom container, display the label and the
7040 checkbox using the standard GtkButton API.
7042 * examples/hildon-check-button-example.c (main): Don't use
7043 hildon_check_button_set_label() anymore
7045 * src/hildon-check-button.h
7046 * src/hildon-check-button.c
7047 (hildon_check_button_set_label, hildon_check_button_get_label):
7048 Set as deprecated, now we're using gtk_button_{get,set}_label()
7050 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7052 * src/hildon-pannable-area.c,
7053 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7054 GtkTreeview first line we detected it after the inclusion of the
7055 GtkWindowImpl in gtk+. We now check if the window is visible, not
7056 just if the pointer is over the window.
7057 (hildon_pannable_axis_scroll),
7058 (hildon_pannable_area_expose_event): Small style changes.
7060 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7062 * src/hildon-button.c: Update documentation.
7064 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7066 * examples/hildon-button-example.c: Add a switch to show images in
7069 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7071 * doc/hildon-docs.sgml: Some docs reorganization.
7073 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7075 * examples/hildon-pannable-area-touch-list-example.c
7077 * examples/hildon-pannable-area-touch-grid-example.c
7078 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7079 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7080 Fix memory leak when setting the tree model.
7082 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7086 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7088 * doc/hildon.types: Remove duplicated hildon_window_get_type
7089 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7090 documentation comment.
7092 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7094 * doc/Makefile.am: Complete list of private headers.
7096 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7098 * doc/hildon-docs.sgml
7099 * src/hildon-app-menu.c
7100 * src/hildon-bread-crumb.c
7101 * src/hildon-button.c
7103 * src/hildon-program.c
7104 * src/hildon-stackable-window.c
7105 * src/hildon-window.c: Lots of documentation updates.
7107 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7109 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7111 * configure.ac: Require Gtk+ 2.12.9 at least
7113 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7115 * src/hildon-pannable-area.c
7116 (hildon_pannable_area_scroll_indicator_fade),
7117 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7118 to protect the return of this timeout callbacks, avoiding deadlocks.
7120 2008-08-12 Christian Dywan <christian@imendio.com>
7123 * src/hildon-*.h: Ensure a consistent include order,
7124 include <gtk/gtk.h> instead of particular files and
7125 only include the topmost header in the gtk stack. See NB #39857
7127 2008-08-12 Christian Dywan <christian@imendio.com>
7129 * src/hildon-picker-dialog.c
7130 * src/hildon-touch-selector.c: Fix warnings about unused and
7131 uninitialized variables.
7133 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7135 * examples/Makefile.am
7136 * examples/hildon-check-button-example.c: Example of the hildon
7139 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7141 * src/hildon-window.h
7142 * src/hildon-window.c (hildon_window_class_init)
7143 (hildon_window_unset_program): Don't make
7144 hildon_window_unset_program a virtual function anymore.
7146 * src/hildon-stackable-window.c: Update documentation
7148 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7151 * doc/hildon-docs.sgml
7152 * doc/visual_index.xml
7153 * src/hildon-defines.c
7155 * src/hildon-helper.c
7156 * src/hildon-range-editor.c: Lots of documentation fixes.
7158 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7160 * examples/hildon-picker-button-multicolumn-example.c
7161 (create_touch_selector): Fix compilation warning.
7163 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7165 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7166 (hildon_pannable_area_button_release_cb)
7167 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7169 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7171 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7174 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7176 * src/hildon-bread-crumb-trail.h
7177 * src/hildon-date-editor.c
7178 * src/hildon-date-selector.c
7179 * src/hildon-pannable-area.c
7180 * src/hildon-picker-dialog.c
7181 * src/hildon-time-selector.c
7182 * src/hildon-touch-selector-entry.c
7183 * src/hildon-touch-selector.c
7184 * src/hildon-touch-selector.h: Misc documentation fixes
7186 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7188 * examples/hildon-date-editor-example.c (main): Updated date
7191 * examples/hildon-note-example.c (on_confirmation_clicked):
7192 Updated confirmation note example.
7194 * src/hildon-date-editor.c
7195 * src/hildon-note.c: Updated sample programs in documentation.
7198 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7200 * src/hildon-date-button.h:
7201 * src/hildon-picker-button.h:
7202 * src/hildon-time-button.c:
7203 * src/hildon-time-button.h:
7205 Some declarations changes to allow gtk-doc to document the widgets
7208 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7210 * src/hildon-date-button.c: Document the widget.
7211 * src/hildon-time-button.c: Document the widget.
7213 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7215 * src/hildon-picker-button.c: Document the widget.
7216 * src/hildon-touch-selector-entry.c: Document the widget.
7218 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7220 * doc/hildon-docs.sgml
7223 * src/hildon-check-button.h
7224 * src/hildon-check-button.c: New functions to create the Hildon
7228 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7230 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7232 * src/hildon-button.h
7233 * src/hildon-button.c
7234 (hildon_button_add_title_size_group)
7235 (hildon_button_add_value_size_group)
7236 (hildon_button_add_image_size_group)
7237 (hildon_button_add_size_groups): New functions to set size groups
7238 for the button labels and image.
7239 (hildon_button_new_full): Removed
7241 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7243 * src/hildon-time-selector.c
7244 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7245 in order to avoid a crash if gconf is not available
7247 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7249 * src/hildon-button.c (hildon_button_set_arrangement)
7250 (hildon_button_construct_child): Don't construct the button child
7251 before setting the arrangement.
7253 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7255 * src/hildon-program-private.h
7256 * src/hildon-program.c
7257 * src/hildon-program.h
7258 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7259 (hildon_program_peek_window_stack)
7260 (hildon_program_pop_window_stack)
7261 (hildon_program_go_to_root_window): HildonProgram now has a
7262 separate list for stackable windows. Functions are provided to
7263 manage that list with a stack-like API.
7265 * src/hildon-stackable-window.c: Stackable window management is
7266 now much simpler with the new HildonProgram API. Windows no
7267 longer need to be manually added to the program, they're
7268 automatically pushed to the top of the stack when shown.
7270 * examples/hildon-stackable-window-example.c: Updated example to
7271 reflect the API changes.
7273 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7275 * src/hildon-touch-selector.c: Comment out unimplemented
7276 hildon_touch_selector_insert_column() to avoid a compile warning.
7278 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7280 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7281 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7282 (hildon_touch_selector_set_column_selection_mode),
7283 (_hildon_touch_selector_set_model),
7284 (hildon_touch_selector_set_model):
7286 Complete review of HildonTouchSelector documentation.
7288 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7290 * doc/hildon-docs.sgml
7294 * src/hildon-gtk.c: Convenience functions for standard Gtk
7295 widgets, used to easily perform frequent operations.
7297 * src/hildon-button-helpers.h
7298 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7300 * src/hildon-helper.h
7301 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7302 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7304 * src/hildon-button.h
7305 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7307 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7309 * src/hildon-button.c (hildon_button_init)
7310 (hildon_button_set_arrangement, hildon_button_construct_child):
7311 Pack the image and the labels inside the same GtkAlignment so
7312 gtk_button_set_alignment() can be used
7314 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7316 * src/hildon-button.h
7317 * src/hildon-button.c
7318 (hildon_button_init, hildon_button_set_image)
7319 (hildon_button_set_image_position)
7320 (hildon_button_construct_child): New functions to add an image to
7323 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7325 * src/hildon-date-button.c
7326 * src/hildon-picker-button.c
7327 * src/hildon-time-button.c
7328 * src/hildon-button.c:
7329 (hildon_button_class_init): "size-flags" renamed to "size"
7330 (hildon_button_set_title): Hide the title label if set to NULL.
7332 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7334 HildonButtonFlags split into HildonButtonArrangement (to set the
7335 button layout) and HildonSizeType (which can be used for any
7338 * src/hildon-button.h
7339 * src/hildon-button.c
7340 (hildon_button_class_init)
7341 (hildon_button_set_arrangement)
7342 (hildon_button_set_property): New "size-flags"
7343 property. "arrangement-flags" renamed to "arrangement".
7344 (hildon_button_new, hildon_button_new_with_text)
7345 (hildon_button_new_full): Constructors updated to reflect type changes.
7347 * src/hildon-helper.h
7348 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7349 to set the size of a widget.
7353 * src/hildon-button-helpers.c
7354 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7356 * src/hildon-date-button.c
7357 * src/hildon-date-button.h
7358 * src/hildon-picker-button.c
7359 * src/hildon-picker-button.h
7360 * src/hildon-time-button.c
7361 * src/hildon-time-button.h: Updated widgets to reflect
7362 HildonButton API changes.
7364 * examples/hildon-button-example.c
7365 * examples/hildon-date-button-example.c
7366 * examples/hildon-picker-button-example.c
7367 * examples/hildon-picker-button-multicolumn-example.c
7368 * examples/hildon-time-button-example.c
7369 * examples/hildon-touch-selector-entry-example.c
7370 * examples/hildon-touch-selector-example.c: Updated examples to
7371 reflect HildonButton API changes.
7373 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7375 * doc/hildon-docs.sgml:
7377 * examples/Makefile.am:
7378 * examples/hildon-touch-selector-entry-example.c:
7380 * src/hildon-touch-selector-entry.c:
7381 * src/hildon-touch-selector-entry.h:
7384 Moved HildonTouchSelectorEntry from sandbox. Added its
7385 documentation and examples.
7387 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7389 * src/hildon-touch-selector.h:
7390 * examples/hildon-picker-button-multicolumn-example.c:
7391 (hildon_touch_selector_append_text_column): Add a gboolean
7392 parameter to determine if text must be centered in the column.
7394 * src/hildon-date-selector.c: (hildon_date_selector_init):
7395 * src/hildon-time-selector.c: (hildon_time_selector_init):
7396 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7397 (create_touch_selector): Update widgets and example to reflect
7400 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7402 * src/hildon-touch-selector.c:
7403 (hildon_touch_selector_set_active_iter): Set also the cursor in
7406 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7408 * doc/hildon-docs.sgml
7411 * src/hildon-toggle-button.c
7412 * src/hildon-toggle-button.h
7413 * src/hildon.h: Removed HildonToggleButton widget, a derived
7414 class is not necessary for this.
7416 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7418 * src/hildon-pannable-area.c,
7419 (hildon_pannable_area_realize),
7420 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7423 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7425 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7426 "done" button the default widget for the dialog.
7428 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7430 * src/hildon-touch-selector.c:
7431 (hildon_touch_selector_class_init),
7432 (hildon_touch_selector_get_property),
7433 (_hildon_touch_selector_set_model),
7434 (_hildon_touch_selector_has_multiple_selection),
7435 (hildon_touch_selector_has_multiple_selection):
7436 Add a "has-multiple-selection" property with a virtual
7437 has_multiple_selection() method to allow derived classes to
7438 override the default value for it. See the method and property
7439 documentation for details.
7441 * src/hildon-touch-selector.h: Add the new API.
7443 * src/hildon-picker-dialog.c: (requires_done_button): Call
7444 hildon_touch_selector_has_multiple_selection() instead of
7445 determining the need for a button itself.
7447 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7449 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7450 (_hildon_touch_selector_set_model),
7451 (hildon_touch_selector_set_model): Move working code to
7452 _hildon_touch_selector_set_mode(). Call the class method instead.
7454 * src/hildon-touch-selector.h: Add (*set_model) to
7455 HildonTouchSelectorClass.
7457 Make hildon_touch_selector_set_model() a virtual method, so that
7458 derived classes can extend it and do fancy stuff with the model.
7460 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7462 * configure.ac: Set back the tarname in AC_INIT to hildon.
7464 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7468 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7469 instead of libesd (NB#86876). Volume handling is still an open issue.
7471 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7474 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7476 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7477 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7478 derived class to ease placement of an entry widget in
7479 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7480 end, where the selector columns are packed now.
7482 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7484 * src/hildon-picker-button.c: Removed the simple _text() API.
7485 * src/hildon-picker-button.h: Likewise.
7487 * src/hildon-touch-selector.h:
7488 * src/hildon-touch-selector.c:
7489 (hildon_touch_selector_new_text),
7490 (hildon_touch_selector_append_text),
7491 (hildon_touch_selector_prepend_text),
7492 (hildon_touch_selector_insert_text):
7494 Moved the simple _text() API from HildonPickerButton to
7495 HildonTouchPicker, to provide better escalability and not to tie
7496 that API to HildonPickerButton.
7498 * examples/hildon-picker-button-example.c: (main): Example updated.
7500 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7502 * src/hildon-button.c: Updated documentation.
7504 * examples/hildon-button-example.c: Add the posibility to create
7505 the buttons using horizontal layout for title and value.
7507 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7509 * src/hildon-app-menu-private.h
7510 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7511 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7512 GtkSizeGroup for the filters, use the 'homogeneous' property of
7515 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7517 * examples/hildon-button-example.c: Updated example.
7519 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7521 * doc/hildon-docs.sgml:
7524 Update documentation.
7526 * examples/Makefile.am: Update renamed examples.
7528 * examples/hildon-picker-button-multicolumn-example.c:
7529 (create_touch_selector), (main): Update after the rename.
7531 * examples/hildon-touch-picker-example.c: Removed.
7532 * examples/hildon-touch-selector-example.c: (value_changed),
7533 (create_selector), (get_visible_content), (main): Renamed from
7534 hildon-touch-picker-example.c
7536 * src/Makefile.am: Updated renamed files.
7538 * src/hildon-date-button.c: (hildon_date_button_init),
7539 (hildon_date_button_get_date), (hildon_date_button_set_date):
7540 * src/hildon-date-selector.c: (hildon_date_selector_init),
7541 (_custom_print_func), (_update_day_model),
7542 (_manage_selector_change_cb),
7543 (hildon_date_selector_select_current_date),
7544 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7545 * src/hildon-date-selector.h:
7546 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7547 (hildon_picker_button_set_property),
7548 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7549 (hildon_picker_button_init), (hildon_picker_button_new_text),
7550 (hildon_picker_button_append_text),
7551 (hildon_picker_button_prepend_text),
7552 (hildon_picker_button_insert_text),
7553 (hildon_picker_button_set_selector),
7554 (hildon_picker_button_get_selector):
7555 * src/hildon-picker-button.h:
7556 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7557 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7558 (_update_title_on_selector_changed_cb), (requires_done_button),
7559 (_hildon_picker_dialog_set_selector),
7560 (hildon_picker_dialog_set_selector),
7561 (hildon_picker_dialog_get_selector):
7562 * src/hildon-picker-dialog.h:
7563 * src/hildon-time-button.c: (hildon_time_button_init),
7564 (hildon_time_button_get_time), (hildon_time_button_set_time):
7565 * src/hildon-time-selector.c: (hildon_time_selector_init),
7566 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7567 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7568 * src/hildon-time-selector.h:
7571 Massive code updates after the rename.
7573 * src/hildon-touch-picker.c: Removed.
7574 * src/hildon-touch-picker.h: Removed.
7576 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7577 (hildon_touch_selector_init), (hildon_touch_selector_map),
7578 (hildon_touch_selector_remove), (_default_print_func),
7579 (_selection_changed_cb), (_create_new_column),
7580 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7581 (hildon_touch_selector_append_text_column),
7582 (hildon_touch_selector_remove_column),
7583 (hildon_touch_selector_set_column_attributes),
7584 (hildon_touch_selector_insert_column),
7585 (hildon_touch_selector_get_num_columns),
7586 (hildon_touch_selector_get_column_selection_mode),
7587 (hildon_touch_selector_set_column_selection_mode),
7588 (hildon_touch_selector_set_print_func),
7589 (hildon_touch_selector_get_print_func),
7590 (hildon_touch_selector_get_active_iter),
7591 (hildon_touch_selector_set_active_iter),
7592 (hildon_touch_selector_get_selected_rows),
7593 (hildon_touch_selector_get_model),
7594 (hildon_touch_selector_set_model),
7595 (hildon_touch_selector_get_current_text),
7596 (_hildon_touch_selector_center_on_selected_items):
7597 * src/hildon-touch-selector.h: Renamed from
7598 hildon-touch-picker.[ch]
7600 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7601 references, code examples, and related documentation.
7603 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7605 * doc/hildon-docs.sgml
7608 * src/hildon-toggle-button.c
7609 * src/hildon-toggle-button.h
7610 * src/hildon.h: New HildonToggleButton widget.
7612 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7614 * src/hildon-button.c: Add API documentation.
7615 (hildon_button_set_size_groups): Check input parameters
7617 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7619 * src/hildon-pannable-area.c
7620 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7621 effect after reaching the movement thredshold. This way we start
7622 using the distance after passing the thredshold.
7624 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7626 * src/hildon-button.c: (hildon_button_set_property): Use the
7627 appropriate g_value_get_flags() method.
7629 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7631 * doc/hildon-docs.sgml:
7634 Add the touch pickers, picker dialogs, and picker button widgets
7635 to the documentation.
7637 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7639 * src/hildon-button.c: (hildon_button_set_property),
7640 (hildon_button_class_init): Make "arrangement-flags" a proper
7641 G_TYPE_FLAGS derived property.
7643 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7645 * examples/Makefile.am: Add below examples.
7646 * examples/hildon-date-button-example.c:
7647 * examples/hildon-picker-button-example.c:
7648 * examples/hildon-picker-button-multicolumn-example.c:
7649 * examples/hildon-time-button-example.c:
7650 * examples/hildon-touch-picker-example.c:
7652 Add examples for the recently added touch pickers,
7653 picker dialogs, and picker button widgets.
7655 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7657 * src/hildon-button.c: Add some API documentation
7659 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7661 * src/hildon-button.h
7662 * src/hildon-button.c
7664 (hildon_button_new_with_text): New constructor to create a button
7665 with no text at all.
7666 (hildon_button_init, hildon_button_set_arrangement)
7667 (hildon_button_set_title, hildon_button_set_value)
7668 (hildon_button_set_text)
7669 (hildon_button_construct_child): Hide the value when it's not used
7670 so the rest of the text is properly aligned.
7671 Allow creating buttons with arbitrary widgets inside (not just
7672 title/value labels).
7674 * examples/hildon-button-example.c (vertical_buttons_window)
7675 (horizontal_buttons_window): Update example to use new API.
7677 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7679 * src/Makefile.am: Added HildonTimeButton.
7680 * src/hildon-time-button.c: Added missing LGPL header.
7681 * src/hildon-time-button.h: Added missing LGPL header.
7682 * src/hildon.h: Add hildon-time-button.h
7684 Copied HildonTimeButton from sandbox to trunk. Future work on this
7685 widget must take place in trunk.
7687 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7689 * src/Makefile.am: Added HildonDateButton.
7690 * src/hildon-date-button.c: Update includes.
7691 * src/hildon.h: Add hildon-date-button.h
7693 Copied HildonDateButton from sandbox to trunk. Future work on this
7694 widget must take place in trunk.
7696 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7698 * src/Makefile.am: Added HildonPickerButton.
7699 * src/hildon-picker-button.h: Update includes.
7700 * src/hildon.h: Add hildon-picker-button.h
7702 Copied HildonPickerButton from sandbox to trunk. Future work on
7703 this widget must take place in trunk.
7705 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7707 * src/Makefile.am: Added HildonPickerDialog.
7708 * src/hildon-picker-dialog.c: Update includes.
7709 * src/hildon.h: Add hildon-picker-dialog.h
7711 Copied HildonPickerDialog from sandbox to trunk. Future work
7712 on this widget must take place in trunk.
7714 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7716 * src/Makefile.am: Added HildonTimeSelector.
7717 * src/hildon.h: Add hildon-time-selector.h
7719 Copied HildonTimeSelector widget from sandbox to trunk. Future
7720 work on this widget must happen in trunk.
7722 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7724 * src/Makefile.am: Added HildonDateSelector.
7725 * src/hildon.h: Add hildon-date-selector.h
7727 Copied HildonDateSelector widget from sandbox to trunk. Future
7728 work on this widget must happen in trunk.
7730 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7732 * src/Makefile.am: Added HildonTouchPicker.
7733 * src/hildon-touch-picker.c: Update includes.
7734 * src/hildon.h: Add hildon-touch-picker.h
7736 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7737 on this widget must happen in trunk.
7739 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7741 * src/hildon-pannable-area.c:
7742 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7744 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7746 * examples/hildon-app-menu-example.c (main): Let the window
7749 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7751 * src/hildon-pannable-area.c
7752 (hildon_pannable_area_class_init): Set the min value of the
7753 overshoot properties to zero, which points out that not
7754 overshooting allowed.
7756 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7758 Modified the procedure to get the widget at a point inside the
7759 pannable area when using the movement type signals. Now the user
7760 has to call a function to get the child, that way we just
7761 calculate the child in case the user really want to use it and not
7764 * src/hildon-marshalers.list: Modified the marshallers, now we do
7765 not have the widget as a parameter.
7767 * src/hildon-pannable-area.c
7768 (hildon_pannable_area_motion_notify_cb),
7769 (hildon_pannable_area_class_init),
7770 (hildon_pannable_get_child_widget_at): Removed the widget
7771 parameter from the signal callback. We have also refactored the
7772 emission of the signals.
7774 * src/hildon-pannable-area.h: Added a new method to the API to
7775 calculate a widget at a point inside the pannable area,
7776 hildon_pannable_get_child_widget_at.
7778 * examples/hildon-pannable-area-example-4.c
7779 (horizontal_movement): Modified the example to use the new API,
7780 added condition to control which widget is under the event. This
7781 way we can avoid scrolling laterally over other widgets.
7783 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7785 * src/hildon-pannable-area.c
7786 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7787 modes, we stop getting the pointer events due to returning the
7788 callback without properly calling the get pointer again. Fixed
7789 also an error using the hscroll and vscroll.
7791 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7793 * src/hildon-app-menu-private.h
7794 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7795 (hildon_app_menu_button_release, hildon_app_menu_init)
7796 (hildon_app_menu_class_init): Don't hide the menu on button
7797 release if the user didn't press outside first.
7799 * src/hildon-window.h
7800 * src/hildon-window.c (hildon_window_toggle_menu)
7801 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7802 hildon_window_toggle_menu a virtual function for the stackable
7803 window to override it.
7805 * src/hildon-stackable-window.h
7806 * src/hildon-stackable-window-private.h
7807 * src/hildon-stackable-window.c
7808 (hildon_stackable_window_realize)
7809 (hildon_stackable_window_finalize)
7810 (hildon_stackable_window_class_init)
7811 (hildon_stackable_window_init)
7812 (hildon_stackable_window_set_main_menu): New function to set the
7813 app menu of a HildonStackableWindow.
7815 * examples/hildon-app-menu-example.c: Remove the button to show
7816 the app menu, now it'll be shown when clicking on the title bar
7819 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7821 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7822 set the widget name if the arrangement flags do not specify
7825 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7827 * src/hildon-button.c: (hildon_button_set_property),
7828 (hildon_button_class_init), (hildon_button_new_full),
7829 (hildon_button_set_arrangement): Added "arrangement-flags"
7832 Make the HildonButtonFlags a construction-only property, to allow
7833 subclasses to set them properly.
7835 2008-07-21 Tim Janik <timj@imendio.com>
7837 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7838 insertion position after backspace, so additional digits are appended,
7841 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7843 * src/hildon-pannable-area.c,
7844 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7845 TODO list, it was complete and removed the g_debug and g_print
7848 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7850 Added the movement modes to the hildon-pannable-area, with this
7851 modes the developers can control in which directions the widget
7852 can scroll. They can also connect to signals in order to do
7853 something when that happens, allowing applications scroll. There
7854 is an example uploaded showing how to use it.
7856 * examples/Makefile.am:
7857 * examples/hildon-pannable-area-example-4.c: Added this example of
7858 an application using the modes.
7860 * src/hildon-marshalers.list: Added a new marshaller for the new
7863 * src/hildon-pannable-area.h: Added new enumerations and flags in
7864 order to control the movement modes and the new signals to warn
7865 about the movements in the area.
7867 * src/hildon-pannable-area.c:
7868 (hildon_pannable_axis_scroll),
7869 (hildon_pannable_area_scroll),
7870 (hildon_pannable_area_motion_notify_cb),
7871 (hildon_pannable_area_get_property),
7872 (hildon_pannable_area_set_property),
7873 (hildon_pannable_area_map),
7874 (hildon_pannable_area_class_init),
7875 (hildon_pannable_area_init),
7876 (hildon_pannable_area_jump_to): Added the modes to control the
7877 movement in the widget. We have added properties to control it,
7878 signals to warn about the movements and refactored some code.
7880 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7882 Changes required in order to allow vfast_factor set to zero to
7885 * src/hildon-pannable-area.c:
7886 (hildon_pannable_area_button_press_cb): Changed the condition, it
7887 is required for not allowing click when vfast_factor is zero.
7888 (hildon_pannable_area_timeout): Initialized velocity variables
7889 when we stop moving, it was less than 1 but not zero and we need
7890 to check zero in some situations.
7891 (hildon_pannable_area_class_init): Changed the default value of
7892 the speed factor, now the button_press is just sent in case the
7893 speed is 2 per cent of the max speed.
7894 (hildon_pannable_area_init): Initialization with 0.
7896 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7898 * src/hildon-pannable-area.c,
7899 (hildon_pannable_area_get_topmost): replaced
7900 gdk_window_get_children with gdk_window_peek_children, this way we
7901 do not have to free the list because it is not a copy.
7903 (hildon_pannable_axis_scroll),
7904 (hildon_pannable_area_scroll),
7905 (hildon_pannable_area_timeout),
7906 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7907 two parameters that were only used inside the
7908 hildon_pannable_area_scroll function.
7910 * examples/hildon-pannable-area-example.c,
7911 (get_sawtooth_label): Fixed small memory leak.
7913 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7915 More checks for the case where the overshoot is bigger than the
7918 * src/hildon-pannable-area.c:
7919 (hildon_pannable_draw_vscroll),
7920 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7921 to draw the slider of the scrollbar under the other scrollbar.
7922 (hildon_pannable_area_expose_event): added new checks to control
7923 the drawing of the overshooting area rectangle, in case it is too
7924 big for the area of the widget.
7925 (hildon_pannable_area_size_allocate): add more checks to avoid
7926 setting a position to the child widget outside the area.
7928 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7930 * src/hildon-pannable-area.c
7931 (hildon_pannable_area_size_allocate): Added conditions to control
7932 when overshooting is bigger than the allocated space for the
7933 children, this avoids negative allocations.
7935 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7937 * doc/hildon-docs.sgml
7939 * examples/Makefile.am
7940 * examples/hildon-button-example.c
7942 * src/hildon-button.c
7943 * src/hildon-button.h
7944 * src/hildon.h: Initial version of the new HildonButton widget,
7947 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7949 * src/hildon-pannable-area.c:
7950 (hildon_pannable_area_button_press_cb),
7951 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7952 (hildon_pannable_area_motion_notify_cb),
7953 (hildon_pannable_area_button_release_cb),
7954 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7955 (hildon_pannable_area_jump_to_child):
7957 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7959 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7961 * examples/Makefile.am
7962 * examples/hildon-pannable-area-touch-grid-example.c
7963 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7964 the Hildon Touch List and Hildon Touch Grid using the
7965 HildonPannableArea widget.
7967 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7969 * src/hildon-pannable-area.c,
7970 (hildon_pannable_area_button_press_cb),
7971 (hildon_pannable_area_refresh),
7972 (hildon_pannable_area_scroll),
7973 (hildon_pannable_area_motion_notify_cb),
7974 (hildon_pannable_area_button_release_cb),
7975 (hildon_pannable_area_expose_event),
7976 (hildon_pannable_area_add),
7977 (hildon_pannable_area_remove),
7978 (hildon_pannable_area_realize),
7979 (hildon_pannable_area_size_allocate),
7980 (hildon_pannable_area_class_init),
7981 (hildon_pannable_area_init),
7982 (hildon_pannable_area_scroll_to_child),
7983 (hildon_pannable_area_jump_to_child): Fixed the problem of
7984 removing the child from the GtkBin, we have rearranged the widget
7985 hierarchy, now there is no GtkAlignment which was not doing
7986 anything interesting but breaking some of the assumptions of
7987 GtkContainer. Now developers if they want to add a GtkAlignment
7988 they could, but it is not inside the area.
7990 We had to review the whole allocation/expose process, now it is
7991 improved and we save at least three signals which would be saving
7992 some time when rendering the widget. The allocation of the
7993 scrollbars is now made in the allocate method as usual.
7995 We have also added some conditions in order to control when there
7996 is no child of the pannable area. Maybe we will need more work
7999 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8001 * src/hildon-pannable-area.c,
8002 (hildon_pannable_area_dispose): Released the fade-out timeout when
8003 disposing the widget.
8005 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8007 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8008 zero, we are going to use that property in order to deactivate the
8010 (hildon_pannable_axis_scroll),
8011 (hildon_pannable_area_size_allocate): Added conditions to control
8012 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8013 call, now it is called in all situations and we can remove calls
8014 in the allocate method.
8015 (hildon_pannable_area_map): Control the situation when
8016 overshoot_max is zero, we do not need the timeout.
8017 (hildon_pannable_area_class_init): Added documentation in order to
8018 point out that setting zero to overshoot_max means deactivate
8021 NOTE: removed trailing whitespaces from my previous comments of
8024 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8026 * src/hildon-pannable-area.c
8027 (hildon_pannable_area_get_property),
8028 (hildon_pannable_area_set_property),
8029 (hildon_pannable_area_map),
8030 (hildon_pannable_area_class_init),
8031 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8032 to cause the widget give a hint about its panning abilities upon
8035 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8037 * src/hildon-pannable-area.c: Several documentation improvements.
8039 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8041 * src/hildon-program.c
8042 * src/hildon-stackable-window.c: Update documentation.
8044 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8046 * src/hildon-stackable-window.c (get_previous_window_if_last):
8047 Renamed get_last_window()
8048 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8049 (hildon_stackable_window_unset_program):
8051 (get_previous_window_if_last):
8052 Detect if the window hasn't been added to a HildonProgram.
8054 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8056 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8058 * src/hildon-pannable-area.c
8059 (hildon_pannable_area_button_press_cb),
8060 (hildon_pannable_axis_scroll),
8061 (hildon_pannable_area_scroll),
8062 (hildon_pannable_area_timeout),
8063 (hildon_pannable_calculate_vel_factor),
8064 (hildon_pannable_area_get_property),
8065 (hildon_pannable_area_set_property),
8066 (hildon_pannable_area_class_init),
8067 (hildon_pannable_area_init),
8068 (hildon_pannable_area_scroll_to),
8069 (hildon_pannable_area_jump_to),
8070 (hildon_pannable_area_scroll_to_child),
8071 (hildon_pannable_area_jump_to_child):
8072 * src/hildon-pannable-area.h: Added the new API functions:
8073 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8074 hildon_pannable_area_scroll_to_child,
8075 hildon_pannable_area_jump_to_child
8078 * examples/Makefile.am
8079 * examples/hildon-pannable-area-example-2.c
8080 * examples/hildon-pannable-area-example-3.c: Added these two new
8081 examples in order to test and show how the new APIs work.
8083 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8085 * examples/hildon-stackable-window-example.c (new_window):
8086 * src/Makefile.am (noinst_HEADERS):
8087 * src/hildon-program.c (hildon_program_go_to_root_window):
8088 * src/hildon-program.h:
8089 * src/hildon-stackable-window-private.h:
8090 * src/hildon-stackable-window.c:
8091 * src/hildon-stackable-window.h:
8092 Create hildon-stackable-window-private.h
8093 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8095 * examples/hildon-app-menu-example.c (create_menu):
8096 * examples/hildon-hvolumebar-insensitive-example.c (main):
8097 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8098 * examples/hildon-toolbar-seekbar-example.c (main):
8099 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8100 * src/hildon-banner.c (hildon_banner_set_property):
8101 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8102 Fix compilation warnings
8104 * src/hildon-window.c:
8107 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8109 * src/hildon-stackable-window.c
8110 (hildon_stackable_window_unset_program):
8111 Calculate correctly whether to show the previous window if the
8112 last one is removed from the stack.
8113 (hildon_stackable_window_go_to_root_window):
8114 Send delete events starting from the topmost window.
8115 Stop if one of the windows is not destroyed.
8117 (hildon_stackable_window_delete_event)
8118 (hildon_stackable_window_class_init):
8119 Ignore the delete event if the window is not the topmost one.
8121 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8123 * src/hildon-pannable-area.c
8124 (hildon_pannable_area_expose_event): Fixed a problem when
8125 selecting the background color of the scrollbars.
8127 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8129 * examples/hildon-stackable-window-example.c
8130 * src/hildon-stackable-window.c
8131 * src/hildon-stackable-window.h
8132 hildon_stackable_window_go_home() renamed to
8133 hildon_stackable_window_go_to_root_window()
8134 Send delete events to windows rather than closing them with
8135 gtk_widget_destroy()
8137 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8139 * src/hildon-pannable-area.c
8140 (hildon_pannable_area_button_release_cb): Fix overshooting in
8143 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8145 * src/hildon-pannable-area.c
8146 (hildon_pannable_area_init): Initially show the scroll indicators.
8147 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8149 Add initial effect showing the widget is pannable.
8151 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8153 * src/hildon-pannable-area.c
8154 (hildon_pannable_area_class_init)
8155 (hildon_pannable_area_set_property)
8156 (hildon_pannable_area_get_property)
8157 (hildon_pannable_area_button_press_cb):
8158 New 'velocity_fast_factor' property to decide which velocity is
8161 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8163 * src/hildon-pannable-area.c
8164 (hildon_pannable_draw_hscroll)
8165 (hildon_pannable_draw_vscroll):
8166 Use float variables to calculate the size of the scrollbars to
8167 avoid error propagation and resizing during scrolling.
8169 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8171 * src/hildon-pannable-area.c
8172 (hildon_pannable_draw_vscroll)
8173 (hildon_pannable_draw_hscroll):
8174 Define a minimum size for the scroll bars
8176 * src/hildon-stackable-window.c
8177 (hildon_stackable_window_go_home): Fix compilation warning
8178 (get_last_window): Minor optimizations
8179 (hildon_stackable_window_class_init): Fix initialization of
8182 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8184 * src/hildon-stackable-window.c: Fixed typos in doc
8186 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8188 * src/hildon-pannable-area.c
8189 (hildon_pannable_area_scroll):
8190 Calculate here whether we need to scroll instead of using the booleans
8191 that tell us whether to /draw/ the scrolling bars.
8193 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8195 * src/hildon-app-menu.h
8197 * src/hildon-app-menu.c
8198 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8199 multiple filter groups related code and API. Now we support only
8201 * examples/hildon-app-menu-example.c:
8203 Update to reflect API changes.
8205 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8207 * src/hildon-stackable-window.c
8208 (hildon_stackable_window_class_init):
8209 Add hildon_stackable_window_realize.
8210 (hildon_stackable_window_realize):
8211 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8212 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8213 to apply theming and behavior specific to HildonStackableWindow
8216 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8218 * src/hildon-note.c (hildon_note_button_release):
8219 Close information notes also when tapping on them
8221 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8223 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8224 ELASTICITY, refactor and review, fix some issues with drawing
8227 * src/hildon-pannable-area.c:
8228 (hildon_pannable_area_button_press_cb): removed the conditions to
8229 avoid clicks when overshooting. It is not required
8231 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8232 define. Refatored and reviewed the code, now we do not need to
8233 manage velocity in motion_notify.
8235 (hildon_pannable_area_motion_notify_cb): We have moved the code
8236 that controls the area_scroll to the axis_scroll function and get
8237 rid of duplicated code.
8239 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8241 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8243 (hildon_pannable_draw_vscroll),
8244 (hildon_pannable_draw_hscroll): Fixed the problems with the
8245 scrollbar drawing, now we do not use two surfaces, it is easier
8246 and saves resources.
8248 (hildon_pannable_area_get_property): Style modification.
8250 (hildon_pannable_area_class_init): Changed some default values.
8252 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8254 * src/hildon-stackable-window.c: Fix some typos in the
8257 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8259 * src/hildon-dialog.c:
8260 Change indentation style
8263 (hildon_note_button_release):
8264 Use root coordinates to check if the release event happened
8267 * src/hildon-app-menu.c
8268 (hildon_app_menu_button_release):
8269 Remove unnecessary check
8271 * examples/hildon-app-menu-example.c
8273 Add cast to fix warning
8275 * src/hildon-app-menu.c
8276 (hildon_app_menu_class_init):
8277 New inner-border style property.
8278 Set all default spacings to 16
8279 (hildon_app_menu_init):
8280 Use vertical-spacing to set the space between filter buttons and
8281 regular menu buttons.
8282 Set the default container border using the inner-border value.
8284 * examples/hildon-app-menu-example.c
8286 Don't set the menu border explicitly, now we have the inner-border
8287 style property for that.
8289 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8291 * src/hildon-app-menu.c (hildon_app_menu_init):
8292 Make the window modal
8294 * src/hildon-note.c (hildon_note_map)
8295 * src/hildon-app-menu.c (hildon_app_menu_map):
8296 Destroy the grab window if we're unable to grab the pointer
8298 * src/hildon-app-menu-private.h
8299 * src/hildon-app-menu.c
8300 (hildon_app_menu_init, hildon_app_menu_finalize)
8301 (hildon_app_menu_map, hildon_app_menu_unmap)
8302 (hildon_app_menu_button_release)
8303 (grab_transfer_window_get):
8304 Bring back the grab window
8305 (hildon_app_menu_realize):
8306 Decorate the window, set WM hint for Matchbox
8308 * src/hildon-note.c (hildon_note_realize):
8309 * src/hildon-banner.c (hildon_banner_realize):
8310 Add WM hints for Matchbox
8312 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8314 * src/hildon-app-menu-private.h
8315 * src/hildon-app-menu.c
8316 (hildon_app_menu_init, hildon_app_menu_finalize)
8317 (hildon_app_menu_map, hildon_app_menu_unmap)
8318 (hildon_app_menu_button_release):
8319 Remove the grab window, it's not needed anymore
8321 * src/hildon-program.c
8322 Fixed typo in documentation
8324 * src/hildon-app-menu.h
8325 * src/hildon-app-menu.c
8326 * examples/hildon-app-menu-example.c
8327 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8329 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8332 Added new transfer_window and close_if_pressed_outside private
8334 (hildon_note_rebuild):
8335 Don't add a cancel button to the information note. It will be
8336 closed when tapping outside
8337 Remove the comment about the OK button in the documentation
8338 (hildon_note_realize):
8339 Set the notification type hint
8340 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8341 Grab/ungrab pointer and keyboard if the note has to be closed when
8343 (hildon_note_button_release):
8344 Close the note when tapping outside (if applicable)
8346 * src/hildon-app-menu.c
8347 Grab/ungrab pointer and keyboard on map/unmap
8348 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8349 Close the menu on button release, not button press
8351 * src/hildon-banner.c
8352 (hildon_banner_set_property)
8353 (hildon_banner_check_position):
8354 Make the banner use the full width of the screen
8355 (hildon_banner_show_information)
8356 (hildon_banner_show_information_with_markup):
8357 Don't display an icon by default
8359 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8361 Added fading scrollbars and adapted all the overshooting code to
8362 horizontal scrolling. We have also fixed bugs with overshooting
8363 and current fading implementation.
8365 * src/hildon-pannable-area.c
8366 (hildon_pannable_area_scroll_indicator_fade): Time out function
8367 used to change the transparency of the scrollbars.
8369 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8370 control and fixed a problem with fading, we now remove the fade
8371 timeout before adding a new one.
8373 (hildon_pannable_axis_scroll):
8374 (hildon_pannable_area_scroll):
8375 (hildon_pannable_area_timeout): Added this functions so we can use
8376 the scroll code both for vertical and horizontal.
8378 (hildon_pannable_area_motion_notify_cb):
8379 (hildon_pannable_area_button_release_cb): Added the horizontal
8380 scrolling control, fixed a problem with the overshooting timeout.
8382 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8383 painting of the scrolls.
8385 (hildon_pannable_draw_vscroll):
8386 (hildon_pannable_draw_hscroll):
8387 (hildon_pannable_area_expose_event):
8388 Draw both scrollbars and rectangles in the overshooting area.
8390 (hildon_pannable_area_get_property):
8391 (hildon_pannable_area_set_property):
8392 Modified the overshoot property to overshoot_max
8394 (hildon_pannable_area_map):
8395 Replaced the comments symbols.
8397 (hildon_pannable_area_size_allocate):
8398 (hildon_pannable_area_class_init):
8399 (hildon_pannable_area_init): Added horizontal scroll, fading
8400 effect properties, fixed a problem when overshooting in the bottom
8403 * examples/hildon-pannable-area-example.c:
8404 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8405 looks better in the example.
8407 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8409 * src/hildon-window.c
8410 * src/hildon-window.h
8411 (hildon_window_class_init)
8412 (hildon_window_unset_program)
8413 (hildon_window_unset_program_real):
8414 Make unset_program a virtual function
8416 * src/hildon-stackable-window.c
8417 * src/hildon-stackable-window.h
8418 Added hildon_stackable_window_go_home()
8420 * examples/Makefile.am
8421 * examples/hildon-stackable-window-example.c
8422 HildonStackableWindow example
8424 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8426 * hildon-pannable-area.c: Added the overshoot property and removed
8427 the OVERSHOOT define. Fixed an indent style error.
8428 (hildon_pannable_area_motion_notify_cb):
8429 (hildon_pannable_area_get_property):
8430 (hildon_pannable_area_set_property): Add overshoot property.
8432 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8435 (hildon_pannable_area_class_init): Installed the new property.
8437 * hildon-pannable-area-example.c: Added a sawtooth function, this
8438 way it is easier to check the movement in the pannable.
8439 (get_sawtooth_label): Added this function.
8440 (main): Now we get the labels from the new get_sawtooth_label
8443 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8445 * src/hildon-app-menu.h
8446 * src/hildon-app-menu.c
8447 Renamed API variables for consistency
8449 (hildon_app_menu_popup): Use also the default window size to
8450 decide where to place the menu
8452 (hildon_app_menu_init, hildon_app_menu_class_init): New
8453 external-border style property
8455 2008-05-26 Michael Natterer <mitch@imendio.com>
8457 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8458 widget_class->tap_and_hold_setup signal slot doesn't exist any
8459 longer, stop overriding it.
8461 (hildon_time_editor_init): g_signal_connect() to the
8462 tap-and-hold-setup signal instead.
8464 (hildon_time_editor_entry_keypress): add cast to fix warning.
8466 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8468 * doc/hildon-docs.sgml
8470 * examples/Makefile.am
8471 * examples/hildon-app-menu-example.c
8473 * src/hildon-app-menu-private.h
8474 * src/hildon-app-menu.c
8475 * src/hildon-app-menu.h
8477 New HildonAppMenu widget
8479 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8481 Rearranged the inheritance of the pannable area, now it inherits
8482 from GtkBin. This will allow us to control the event_window and
8483 the allocation process of the widget, required for some effects.
8485 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8486 GtkBin structures. * src/hildon-pannable-area.c: Added the
8487 event_window variable.
8488 (hildon_pannable_area_button_press_cb):
8489 (hildon_pannable_area_button_release_cb):
8490 (hildon_pannable_area_motion_notify_cb):
8491 Changed the signature of the method, now we override the event
8492 callback instead of connecting to the signal.
8494 (hildon_pannable_area_realize):
8495 (hildon_pannable_area_unrealize):
8496 (hildon_pannable_area_map):
8497 (hildon_pannable_area_unmap):
8498 (hildon_pannable_area_size_allocate):
8499 Added functions to control the widget construction. We add a
8500 INPUT_ONLY window and we put it over the widgets inside the
8501 container, this event_window handles the events.
8503 (hildon_pannable_area_class_init):
8504 Replaced the signal connections with overrides of the event
8507 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8509 Bouncing effect added when touching the borders, you can change
8510 the elasticity of the border changing the ELASTICITY define.
8512 * src/hildon-pannable-area.c: Added ELASTICITY define.
8513 (hildon_pannable_area_timeout): Added inverse velocity when
8514 touching the border of the child widget, that causes a bounce.
8516 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8518 Improved performance, we now do not go to the X server in order to
8519 get the list of window children. Apparently the effect is the
8520 same, we have to be careful and check if this breaks something in
8523 * src/hildon-pannable-area.c:
8524 (get_ordered_children): Removed this function.
8525 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8526 the children windows function with gdk_window_get_children.
8528 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8530 * src/hildon-pannable-area.c:
8531 (hildon_pannable_area_dispose): Fixed a crash when closing the
8532 window and kinetics is activated.
8534 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8536 * src/hildon-pannable-area.h
8537 * src/hildon-pannable-area.c
8538 Changed indentation style to meet the one used in Hildon
8540 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8542 Reviewed the interaction of the AUTO mode, now we use the time
8543 attribute of the events and calculate the velocity in the motion,
8544 doing a gimp like calculation. The velocity is calculated in each
8545 motion event using the last velocity and the current one, the
8546 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8548 * src/hildon-pannable-area.c: Replaced the time based algorithm
8550 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8551 timeout for the AUTO mode when we are still moving the cursor. We
8552 added also the velocity calculation in this function.
8553 (hildon_pannable_area_button_release_cb): launch the timeout in
8554 case we are in AUTO mode. There are still some constants here that
8555 come from the old implementation that should be reviewed and
8558 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8560 * doc/hildon-docs.sgml
8563 * src/hildon-stackable-window.c
8564 * src/hildon-stackable-window.h
8566 New HildonStackableWindow widget
8568 * examples/hildon-dialog-example.c
8569 * examples/hildon-pannable-area-example.c
8572 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8574 * src/hildon-dialog.c
8575 (hildon_dialog_new_with_buttons): New constructor.
8577 * examples/hildon-dialog-example.c
8578 (main): Update the example to use the new
8579 hildon_dialog_new_with_buttons().
8581 * examples/hildon-pannable-area-example.c
8582 (main): Update example.
8584 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8586 * doc/hildon-docs.sgml
8588 Added HildonPannableArea to the documentation.
8590 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8592 * doc/visual_index.xml
8593 Fix reference to HildonLoginDialog in documentation
8595 * doc/hildon-docs.sgml
8597 * examples/Makefile.am
8598 * examples/hildon-dialog-example.c
8600 * src/hildon-dialog.c
8601 * src/hildon-dialog.h
8603 New HildonDialog widget.
8605 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8607 * src/hildon-pannable-area.c
8608 Merge latest changes (r4318, r4342) from libmokoui trunk
8610 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8612 * examples/Makefile.am
8613 * examples/hildon-pannable-area-example.c
8615 * src/hildon-pannable-area.c
8616 * src/hildon-pannable-area.h
8618 New HildonPannableArea widget.
8620 2008-04-15 18:05:19 <timj@imendio.com>
8622 * src/hildon-banner.c: revert the recent change, that introduced
8623 gtk_window_present() calls. this reopens:
8624 Bug 78481 - [freetest] information banners are hidden under browser menu
8625 But resolves another variant of:
8626 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8628 2008-04-15 13:21:13 <timj@imendio.com>
8630 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8631 recreated its layout, spotted by Kris. this fixes all remaining
8632 artefacts and stability issues with the banner code. in particular:
8633 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8635 2008-04-14 16:52:59 <timj@imendio.com>
8637 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8638 operating on unrealized widgets, fixes:
8639 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8641 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8643 2008-04-09 Kristian Rietveld <kris@imendio.com>
8645 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8646 makes banner disappear.
8647 Fixes: NB#79182: info banner flickering with certain message lengts.
8649 * src/hildon-banner.c (hildon_banner_constructor),
8650 (hildon_banner_init), (hildon_banner_set_text),
8651 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8652 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8653 FALSE, reset size requests of label and banner,
8654 (force_to_wrap_truncated): when the text is too wide, always enforce
8655 the maximum possible width instead of recalculating it from the
8656 layout; enforce the maximum banner height of 3 lines,
8657 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8658 nicer wrapping and no truncated chars if space gets tight.
8660 * src/hildon-banner-private.h: add has_been_wrapped and
8661 has_been_truncated fields.
8663 2008-04-07 Sven Herzberg <sven@imendio.com>
8665 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8666 local values in hildon_date_editor_size_allocate
8668 * src/hildon-date-editor.c: moved the real allocation code into the
8671 2008-04-07 Sven Herzberg <sven@imendio.com>
8673 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8674 local values in hildon_date_editor_size_allocate
8676 * src/hildon-date-editor.c: merged the two if() branches together
8678 2008-04-07 Sven Herzberg <sven@imendio.com>
8680 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8681 local values in hildon_date_editor_size_allocate
8683 * src/hildon-date-editor.c: changed the arguments of the if()
8686 2008-04-07 Sven Herzberg <sven@imendio.com>
8688 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8689 local values in hildon_date_editor_size_allocate
8691 * src/hildon-date-editor.c: split the calculation of the allocation
8692 from the real allocation
8694 2008-03-27 Michael Natterer <mitch@imendio.com>
8696 Fixes: NB#81696: The passcode is not overwritten even after
8699 * src/hildon-code-dialog.c
8700 (hildon_code_dialog_button_clicked)
8701 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8702 because that doesn't overwrite selected text. Instead, emit the
8703 "commit" signal on the entry's im_context so the entry's normal
8704 insert logic is triggered. Set the cursor to the end of the entry
8705 after each insert operation so that we *only* insert in the middle
8706 of the text if something was selected.
8708 2008-03-27 Michael Natterer <mitch@imendio.com>
8710 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8711 selector cannot be opened
8713 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8714 when the popup color selector is created. Please connect to this
8715 signal in order to set the dialog's help ID.
8717 2008-03-25 Sven Herzberg <sven@imendio.com>
8719 Fixes: MB#1212: Hide info banners (infoprints) on click
8721 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8722 extracted the close event simulation into an extra function
8723 (hildon_banner_button_press_event): simulate a close event and destroy
8724 the widget if the event wasn't handled
8725 (hildon_banner_class_init): added the button_press_event handler
8726 (hildon_banner_init): added button-press events to the widget
8728 2008-03-25 Sven Herzberg <sven@imendio.com>
8730 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8731 Patch from: Mohammad Anwari <mdamt@maemo.org>
8733 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8734 instead of the right in RTL mode
8735 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8736 breadcrumb button list in RTL mode
8737 * src/hildon-caption.c: mirror the appearance of the caption widget in
8739 * src/hildon-date-editor.c: mirror appearance of the date editor in
8741 * src/hildon-time-editor.c: mirror appearance of the time editor in
8743 * src/hildon-window.c: fix the position of the popup in RTL mode
8745 2008-03-25 Sven Herzberg <sven@imendio.com>
8747 Amendment to the fix of NB#22072. Fix compilation.
8749 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8751 2008-03-19 Sven Herzberg <sven@imendio.com>
8753 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8756 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8757 timeout id properly when the timeout will disappear this leaves no
8758 artifacts around in the destroy(); there will only be the timeout
8759 created by hildon_banner_ensure_timeout() and adding a new timeout
8760 will also work if the timeout gets removed because the timeout_handler
8763 2008-03-19 Michael Natterer <mitch@imendio.com>
8765 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8767 * src/hildon-volumebar.c
8768 * src/hildon-vvolumebar.c
8769 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8770 the widget becomes focussable at all.
8772 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8773 set the focus to wither the mute button or the volumebar.
8775 Remove own "can-focus" property and instead listen to
8776 notify::can-focus in order to update the widget's state.
8778 Implement GtkWidget::focus() and make sure we can also *leave* the
8779 widget, not only enter it, depending on volumebar orientation and
8780 requested focus direction.
8782 Clean up set_mute() to cooperate nicely with all the above.
8784 2008-03-04 Michael Natterer <mitch@imendio.com>
8786 Fixes: NB#78481: information banners are hidden under browser menu
8788 * src/hildon-banner.c: call gtk_window_present() on the banners so
8789 they are risen if they are already visible.
8791 2008-03-03 Sven Herzberg <sven@imendio.com>
8793 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8795 * examples/hildon-window-menu-example.c: (main): extended the window
8796 menu example to serve as a testcase for automatically added
8797 accelerator groups, too
8798 * src/hildon-window.c: (hildon_window_add_accel_group),
8799 (hildon_window_set_menu): added patch by Tommi Komulainen
8801 2008-03-03 Sven Herzberg <sven@imendio.com>
8803 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8805 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8806 knowledge about the border allocators used within GTK+
8808 2008-02-26 Sven Herzberg <sven@imendio.com>
8810 Fixes: MB#2981: Build with asserts broken
8812 * src/hildon-date-editor.c,
8813 * src/hildon-number-editor.c,
8814 * src/hildon-time-editor.c,
8815 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8816 the proper GType instance check
8818 2008-02-25 Sven Herzberg <sven@imendio.com>
8820 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8822 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8823 * examples/hildon-window-menu-example.c: (main): explicitly show
8825 * src/hildon-window.c:
8826 (hildon_window_set_main_menu): moved most of the code from set_menu()
8827 to this place; skipped the call to gtk_widget_show_all(); also didn't
8828 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8829 (hildon_window_set_menu): removed most of the code, just keep the
8830 questionable gtk_widget_show_all()
8831 * src/hildon-window.h: added the new function and deprecate the old
8834 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8840 * debian/changelog: Updating.
8842 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8845 * pkgconfig/Makefile.am:
8846 * pkgconfig/hildon.pc.in:
8849 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8850 use newly created API_MAJOR_VERSION.
8852 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8858 * debian/changelog: Updating.
8860 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8862 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8864 Add outer_border style property, we use it but don't define it (!).
8868 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8870 * examples/hildon-bread-crumb-trail-example.c (main):
8874 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8876 Fix logic for the bread crumb trail node removal.
8880 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8886 * debian/changelog: Updating.
8888 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8890 Patch by Alejandro to get/set passwords dialogs accesibility.
8892 * hildon-1/src/hildon-get-password-dialog.c:
8893 * hildon-1/src/hildon-set-password-dialog.c:
8894 Set atk_set_name to the passwd entries in order to allow
8895 accessibility by name on this entries.
8897 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * debian/control: Updating gtk dep.
8904 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8906 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8907 USE_MAEMO_GTK is enabled.
8909 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8911 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8912 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8914 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8920 * debian/changelog: Updating.
8922 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8924 * examples/Makefile.am:
8925 * examples/hildon-logical-color-example.c:
8926 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8927 applied + adding a test case. Fixes: NB#71660.
8929 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8931 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8932 to be visible, fixes warning on map for windows without toolbars.
8934 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8936 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8937 2.11.0, add a check for that besides the MAEMO_GTK check.
8939 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8945 * debian/changelog: Updating.
8947 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8949 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8950 visibility. Fixes: NB#70842 and MB#615.
8952 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8954 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8955 set the separator as no-show-all so it doesn't unintentionally appear when
8956 someone does a show_all.
8958 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8960 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8961 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8962 toplevel item. Fixes: NB#62031
8964 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8966 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8967 fix the name of the function in the docs.
8969 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8975 * debian/changelog: Updating.
8977 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8979 * examples/hildon-banner-long-example.c: Adding a test-case for long
8982 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8984 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8986 * src/hildon-color-chooser-dialog.c:
8987 * src/hildon-color-chooser.c:
8988 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8989 memory leaks in font selector and color selector. Fixes: NB#70499 and
8992 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8994 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8996 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8999 little bit bigger. Fixes: #NB63694.
9001 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * debian/changelog: Updating.
9009 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * doc/hildon-docs.sgml:
9013 * doc/images/bread-crumb-trail.png:
9014 * doc/images/calendar-popup.png:
9015 * doc/images/caption.png:
9016 * doc/images/code-dialog.png:
9017 * doc/images/color-button.png:
9018 * doc/images/color-chooser-dialog.png:
9019 * doc/images/color-chooser.png:
9020 * doc/images/controlbar.png:
9021 * doc/images/date-editor.png:
9022 * doc/images/font-selection-dialog.png:
9023 * doc/images/get-password-dialog.png:
9024 * doc/images/hvolumebar.png:
9025 * doc/images/login-dialog.png:
9026 * doc/images/note.png:
9027 * doc/images/number-editor.png:
9028 * doc/images/range-editor.png:
9029 * doc/images/seekbar.png:
9030 * doc/images/set-password-dialog.png:
9031 * doc/images/sort-dialog.png:
9032 * doc/images/time-editor.png:
9033 * doc/images/time-picker.png:
9034 * doc/images/vvolumebar.png:
9035 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9036 Adding the bread-crumb-trial and helpers to the documentation.
9038 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * examples/hildon-find-toolbar-example.c:
9041 * src/hildon-find-toolbar.c:
9042 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9043 actually continue firing the other handlers if connected. Adding a new
9045 hildon_find_toolbar_get_last_index that gets the index of the most
9046 recently added (last) item. Fixes: NB#52301.
9048 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9050 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9051 behaviour. Fixes: NB#68610.
9053 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9055 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9058 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9060 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9061 when realizing the banner. Should make the infonbanner effect a bit more
9064 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 * src/hildon-volumebar.c:
9067 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9068 hildon_volumebar_set_range_insensitive_message and
9069 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9071 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9073 * src/hildon-window.c: Fixing the border freeing on destroy.
9075 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9077 * src/hildon-code-dialog-private.h:
9078 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9079 kw keyboard support in HildonCodeDialog.
9081 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9087 * debian/changelog: Updating.
9089 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9091 * src/hildon-date-editor.c:
9092 * src/hildon-number-editor.c:
9093 * src/hildon-private.c:
9094 * src/hildon-private.h:
9095 * src/hildon-time-editor.c:
9096 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9097 handling in subclassed composite widgets. Fixes: NB#66628.
9099 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9102 from destroy_ callback as it introduces problems in async dbus signal
9103 handlers. Fixes NB#66673.
9105 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9107 * examples/hildon-hvolumebar-example.c:
9108 * src/hildon-volumebar.c: Improving the focus handling in the
9109 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9110 set_property accessor so that "mute" property can be actually set. I'm
9111 scared that nobody noticed it's totally broken.
9113 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9115 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9118 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9120 * src/hildon-calendar.c:
9121 * src/hildon-number-editor.c:
9122 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9123 matches the spec of 6 chars per second. Fixes: NB#60489.
9125 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9127 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9128 gtk_style_lookup_color sometime returns FALSE even though color was
9129 found and values were filled properly. Weird. Removing the warning for the
9132 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9134 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9135 expand vertically. Adding some extra space to the find toolbar buttons to
9136 make them thumbable. Fixes NB#66060.
9138 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9141 popup with "Ok" and "Cancel". Fixes NB#59299.
9143 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9145 * src/hildon-calendar.c: Process all window updates before executing next
9146 timeout. Fixes: NB#54146.
9148 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9154 * debian/changelog: Updating.
9156 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9158 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9159 the client event and ignore it, since we use the delete event to close
9162 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9164 * src/hildon-helper.c: Remove the bogus warning about color not being
9165 found. Fixes NB#58352.
9167 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9169 * examples/Makefile.am:
9170 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9171 HildonSeekbar widget inside a toolbar.
9173 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9175 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9176 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9177 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9178 don't want to be closed by non-temporary windows on map.
9180 Also use G_DEFINE_TYPE instead of manually typed code.
9182 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * debian/rules: Updating.
9191 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9193 * examples/Makefile.am:
9194 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9195 bug NB#61128. Strangely it works.
9197 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9199 * src/hildon-date-editor.c: When the date editor entry has been changed
9200 but the numbers of characters < max, turn off the skip validation flag.
9201 Prevents a situation when we enter first a valid year and later re-write
9202 it with an invalid one. Fixes NB#60154.
9204 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9206 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9207 code dialog. Fixes NB#64355.
9209 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9211 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9212 switching the page. Fixes NB#49374.
9214 * examples/Makefile.am:
9215 * examples/hildon-wizard-dialog-example.c: Adding an example for
9216 HildonWizardDialog that shows how to handle manual sensitivity setting on
9219 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9223 * src/hildon-version.h.in:
9224 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9226 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9228 * src/hildon-volumebar.c: Updating the docs.
9230 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * debian/changelog: Updating.
9238 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9240 * src/hildon-find-toolbar.c:
9241 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9242 selected item: hildon_find_toolbar_set_active,
9243 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9244 hildon_find_toolbar_get_active_iter . They correspond to respective
9245 GtkComboBox functions.
9247 * examples/Makefile.am:
9248 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9251 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * examples/Makefile.am:
9254 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9257 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9258 when font size > 32 and we pack a focusable widget inside. Actually using
9259 the default response would work too, but since we don't show default
9260 response state in any way (no theming) it would not be visible to the
9261 user. Fixes NB#63430.
9263 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * src/hildon-date-editor.c: Adding the missing variable setter in the
9266 set_property handler. Fixes NB#54182.
9268 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9270 * src/hildon-window.h: Changing the long key press time from 1500ms to
9271 800ms as requested in NB#63700. I have a bad feeling about this, let's
9272 see... Fixes NB#63700.
9274 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9276 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9277 hildon_time_picker_map, hildon_time_picker_realize,
9278 hildon_time_picker_style_set): Split the contents of map to more
9279 appropriate functions; set window decorations on realize and update
9280 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9282 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9287 * debian/changelog: Updating.
9289 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9291 * src/Makefile.am: fixed installation of the header files
9293 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9299 * debian/changelog: Updating.
9301 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9303 * configure.ac: Removing some remaining of --enable-xan.
9305 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9307 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9308 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9310 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9311 2.10.12-osso6 because the move-focus signal needs to be available in
9314 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9316 * examples/Makefile.am:
9317 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9318 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9319 fine. Prolly NB#61128 is fixed now.
9321 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9323 * src/hildon-volumebar.c:
9324 * src/hildon-volumebar.h: Adding the
9325 hildon_volumebar_set_range_insensitive_message and
9326 hildon_volumebar_set_range_insensitive_messagef functions to set
9327 insensitive message on the slider of the volumebar. Fixes NB#61129.
9329 * examples/Makefile.am:
9330 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9331 test the new insensitive messsage functionality on HildonVolumebar.
9333 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9335 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9338 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9340 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9341 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9342 button on after clearing the trail.
9344 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9346 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9348 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9350 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9351 by splitting the installed headers in generated and non-generated groups. Use
9352 only the non-generated headers to create the hildon-enum-types.h file.
9354 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9356 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9358 * src/hildon-window.c: Hide the window before performing the destroy.
9359 Should make the app closing a little tiny bit more snappy.
9361 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9363 * src/hildon-seekbar.c: add gtkrange.h header
9364 * src/hildon-caption.c: remove unused variable
9366 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9368 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9371 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9377 * debian/changelog: Updating.
9379 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9381 * src/hildon-window.c (hildon_window_window_state_event,
9382 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9383 escape timeout on focus-out-event rather than notify::is-topmost; the
9384 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9386 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9388 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9389 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9391 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9393 * src/hildon-window: actually, you need to use the macro always, there's
9394 no private pointer in the instance structure. We should have cleaned this up
9395 when we had the chance...
9397 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9399 * src/hildon-window.c: do not get the private date from HildonWindow before
9400 it passes the g_return_if_fail check. Once it's passed the test, there's no
9401 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9402 if you are only going to access the data once. Whitespace cleanups.
9404 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9406 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9407 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9409 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9415 * debian/changelog: Updating.
9417 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9419 * src/hildon-window.c: When destroying the window, remove (if exists) the
9420 escape timeout handler. Fixes #NB59276.
9422 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9424 * src/hildon-banner.c: When realizing the widget, set the window
9425 transiency. Setting the transiency in the gobject constructor is not
9426 good, as the widget is not realized at that point. Fixes: #NB56624.
9428 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9430 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9431 Add padding for future expansions.
9433 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9435 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9436 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9437 will fake an activation on the previous to the last item of the trail, so
9438 the effect can be overrided by the developer as usual.
9439 Also change the callback for the back button to do the same thing, so its
9440 effect can be overrided too. Fixes: NB#58982
9442 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9444 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9445 HildonCaption. Fixes NB#52379.
9447 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9449 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9450 the internal state of the trail after the user has had the chance of executing
9451 his handler for the signal. Specifically, it may happen that the activated button
9452 is removed and the user still lets the default handler run. This would segfault
9455 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9457 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9458 scrollbar to the preview dialog. Fixes NB#54147.
9460 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9462 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9463 max/min year properties can be altered, so the client can modify it
9464 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9466 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9468 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9469 hildonlike by default. Fixing a problem with disappearing arrows when
9470 scrolling through months and years. Fixes NB#54127.
9472 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9474 * examples/hildon-date-editor-example.c: Adding error callback to the date
9477 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9483 * configure.ac: Updating.
9485 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9487 * configure.ac: Adding a special '--enable-xan' configure option that
9488 turns off the -Werror compilation setting. Usefull for development.
9490 * src/hildon-calendar.c:
9491 * src/hildon-number-editor.c:
9492 * src/hildon-time-picker.c: Adding the 5* multiplier to
9495 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9497 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9498 instead of g_object_ref + gtk_object_sink.
9500 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9506 * debian/changelog: Updating.
9508 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9510 * src/hildon-color-chooser-dialog.c:
9511 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9512 straight from Tommi labs.
9514 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9516 * examples/hildon-finger-example.c: Correcting the header file path.
9518 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9519 the changed signal. Fixes a small memory leak.
9521 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9525 * src/hildon-banner.c: Importing several usefull fixes from the
9526 ubuntu-mobile branch.
9528 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9530 * examples/Makefile.am:
9531 * examples/hildon-finger-example.c: Adding a finger-checking code
9534 * src/hildon-font-selection-dialog.c: Do not allocate the color
9535 structure using the g_new. Fixes NB#54061.
9537 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9539 * src/hildon-helper.c: Correcting tabs in file.
9541 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9543 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9544 control the visibility of the children.
9546 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9548 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9554 * debian/changelog: Updating.
9556 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9558 * src/hildon-bread-crumb-trail.c:
9559 (hildon_bread_crumb_trail_size_allocate):
9561 Make the back button always a square.
9563 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9565 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9566 from the .c file as it's a private file.
9568 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9570 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9571 uses slightly bigger height.
9573 * src/hildon-font-selection-dialog.c: Adding some checks before
9574 freeing memory in the font selection dialog.
9576 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9578 * src/hildon-font-selection-dialog.c: Adding a small check when
9581 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9582 buttons sensitivity on page switching.
9584 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9586 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9587 internal details of adding a bread crumb to the trail.
9589 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9595 * debian/changelog: Updating.
9597 * src/hildon-bread-crumb-trail.h:
9598 * src/hildon-bread-crumb.h: Changing the API guard to
9599 HILDON_ENABLE_UNSTABLE_API.
9601 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9609 * src/hildon-helper.h: Updating.
9611 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9619 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9623 * src/hildon-helper.h: Small fix to make the package actually compile.
9625 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9627 * src/hildon-bread-crumb-trail.h:
9628 * src/hildon-bread-crumb.h:
9630 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9631 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9633 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9635 * examples/hildon-bread-crumb-trail-example.c:
9637 * src/hildon-bread-crumb-trail.c:
9638 * src/hildon-bread-crumb-trail.h:
9639 * src/hildon-bread-crumb.c:
9640 * src/hildon-bread-crumb.h:
9641 * src/hildon-marshalers.list:
9642 * src/hildon-bread-crumb-widget.c:
9643 * src/hildon-bread-crumb-widget.h:
9645 Slight change in the widget design. The bread crumb trail API is
9646 unchanged, but HildonBreadCrumb is now an interface. A *private*
9647 implementation, hildon-bread-crumb-widget, is provided and used
9648 internally by the trail for the push_text/push_icon functions.
9650 The generic push API is still available, so anyone can implement
9651 and use its own bread crumb widget.
9653 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9655 * debian/rules: Fixing the shlibs.
9657 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9659 * src/hildon-banner.c: Fixing a problem with timed banners having
9660 their parrent destroyed before they are.
9662 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9664 * src/hildon-bread-crumb.c:
9665 * src/hildon-bread-crumb.h:
9667 Make the get_natural_size function a vfunc.
9669 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9671 * src/hildon-bread-crumb.c:
9672 * src/hildon-bread-crumb-trail.c:
9676 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9683 * debian/changelog: Updating for release.
9685 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9687 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9688 don't leak the pango layout.
9690 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9693 * examples/hildon-bread-crumb-trail-example.c:
9697 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9699 * debian/changelog: Removing the bug-fixed entries that were actually
9700 resolved as WONTFIX.
9702 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9705 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9707 * src/hildon-bread-crumb-trail.c:
9708 * src/hildon-bread-crumb-trail.h:
9709 * src/hildon-bread-crumb.c:
9710 * src/hildon-bread-crumb.h:
9714 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9716 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9717 until it's passed the type check.
9719 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9721 * examples/hildon-bread-crumb-trail-example.c
9725 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9727 * examples/Makefile.am
9728 * examples/hildon-bread-crumb-trail-example.c
9730 * src/hildon-bread-crumb-trail.c
9731 * src/hildon-bread-crumb-trail.h
9732 * src/hildon-bread-crumb.c
9733 * src/hildon-bread-crumb.h
9735 New HildonBreadCrumbTrail widget.
9737 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9739 * src/hildon-range-editor.c (hildon_range_editor_init),
9740 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9741 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9742 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9743 hildon_time_editor_class_init, hildon_time_editor_init),
9744 src/hildon-get-password-dialog.c (invalid_input,
9745 hildon_get_password_set_property, hildon_get_password_get_property,
9746 create_contents, hildon_get_password_dialog_set_max_characters),
9747 src/hildon-set-password-dialog.c (create_contents),
9748 src/hildon-date-editor.c (hildon_date_editor_init),
9749 src/hildon-login-dialog.c (hildon_login_dialog_init),
9750 src/hildon-number-editor.c (hildon_number_editor_init),
9751 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9752 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9753 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9754 configure option and adding the respective checks in the code.
9755 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9756 hildon_calendar_drag_data_received): fixed some build warnings.
9758 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9760 * debian/changelog: A 1.0.0 release notes.