1 2009-09-22 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_axis_scroll),
5 (hildon_pannable_area_scroll): Unset the scroll_to in some
6 situations, it was causing the timeout did not stop in some cases.
8 Fixes: NB#140186 (HildonPannableArea goes into an infinite loop)
10 2009-07-02 David King <davidk@openismus.com>
12 * hildon/hildon-animation-actor-private.h
13 (HildonAnimationActorPrivate)
14 * hildon/hildon-animation-actor.c (hildon_animation_actor_show)
15 (hildon_animation_actor_hide)
16 * hildon/hildon-animation-actor.h
17 (hildon_animation_actor_set_show_full)
18 (hildon_animation_actor_set_show): Change "show" parameter type from
21 Fixes: MB#4696 (hildon_animation_actor_set_show() gint argument should
24 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
26 [2.2.0 Release Candidate 8]
29 * debian/changelog: update and bump
31 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
33 * hildon/hildon-note.c: Declare hildon_note_set_padding() only when using
36 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
38 * doc/hildon-sections.txt: Add hildon_banner_show_custom_widget()
39 * examples/hildon-banner-example.c: (area_expose),
40 (custom_widget_new), (on_progress_idle): New example showing a custom widget.
41 * hildon/hildon-banner.c:
42 * hildon/hildon-banner.h: Add hildon_banner_show_custom_widget().
44 Fixes: NB#140140 (Allow custom widgets to be used in banners)
46 2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
48 * examples/hildon-banner-example.c:
49 (on_information_clicked), (on_animation_clicked),
50 (on_progress_clicked): GtkButton:clicked handlers do not return
53 2009-09-17 Claudio Saavedra <csaavedra@igalia.com>
55 [2.2.0 Release Candidate 7]
58 * debian/changelog: bump and updates
60 2009-09-17 Alberto Garcia <agarcia@igalia.com>
62 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
63 Use the Xlib API to take window screenshots, since the GDK API
64 doesn't allow us to set the event mask.
66 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
69 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
71 [2.2.0 Release Candidate 6]
73 * debian/changelog: bump and updates.
75 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
77 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
78 free a GList and avoid potential memory corruption.
80 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
82 [2.2.0 Release Candidate 5]
85 * debian/changelog: bump and updates
87 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
89 Do not set any flag for empty legacy menus
91 * hildon/hildon-program.c: (hildon_program_set_common_menu):
92 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
93 This will probably not work fine with empty legacy menus added to
94 programs or windows and populated later, but so it's life.
96 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
98 Update the application menu flag for application-wise windows
100 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
101 (hildon_program_set_common_app_menu): Also take into account the visibility
104 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
106 Emit HildonAppMenu::changed when menu items change visibility
108 * hildon/hildon-app-menu.c: (item_visibility_changed),
109 (filter_visibility_changed): Also emit ::changed on
110 visibility of items changed.
112 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
114 Do not set the menu flag in a window when a menu is empty
116 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
117 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
118 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
119 changes by using the HildonAppMenu::changed signal.
121 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
123 Add HildonAppMenu::changed signal
125 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
126 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
127 Emit a new HildonAppMenu:changed signal when there are changes in
130 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
132 Add hildon_app_menu_has_visible_children() private method
134 * hildon/hildon-app-menu-private.h: Add below private method.
135 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
136 New method to check the visibility of a HildonAppMenu children.
138 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
140 Set the window menu flag for application-common menus
142 * hildon/hildon-program.c:
143 (+hildon_program_window_set_common_menu_flag): Set or remove the
144 menu flag from a window only this doesn't have its own menu.
145 (+hildon_program_set_common_menu_flag): adjust menu flag for
146 all windows in the program.
147 (hildon_program_add_window),
148 (hildon_program_remove_window): add/remove the menu flag when
149 a window is added to the program.
151 Fixes: NB#137814 (Indicator for view menu in app title area)
153 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
155 Set a special window property for windows with menus
157 * hildon/hildon-window-private.h: Add private
158 hildon_window_set_menu_flag()
159 * hildon/hildon-window.c: (+do_set_has_menu),
160 (+hildon_window_set_menu_flag): set
161 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
162 or remove the property.
163 (hildon_window_set_main_menu),
164 (hildon_window_set_app_menu): call above methods to set or remove
165 the property when a menu is added or removed from the window.
167 Partially fixes: NB#137814 (Indicator for view menu in app title area)
169 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
171 Rename and move the methods to set flags to hildon-private.h
173 * hildon/hildon-gtk.c: (do_set_progress_indicator),
174 (do_set_do_not_disturb), (do_set_portrait_flags): call
175 the new private method hildon_gtk_window_set_clear_window_flag()
176 (hildon_gtk_window_set_progress_indicator),
177 (hildon_gtk_window_set_do_not_disturb),
178 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
179 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
180 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
182 * hildon/hildon-private.h: Add the two new private methds.
184 2009-09-11 Alejandro G. Castro <alex@igalia.com>
186 * hildon/hildon-pannable-area.c,
187 (hildon_pannable_area_init),
188 (hildon_pannable_area_size_allocate),
189 (hildon_pannable_area_button_release_cb): More tuning of the
190 speed, adding a way to calculate the acceleration and fast-panning
191 based on the child size.
193 2009-09-10 Alberto Garcia <agarcia@igalia.com>
195 * hildon/hildon-touch-selector.c
196 (hildon_touch_selector_class_init):
197 Documentation updates
201 2009-09-10 Alberto Garcia <agarcia@igalia.com>
203 * hildon/hildon-touch-selector.c:
204 Documentation updates
206 Fixes: MB#5104 (HildonTouchSelector docs should say no
207 HildonPannableArea is necessary)
209 2009-09-08 Alejandro G. Castro <alex@igalia.com>
211 * hildon/hildon-pannable-area.c,
212 (hildon_pannable_area_timeout): Fixed problem with the timeout
213 function, we need to move before decelerating the first time or we
214 are loosing the first jump.
216 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
218 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
220 [2.2.0 Release Candidate 3]
222 * debian/changelog: updates
224 2009-09-07 Alejandro G. Castro <alex@igalia.com>
226 * hildon/hildon-pannable-area.c,
227 (hildon_pannable_area_class_init): Increased max speed.
229 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
231 [2.2.0 Release Candidate 2]
234 * debian/changelog: bump version, updates
236 2009-09-07 Alejandro G. Castro <alex@igalia.com>
238 * hildon/hildon-pannable-area.c,
239 (hildon_pannable_area_class_init),
240 (hildon_pannable_area_button_release_cb): More tuning for the
243 2009-09-07 Alejandro G. Castro <alex@igalia.com>
245 * hildon/hildon-pannable-area.c,
246 (hildon_pannable_area_class_init):
247 Change the default value of the scrollbar_fade_delay.
249 Fixes: NB#127018 (Panning indicator fades out too slowly)
251 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
253 [2.2.0 Release Candidate 1]
256 * configure.ac: Bump version
257 * debian/changelog: updates
259 2009-09-04 Alejandro G. Castro <alex@igalia.com>
261 * hildon/hildon-pannable-area.c,
262 (hildon_pannable_area_init),
263 (hildon_pannable_area_button_press_cb),
264 (hildon_pannable_area_button_release_cb): Added a new acceleration
265 system to help traversing big lists, tuned the stop threshold.
267 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
269 2009-09-04 Alberto Garcia <agarcia@igalia.com>
271 * hildon/hildon-window.h:
272 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
274 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
276 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
280 * configure.ac: bump version
282 * debian/changelog: updates
284 2009-09-04 Alberto Garcia <agarcia@igalia.com>
286 * hildon/hildon-entry.c
287 * hildon/hildon-text-view.c:
288 Documentation updates
290 2009-09-04 Alberto Garcia <agarcia@igalia.com>
292 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
293 Redraw menu when the number of items change.
295 Fixes: NB#131911 (Appmenu does not resize properly, when number of
298 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
300 * hildon/hildon-pannable-area.c:
301 (hildon_pannable_area_launch_fade_timeout),
302 (hildon_pannable_area_motion_event_scroll),
303 (hildon_pannable_area_check_move),
304 (hildon_pannable_area_button_release_cb),
305 (hildon_pannable_area_scroll_to):
307 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
308 area drawing operations, since this is the recommended for drawing
311 Fixes: NB#110894 (In event view containing very large description
312 field, application menu is displayed blank while panning)
313 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
316 2009-09-03 Alberto Garcia <agarcia@igalia.com>
318 * doc/hildon-sections.txt
319 * hildon/hildon-button.c
320 * hildon/hildon-edit-toolbar.c
321 * hildon/hildon-gtk.[ch]
322 * hildon/hildon-main.c
323 * hildon/hildon-program.c
324 * hildon/hildon-stackable-window.c:
325 Documentation updates
327 2009-08-28 Alberto Garcia <agarcia@igalia.com>
329 * hildon/hildon-app-menu.c
330 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
331 Close the menu if it receives a grab-notify signal.
333 Fixes: NB#134533 (UI freezes if we show a dialog with
334 gtk_dialog_run() while a menu is opened)
336 2009-08-27 Alejandro G. Castro <alex@igalia.com>
338 * hildon/hildon-pannable-area.c,
339 (hildon_pannable_area_class_init): Reverted tuning modifications:
340 "Pannign needs to be faster" and "Pannable kinetics in large lists
343 2009-08-26 Alberto Garcia <agarcia@igalia.com>
345 * hildon/hildon-sound.c (hildon_play_system_sound):
346 Set "module-stream-restore.id" to "x-maemo-system-sound" when
347 playing system sounds
349 Fixes: NB#133767 (Information and confirmation note sound should
350 follow system profile setting)
352 2009-08-26 Alejandro G. Castro <alex@igalia.com>
354 * hildon/hildon-pannable-area.c,
355 (hildon_pannable_area_class_init): Added more force and increased
356 the max speed threshold.
358 Fixes: NB#135344 (Pannign needs to be faster)
360 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
362 [Release 2.1.96, this time for real]
365 * debian/changelog: updates
367 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
369 * hildon/hildon-pannable-area.c
370 (hildon_pannable_area_get_topmost): change the computation of the
371 co-ordinates transformed when no one of the children is a topmost
373 Fixes: NB#133252 (Opening any feed item from RSS always opens the
374 first feed item in browser)
376 2009-08-26 Alejandro G. Castro <alex@igalia.com>
378 * hildon/hildon-pannable-area.c,
379 (hildon_pannable_area_remove_timeouts): Adding this new function
380 with the code that removes the timeouts of the widget.
381 (hildon_pannable_area_dispose),
382 (hildon_pannable_area_unrealize): Use the new remove function to
383 stop timeouts when unrealizing and disposing.
384 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
385 calculation to avoid negative values in some cases.
387 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
389 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
391 * examples/hildon-check-button-example.c: (button_toggled_cb):
392 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
393 (hildon_check_button_set_active), (hildon_check_button_new),
394 (hildon_check_button_clicked), (hildon_check_button_class_init):
395 * hildon/hildon-check-button.h:
396 * hildon/hildon-set-password-dialog.c: (create_contents),
397 (hildon_set_password_response_change), (hildon_checkbox_toggled):
399 Revert "Make HildonCheckButton derive from GtkToggleButton"
401 2009-08-21 Alberto Garcia <agarcia@igalia.com>
405 * configure.ac: bump version
407 * debian/changelog: updates
409 2009-08-21 Alberto Garcia <agarcia@igalia.com>
411 * hildon/hildon-check-button.h
412 * hildon/hildon-check-button.c
413 (hildon_check_button_clicked, hildon_check_button_class_init):
414 Make HildonCheckButton derive from GtkToggleButton
415 (hildon_check_button_toggled, hildon_check_button_set_active)
416 (hildon_check_button_get_active):
417 Deprecate unnecessary HildonCheckButton API and use the
418 one from GtkToggleButton instead.
420 * hildon/hildon-set-password-dialog.c (create_contents)
421 (hildon_set_password_response_change, hildon_checkbox_toggled)
422 * examples/hildon-check-button-example.c (button_toggled_cb):
423 Update to use the GtkToggleButton API
425 Fixes: MB#4739 (HildonCheckButton should inherit from
428 Fixes: NB#132661 (HildonCheckButton should inherit from
431 2009-08-20 Alberto Garcia <agarcia@igalia.com>
433 * hildon/hildon-pannable-area.c
434 (hildon_pannable_area_class_init):
435 Increase default value of HildonPannableArea:velocity_max to 2000
437 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
439 2009-08-18 Alberto Garcia <agarcia@igalia.com>
443 * configure.ac: bump version
445 * debian/changelog: updates
447 2009-08-11 Alejandro G. Castro <alex@igalia.com>
449 * hildon/hildon-pannable-area.c
450 (hildon_pannable_area_size_allocate): Checked the scrollbars
451 before the first try when defining the layout, avoids two
452 allocations in some situations.
454 Fixes: NB#131794 (pannable area produces unnecessary allocations
455 causing performance problems)
457 2009-08-11 Alejandro G. Castro <alex@igalia.com>
459 * hildon/hildon-pannable-area.c
460 (hildon_pannable_area_button_press_cb),
461 (hildon_pannable_area_motion_notify_cb),
462 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
463 the spurious ref added in the copy, fixes leak of window.
465 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
466 if it's realized without showing and then deleted)
468 2009-08-10 Alberto Garcia <agarcia@igalia.com>
472 * configure.ac: bump version
474 * debian/changelog: updates
476 2009-08-06 Alberto Garcia <agarcia@igalia.com>
478 * examples/hildon-hvolumebar-timer-example.c
480 * hildon/hildon-banner.c
481 (hildon_banner_timeout, hildon_banner_ensure_timeout)
482 * hildon/hildon-calendar.c
483 (calendar_timer, start_spinning)
484 * hildon/hildon-color-chooser.c
485 (inline_limited_expose)
486 * hildon/hildon-date-editor.c
487 (hildon_date_editor_entry_focus_in)
488 (hildon_date_editor_entry_validate)
489 (hildon_date_editor_entry_select_all)
490 * hildon/hildon-note.c
492 * hildon/hildon-number-editor.c
493 (hildon_number_editor_button_pressed)
494 (hildon_number_editor_start_timer, do_mouse_timeout),
495 (add_select_all_idle, hildon_number_editor_select_all)
496 * hildon/hildon-time-editor.c
497 (hildon_time_editor_entry_focus_in)
498 (highlight_callback, hildon_time_editor_validate)
499 (hildon_time_editor_entry_select_all)
500 * hildon/hildon-time-picker.c
501 (hildon_time_picker_arrow_press)
502 (hildon_time_picker_key_repeat_timeout)
503 * hildon/hildon-window.c
504 (hildon_window_key_press_event)
505 (hildon_window_escape_timeout):
506 Replace all calls to g_idle_add/g_timeout_add with their
507 gdk_threads counterparts.
509 Fixes: NB#126198 (gdk-threads API should be used to install idle
510 and timeout handlers)
512 2009-08-06 Alejandro G. Castro <alex@igalia.com>
514 * hildon/hildon-pannable-area.c,
515 (hildon_pannable_area_class_init): Increased the overshooting max
516 speed to get a faster effect.
517 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
518 deceleration of the overshooting
519 (hildon_pannable_area_button_release_cb): Calculate initial
520 overshooting speed when finger on the screen using the distance to
521 launch the effect faster.
523 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
524 lists with slow row renderers)
526 2009-08-05 Alberto Garcia <agarcia@igalia.com>
528 * doc/hildon-sections.txt: Add new functions
530 2009-08-05 Alberto Garcia <agarcia@igalia.com>
532 * hildon/hildon-text-view.[ch]
533 * hildon/hildon-entry.[ch]:
534 Add deprecation guards around deprecated functions.
536 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
538 * hildon/hildon-app-menu.c: Remove leftover function declaration.
540 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
542 Remove the grab from HildonAppMenu
544 * hildon/hildon-app-menu.c:
545 Now hildon-desktop places a blocker window behind the menu to handle
546 its closing, so the grab is no longer needed. This simplifies its
547 implementation and allows the system blanking to succeed.
549 Fixes: NB#130910 (Screen gets unlocked when menu is open)
551 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
555 * configure.ac: bump version
557 * debian/changelog: updates
558 * debian/control: raise debian dependency on GTK+
560 2009-08-04 Alberto Garcia <agarcia@igalia.com>
562 * hildon/hildon-text-view.c
563 * hildon/hildon-entry.c:
564 Remove all placeholder code from HildonEntry and HildonTextView
565 and use the API in GtkEntry and GtkTextView instead.
567 * examples/hildon-entry-example.c
568 * examples/hildon-text-view-example.c
569 * examples/hildon-wizard-dialog-example.c
570 * hildon/hildon-get-password-dialog.c
571 * hildon/hildon-login-dialog.c
572 * hildon/hildon-picker-dialog.c
573 * hildon/hildon-set-password-dialog.c
574 * hildon/hildon-touch-selector-entry.c:
575 Replace all deprecated calls to HildonEntry and HildonTextView
576 with their Gtk counterparts.
578 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
581 2009-08-03 Alejandro G. Castro <alex@igalia.com>
583 * hildon/hildon-pannable-area.c,
584 (hildon_pannable_area_check_move),
585 (hildon_pannable_area_button_release_cb),
586 (hildon_pannable_area_scroll_to): Reverted the priority change of
587 the timeout, in some situations, slow renderers, the click do not
588 make it to the mainloop on time.
590 Fixes NB#131013 (unable to stop panning file manager by tapping on
593 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
595 * configure.ac: bump version
597 * debian/changelog: updates
599 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
601 * hildon/hildon-touch-selector.[ch]
602 (hildon_touch_selector_center_on_index): New method that allows to center
603 on a item not selected
605 Fixes NB#130291 (New HildonTouchSelector API is required to center on
608 2009-07-29 Alberto Garcia <agarcia@igalia.com>
610 * hildon/hildon-text-view.c
611 (+set_logical_color, +hildon_text_view_style_set)
612 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
613 (hildon_text_view_init)
614 * hildon/hildon-entry.c
615 (+set_logical_color, +hildon_entry_style_set)
616 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
617 (hildon_entry_class_init, hildon_entry_init)
618 * hildon/hildon-button.c
619 (+set_logical_font, +set_logical_color)
620 (hildon_button_style_set, hildon_button_init)
621 (hildon_button_set_arrangement, hildon_button_set_style):
622 Remove all calls to hildon_helper_set_logical_font() and
623 hildon_helper_set_logical_color(), which are recursive, from
626 Fixes: NB#123409 (Showing dialog consumes significant amount of
629 2009-07-29 Alejandro G. Castro <alex@igalia.com>
631 * hildon/hildon-pannable-area.c,
632 (hildon_pannable_area_timeout): Added the process updates of the
633 scrollbars window in the pannable.
635 Fixes: NB#130043 (scrollindicator not smooth while panning)
637 2009-07-23 Alejandro G. Castro <alex@igalia.com>
639 * hildon/hildon-pannable-area.c,
640 (hildon_pannable_area_check_move),
641 (hildon_pannable_area_button_release_cb),
642 (hildon_pannable_area_scroll_to): Increased the priority of the
643 timeout this way it is going to be handled before the events.
645 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
649 * configure.ac: bump version
650 * debian/changelog: updates
652 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
654 * hildon/hildon-entry.c: (set_property): Do not allow to set
655 automatic height and use finger height instead, to prevent an to
656 have a smaller size than than its theme pixbuf.
658 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
660 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
662 * configure.ac: postrelease version bump.
663 * debian/changelog: post release version bump
665 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
670 * configure.ac: Bump version.
671 * debian/changelog: Updates.
673 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
675 * hildon/hildon-note.c: (label_size_request): Take the note
676 padding into account when setting the size request.
678 Fixes: NB#127896 (Information notes text truncated)
680 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
682 * configure.ac: postrelease version bump.
683 * debian/changelog: post release version bump
685 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
690 * configure.ac: Bump version.
691 * debian/changelog: Updates.
693 2009-07-16 Alejandro G. Castro <alex@igalia.com>
696 * hildon/hildon-text-view.c,
697 (hildon_text_view_button_press_event): Grabbed the focus in button
698 press, this way we are sure the widget has the focus in the
699 release event, required for HIM.
701 Fixes: NB#121445 (Virtual keyboard opening is not working in same
702 way for each text entry field)
704 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
706 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
707 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
708 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
709 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
710 (hildon_pannable_area_[gs]et_center_on_child_focus)
711 Redefined GtkContainer set-focus-child signal, in order to center
712 properly on a child when it receives the focus. Defined a new property
713 "center-on-child-focus" in order to activate this feature (deactivated
714 by default). Public get/set methods defined to manage the property.
716 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
718 2009-07-14 László Pere <lpere@blumsoft.eu>
720 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
721 the new size is applied.
723 Fixes: NB#124510 (The Application Menu is distorted when switched
724 between portrait and landscape mode)
725 Fixes: NB#115388 (Power key menu does not resize itself)
727 2009-07-01 Alberto Garcia <agarcia@igalia.com>
729 * hildon/hildon-banner.c (hildon_banner_map):
730 Set banner position after mapping.
732 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
734 * configure.ac: postrelease version bump.
735 * debian/changelog: post release version bump
737 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
742 * configure.ac: Bump version.
743 * debian/changelog: Updates.
745 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
747 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
750 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
752 * tests/check-hildon-banner.c
754 * tests/test_suites.h
755 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
756 were testing deprecated functions.
757 * examples/hildon-banner-example.c: typo on button3 type, that causes
758 a fail compiling with --with-examples but without --disable-deprecated
760 Missed commit in order to fix compilation using '--enable-fatal' and
761 '--disable-deprecated' (see previous commit)
763 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
765 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
766 functions with #ifndef HILDON_DISABLE_DEPRECATED
767 * examples/hildon-find-toolbar.c: Protect deprecated
768 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
769 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
770 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
771 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
773 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
774 to allow proper compilation of deprecated functions defined on the header
776 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
778 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
780 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
781 Cache the panning indicator color.,
782 (hildon_pannable_area_style_set): Query the color on style changes.
783 (hildon_pannable_draw_vscroll),
784 (hildon_pannable_draw_hscroll),
785 (hildon_pannable_area_expose_event): Use the cached panning indicator
786 color instead of looking it up on every expose and more.
788 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
790 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
791 (hildon_pannable_draw_hscroll),
792 (hildon_pannable_area_expose_event): Fix the panning indicator color,
793 so that it's "SecondaryTextColor", as desired.
795 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
797 * hildon/hildon-picker-dialog.c:
798 (selection_completed): take into account HILDON_UI_MODE_NORMAL
799 * hildon/hildon-touch-selector.c
800 (hildon_touch_selector_init): Initialize hildon-ui-mode
801 (hildon_touch_selector_row_activated): new callback for the
802 "row-activated" signal, in order to save the last activated
803 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
804 if the current hildon-ui-mode is coherent with the touch selector
805 (hildon_touch_selector_class_init)
806 (hildon_touch_selector_get_property)
807 (hildon_touch_selector_set_property)
808 Added "hildon-ui-mode" property
809 (disconnect_model_handlers): renamed to clean_column
810 (hildon_touch_selector_remove): use clean_column function
811 (_create_new_column): use the hildon-ui-mode to create the treeview, and
812 only select the first element on HILDON_UI_MODE_EDIT
813 (hildon_touch_selector_column_init): Initialize last_activate
814 (hildon_touch_selector_append_column): check that the touch selector
815 is coherent with the current hildon-ui-mode
816 (hildon_touch_selector_get_hildon_ui_mode)
817 (hildon_touch_selector_set_hildon_ui_mode)
818 Added a getter/setter for the hildon-ui-mode property
819 (hildon_touch_selector_get_last_activated_row): Added this method in
820 order to get the last activated row.
821 * examples/hildon-touch-selector-normal-mode-example.c
822 New example, that shows how to use the HildonTouchSelector in
823 HILDON_UI_MODE_NORMAL
825 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
826 Kristian Rietveld <kris@lanedo.com> advices
828 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
830 * hildon/hildon-time-selector.c: (update_format_policy): Do
831 not call update_format_dependant_columns() if not necessary.
832 (update_format_dependant_columns): Remove unnecessary check for
833 the number of columns.
835 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
837 * hildon/hildon-note.c (+hildon_note_constructor),
838 (hildon_note_class_init), (+hildon_note_set_padding),
839 (hildon_note_rebuild): Install a constructor where to set the
840 padding properties in the note, so that it actually works fine.
841 Use hildon_note_set_padding() for this, and also to set it during
844 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
846 * configure.ac: Bump GTK+ requirement to 2.14.3.
847 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
848 when using maemo-gtk to define proper margins for the notes.
850 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
851 with the dialog edge)
853 2009-06-24 Alberto Garcia <agarcia@igalia.com>
855 * hildon/hildon-banner.c
856 (hildon_banner_class_init):
858 (+hildon_banner_size_request):
859 Request always the full width of the screen.
860 (hildon_banner_realize)
861 (-hildon_banner_check_position, hildon_banner_map):
862 hildon_banner_check_position() is not needed in Hildon 2.2.
863 (-hildon_banner_reset_wrap_state)
864 (hildon_banner_constructor, hildon_banner_init):
865 Remove unnecessary calls to hildon_banner_reset_wrap_state()
866 (+banner_do_set_text)
867 (force_to_wrap_truncated):
868 Remove has_been_wrapped and has_been_truncated attributes.
869 (+reshow_banner, hildon_banner_real_show_information)
870 (hildon_banner_show_information_with_markup)
871 (hildon_banner_show_animation, hildon_banner_show_progress)
872 (hildon_banner_set_text, hildon_banner_set_markup):
873 Refactor code. Shrink banner vertically to use the minimum space
874 necessary everytime the text of the label is updated.
875 (screen_size_changed):
876 Call force_to_wrap_truncated() when the size of the screen
879 Fixes: NB#120500 (only device memory connect mmc in use info
880 banner is left aligned)
882 Fixes: NB#120613 (Size of HildonBanner varies depending on
883 previously opened banners)
885 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
887 * hildon/hildon-color-chooser.c
888 (hildon_color_chooser_pointer_motion): Take the widget allocation
891 Fixes: NB#124385 (Unable to select exact point in color mixing box
892 in color palette dialog)
894 2009-06-23 Alejandro G. Castro <alex@igalia.com>
896 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
897 (hildon_pannable_area_dispose)
898 (hildon_pannable_area_button_press_cb)
899 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
900 (hildon_pannable_area_button_release_cb)
901 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
902 New 'panning-started' and 'panning-finished' signals.
904 Fixes: NB#121732 (New feature request: Signal to pannable area
905 that informs when panning is stopped.)
907 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
909 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
910 instead of hardcoded colon.
912 Fixes: NB#124090 (New calendar wizard title is not using
913 ecdg_ti_caption_separator)
915 2009-06-22 David King <davidk@openismus.com>
917 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
918 constants and functions, as well as correct many typos throughout the
921 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
924 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
926 * configure.ac: postrelease version bump.
927 * debian/changelog: post release version bump
929 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
934 * configure.ac: Bump version.
935 * debian/changelog: Updates.
937 2009-06-18 Alberto Garcia <agarcia@igalia.com>
939 * hildon/hildon-window-stack.c
940 (hildon_window_stack_pop_and_push_list):
941 Prevent windows from having the same stack index
943 2009-06-18 Alberto Garcia <agarcia@igalia.com>
945 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
946 Use the index of the previous window rather than the stack length
947 to calculate the new index.
951 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
953 * hildon/hildon-date-selector.c
954 (hildon_date_selector_select_current_date)
955 (hildon_date_selector_get_date)
956 (hildon_date_selector_select_day):
957 Update the documentation: uses always the range (1-31), as it is obvious
958 that the final one will depend on the month and the year, but globally
959 the range is this, in a similar GtkCalendar approach
960 (hildon_date_selector_get_date):
961 Update the documentation: add NULL as a valid value for the day, month
964 Fix some details, after talk with David King on bug MB#4698
966 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
968 * hildon/hildon-touch-selector-entry.c
969 * hildon/hildon-touch-selector.c
970 Update the documentation of the "text-column" property
972 2009-06-18 David King <davidk@openismus.com>
974 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
975 several typos and errors throughout the documentation.
977 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
980 2009-06-18 Alberto Garcia <agarcia@igalia.com>
982 * hildon/hildon-note.c (hildon_note_realize):
983 Make HildonNote support portrait mode.
985 Fixes: NB#123448 (HildonNote is not portrait-friendly)
987 2009-06-17 Alberto Garcia <agarcia@igalia.com>
989 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
990 Document this function
992 2009-06-17 David King <davidk@openismus.com>
994 * hildon/hildon-date-selector.c
995 (hildon_date_selector_select_current_date)
996 (hildon_date_selector_get_date): Update documentation regarding days,
997 as the day of the month is dependent on both the month and the year.
998 (hildon_date_selector_get_date): Fix documentation of output arguments.
1000 Fixes: MB#4698 (DateSelector documentation has bad output argument
1001 description, and the day depends on both the month and the year)
1003 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
1005 * hildon/hildon-caption.c: Other documentation fixes to
1008 2009-06-17 David King <davidk@openismus.com>
1010 * hildon/hildon-caption.c: Minor documentation updates for
1011 HildonCaption. Fixes MB#4697.
1013 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
1015 * doc/hildon-docs.sgml: Add hildon-version section.
1016 * doc/hildon-sections.txt:
1017 * hildon/hildon-version.h.in: Document versioning macros and
1020 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
1022 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
1023 from HildonPickerDialog section.
1025 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1027 * hildon/hildon-banner.c (hildon_banner_bind_style)
1028 (screen_size_changed, hildon_banner_init)
1029 (hildon_banner_real_show_information)
1030 (hildon_banner_show_information_with_markup)
1031 (hildon_banner_show_animation, hildon_banner_show_progress):
1032 Set a different widget name to banners in portrait mode, for them
1033 to be themed correctly.
1035 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1037 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
1038 Set a different widget name to notes in portrait mode, for them to
1039 be themed correctly.
1041 Partially fixes: NB#118401 (HildonNote causes unnecessary
1042 rescaling of images)
1044 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1046 * hildon/hildon-note.c (hildon_note_class_init)
1047 (+hildon_note_size_request, screen_size_changed):
1048 Always request the full width of the screen.
1050 Fixes: NB#118375 (unnecessary rescaling of images)
1052 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1054 * hildon/hildon-pannable-area.c,
1055 (hildon_pannable_area_init),
1056 (hildon_pannable_area_realize): Replaced old code adding flags in
1057 the object init, now we add it with the other flags in the realize
1060 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1062 * hildon/hildon-note.c: (hildon_note_class_init): Several
1063 documentation improvements to the HildonNote widget.
1065 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1067 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1069 Fixes: MB#4556 (HildonNoteType is undocumented)
1071 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1073 * hildon/hildon-picker-button.c:
1074 Explain how HildonPickerButton sets the title of its dialog
1076 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1077 the title of its dialog)
1079 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1081 * hildon/hildon-check-button.c:
1082 Documentation updates
1084 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1087 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1089 * hildon/Makefile.am
1090 * hildon/hildon-edit-toolbar-private.h
1091 * hildon/hildon-edit-toolbar.c
1092 (+hildon_edit_toolbar_set_progress_indicator)
1093 (hildon_edit_toolbar_init): Add progress indicator to the
1096 * hildon/hildon-gtk.c
1097 (hildon_gtk_window_set_progress_indicator):
1098 If the window contains a HildonEditToolbar, enable the progress
1099 indicator there too.
1101 * hildon/hildon-private.h
1102 * hildon/hildon-private.c
1103 (+hildon_private_create_animation)
1104 * hildon/hildon-banner.c
1105 (-hildon_banner_create_animation):
1106 Moved to hildon-private.c
1108 Fixes: NB#102373 (Progress indicator also for the Edit mode
1111 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1113 * hildon/hildon-app-menu-private.h
1114 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1115 (hildon_app_menu_add_filter, +menu_item_button_event)
1116 (hildon_app_menu_button_release, hildon_app_menu_init):
1117 Make sure that buttons receive 'button-release-event' in spite of
1118 the grab held by HildonAppMenu
1120 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1122 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1124 * hildon/hildon-app-menu.c
1125 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1126 New style property to set the size of the group of filter buttons.
1128 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1130 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1135 * configure.ac: Bump version.
1136 * debian/changelog: Updates.
1138 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1140 * hildon/hildon-main.c: Minor documentation fixes.
1142 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1144 * doc/hildon-sections.txt:
1145 * hildon/hildon-defines.h: Document the defines, organize them,
1146 and mark deprecations as such.
1148 Fixes: MB#4463 (Hildon size #defines are undocumented)
1150 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1152 * hildon/hildon-animation-actor.c:
1153 * hildon/hildon-app-menu.c:
1154 * hildon/hildon-button.c:
1155 * hildon/hildon-date-editor.c:
1156 * hildon/hildon-dialog.c:
1157 * hildon/hildon-edit-toolbar.c:
1158 * hildon/hildon-entry.c:
1159 * hildon/hildon-program.c:
1160 * hildon/hildon-remote-texture.c:
1161 * hildon/hildon-stackable-window.c:
1162 * hildon/hildon-text-view.c:
1163 * hildon/hildon-touch-selector.c:
1164 * hildon/hildon-window-stack.c:
1165 * hildon/hildon-window.c:
1167 Remove redundant "represents" wording from most of the documentation.
1169 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1171 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1175 * hildon/Makefile.am
1176 * hildon/hildon-banner-private.h
1177 * hildon/hildon-banner.c:
1178 Move HildonBannerPrivate to hildon-banner.c and remove
1179 hildon-banner-private.h
1180 Use a bit field to store private booleans.
1182 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1184 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1185 Don't install a new idle function if there's already one
1190 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1192 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1193 (+legacy_menu_realized, +legacy_menu_unmapped)
1194 (+set_legacy_menu_type):
1195 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1196 they can be identified by the window manager.
1198 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1199 displayed in wrong location)
1201 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1204 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1206 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1208 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1209 use gtk-doc support)
1211 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1213 * hildon/hildon-code-dialog.c
1214 * hildon/hildon-date-editor.c
1215 * hildon/hildon-number-editor.c
1216 * hildon/hildon-seekbar.c
1217 * hildon/hildon-stackable-window.c
1218 * hildon/hildon-window.c:
1219 Misc documentation updates
1221 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1223 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1224 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1226 Fixes: NB#117931 (Theming issues in accounts dialogs)
1228 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1230 * hildon/hildon-pannable-area.c,
1231 (hildon_pannable_area_button_release_cb): Changed the coordinates
1232 of the original release in case we want to discard the release,
1233 some widgets in Fremantle do not handle the leave-notify.
1235 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1237 * hildon/hildon-pannable-area.c,
1238 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1239 the release using the last refactored functions and avoiding the
1240 movement if an element was selected.
1242 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1244 * hildon/hildon-pannable-area.c,
1245 (hildon_pannable_area_check_move),
1246 (hildon_pannable_area_handle_move),
1247 (hildon_pannable_area_motion_notify_cb): Refactored the
1248 motion_notify method using a couple of new functions.
1250 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1252 * hildon/hildon-date-selector.c:
1253 (hildon_date_selector_construct_ui):
1254 * hildon/hildon-time-selector.c:
1255 (hildon_time_selector_constructor):
1256 * hildon/hildon-touch-selector-entry.c:
1257 (hildon_touch_selector_entry_set_text_column),
1258 (hildon_touch_selector_entry_get_text_column):
1259 * hildon/hildon-touch-selector.c: (_default_print_func),
1260 (hildon_touch_selector_new_text): Use
1261 hildon_touch_selector_set/get_text_column() instead of
1262 setting/getting the "text-column" property.
1264 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1266 * doc/hildon-sections.txt: Add the new public methods below.
1268 * examples/hildon-picker-button-multicolumn-example.c:
1269 (create_touch_selector):
1270 * examples/hildon-touch-selector-example.c: (create_selector):
1271 * examples/hildon-touch-selector-multi-cells-example.c:
1273 Use hildon_touch_selector_column_set_text_column()
1275 * hildon/hildon-touch-selector-column.h:
1276 * hildon/hildon-touch-selector.c:
1277 (hildon_touch_selector_column_set_text_column),
1278 (hildon_touch_selector_column_get_text_column):
1279 Make hildon_touch_selector_column_set/get_column() public, use
1280 them in the inline example, document them, and reference to them
1283 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1285 * hildon/hildon-time-selector.c: Fix the docs for
1286 hildon_time_selector_new_step().
1288 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1290 * hildon/hildon-touch-selector.c: Improve the documentation for
1291 hildon_touch_selector_append_column().
1293 Fixes MB#4641 (Documentation:
1294 hildon_touch_selector_append_column() ref-counting)
1296 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1298 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1299 Comment out test 5, since the hildon_controlbar_set_range() range
1300 check is broken and fixing it would have side effects. Also,
1301 this finally fixes make distcheck.
1303 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1305 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1307 * tests/TEST-CASES.txt: Remove other bogus test.
1308 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1309 Remove bogus test that was setting/retrieving a valid value.
1311 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1313 * tests/TEST-CASES.txt: Remove bogus tests.
1314 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1315 Remove three bogus tests that were actually setting valid colors.
1317 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1319 * configure.ac: post release version bump
1320 * debian/changelog: post release version bump
1322 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1327 * configure.ac: Bump version.
1328 * debian/changelog: Updates.
1330 2009-06-08 Christian Dywan <christian@lanedo.com>
1334 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1335 Correct errors in hildon_format_file-size_for_display and use
1336 translations from the hildon-fm package instead of osso-filemanager.
1338 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1340 * hildon/hildon-pannable-area.c,
1341 (hildon_pannable_area_init): Initialized new values to handle the
1342 adjustment position.
1343 (hildon_pannable_area_adjust_value_changed): Check if the values
1344 changed before even call the redraw function.
1345 (hildon_pannable_area_size_allocate),
1346 (hildon_pannable_axis_scroll),
1347 (hildon_pannable_area_scroll),
1348 (hildon_pannable_area_jump_to): Improved the diagonal movement
1351 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1354 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1356 * examples/hildon-banner-example.c:
1357 Several style updates
1358 (on_animation_clicked, on_animation_idle)
1359 (on_progress_clicked, on_progress_idle):
1360 Add additional reference for the cases when the parent window is
1363 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1365 * doc/hildon-sections.txt
1366 * hildon/hildon-pannable-area.c
1367 * hildon/hildon-banner.h
1368 * hildon/hildon-banner.c: Documentation updates.
1370 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1373 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1375 * hildon/hildon-calendar-popup.h:
1376 * hildon/hildon-caption.h:
1377 * hildon/hildon-code-dialog.h:
1378 * hildon/hildon-controlbar.h:
1379 * hildon/hildon-date-editor.h:
1380 * hildon/hildon-dialog.h:
1381 * hildon/hildon-get-password-dialog.h:
1382 * hildon/hildon-hvolumebar.h:
1383 * hildon/hildon-login-dialog.h:
1384 * hildon/hildon-note.h:
1385 * hildon/hildon-number-editor.h:
1386 * hildon/hildon-range-editor.h:
1387 * hildon/hildon-seekbar.h:
1388 * hildon/hildon-set-password-dialog.h:
1389 * hildon/hildon-sort-dialog.h:
1390 * hildon/hildon-time-editor.h:
1391 * hildon/hildon-time-picker.h:
1392 * hildon/hildon-volumebar-range.h:
1393 * hildon/hildon-volumebar.h:
1394 * hildon/hildon-vvolumebar.h:
1395 * hildon/hildon-weekday-picker.h:
1396 * hildon/hildon-window.h:
1397 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1398 macros with the current replacements
1400 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1402 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1404 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1405 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1406 itself, to make it fit better with Fremantle style.
1408 Fixes: NB#109878 (height and width of focus on color icon is not
1409 consistent with other item in the application tool bar)
1411 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1413 * hildon/hildon-touch-selector.c:
1414 (hildon_touch_selector_optimal_size_request): use the current requisition
1415 as the base, in order to include any possible extra widget, like the
1416 hildon entry on HildonTouchSelectorEntry
1418 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1420 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1422 * configure.ac: post release version bump
1423 * debian/changelog: post release version bump
1425 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1430 * configure.ac: Bump version.
1431 * debian/changelog: Updates.
1433 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1435 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1437 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1438 to ensure the banner contents are centered, instead of relying on
1439 the expand and fill properties in GtkHBox.
1440 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1442 Fixes: NB#108265 (Animation banner not properly centered)
1444 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1446 * hildon/hildon-pannable-area.c
1447 (hildon_pannable_area_initial_effect): Remove the initial_effect
1448 management, check initial_hint
1449 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1450 set initial_effect to FALSE
1451 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1452 by launching the fade_timeout if the scrollbars state has changed and are
1454 * examples/hildon-pannable-area-initial-hint-example.c
1455 Modified to allow to remove rows too. Add and remove rows one by one.
1457 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1459 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1460 Don't close the menu if there's an animation actor below it.
1462 Fixes: NB#117927 (Application menu not usable with animation
1465 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1467 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1468 "focus-on-click" from the dialog button, to avoid stealing the
1469 focus from the entry.
1471 Fixes: NB#118903 (Account setup wizard: Text in Search field
1472 should be focused when "Region" touch list picker is reopened
1475 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1477 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1478 (prepare_action_area): Completely hide the dialog separator.
1480 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1482 * hildon/hildon-touch-selector-entry.c
1483 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1484 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1485 now that the entry is exposed.
1487 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1489 * hildon/hildon-touch-selector-entry.c
1490 (hildon_touch_selector_entry_init): Change the entry's size
1491 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1493 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1495 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1496 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1497 avoid unnecessary scaling.
1499 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1501 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1502 Create grab transfer window before calling parent's map function.
1504 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1505 "crushed" button(s) in the top left corner)
1507 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1509 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1510 Check if the window is already realized when pushing it.
1512 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1514 * configure.ac: post release version bump
1515 * debian/changelog: post release version bump
1517 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1522 * configure.ac: Bump version.
1523 * debian/changelog: Updates.
1525 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1527 * hildon/hildon-app-menu.c: Doc updates.
1529 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1531 * hildon/hildon-banner.c: Remove leftover macro.
1533 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1535 * hildon/hildon-pannable-area.c,
1536 (hildon_pannable_area_scroll_indicator_fade),
1537 (hildon_pannable_area_button_release_cb): Reviewed vmin
1538 conditions, it could cause problems in the fadeout procedure.
1540 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1542 * hildon/hildon-pannable-area.c
1543 (hildon_pannable_area_button_release_cb): Added a threshold to
1544 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1546 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1548 * hildon/hildon-pannable-area.c,
1549 (hildon_pannable_area_set_property): Added code to sync the gtk
1550 dnd threshold with the panning threshold.
1552 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1554 * hildon/hildon-pannable-area.c,
1555 (hildon_pannable_area_class_init): Changed some of the default
1556 values, now it should be less responsive and more accurate.
1558 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1560 * hildon/hildon-pannable-area.c,
1561 (hildon_pannable_area_init),
1562 (hildon_pannable_area_scroll_indicator_fade),
1563 (hildon_pannable_area_button_press_cb),
1564 (hildon_pannable_axis_scroll),
1565 (hildon_pannable_area_timeout),
1566 (hildon_pannable_area_motion_notify_cb),
1567 (hildon_pannable_area_button_release_cb): Changed the name of the
1568 clicked attribute to button_pressed, it is more clear about its use.
1570 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1572 * src/hildon-pannable-area.c
1573 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1575 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1576 vertical scrollbar visibility, and use the data on private section instead,
1577 remove the initial_hint check
1578 (hildon_pannable_area_expose_event): add the initial_hint check here
1580 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1582 * src/hildon-pannable-area.c
1583 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1584 if the fadeout effect was used
1585 (hildon_pannable_area_expose_event): check if it is required to
1586 manage the initial effect on the begining of the function. Previously
1587 it was made at the end, but this doesn't ensure that the scrollbars
1588 will be painted on the first show. Do not set to FALSE initial_effect,
1589 to ensure that the initial hint is showed the first time the pannable
1591 * examples/Makefile.am
1592 * examples/hildon-pannable-area-initial-hint-example.c:
1593 New example, to show that the initial-hint is showed when the widget
1596 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1597 initially if the application can be scrolled)
1599 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1601 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1602 Resize table before adding new items to make sure that
1603 gtk_table_resize() is called just once.
1605 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1607 * hildon/hildon-app-menu-private.h
1608 * hildon/hildon-app-menu.c (item_visibility_changed)
1609 (filter_visibility_changed, hildon_app_menu_show_all)
1610 (hildon_app_menu_hide_all, hildon_app_menu_init):
1611 Rearrange items just once when gtk_widget_show_all()/hide_all()
1614 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1616 * hildon/hildon-app-menu.c
1617 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1618 Don't call gtk_widget_show() on added items.
1620 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1621 automatically when they're added)
1623 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1625 * hildon/hildon-banner.c
1626 (hildon_banner_realize, +hildon_banner_unrealize)
1627 (+screen_size_changed, hildon_banner_class_init):
1628 Redisplay the banner if the screen is rotated.
1630 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1631 on transition from landscape to portrait)
1633 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1635 * hildon/hildon-banner.[ch]:
1636 (hildon_banner_show_information_override_dnd): remove icon_name from the
1637 method definition as it is ignored.
1638 * examples/hildon-banner-dnd-example.c: updated with the change on
1641 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1643 * hildon/hildon-banner-private.h: new require_override_dnd and
1644 overrides_dnd variables
1645 * hildon/hildon-banner.h:
1646 (hildon_banner_show_information_override_dnd): new method, that shows
1647 the information but sets the override flag, in order to show important
1649 * hildon/hildon-banner.c
1650 (hildon_banner_show_information_override_dnd): new method
1651 (hildon_banner_set_override_flag): new utility function
1652 (hildon_banner_real_show_information): new utility function, in order to
1653 generalize the current hildon_banner_show_information_override_dnd and
1654 hildon_banner_show_information_override_dnd
1655 * examples/Makefile.am
1656 * examples/hildon-banner-dnd-example.c: New example that show how to
1657 use the new hildon_banner_show_information_override_dnd
1659 Fixes: NB#114874 (There is no possibility to show hildon banners with
1662 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1664 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1665 behind hildon_pannable_calculate_vel_factor().
1667 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1669 * hildon/hildon-pannable-area.c
1670 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1671 deceleration factors.
1673 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1675 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1676 Reduce the default value for 'scroll_time' to 1 second, since the
1677 current initial scrolling takes too much time.
1679 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1681 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1682 calculate velocity factor during initialization, since the properties
1685 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1687 * hildon/hildon-pannable-area.c
1688 (hildon_pannable_area_set_property): Calculate the velocity factor
1689 after setting the deceleration property and not after.
1691 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1693 * hildon/hildon-entry.c
1694 (hildon_entry_class_init, +set_property, hildon_entry_new)
1695 * hildon/hildon-check-button.c
1696 (hildon_check_button_class_init)
1697 (+set_property, hildon_check_button_new):
1698 Make the theme size a property.
1700 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1701 others) do too much in the _new function)
1703 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1705 * configure.ac: post release version bump
1706 * debian/changelog: post release version bump
1708 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1713 * configure.ac: Bump version.
1714 * debian/changelog: Updates.
1716 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1718 * hildon/hildon-gtk.h
1719 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1720 New API function to take a screenshot of a window
1722 Fixes: NB#106374 (Need API to take a loading screenshot)
1724 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1726 * hildon/hildon-time-selector.c
1727 (update_format_policy): prevent to use hours and minutes unitialized
1729 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1731 * hildon/hildon-window.c (hildon_window_size_request):
1732 Always request the full size of the screen (minus the title bar if
1733 not in fullscreen mode).
1735 Fixes: NB#107486 (HildonWindow should size itself properly)
1737 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1739 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1740 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1741 (on_show_cb), (sound_handling): Disconnect the idle handler for
1742 the sound when the note is finalized to avoid possible crashes.
1744 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1747 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1749 * src/hildon-animation-actor.c,
1750 * src/hildon-remote-texture.c:
1751 Added proper object cleanup to remove signal handler and object
1752 references as HildonAnimationActor and HildonRemoteTexture
1753 objects get destroyed.
1755 Fixes: NB#116682 (Destroying parented animation actors when
1756 parent in unmapped leads to crash)
1758 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1760 Based on a patch by Christian Dywan (christian@imendio.com)
1762 * doc/hildon-sections.txt:
1763 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1764 * hildon/hildon-helper.h: New file size formatting method.
1766 * debian/control: Depend on osso-filemanager l10n package for
1767 proper localization strings.
1769 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1771 * tests/Makefile.am: Include top_srcdir to make possible to build
1772 tests in a different builddir.
1773 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1774 on a different builddir.
1776 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1778 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1779 (hildon_touch_selector_remove): Disconnect model's signal handler
1782 Fixes: NB#116289 (Hildon home crashes while adding task
1785 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1787 * hildon/hildon-button.c
1788 (hildon_button_set_title, hildon_button_set_value):
1789 Hide labels containing an empty string.
1791 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1793 * configure.ac: post release version bump
1794 * debian/changelog: post release version bump
1796 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1801 * configure.ac: Bump version.
1802 * debian/changelog: Updates.
1804 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1806 * hildon/hildon-note-private.h: Removed sound_signal_handler
1807 * hildon/hildon-note.c
1808 (on_show_cb): new callback on note "show" event, this simply adds
1809 a idle, with the function sound_handling
1810 (sound_handling): removed the sound_signal_handler management
1811 (hildon_note_init): connect note "show" event to on_show_cb
1812 (hildon_note_realize): remove the connection to "expose-event"
1814 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1815 device?' confirmation note)
1817 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1819 * hildon/hildon-note.c
1820 (hildon_note_new_information_with_icon_name)
1821 (hildon_note_new_confirmation_with_icon_name):
1822 Terminate the list of parameters in g_object_set() calls
1824 Fixes: NB#115166 (Formatting memory card is not taking place)
1826 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1828 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1829 "dialog-information" role for the sound being played.
1831 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1833 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1834 Don't make the menu a modal window, it causes strange interactions
1835 with the pointer grab and it's not really needed.
1837 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1839 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1841 * hildon/hildon-touch-selector.[ch]
1842 (hildon_touch_selector_optimal_size_request): function added to get a
1843 optimal size request from the touch selector, when you want a dialog to
1844 show as much of the selector
1845 * hildon/hildon-picker-dialog.c:
1846 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1847 (hildon_app_menu_class_init):
1848 New "max-height-landscape" and "max-height-portrait" style properties
1849 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1850 (hildon_picker_dialog_get_max_height): returns the maximum height using
1851 the style properties defined and checking the current portrait/landscape
1853 (_hildon_picker_dialog_set_selector): removed the set_size_request
1855 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1857 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1859 * hildon/hildon-bread-crumb-trail.c:
1860 * hildon/hildon-bread-crumb.c:
1861 * hildon/hildon-seekbar.c:
1862 Add reference to replacements for these deprecated widgets.
1864 Fixes: MB#4461 (Documentation: All deprecations should mention
1867 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1869 * examples/hildon-remote-texture-example.c
1871 Change the include to the hildon-remote-texture in order to compile
1872 properly the examples on the installed libhildon1-examples package
1874 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1876 * tests/Makefile.am: Add check for HildonPickerButton.
1877 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1878 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1879 checks for the HildonPickerButton.
1880 * tests/check_test.c (configure_tests): Add the test suite.
1881 * tests/test_suites.h: likewise.
1883 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1885 * hildon/hildon-touch-selector.c
1886 (+on_row_changed): Emit HildonTouchSelector:changed when the
1887 contents of a selected row change.
1888 (_create_new_column), (_hildon_touch_selector_set_model): connect
1889 to GtkTreeModel:row-changed on a newly set model.
1891 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1893 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1895 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1897 * hildon/hildon-banner.c (hildon_banner_destroy)
1898 (hildon_banner_show_progress, hildon_banner_set_fraction):
1899 Remove the progress bar from HildonBanner and use a progress
1902 Fixes: NB#113761 (Update progress banner to use progress
1905 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1907 * hildon/hildon-banner.c:
1908 Calculate size of the banner label using the actual screen width
1909 rather than using a fixed value.
1911 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1914 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1916 * hildon/hildon-pannable-area.c,
1917 (hildon_pannable_area_class_init): Fixed signals documentation
1920 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1922 * configure.ac: post release version bump
1923 * debian/changelog: post release version bump
1925 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1930 * configure.ac: Bump version.
1931 * debian/changelog: Updates.
1933 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1935 * hildon/hildon-edit-toolbar.c
1936 (hildon_edit_toolbar_init):
1937 Don't let buttons in HildonEditToolbar receive focus.
1939 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1940 typing on an HW arrows key)
1942 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1944 * doc/Makefile.am: Fix build.
1946 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1948 * doc/Makefile.am: Do not redefine content_files.
1950 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1958 Renamed src/ to hildon/
1963 Include <hildon/hildon.h> directly in all examples.
1965 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1967 * src/hildon-sort-dialog.c
1968 (hildon_sort_dialog_add_sort_key_with_sorting)
1972 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1974 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1975 make distcheck passes.
1977 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1979 * Makefile.am: Enable gtk-doc during distcheck.
1981 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1983 * Makefile.am: Do not distribute the debian/ directory.
1985 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1987 * doc/Makefile.am: Add the extra SGML files to content_files,
1988 so that they are distributed properly.
1990 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1992 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1995 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1997 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1998 (hildon_note_new_information_with_icon_name): Set the "icon" property
1999 to preserve soundness.
2001 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
2003 * src/hildon-font-selection-dialog.c
2004 (hildon_font_selection_dialog_set_property): Fail when the "family"
2005 property is set to NULL.
2007 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
2009 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
2012 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
2014 * src/hildon-time-selector.h:
2015 Added HildonTimeSelectorFormatPolicy
2016 * src/hildon-time-selector.c:
2017 Added PROP_TIME_FORMAT_POLICY
2018 (_check_ampm_format): renamed to check_automatic_ampm_format
2019 (update_format_policy), (update_format_dependant_columns): new functions
2020 (hildon_time_selector_class_init)
2021 (hildon_time_selector_contructor)
2022 (hildon_time_selector_init)
2023 (hildon_time_selector_get_property)
2024 (hildon_time_selector_set_property)
2025 (hildon_time_selector_get_time)
2026 (hildon_time_selector_set_time)
2027 * src/hildon-touch-selector.h: new file
2028 * src/hildon-touch-selector.c
2029 (hildon_touch_selector_emit_changed)
2030 (hildon_touch_selector_block_changed)
2031 (hildon_touch_selector_unblock_changed)
2032 Added functions to allow to block the emission of the "changed" signal
2033 * src/hildon-picker-dialog.c
2034 (hildon_picker_dialog_show): call the parent show before the custom code
2035 * examples/hildon-time-button-example.c
2036 Modified, so now you can configure the time format using the new property
2038 Added a new property "time-format-policy" that allow to choose the time
2039 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
2040 case it uses gconf in order to check if the time selector must use
2043 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
2046 2009-04-28 Alberto Garcia <agarcia@igalia.com>
2048 * src/hildon-note.c (hildon_note_init):
2049 Label in HildonNote must be left aligned, not centered. This
2050 reverts the last commit in HildonNote.
2052 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2053 is connectivity dialog)
2055 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2060 * doc/hildon-sections.txt:
2061 Added hildon_gtk_window_set_do_not_disturb()
2063 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2065 * src/hildon-note.c (hildon_note_init): Center label.
2067 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2070 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2075 * configure.ac: Bump version.
2076 * debian/changelog: Updates.
2078 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-note-private.h: Add button-width to the private data.
2081 * src/hildon-note.c (+resize_button),
2082 (+hildon_note_orientation_update): methods to repack widgets on orientation
2084 (screen_size_changed): Call above method for confirmation notes.
2085 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2086 (hildon_note_rebuild): Store the original width request from buttons.
2088 Fixes: NB#109635 (Confirmation notes do not support portrait)
2090 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2092 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2093 when it is a progress note.
2095 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2097 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2098 in the note, since there are no horizontally arranged contents.
2100 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-gtk.c (+set_flag): new generic method to
2103 set/delay a flag setting in a window.
2104 (hildon_gtk_window_set_progress_indicator):
2105 (hildon_gtk_window_set_do_not_disturb),
2106 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2107 avoid code redundance.
2109 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2111 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2113 * src/hildon-gtk.c (set_clear_window_flag),
2114 (do_set_progress_indicator), (do_set_do_not_disturb),
2115 (do_set_portrait_flags),
2116 (hildon_gtk_window_set_progress_indicator),
2117 (hildon_gtk_window_set_do_not_disturb),
2118 (hildon_gtk_window_set_portrait_flags):
2119 Allow setting dnd-flag, progress indicator, and portrait flags
2120 when the window is not realized.
2122 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2124 * src/hildon-pannable-area.c,
2125 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2126 the size request policy function and defines.
2128 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2130 * doc/hildon-sections.txt: Add the new API.
2131 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2132 method to set the portrait flags.
2133 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2135 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2137 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2139 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2140 to allow using this method with other flags.
2141 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2142 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2144 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2146 * src/hildon-touch-selector.c
2147 (hildon_touch_selector_append_text_column):
2148 Make the cell renderer use the smallest width possible.
2150 Fixes: NB#108470 (Selected items in multiple selection are either
2151 having a tick that is cut or not visible at all.)
2153 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2155 * src/hildon-touch-selector.c
2156 (hildon_touch_selector_append_text_column):
2159 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2161 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2162 Use g_strdup_printf() instead of a fixed size buffer.
2164 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2167 Close banners when a HildonAppMenu is popped up.
2169 Fixes: NB#111027 (Title menu closed immediately if activated when
2170 "Invalid e-mail address" banner is shown)
2172 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2177 * configure.ac: Bump version.
2178 * debian/changelog: Updates.
2180 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2182 * src/hildon-banner.c (hildon_banner_realize):
2183 Mark HildonBanner as supporting portrait mode.
2184 Use GDK to set window properties insetad of direct Xlib calls.
2186 Fixes: NB#111830 (HildonBanner should be marked as supporting
2189 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2191 * src/hildon-note.c (hildon_note_rebuild):
2192 Hide action area in information notes. Prevents text from being
2193 slightly aligned to the left.
2195 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2198 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2200 Patch by Mox Soini (ext-mox.soini@nokia.com)
2202 * src/hildon-banner.c (hildon_banner_create_animation):
2203 Use stylus-sized icons in animation banner.
2205 Fixes: NB#111206 (stylus sized icon for animation banner)
2207 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2211 (+hildon_gtk_window_set_do_not_disturb):
2212 New API to set the do-not-disturb flag.
2214 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2216 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2218 * examples/hildon-progress-indicator-example.c: Fix example
2220 * src/hildon-gtk.c (set_clear_window_flag)
2221 (hildon_gtk_window_set_progress_indicator):
2222 Create a generic function for setting flags to a window.
2223 Use GDK instead of direct Xlib calls.
2225 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-button.c (hildon_button_set_arrangement):
2228 Due to NB#88126, if one of the labels is too long it will be
2229 painted outside the button. The 'value' label is more likely to be
2230 the longest one, so we change its packing options in order to
2231 truncate it if necessary. As a side effect, the 'title' label will
2232 no longer be truncated.
2234 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2236 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2241 * configure.ac: Bump version.
2242 * debian/changelog: Updates.
2244 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2246 Deprecation of the hildon_pannable_area_set_size_request_policy
2247 API, the only policy properly supported in gtk+ nowadays is the
2250 * src/hildon-pannable-area.c,
2251 (hildon_pannable_area_size_request): Added a workaround for the
2252 size_request to avoid the problems of huge pixmaps in case someone
2253 is still using the function.
2254 * src/hildon-pannable-area.h: Deprecated the enum with the
2257 Fixes: NB#110244 (Problems with the
2258 hildon_pannable_area_set_size_request_policy API)
2260 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2262 * src/hildon-pannable-area.c,
2263 (hildon_pannable_area_init),
2264 (hildon_pannable_area_size_request),
2265 (hildon_pannable_area_style_set),
2266 (hildon_pannable_draw_vscroll),
2267 (hildon_pannable_draw_hscroll),
2268 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2269 indicator_width to clarify the use of the attribute.
2271 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2276 * configure.ac: Bump version.
2277 * debian/changelog: Updates.
2279 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2281 * src/hildon-picker-dialog.c
2282 * src/hildon-touch-selector.c
2283 Reverting the change that tried to avoid the hardcoded height on
2284 the picker dialog, as causes problems on the hildon-touch-selector
2287 Fixes: NB#110029 (selectors not scrolling to selected value)
2289 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2291 * src/hildon-touch-selector.c: Fix typos
2293 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2295 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2296 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2297 request more motions after using it.
2299 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-calendar.c (hildon_calendar_expose),
2302 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2303 Remove unused variables.
2305 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2307 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2308 variable assignment.
2310 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2312 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2313 Check the return value of gtk_tree_selection_get_selected()
2316 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2318 * src/hildon-animation-actor.c
2319 * src/hildon-button.c
2321 * src/hildon-pannable-area.c
2322 * src/hildon-picker-button.c
2323 * src/hildon-program.c
2324 * src/hildon-remote-texture.c
2325 * src/hildon-text-view.c
2326 * src/hildon-touch-selector.c
2327 * src/hildon-window-stack.c
2328 * src/hildon-window.c:
2329 Add missing 'Since: 2.2' tags.
2331 * doc/hildon-sections.txt:
2332 Add some missing symbols.
2334 * doc/hildon-docs.sgml:
2335 New 'Other' section for HildonAnimationActor and
2338 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2340 Patch by Iván Gómez (igomez@igalia.com)
2343 * doc/compiling.sgml
2344 * doc/hildon-docs.sgml
2345 * doc/hildon-sections.txt
2346 * doc/migration.sgml
2347 * doc/resources.sgml
2349 New chapters on using the Hildon library.
2350 Updated the general structure of the reference manual.
2351 Other minor documentation fixes.
2353 * src/hildon-calendar-popup.c
2354 * src/hildon-calendar.c
2355 * src/hildon-controlbar.c
2356 * src/hildon-date-editor.c
2357 * src/hildon-dialog.c
2358 * src/hildon-hvolumebar.c
2359 * src/hildon-number-editor.c
2360 * src/hildon-range-editor.c
2361 * src/hildon-sort-dialog.c
2362 * src/hildon-time-editor.c
2363 * src/hildon-time-picker.c
2364 * src/hildon-volumebar-range.c
2365 * src/hildon-volumebar.c
2366 * src/hildon-vvolumebar.c
2367 * src/hildon-weekday-picker.c:
2368 Add deprecation notes
2370 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2371 Document 'horizontal-movement' and 'vertical-movement' signals.
2373 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2378 * configure.ac: Bump version.
2379 * debian/changelog: Updates.
2381 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2383 * src/hildon-pannable-area.c,
2384 (hildon_pannable_area_class_init): increased the minimum velocity.
2385 (hildon_pannable_area_button_release_cb): Updated the
2386 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2387 setup. Review the code to control that last event.
2389 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2392 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2394 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2396 * src/hildon-get-password-dialog.c
2397 (hildon_get_password_set_property),
2398 (hildon_get_password_get_property), (create_contents):
2399 * src/hildon-login-dialog-private.h:
2400 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2401 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2402 (hildon_login_dialog_get_password):
2403 * src/hildon-set-password-dialog-private.h:
2404 * src/hildon-set-password-dialog.c
2405 (hildon_set_password_set_property),
2406 (hildon_set_password_get_property), (create_contents),
2407 (hildon_set_password_response_change),
2408 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2410 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2411 instead and look more Fremantle style.
2413 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2415 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2417 * doc/hildon-sections.txt
2418 * src/hildon-window-stack.h
2419 * src/hildon-window-stack.c
2420 (+hildon_window_stack_get_windows):
2421 New API to obtain the list of windows on a stack.
2423 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2425 * src/hildon-app-menu.c (hildon_app_menu_popup)
2426 (hildon_app_menu_class_init, -hildon_app_menu_show):
2427 Remove hildon_app_menu_show() and move all its checks to
2428 hildon_app_menu_popup()
2430 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2432 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2433 (_hildon_picker_dialog_set_selector): removed call to
2434 gtk_widget_set_size_request
2435 * src/hildon-touch-selector.c
2436 (_create_new_column): change the pannable size request policy
2438 Avoid to use a hardcoded height for the hildon picker dialog. In order
2439 to get that, we needed to change the hildon pannable size request
2441 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2443 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2445 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2446 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2449 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2451 * debian/control: Depend on osso-system-lock localization package.
2452 * src/hildon-code-dialog.c: Obtain the secu_application_title
2453 translation from osso-system-lock.
2454 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2455 for translation the atk related strings, that's not necessary.
2456 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2457 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2458 cancel button, it is not required.
2460 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2462 * src/hildon-pannable-area.c,
2463 (hildon_pannable_area_class_init): Modified the default value of
2464 the overshooting max speed, we have reduced it.
2466 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2468 * doc/hildon-sections.txt
2469 * src/hildon-window-private.h
2470 * src/hildon-window.h
2471 * src/hildon-window.c (hildon_window_class_init)
2472 (hildon_window_init, hildon_window_finalize)
2473 (hildon_window_realize, hildon_window_get_property)
2474 (hildon_window_set_property, hildon_window_update_markup)
2475 (hildon_window_get_markup, hildon_window_set_markup):
2476 New "markup" property and hildon_window_{get,set}_markup() methods.
2478 * examples/hildon-stackable-window-example.c (new_window):
2479 Update example to use hildon_window_set_markup()
2481 Fixes: NB#106375 (Need API to retitle a window with a title
2484 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2486 * src/hildon-pannable-area.c,
2487 (hildon_pannable_area_class_init): Changed the default value of
2488 the initial_hint to TRUE.
2489 (hildon_pannable_area_initial_effect): Changed the initial effect,
2490 not the effect is just the fade-out of the scrollbars.
2492 Fixes: NB#107775 (No scrollbars can be seen when several items are
2493 available in a dialog)
2495 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2497 * src/hildon-program.c (hildon_program_update_top_most):
2500 Fixes: NB#109179 (Memory leak in Hildon program)
2502 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2504 * src/hildon-banner.c (-get_current_app_window):
2505 Remove unused function.
2507 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2509 * src/hildon-pannable-area.c: Modified the documentation of the
2510 get adjustments functions to explain the problem of using the
2511 adjustment directly.
2512 (hildon_pannable_area_class_init): Improved the explanation about
2515 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-app-menu-private.h
2518 * src/hildon-app-menu.c
2519 (hildon_app_menu_class_init):
2520 Bring back the 'external-border' style property
2521 (hildon_app_menu_class_init, hildon_app_menu_init)
2522 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2523 Set a fixed width-request for the menu, independent of the number
2526 Fixes: NB#94957 (Smoothly opened application menu)
2528 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2530 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2532 * src/hildon-banner.c
2533 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2535 Make sure that the banner is correctly placed the first time it's
2537 (hildon_banner_check_position, -check_fullscreen_state):
2538 Show the banner in the same place no matter if the window is in
2539 fullscreen mode or not.
2541 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2543 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-touch-selector.c (_default_print_func): reorder
2546 concatenation for clarity.
2548 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2551 for multicolumn selectors.
2553 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2555 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2560 * configure.ac: Bump version.
2561 * debian/changelog: Updates.
2563 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2565 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2568 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2570 * configure.ac: removed libcangerra-gtk dependency
2571 * debian/control: removed libcanberra-gtk dependency
2572 * src/Makefile.am: removed libcanberra gtk related flags
2573 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2574 context, and manage a global canberra context instead
2576 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2578 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2580 Patch by Daniel Borgmann (danielb@openismus.com)
2582 * src/hildon-edit-toolbar.c:
2583 Adjust the left padding.
2584 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2585 Paint background of the edit toolbar.
2587 Fixes: NB#107897 (Patch to make editmodetoolbar background
2588 themeable and adjust margin)
2590 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2592 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2594 * src/hildon-program.c (hildon_program_update_top_most):
2595 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2597 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2598 change when the user tasks in/out of an application)
2600 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2602 * configure.ac: added libcangerra-gtk dependency
2603 * debian/control: added libcanberra-gtk dependency
2604 * src/Makefile.am: added libcanberra gtk related flags
2605 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2608 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2610 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2612 * src/hildon-program.c (hildon_program_remove_window)
2613 (hildon_program_add_window): Add checks for the window
2614 parameter. Don't decrease the window counter if the window is not
2617 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2619 * src/hildon-pannable-area.c,
2620 (hildon_pannable_area_realize): Fixed position of the event_window
2621 in the realize method.
2623 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2625 * src/hildon-app-menu-private.h
2626 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2627 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2628 (hildon_app_menu_key_press, hildon_app_menu_init)
2629 (hildon_app_menu_finalize):
2630 Make sure that all idle functions are removed when the widget is
2633 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2635 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2640 * configure.ac: Bump version.
2641 * debian/changelog: Updates.
2643 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2645 * src/hildon-entry.c
2646 (+hildon_entry_show_placeholder),
2647 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2648 that replace hildon_entry_update_contents().
2649 (hildon_entry_set_text),
2650 (hildon_entry_set_placeholder),
2651 (hildon_entry_focus_in_event),
2652 (hildon_entry_focus_out_event): Determine when it is needed
2653 either to show or hide the placeholder and call the above methods.
2655 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2656 when the placeholder text is already set)
2658 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2660 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2661 simple GdkPixbufAnim using the new icons for the banner.
2662 (hildon_banner_show_animation): Use the above mentioned method to
2663 create the animation widget.
2665 Fixes: NB#103564 (Make hildon animation banner use individual
2666 image files as the animation)
2668 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2670 * src/hildon-pannable-area.c,
2671 (hildon_pannable_leave_notify_event): Check if the child is NULL
2672 to avoid sending the leave.
2674 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2676 * src/hildon-pannable-area.c,
2677 (hildon_pannable_area_class_init),
2678 (hildon_pannable_leave_notify_event): Added a handler of the
2679 leave-notify-signal to consider when no motion notify before
2682 Fixes: NB#107494 (Items stay selected when clicking and moving
2683 away when inside pannable area)
2685 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2690 * configure.ac: Bump version.
2691 * debian/changelog: Updates.
2693 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2695 Patch by Alberto Garcia (agarcia@igalia.com)
2697 * src/hildon-date-button.c,
2698 (hildon_date_button_class_init),
2699 (hildon_date_button_init): Removed the construct property handling
2700 and created a default selector in the init method.
2701 * src/hildon-picker-button.c,
2702 (hildon_picker_button_class_init): Removed the construct flag of the
2705 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2707 * src/hildon-main.c (hildon_init):
2708 Don't allow hildon_init() to be called more than once.
2710 Fixes: NB#106607 (hildon_init should issue error message upon
2713 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2715 * examples/hildon-pannable-area-touch-list-example.c
2716 * examples/hildon-pannagle-area-touch-grid-example.c
2717 * examples/hildon-edit-toolbar-example.c
2718 * examples/hildon-touch-selector-multi-cells-example.c
2719 Removed the call to gtk_rc_parse_string, as it is not required since
2722 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2724 * src/hildon-pannable-area.c,
2725 (hildon_pannable_area_class_init): Modified the default panning
2726 threshold of the widget to 6px.
2728 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2729 than the threshold value ) within the button is not sending the
2732 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2734 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2735 for the treeview in the new column. This way, the touch list will never
2738 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2739 be selected manually for the HW keys to work)
2741 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2743 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2744 comparison instead of using strcmp(). Fixes a compiler warning as well.
2746 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2748 * doc/hildon-docs.sgml: Do not set the library version in the
2749 document title, use the releaseinfo tag for that purpose instead.
2751 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2753 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2754 Do not jump to the first item if the text in the entry is removed.
2756 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2761 * configure.ac: Bump version.
2762 * debian/changelog: Updates.
2764 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2766 * src/hildon-entry.c (hildon_entry_refresh_contents):
2767 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2768 Use "ReversedSecondaryTextColor" for the placeholder text.
2770 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2772 * src/hildon-text-view.c: Fix compilation warning.
2774 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2776 * src/hildon-button.c (hildon_button_class_init): Don't make
2777 "title" and "value" construction properties, to prevent them from
2778 overwriting labels set from derived classes.
2780 * src/hildon-picker-button.c
2781 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2782 (hildon_picker_button_class_init): Make touch-selector a
2783 construction property.
2785 * src/hildon-date-button.c (hildon_date_button_class_init)
2786 (+hildon_date_button_constructed): Add a default date selector if
2789 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2791 * src/hildon-touch-selector.c: Small documentation fixes.
2793 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2795 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2797 * src/hildon-entry.c (hildon_entry_refresh_contents),
2798 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2799 widget name, set the logical color directly instead and a boolean
2800 showing_placeholder instead.
2801 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2802 use the widget name here either.
2804 Fixes: NB#105678 (HildonTextView should use logical colours
2805 instead of setting widget name)
2807 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2809 Patch by Daniel Elster (danielk@openismus.com)
2811 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2812 Add user_data parameter.
2813 (hildon_touch_selector_set_print_func_full): New function akin
2814 hildon_touch_selector_set_print_func() but with support for user
2815 data and a destroy callback.
2816 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2817 to clean up the print function user data.
2818 (hildon_touch_selector_class_init): Install dispose function.
2819 (HildonTouchSelectorPrivate::print_user_data),
2820 (HildonTouchSelectorPrivate::print_destroy_func): New private
2822 (hildon_touch_selector_init): Initialize new private members.
2823 (hildon_touch_selector_get_current_text): Pass along user data
2824 to the print function.
2825 (_default_print_func): Add dummy user_data to parameter list.
2826 * hildon-date-selector.c (_custom_print_func): ditto,
2827 * hildon-time-selector.c (_custom_print_func): ditto,
2828 * hildon-touch-selector-entry.c
2829 (hildon_touch_selector_entry_print_func): ditto.
2831 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2833 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2835 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2837 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2839 * src/hildon-pannable-area.c,
2840 (hildon_pannable_area_init),
2841 (hildon_pannable_area_button_press_cb),
2842 (hildon_pannable_area_motion_notify_cb): We have added code to
2843 handle the leave and enter events when using the motion events.
2845 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2847 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2849 * src/hildon-date-button.c (hildon_date_button_get_date)
2850 (hildon_date_button_set_date): Make sure that the button has a
2853 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2855 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2857 * src/hildon-pannable-area.c,
2858 (hildon_pannable_area_class_init),
2859 (hildon_pannable_area_calculate_velocity): Modify the use of the
2860 force and adapt the value.
2862 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2865 (hildon_app_menu_class_init): Hide the menu if it receives a
2866 delete-event, but don't destroy it
2868 Fixes: NB#104485 (Not able to address the call when application
2869 menu is opened at background)
2871 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-app-menu.c
2874 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2875 Remove the "external-border" style property, let the menu take its
2876 natural size (or the one set by the window manager)
2877 (hildon_app_menu_repack_items):
2878 Don't reshow the menu, avoid flickers.
2880 Partially fixes NB#94957 (Smoothly opened application menu)
2882 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2887 * configure.ac: Bump version.
2888 * debian/changelog: Updates.
2890 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2892 * src/hildon-pannable-area.c,
2893 (hildon_pannable_area_motion_notify_cb): We control that the
2894 direction error margin is used just in case the movement is
2895 allowed in the other direction.
2897 Fixes: NB#105012 (buttons inside a pannable area not getting
2898 release event when dragging/releasing)
2900 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2902 * src/hildon-pannable-area.c,
2903 (hildon_pannable_area_class_init),
2904 (hildon_pannable_area_get_property),
2905 (hildon_pannable_area_set_property),
2906 (hildon_pannable_area_initial_effect),
2907 (hildon_pannable_axis_scroll),
2908 (hildon_pannable_area_button_release_cb): Reviewed the
2909 overshooting effect, now it has its own max
2910 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2911 speed when bouncing.
2913 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2918 * configure.ac: Bump version.
2919 * debian/changelog: Updates.
2921 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2923 * src/hildon-pannable-area.c,
2924 (hildon_pannable_area_class_init): Changed the max speed, now
2925 users can launch the widget very fast. Reduced the default force,
2926 that way it is easier to control the launch speed.
2928 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2930 * src/hildon-pannable-area.c,
2931 (hildon_pannable_area_button_release_cb): Removed this check
2932 because it causes problems when the device is overloaded.
2934 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2936 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2937 add a current_text field to store the text entered in the
2938 touch selector entry.
2939 (_clean_current_selection): clean up the current text as well.
2940 (_save_current_selection), (_restore_current_selection):
2941 Save/restore the text in the entry if the selector is a
2942 HildonTouchSelectorEntry.
2944 Fixes: NB#102541 (value entered in the touch selector entry is not
2945 shown when opened for second time)
2947 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2949 * doc/hildon-sections.txt:
2950 * src/hildon-touch-selector-entry.c
2951 (+hildon_touch_selector_entry_get_entry):
2952 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2954 Fixes: NB#104815 (I need accessor to the entry inside
2955 HildonTouchSelectorEntry)
2957 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2959 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2960 (hildon_app_menu_class_init):
2961 New "filter-vertical-spacing" style property.
2963 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2965 * src/hildon-find-toolbar.c
2966 (hildon_find_toolbar_emit_close)
2967 (hildon_find_toolbar_emit_invalid_input)
2968 (hildon_find_toolbar_entry_activate):
2969 Use g_signal_emit() instead of g_signal_emit_by_name()
2971 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2973 Patch by Mox Soini (ext-mox.soini@nokia.com)
2975 * tests/TEST-CASES.txt
2976 * tests/check-hildon-banner.c
2977 * tests/check-hildon-note.c
2978 * src/hildon-banner.c
2979 * src/hildon-code-dialog.c
2980 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2981 * src/hildon-time-editor.c
2982 * examples/hildon-lookup-example.c (main):
2983 Replace obsolete icon names with new ones.
2985 * src/hildon-find-toolbar-private.h:
2986 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2987 (-hildon_find_toolbar_emit_search):
2988 Remove find button and change icon of close button.
2990 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2992 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-time-button.c (hildon_time_button_new_step):
2995 Use the "touch-selector" property to set the selector directly
2996 when creating the object.
2998 2009-03-05 Alejandro G. Castro <alex@igalia.com>
3000 Added a new example application that allows tuning the pannable
3001 area and replaced defines with properties in order to simplify the
3002 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
3003 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
3004 PROP_DIRECTION_ERROR_MARGIN.
3006 * examples/hildon-pannable-area-tuning-example.c: New example
3008 * src/hildon-pannable-area.c,
3009 (hildon_pannable_area_class_init),
3010 (hildon_pannable_area_init),
3011 (hildon_pannable_area_get_property),
3012 (hildon_pannable_area_set_property),
3013 (hildon_pannable_area_launch_fade_timeout),
3014 (hildon_pannable_area_adjust_value_changed),
3015 (hildon_pannable_axis_scroll),
3016 (hildon_pannable_area_motion_notify_cb),
3017 (hildon_pannable_area_scroll_cb),
3018 (hildon_pannable_area_button_release_cb): We have converted some
3019 of the defines that control the widget to properties to simplify
3022 2009-03-05 Alberto Garcia <agarcia@igalia.com>
3024 * src/hildon-app-menu.c (hildon_app_menu_map)
3025 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
3026 so it's closed if a new window appears.
3028 Fixes: NB#104485 (Not able to address the call when application
3029 menu is opened at background)
3031 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3033 * src/hildon-color-button.c (hildon_color_button_get_property):Add
3034 missing 'break' statement in in 'case' construct to avoid
3037 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3039 * src/hildon-touch-selector-entry.c
3040 (hildon_touch_selector_entry_get_property),
3041 (hildon_touch_selector_entry_set_property): Add missing 'break'
3042 statements in in 'case' constructs to avoid incorrect warnings.
3044 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3046 * src/hildon-time-editor.c
3047 (hildon_time_editor_get_time_separators): Do not crash if
3048 the first label is NULL.
3050 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-date-selector.c (_month_days): Check for month to be
3053 strictly less than 12, since otherwise we may overrun the array.
3055 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-date-button.c (+hildon_date_button_new_full)
3058 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3059 (hildon_date_button_init): Set the date selector using a
3060 construction property, to make it happen after HildonButton's
3061 "value" property is set.
3063 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3064 current date by default)
3066 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3068 * doc/hildon-sections.txt
3069 * src/hildon-program.c
3070 * src/hildon-stackable-window.c
3071 * src/hildon-window.c:
3072 Documentation updates
3074 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3076 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3077 (hildon_window_stack_new, +hildon_window_stack_set_property)
3078 (+hildon_window_stack_get_property)
3079 (hildon_window_stack_class_init)
3080 (+hildon_window_stack_set_window_group)
3081 (+hildon_window_stack_get_window_group):
3082 Make the window group a construction property.
3084 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3086 * doc/hildon-sections.txt
3087 * src/hildon-stackable-window-private.h
3088 * src/hildon-stackable-window.h
3089 * src/hildon-stackable-window.c
3090 (-hildon_stackable_window_set_app_menu)
3091 (-hildon_stackable_window_get_app_menu)
3092 (-hildon_stackable_window_toggle_menu)
3093 (-hildon_stackable_window_finalize)
3094 (hildon_stackable_window_class_init)
3095 (hildon_stackable_window_init)
3096 * src/hildon-window-private.h
3097 * src/hildon-window.h
3098 * src/hildon-window.c (hildon_window_init)
3099 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3100 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3101 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3102 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3103 Moved all HildonAppMenu code to HildonWindow. The menu does not
3104 require a HildonStackableWindow anymore.
3106 * src/hildon-app-menu.c
3107 * src/hildon-program.c
3108 * examples/hildon-app-menu-example.c (main):
3109 Update examples and documentation to reflect HildonAppMenu
3112 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3114 * src/hildon-remote-texture.c
3115 * src/hildon-animation-actor.c:
3116 Don't include unused private headers.
3118 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-program-private.h
3121 * src/hildon-program.c
3122 (hildon_program_set_common_menu)
3123 (hildon_program_get_common_menu)
3124 (hildon_program_set_common_app_menu)
3125 (hildon_program_get_common_app_menu):
3126 Change common menu pointers from GtkWidget* to GtkMenu* and
3127 HildonAppMenu* to avoid unnecessary casts.
3129 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3131 * src/hildon-window.c (hildon_window_set_main_menu):
3132 Removed incorrect 'Since:' tag
3134 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3136 * src/hildon-pannable-area.c,
3137 (hildon_pannable_area_calculate_velocity): We use now the
3138 RATIO_TOLERANCE here to check the distance, fixed typo in the
3140 (hildon_pannable_area_motion_notify_cb): We have to set the type
3141 and time even if we are not sending the motion.
3143 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3145 * doc/hildon-sections.txt
3146 * src/hildon-app-menu.h
3147 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3148 (+hildon_app_menu_get_filters): New methods to get the contents of
3151 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3154 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3156 * src/hildon-app-menu.c (hildon_app_menu_popup):
3159 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-window.h
3162 * src/hildon-window.c (+hildon_window_get_main_menu)
3163 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3164 and deprecated hildon_window_get_menu().
3166 * src/hildon-stackable-window.h
3167 * src/hildon-stackable-window.c
3168 (+hildon_stackable_window_set_app_menu)
3169 (+hildon_stackable_window_get_app_menu)
3170 (hildon_stackable_window_set_main_menu): Created
3171 hildon_stackable_window_{get,set}_app_menu() and deprecated
3172 hildon_stackable_window_set_main_menu().
3174 * doc/hildon-sections.txt
3175 * examples/hildon-app-menu-example.c (main)
3176 * src/hildon-app-menu.c
3177 * src/hildon-program.c:
3178 Updated examples and documentation.
3180 Fixes: NB#103758 (No way to obtain a menu from a
3181 HildonStackableWindow)
3183 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3188 * configure.ac: Bump version.
3189 * debian/changelog: Updates.
3191 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3193 * examples/hildon-remote-texture-example.c: Include
3194 hildon-remote-texture.h explicitely.
3195 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3196 applications not defining _XOPEN_SOURCE which don't require this header.
3198 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3200 * doc/hildon-sections.txt
3201 * src/hildon-app-menu.h
3202 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3203 New function to pop up a HildonAppMenu
3205 * src/hildon-stackable-window.c
3206 (hildon_stackable_window_toggle_menu):
3207 Use hildon_app_menu_popup() to show the menu.
3209 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3211 * src/hildon-app-menu.c (hildon_app_menu_show)
3212 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3213 menu if there's another window between it and its parent window.
3215 Fixes: NB#100468 (Application menu window is launched even when a
3216 new secondary-window/dialog is pending to be shown/realized)
3218 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-window-stack.c (hildon_window_stack_push)
3221 (hildon_window_stack_pop_and_push):
3222 Don't forget to push/pop the first window.
3223 Reverse the window list before calling _push_list()
3225 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3227 * src/hildon-picker-button.h
3228 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3229 Remove "value_changed" slot to avoid ABI breakage
3231 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3233 * src/hildon-pannable-area.c,
3234 (hildon_pannable_area_realize),
3235 (hildon_pannable_area_unrealize),
3236 (hildon_pannable_draw_vscroll),
3237 (hildon_pannable_draw_hscroll): Changed the method to handle the
3238 GC used to draw the transparent scrollbar, this way we avoid
3239 creating the GC all the time when drawing the scrollbars.
3241 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3243 * src/hildon-pannable-area.c,
3244 (hildon_pannable_area_init),
3245 (hildon_pannable_area_remove): Removed some unnecessary casts.
3246 (hildon_pannable_area_dispose): Disconnected some signals before
3247 releasing the adjustments.
3249 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3251 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3252 Make sure that all widgets contained in the toolbar are shown.
3254 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3256 * doc/hildon-sections.txt
3257 * src/hildon-picker-button.h
3258 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3259 (_selection_changed, hildon_picker_button_on_dialog_response)
3260 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3261 New hildon_picker_button_value_changed() method.
3264 * src/hildon-picker-button-private.h
3265 * src/hildon-picker-button.c (hildon_picker_button_init)
3266 (+hildon_picker_button_disable_value_changed): Add protected
3267 function for disabling the "value-changed" signal.
3269 * src/hildon-date-button.c (hildon_date_button_set_date):
3270 Don't emit "value-changed" for each one of the three columns.
3272 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3273 before actual change of values)
3275 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3277 * src/hildon-pannable-area.c,
3278 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3279 for the treeview overshooting.
3281 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3283 * src/hildon-banner.c (+hildon_banner_bind_style):
3284 Renamed from hildon_banner_bind_label_style(), now naming the
3285 banner itself as well.
3286 (hildon_banner_show_information),
3287 (hildon_banner_show_information_with_markup),
3288 (hildon_banner_show_animation), (hildon_banner_show_progress):
3289 Name the widgets and labels, based on their type.
3291 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3294 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-note.c (hildon_note_set_property): call
3297 hildon_note_rename() on HildonNote:note-type set.
3298 (hildon_note_rename): Name the note and its label, based on the
3299 HildonNote:note-type property.
3301 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3304 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3306 * src/hildon-pannable-area.c,
3307 (hildon_pannable_area_class_init),
3308 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3309 panning parameters, increased SPS and deceleration factor. Added
3310 also a margin to control fake directions.
3312 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3314 Patch by Sven Herzberg (sven@imendio.com)
3316 * configure.ac: Add missing AM_PROG_CC_C_0
3317 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3319 See NB#101420 (Update unit tests and fix make check)
3321 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3323 This patch was applied before but reverted because it caused
3324 problems, we have changed the main condition and tested the
3325 regressions we detected before and they work ok. We have done a
3326 complete review of the topmost algorithm in order to get a more
3329 * src/hildon-pannable-area.c,
3330 (hildon_pannable_area_get_topmost): Added a new parameter to
3331 filter the the windows that do not include those events.
3332 (hildon_pannable_area_button_press_cb),
3333 (hildon_pannable_area_button_release_cb),
3334 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3335 topmost function, we have added the new parameter.
3337 Fixes: NB#97458 (Pannable area prevents propagation of button
3340 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3342 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3343 if all columns in the selector have an item selected.
3344 (_on_dialog_response): Stop "response" signal emission if there is
3345 any selector column without selected items.
3347 Fixes: NB#101889 (Picker dialog should not close when nothing is
3348 selected in multiple selection list)
3350 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3352 * src/hildon-font-selection-dialog.c
3353 (hildon_font_selection_dialog_class_init),
3354 (hildon_font_selection_dialog_init): Remove the preview
3355 button and dialog, since previewing with default theming is likely
3356 to be overcomplicated. The :preview property has now no effect.
3357 Update documentation blurbs to inform about this.
3359 Fixes: NB#92297 (Preview content is not clearly visible for
3360 default colour text)
3362 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3364 Reviewed the geometry that handles the children size and
3365 scrollbar, now it tries a size and reviews the results depending
3366 on the scrollbars visibility.
3368 * src/hildon-pannable-area.c,
3369 (hildon_pannable_area_realize): Fixed a typo.
3370 (hildon_pannable_area_child_allocate_calculate): Added this
3371 function to calculate the child allocation.
3372 (hildon_pannable_area_size_allocate): Reviewed the allocation
3374 (hildon_pannable_area_check_scrollbars),
3375 (hildon_pannable_area_refresh): Refactored refresh function, this
3376 way we can call the code handling the scrollbars without causing a
3377 size_request, it is interesting in the allocate.
3378 (hildon_pannable_area_init): Replace the callbacks of the
3379 value_changed and changed signals to propertly deal with the
3381 (hildon_pannable_area_grab_notify),
3382 (hildon_pannable_area_initial_effect),
3383 (hildon_pannable_area_launch_fade_timeout),
3384 (hildon_pannable_area_adjust_changed),
3385 (hildon_pannable_area_adjust_value_changed),
3386 (hildon_pannable_area_redraw),
3387 (hildon_pannable_area_button_press_cb),
3388 (hildon_pannable_area_button_release_cb),
3389 (hildon_pannable_area_scroll_cb),
3390 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3391 code and use the new functions adjust_changed and
3392 adjust_value_changed.
3394 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3395 Contact editor dialog)
3397 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3402 * configure.ac: Bump version.
3403 * debian/changelog: Updates.
3405 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3407 * src/hildon-pannable-area.c,
3408 (hildon_pannable_area_get_topmost),
3409 (hildon_pannable_area_button_press_cb),
3410 (hildon_pannable_area_button_release_cb),
3411 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3412 topmost function adding the event mask. We have to try a
3413 differente approach because it is still causing problems (NB#9745,
3416 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3418 * src/hildon-banner.c:
3419 Update the maximum width of timed banners.
3420 (force_to_wrap_truncated): Enforce the maximum text width if the
3423 Fixes: NB#102413 (The text margins (wrapping) in information
3424 banner should be HILDON_MARGIN_TRIPLE)
3426 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3428 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3430 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3431 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3432 bound when calculating the scroll indicator position.
3434 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3435 treat ->lower correctly)
3437 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3440 expose event handling, since it is not necessary to draw the focus
3443 Fixes: NB#102467 (Do not show highlight on the text in
3446 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3448 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3449 full height of the toolbar for the button and the label.
3451 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3453 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3454 padding before the label and after the button.
3456 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3458 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3460 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3461 Add a GtkVSeparator between the button and the back arrow.
3462 Let the button have automatic size.
3463 Set a name to the widget for theming handling.
3465 Fixes: NB#101793 (Make edit toolbar the same height as window
3466 title bar (use title area theming))
3468 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3470 * src/hildon-helper.c (attach_new_color_element): Fix memory
3473 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3475 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3477 * examples/hildon-button-example.c (common_buttons_window): Don't
3480 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3482 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3483 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3485 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3487 * src/hildon-gtk.c: Check that the window is realized.
3489 Fixes: NB#102225 (Crash setting the progress indicator to a non
3492 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3494 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3495 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3496 instead of modifying the one in the widget style.
3498 Fixes: NB#101043 (Second row of all the command button are
3499 displayed in transparent mode.)
3501 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3503 * src/hildon-date-button.c
3504 * src/hildon-time-button.c: Add gettext macros
3506 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3508 * src/hildon-date-button.c (hildon_date_button_new):
3509 * src/hildon-time-button.c (hildon_time_button_new_step):
3510 Use new logical strings to set the button default title.
3512 Fixes: NB#99915 (Date and Time options are not localised in Date
3515 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3517 * src/hildon-pannable-area.c
3518 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3519 the PANNING_THRESHOLD.
3521 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3523 * src/hildon-pannable-area.c,
3524 (hildon_pannable_area_class_init): Increased the maximum speed.
3525 (hildon_pannable_area_get_property),
3526 (hildon_pannable_area_set_property),
3527 (hildon_pannable_area_timeout): Added a new low friction mode, it
3528 allows the user avoid friction when launching the widget fast
3529 enough. It is interesting to traverse long lists.
3531 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3533 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3534 (+hildon_stackable_window_delete_event): Ignore delete events if
3535 the window is not the topmost one.
3537 Fixes: NB#101698 (Back button long press and delete-event handling)
3539 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3541 * src/hildon-pannable-area.c,
3542 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3543 gtk-dnd-drag-threshold, it was too big. We have defined our own
3544 dnd define and set a smaller value: PANNIG_THRESHOLD.
3546 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3548 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3549 user-defined icons, use always the default one.
3551 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3553 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3555 This patch was applied before but reverted because it caused
3556 problems, we have changed the main condition and tested the
3557 regressions we detected before and they work ok.
3559 * src/hildon-pannable-area.c,
3560 (hildon_pannable_area_get_topmost): Added a new parameter to
3561 filter the the windows that do not include those events. Added
3562 also a condition when finding the window to filter windows that do
3563 not ask for those events.
3564 (hildon_pannable_area_button_press_cb),
3565 (hildon_pannable_area_button_release_cb),
3566 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3567 topmost function, we have added the new parameter.
3569 Fixes: NB#97458 (Pannable area prevents propagation of button
3572 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3574 * tests/check-hildon-color-button.c (START_TEST): do not leak
3577 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3579 * src/hildon-font-selection-dialog.c
3580 (hildon_font_selection_dialog_get_preview_text): Return NULL
3581 instead of FALSE on the g_return_val_if_fail().
3583 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3585 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3586 * src/hildon-date-selector.c
3587 (hildon_date_selector_select_current_date):
3588 Do not compare unsigned integers to be greater than or equal 0,
3589 because it's always TRUE.
3591 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3593 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3594 (hildon_date_selector_constructor): Do not select the current
3595 date until we are handle the "changed" signal, to avoid having bogus
3596 elements in the days model.
3598 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3600 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3601 for num_days, since _month_days() can return a negative value.
3603 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3605 * src/hildon-caption.c (hildon_caption_size_allocate):
3606 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3607 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3609 Initialize allocation variables to 0, to avoid eventually using
3610 unitialized variables.
3612 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3614 * src/hildon-bread-crumb-trail.c
3615 (hildon_bread_crumb_trail_size_allocate):
3616 * src/hildon-calendar.c (hildon_calendar_set_background):
3617 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3618 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3619 * src/hildon-seekbar.c (hildon_seekbar_init):
3620 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3621 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3622 * src/hildon-touch-selector-entry.c
3623 (hildon_touch_selector_get_text_from_model):
3624 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3625 * src/hildon-window.c (hildon_window_finalize):
3627 Remove many unused variables.
3629 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3631 * src/hildon-seekbar.c: (hildon_seekbar_init),
3632 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3634 Remove unnecessary g_assert() calls.
3636 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3638 * src/hildon-caption.c: (hildon_caption_expose),
3639 (hildon_caption_set_property), (hildon_caption_init),
3640 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3641 (hildon_caption_size_request), (hildon_caption_size_allocate),
3642 (hildon_caption_forall), (hildon_caption_set_separator),
3643 (hildon_caption_activate), (hildon_caption_set_child_expand),
3644 (hildon_caption_set_label_text),
3645 (hildon_caption_get_label_alignment):
3647 Remove unnecessary g_assert() calls.
3649 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3651 * src/hildon-banner.c
3652 (hildon_banner_map, hildon_banner_init): Make banner temporary
3653 before mapping it to avoid closing other temporary windows, but
3654 make it non-temporary afterwards to avoid being closed by other
3655 non-temporary windows.
3656 (-hildon_banner_client_event, hildon_banner_init):
3657 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3659 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3662 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3664 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3667 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3669 * src/hildon-remote-texture.c
3670 * src/hildon-remote-texture.h
3671 * src/hildon-remote-texture-private.h
3672 * examples/hildon-remote-texture-example.c:
3673 Updates/fixes to remote-texture and its example.
3675 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3677 Patch by Mox Soini (ext-mox.soini@nokia.com)
3679 * src/hildon-code-dialog.c: Update logical id.
3680 * src/hildon-set-password-dialog.c: Update logical id.
3682 Fixes: NB#100646 (Logical strings is shown for ok in set
3683 password,Password needed dialogs)
3685 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3688 * src/hildon-remote-texture.c
3689 * src/hildon-remote-texture.h
3690 * src/hildon-remote-texture-private.h
3692 Added remote texture widget (for Clutter shared memory textures)
3694 * examples/hildon-remote-texture-example.c
3695 * examples/Makefile.am
3696 Added example file for remote texture usage
3698 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3700 * configure.ac: post release version bump.
3701 * debian/changelog: version bump.
3703 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3708 * configure.ac: Bump version.
3709 * debian/changelog: Updates.
3711 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3713 * src/hildon-date-selector.c (hildon_date_selector_init)
3714 (hildon_date_selector_constructor): Don't connect to the "changed"
3715 signal until the selector is completely constructed.
3717 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3719 * src/hildon-touch-selector.c: (_create_new_column),
3720 (hildon_touch_selector_append_column),
3721 (hildon_touch_selector_set_column_selection_mode),
3722 (hildon_touch_selector_set_active),
3723 (hildon_touch_selector_select_iter):
3724 Emit the HildonTouchSelector::changed signal every time selection
3725 is changed in any of the methods above. This behavior was already
3726 documented but not fully functional.
3728 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3729 selection is programmatically changed)
3731 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3733 * doc/hildon-sections.txt: Remove obsolete icon
3734 sizes from here as well.
3736 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3738 * examples/hildon-stackable-window-example.c (add_window): Remove
3741 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3743 * src/hildon-app-menu.c
3744 (hildon_app_menu_show): Check whether the parent window of a menu
3745 is topmost before popping it up.
3747 Fixes: NB#100468 (Application menu window is launched even when a
3748 new secondary-window/dialog is pending to be shown/realized.)
3750 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3752 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3755 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3757 Patch by Mox Soini (ext-mox.soini@nokia.com)
3759 * src/hildon-banner.c: (hildon_banner_show_animation):
3760 use stylus size instead of obsolete note size.
3761 * src/hildon-defines.h: Update icon sizes.
3763 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-touch-selector-entry.c:
3766 (hildon_touch_selector_entry_init): Disable unsupported
3768 (hildon_touch_selector_entry_get_text_column): Emit a warning
3769 if an unsupported input modes is used and explicitile state
3770 these modes in the documentation.
3772 Fixes: NB#99802 (Hildon touch selector entry not working properly
3773 for some of the input modes)
3775 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3777 * src/hildon-pannable-area.c,
3778 (hildon_pannable_area_init): Added the changed signal handlers of
3781 Fixes: NB#100320 (HildonPannableArea does not listen to
3782 GtkAdjustment "change" signals)
3784 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3786 * doc/hildon-sections.txt
3787 * src/hildon-window-private.h
3788 * src/hildon-window.h
3789 * src/hildon-window.c (hildon_window_init)
3790 (hildon_window_realize, hildon_window_unrealize)
3791 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3792 (hildon_window_size_request, hildon_window_size_allocate)
3793 (hildon_window_forall, hildon_window_show_all)
3794 (hildon_window_destroy, +paint_edit_toolbar)
3795 (+hildon_window_set_edit_toolbar):
3796 New hildon_window_set_edit_toolbar() method, to add a
3797 HildonEditToolbar to a window without having to pack it manually.
3799 Reorganize hildon_window_size_allocate()
3801 * src/hildon-edit-toolbar.c: Update documentation.
3803 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3804 example to use the new API.
3806 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3808 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3810 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3811 Remove from stack before calling parent's hide.
3813 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3815 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3816 window is removed from the middle of the stack, update the
3817 transiency of the previous one.
3819 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3822 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3824 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3825 block/unblock the signal handler if it's not actually being used.
3826 Fixes some critical warnings.
3828 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3830 Based on a patch by Iván Gómez (igomez@igalia.com)
3832 * src/hildon-banner.c
3836 * src/hildon-pannable-area.c
3837 * src/hildon-picker-dialog.c
3838 * src/hildon-wizard-dialog.h
3839 * src/hildon-wizard-dialog.c: Documentation updates.
3841 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3842 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3844 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3846 * configure.ac: post release version bump.
3847 * debian/changelog: version bump.
3849 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3854 * configure.ac: Bump version.
3855 * debian/changelog: Updates.
3857 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3859 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3860 a stock icon nor change the relief of the back arrow.
3862 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3863 graphics from theme)
3865 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3867 * src/hildon-button.c (hildon_button_set_alignment): Use
3868 priv->alignment if the button has no child yet.
3870 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-button.c: (hildon_button_init): Set the
3873 button style during initialization to give it the proper
3876 Fixes: NB#99713 (HildonButton value label color is wrong)
3878 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3880 * src/hildon-touch-selector.c: Document
3881 hildon_touch_selector_center_on_selected()
3883 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3885 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3886 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3887 all menu items, but not the menu itself.
3888 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3889 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3890 items after adding them to the menu so keyboard accelerators work.
3891 (hildon_app_menu_show): Don't show the menu if it contains items
3892 but none of them are visible.
3894 * examples/hildon-app-menu-example.c (create_menu): Use
3895 gtk_widget_show_all() to show all menu items.
3897 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3899 * src/hildon-picker-dialog.c:
3900 (-_update_title_on_selector_changed_cb),
3901 (-_dialog_update_title): Removed.
3902 (_select_on_selector_changed_cb), (_on_dialog_response),
3903 (on_selector_columns_changed): Do not update the dialog title.
3904 (setup_interaction_mode): Do not connect to
3905 HildonTouchSelector::changed signal if there's a "done" button, as
3906 the dialog title doesn't need to be updated.
3908 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3911 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3913 Patch by Kristian Rietveld (kris@imendio.com)
3915 * src/hildon-touch-selector.c: (_create_new_column): Use new
3916 GtkTreeView::hildon-row-tapped signal to react to user interactions
3917 instead of ::changed.
3919 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3920 with some dynamic tree model)
3922 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3924 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3925 (+screen_size_changed, +label_size_request)
3926 (hildon_note_class_init): Make the Hildon information note have a
3927 minimum height, and make its text hvae a maximum width.
3929 Fixes: NB#98614 (Hildon information note (background) should have
3930 minimum height and maximum text width)
3932 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3934 * src/hildon-banner.h
3935 * src/hildon-banner.c (hildon_banner_show_information)
3936 (hildon_banner_show_informationf)
3937 (hildon_banner_show_information_with_markup): Update documentation
3938 to reflect that the icon_name parameter is not used anymore.
3939 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3940 Remove all code from these functions and mark them as deprecated.
3941 (hildon_banner_show_progress): Mark as deprecated.
3943 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3945 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3947 * src/hildon-pannable-area.c,
3948 (hildon_pannable_area_class_init),
3949 (tranparency_color),
3950 (hildon_pannable_draw_vscroll),
3951 (hildon_pannable_draw_hscroll),
3952 (hildon_pannable_area_expose_event): Added a new way to render the
3953 scrollbars of the pannable area avoiding using cairo at all. This
3954 way we improve the performance of the pannable area rendering. The
3955 cairo rendering procedure is still in the code, we can control
3956 which one to use changing the value of the define
3957 USE_CAIRO_SCROLLBARS.
3959 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3961 * configure.ac: post release version bump.
3962 * debian/changelog: version bump.
3964 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3969 * configure.ac: Bump version.
3970 * debian/changelog: Updates.
3972 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3974 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3975 banners instead of destroying them when they receive a button
3978 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3980 Reverted commit 34028, it was causing regressions, probably the
3981 topmost condition is not correct, we have to check it in more
3982 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3983 propagation of button press events)
3985 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3987 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3988 that the selection is not empty before attempting to retrieve the
3989 current ampm selection.
3991 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3993 * src/hildon-picker-button.c:
3994 (hildon_picker_button_on_dialog_response): Directly update the
3995 button contents when required instead of calling _selection_changed.
3997 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3999 * src/hildon-program.c (hildon_program_update_top_most): Update
4000 'is-topmost' property also when wm_hints is not set.
4002 Fixes: NB#98383 (is-topmost signal is not emitted when task
4003 switcher is clicked.)
4005 2009-01-23 Alejandro G. Castro <alex@igalia.com>
4007 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
4011 * src/hildon-animation-actor.c,
4012 * src/hildon-animation-actor.h: Added the animation actor class,
4013 this widget represents an animation actor for WM-assisted
4014 animation effects in the Hildon framework.
4016 2009-01-23 Alberto Garcia <agarcia@igalia.com>
4018 * src/hildon-window-stack-private.h
4019 * src/hildon-window-stack.c
4020 * src/hildon-stackable-window.c (hildon_stackable_window_show):
4021 Avoid calling gtk_widget_show() again indirectly from
4022 hildon_stackable_window_show()
4024 2009-01-23 Alberto Garcia <agarcia@igalia.com>
4026 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
4029 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4031 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
4032 (hildon_time_selector_init): Move the construction of the hours and
4033 ampm columns to the constructor to preserve the order the columns
4036 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4038 * src/hildon-picker-dialog.c:
4039 (hildon_picker_dialog_class_init): Connect a realize method.
4040 (+hildon_picker_dialog_realize): Setup the interaction mode here
4042 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
4043 yet, do it during the realize instead.
4044 (_on_dialog_response):
4045 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
4046 if the widget is not realized, to avoid the dialog response before it
4049 Avoid premature responses in the HildonPickerDialog that can cause it
4050 to be hidden before it's even shown.
4052 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4054 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4055 (on_selector_columns_changed), (requires_done_button),
4056 (+prepare_action_area), (setup_interaction_mode),
4057 (_hildon_picker_dialog_set_selector):
4059 Split the interaction mode setup into preparation of the
4060 action area (prepare_action_area()) and the connection of
4061 the signals in setup_interaction_mode() and update the code to
4064 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4066 * src/hildon-pannable-area.c,
4067 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4068 per second to 15, we will check if this is ok regarding
4071 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4073 * src/hildon-pannable-area.c,
4074 (hildon_pannable_axis_scroll): Avoid resize if we already have
4075 reached overshoot_max.
4077 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4079 * src/hildon-pannable-area.c,
4080 (hildon_pannable_area_init),
4081 (hildon_pannable_area_realize),
4082 (hildon_pannable_area_size_allocate),
4083 (hildon_pannable_area_map),
4084 (hildon_pannable_area_unmap),
4085 (hildon_pannable_draw_vscroll),
4086 (hildon_pannable_draw_hscroll),
4087 (hildon_pannable_area_expose_event),
4088 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4089 pannable are to avoid the expose events go to the window and
4090 redraw the window. We save this way that part of the stack and the
4091 paint_boxes. We had to change the positions of the elements when
4094 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4096 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4097 * src/hildon-color-chooser-dialog.c:
4098 (hildon_color_chooser_dialog_init):
4099 * src/hildon-font-selection-dialog.c:
4100 (hildon_font_selection_dialog_init),
4101 (hildon_font_selection_dialog_show_preview):
4102 * src/hildon-get-password-dialog.c:
4103 * src/hildon-login-dialog.c:
4104 * src/hildon-set-password-dialog.c:
4105 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4106 * src/hildon-time-picker.c: (hildon_time_picker_init):
4108 Remove obsolete logical string IDs and update to the appropriate ones.
4110 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4112 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4115 that happens if the window hasn't been realized yet.
4117 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4118 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4120 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4122 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4123 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4126 Fixes: NB#98537 (Device hangs in account settings dialog)
4128 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4130 * configure.ac: post release version bump.
4131 * debian/changelog: version bump
4133 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4138 * configure.ac: Bump version.
4139 * debian/changelog: Updates.
4141 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4143 Added a new function to the HildonTimeButton widget that allows to
4144 change the step of the minutes in the selector associated with the
4145 button: hildon_time_button_new_step
4147 * src/hildon-time-button.c,
4148 (hildon_time_button_init),
4149 (hildon_time_button_new),
4150 (hildon_time_button_new_step):
4151 * src/hildon-time-button.h: Added the new function and refactored
4153 * examples/hildon-time-button-example.c,
4154 (main): We have replaced the function without parameters with the
4155 function with the steps set to 5
4157 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4159 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4161 * src/hildon-time-selector.c,
4162 (hildon_time_selector_class_init),
4163 (hildon_time_selector_constructor),
4164 (hildon_time_selector_get_property),
4165 (hildon_time_selector_set_property),
4166 (_create_minutes_model),
4167 (hildon_time_selector_new_step),
4168 (hildon_time_selector_set_time),
4169 * src/hildon-time-selector.h: Added a new property to the
4170 HildonTimeSelector (minutes-step), we use that property to control
4171 the steps between the minutes in the list of the selector. We have
4172 added a new function to the API to create a widget changing the
4173 step: hildon_time_selector_new_step.
4175 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4177 * src/hildon-time-selector.c,
4178 (hildon_time_selector_class_init),
4179 (hildon_time_selector_constructor),
4180 (hildon_time_selector_init): Overrided the construct function when
4181 creating the time selector object. We have moved the minutes model
4182 handling code from the init to the new construction function:
4183 hildon_time_selector_constructor.
4185 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4187 * examples/hildon-date-button-example.c: (main): Use the new
4188 hildon_date_button_new_with_year_range() method in the example.
4189 * src/hildon-date-button.c:
4190 (+hildon_date_button_new_with_year_range): New public method
4191 to conveniently create a HildonDateButton with a custom year range
4192 in its HildonDateSelector.
4193 * src/hildon-date-button.h: Add the new public method definition.
4195 Fixes: NB#97908 (Not possible to change the year range in
4196 HildonDateSelector/HildonDateButton)
4198 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-date-selector.c:
4201 (+hildon_date_selector_set_property),
4202 (+hildon_date_selector_get_property),
4203 (hildon_date_selector_class_init): Install new properties "min-year"
4204 and "max-year" to define boundaries for the year column.
4205 (_create_year_model): Use the boundary properties to populate the model.
4206 (+hildon_date_selector_new_with_year_range): New public method to
4207 create a HildonDateSelector with a user defined year range.
4208 (hildon_date_selector_select_current_date): Use the new boundaries to
4209 calculate the iterator of current year.
4210 * src/hildon-date-selector.h: Add the new public method definition.
4212 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4214 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4215 Install a constructor method.
4216 (+hildon_date_selector_construct_ui): construct the widget.
4217 (+hildon_date_selector_constructor): new constructor.
4218 (+hildon_date_selector_init): move out widget construction code to
4219 the new constructor.
4221 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4223 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4224 that there's actually a month or year selected before obtaining them.
4225 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4226 of the HildonTouchSelector::changed signal, as it was emitted on every
4227 single item selection.
4229 Fix some warnings and possible crashers due to the selection restoring.
4231 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4233 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4234 the signal handlers only after creating the dialog instead of on every
4237 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4239 * src/hildon-button.c (hildon_button_init)
4240 * src/hildon-check-button.c (hildon_check_button_init)
4241 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4242 focus when clicked by default.
4244 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4249 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4251 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4252 Alejandro G. Castro (alex@igalia.com)
4254 * src/hildon-picker-dialog.c:
4255 (hildon_picker_dialog_class_init): install new "center-on-show"
4257 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4258 (hildon_picker_dialog_set_property): add setter code for the new
4260 (hildon_picker_dialog_get_property): add getter code for the new
4262 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4263 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4266 Fixes: NB#92849 (Selected item is not always visible when
4267 HildonTouchSelector is shown)
4269 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4271 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4272 Alejandro G. Castro (alex@igalia.com)
4274 * src/hildon-touch-selector.c:
4275 (_create_new_column): Do not connect to the "realize" signal of the
4277 (hildon_touch_selector_append_column): center on the selected items
4278 when a new column is appended.
4279 (hildon_touch_selector_select_iter): Factor out the code to select a
4280 column to hildon_touch_selector_scroll_to().
4281 (+search_nearest_element): Method to retrieve the nearest selected
4282 element to the visible area of the pannable area in a column.
4283 (+on_realize_cb): scroll to the initially selected item.
4284 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4285 the pannable area is realized, otherwise delay this until it is.
4286 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4287 selected items of a given column.
4288 (+hildon_touch_selector_center_on_selected): Public method to center
4289 all columns on the nearest selected item.
4290 * src/hildon-touch-selector.h: Add definition for
4291 hildon_touch_selector_center_on_selected().
4293 Implement public API to ensure visibility of all selected items in
4294 a HildonTouchSelector.
4296 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4298 Fixed a problem in the fading when calling the scroll_to API, and
4299 improve scrollbar fading handling.
4301 * src/hildon-pannable-area.c,
4302 (hildon_pannable_area_grab_notify): avoid the timeout when the
4304 (hildon_pannable_area_button_press_cb),
4305 (hildon_pannable_area_motion_notify_cb): Code style changes.
4306 (hildon_pannable_area_button_release_cb): Review the conditions
4307 when releasing the mouse button to avoid unrequired fading
4309 (hildon_pannable_area_scroll_to): Do not calculate and set the
4310 velocity if the scroll is not required.
4312 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4314 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4315 Don't check whether the new selector is NULL: it cannot be.
4316 Hold a reference to the selector while doing the replacement.
4318 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4320 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4321 unnecessary size_request in a removed widget.
4323 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4325 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4326 an unnecessary reference tracking that was leaking.
4328 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4330 Added delayed motion notify event handling, this way we can
4331 discard redrawing if more than 25 events arrive per second.
4333 * src/hildon-pannable-area.c,
4334 (hildon_pannable_area_init): Initialized the new private atributes
4335 controlling this timeout
4336 (hildon_pannable_area_dispose): Remove the timeout that controls
4337 the motion notify events.
4338 (hildon_pannable_area_scroll): Added a condition to control the
4339 use of the acceleration.
4340 (hildon_pannable_area_motion_event_scroll_timeout),
4341 (hildon_pannable_area_motion_event_scroll): Added this two
4342 functions, they handle the motion notify events inside the
4344 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4345 to the scroll method with the new function.
4346 (hildon_pannable_area_button_release_cb): We have to remove the
4347 timeout handler and move to the last position if the last motion
4348 events were not handled.
4350 Fixes: NB#97028 (Pannable area updates on every motion event)
4352 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4354 * src/hildon-pannable-area.c,
4355 (hildon_pannable_area_get_topmost): Added a new parameter to
4356 filter the the windows that do not include those events. Added
4357 also a condition when finding the window to filter windows that do
4358 not ask for those events.
4359 (hildon_pannable_area_button_press_cb),
4360 (hildon_pannable_area_button_release_cb),
4361 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4362 topmost function, we have added the new parameter.
4364 Fixes: NB#97458 (Pannable area prevents propagation of button
4367 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4369 * src/hildon-pannable-area.c,
4370 (hildon_pannable_area_initial_effect): Added controls before
4371 launching the timeout and the idle functions.
4372 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4373 of the method, in some situations it can return with TRUE and 0 in
4375 (hildon_pannable_area_button_press_cb): We do not need to set
4376 DELAY for fading out here.
4378 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4380 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4382 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4383 post-cleaning if the selection is not NULL.
4385 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4387 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4388 all items before restoring the selection.
4390 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4392 * src/hildon-touch-selector.c:
4393 (+hildon_touch_selector_unselect_all):
4394 * src/hildon-touch-selector.h: New API to unselect all items in a
4395 column of the touch selector.
4397 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4399 * src/hildon-pannable-area.c,
4400 (hildon_pannable_area_redraw): Added a call to the refresh
4401 function inside the redraw because apparently in some cases the
4402 change in the adjustment does not imply a size allocate.
4404 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4405 despite the view not being scrollable)
4407 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4409 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4410 leak. Check for NULL before attempting to set the window title.
4412 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4414 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4415 whether to show or not the 'Done' button each time the dialog is
4416 shown, as it depends on the HildonTouchSelector selection mode.
4418 Fixes: NB#96226 (In multiple selection mode Done button is shown
4419 sometimes in listpicker)
4421 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4423 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4424 for the number of columns in the HildonTouchSelector more than once.
4426 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4428 * src/hildon-touch-selector.c: Minor documentation fixes.
4430 * src/hildon-picker-dialog.c (+_dialog_update_title)
4431 (_select_on_selector_changed_cb)
4432 (_update_title_on_selector_changed_cb)
4433 (on_selector_columns_changed): Update dialog title when there's no
4434 'Done' button and also when the number of columns in the selector
4438 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4439 (+_selection_changed, hildon_picker_button_on_dialog_response)
4440 (hildon_picker_button_selector_selection_changed)
4441 (+hildon_picker_button_selector_columns_changed)
4442 (hildon_picker_button_set_selector): Update button value and emit
4443 'value-changed' when the number of columns in the selector
4447 Fixes: NB#96225 (Dialog titles are not shown according to the
4448 values selected in the list picker)
4450 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4452 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4453 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4454 New "arrow-width" and "arrow-height" style properties to set the
4455 size of the arrow button.
4456 Set name of arrow button ("hildon-edit-toolbar-arrow").
4458 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4459 graphics from theme)
4461 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4463 * src/hildon-picker-button.c:
4464 (hildon_picker_button_selector_selection_changed): Use
4465 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4466 the dialog is present.
4468 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4469 the selection is accepted in the dialog)
4471 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4473 * src/hildon-color-chooser.h
4474 * src/hildon-color-chooser-dialog.h:
4475 Added G_BEGIN_DECLS and G_END_DECLS
4477 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4479 (_clean_current_selection): plug a leak in the list.
4481 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4483 * src/hildon-picker-dialog.c:
4484 (+free_path_list): Method to free a GList of GtkTreePaths.
4485 (_clean_current_selection), (_save_current_selection),
4486 (_restore_current_selection): Save the current selection in
4487 as a list of lists, to support multiple selection properly.
4489 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4491 patch by Claudio Saavedra (csaavedra@igalia.com)
4493 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4494 Store the press position.
4495 (+hildon_text_view_button_release_event): If the release position is
4496 close enough to the press position, move the cursor here. Otherwise,
4498 (hildon_text_view_class_init): Override GtkTextView press, release, and
4499 motion event handlers, disabling this way text selection through
4500 pointer interaction, and allowing the container widget to handle the
4503 Fixes: NB#95828 (HildonTextView functionality)
4505 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4507 Based on a patch by Iván Gómez (igomez@igalia.com)
4509 * src/hildon-button.[ch]
4510 * src/hildon-calendar.c
4511 * src/hildon-check-button.c
4512 * src/hildon-date-editor.c
4513 * src/hildon-date-selector.c
4514 * src/hildon-picker-button.c
4515 * src/hildon-time-editor.c
4516 * src/hildon-time-selector.c
4517 * src/hildon-touch-selector.[ch]:
4518 Documentation updates
4520 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4522 * src/hildon-pannable-area.c,
4523 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4524 threshold, it was required due to X events handling.
4526 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4528 * src/hildon-pannable-area.c,
4529 (hildon_pannable_area_grab_notify),
4530 (hildon_pannable_area_initial_effect),
4531 (hildon_pannable_area_button_press_cb),
4532 (hildon_pannable_area_button_release_cb),
4533 (hildon_pannable_area_scroll_cb),
4534 (hildon_pannable_area_scroll_to): Review the timeout management of
4535 the scrollbar, the frecuency was incorrectly set.
4537 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4539 * src/hildon-picker-button.c:
4540 (+hildon_picker_button_on_dialog_response),
4541 (hildon_picker_button_clicked): Present the dialog instead of
4542 running it with gtk_dialog_run().
4544 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4547 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4549 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4550 (hildon_app_menu_finalize): When a window is hidden it doesn't
4551 emit notify::is-topmost, so make sure than the menu also
4552 disappears in that case.
4553 (parent_window_topmost_notify): Renamed from parent_window_hidden
4555 Fixes: NB#94460 (stackable window's menu is not closed when its
4558 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4560 * src/hildon-touch-selector-entry.c:
4561 (+hildon_touch_selector_entry_set_input_mode),
4562 (+hildon_touch_selector_entry_get_input_mode):
4563 * src/hildon-touch-selector-entry.h: New methods to access the input
4564 mode in the selector's entry.
4566 Fixes: NB#93410 (API required for setting IM mode in
4567 HildonTouchSelectorEntry)
4569 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4571 * configure.ac: post release version bump.
4572 * debian/changelog: version bump
4574 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4579 * configure.ac: Bump version.
4580 * debian/changelog: Updates.
4582 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4584 * src/hildon-touch-selector.c:
4585 (_hildon_touch_selector_has_multiple_selection): No need
4586 to initialize the variables here.
4588 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-note-private.h
4591 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4592 (hildon_note_finalize, hildon_note_rebuild): Close information
4593 notes when they receive a button press.
4595 Fixes: NB#89890 (Information notes does not get disappeared after
4598 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4600 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4601 mark from the wizard title, as it's not really necessary. Also,
4602 do not display the page title if not set.
4604 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4606 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4607 (parent_window_hidden): Use the window's "is-topmost" property to
4608 detect when to hide the menu.
4610 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4612 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4613 (hildon_app_menu_finalize): If the parent window of the menu is
4614 hidden, hide the menu too.
4616 Fixes: NB#94460 (stackable window's menu is not closed when its
4619 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4622 * debian/libhildon1-examples.install
4624 * examples/Makefile.am:
4625 Use dh_install to install all examples.
4626 Use DEB_SRCDIR instead of defining SOURCE_DIR
4628 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4630 * configure.ac: post release version bump.
4631 * debian/changelog: version bump
4633 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4638 * configure.ac: bump version
4639 * debian/changelog: updates
4640 * debian/control: bump gtk+ dependency
4642 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4644 patch by Christian Dywan (christian@imendio.com)
4646 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4647 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4649 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4651 * src/hildon-check-button.c (hildon_check_button_init)
4652 (hildon_check_button_class_init, hildon_check_button_style_set)
4653 (hildon_check_button_apply_style):
4654 New "checkbox-size" style property.
4656 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4657 larger / configurable size)
4659 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4661 * configure.ac: post release version bump.
4662 * debian/changelog: version bump
4664 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4669 * configure.ac: bump version
4670 * debian/changelog: updates
4672 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4674 * doc/hildon-sections.txt
4675 * src/hildon-pannable-area.c
4676 * src/hildon-program.c
4677 * src/hildon-time-editor.c
4678 * src/hildon-touch-selector-entry.c:
4680 More documentation updates.
4682 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4684 * doc/hildon-sections.txt
4685 * src/hildon-caption.c
4686 * src/hildon-code-dialog.c
4687 * src/hildon-color-button.c
4688 * src/hildon-controlbar.c
4689 * src/hildon-date-editor.c
4690 * src/hildon-date-selector.c
4691 * src/hildon-edit-toolbar.c
4692 * src/hildon-find-toolbar.c
4693 * src/hildon-font-selection-dialog.c
4695 * src/hildon-program.c
4696 * src/hildon-range-editor.c
4697 * src/hildon-seekbar.c
4698 * src/hildon-time-editor.c
4699 * src/hildon-time-selector.c
4700 * src/hildon-volumebar-range.c
4701 * src/hildon-volumebar.c
4702 * src/hildon-vvolumebar.c
4703 * src/hildon-weekday-picker.c
4704 * src/hildon-window.c
4705 * src/hildon-wizard-dialog.c:
4707 Lots of documentation fixes.
4709 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4711 Patch contributed by Iván Gómez (igomez@igalia.com)
4713 * src/hildon-check-button.c:
4714 * src/hildon-date-button.c:
4715 * src/hildon-date-selector.c:
4716 * src/hildon-dialog.c:
4717 * src/hildon-edit-toolbar.c:
4718 * src/hildon-entry.c:
4719 * src/hildon-picker-button.c:
4720 * src/hildon-program.c:
4721 * src/hildon-text-view.c:
4722 * src/hildon-time-button.c:
4723 * src/hildon-touch-selector-entry.c:
4724 * src/hildon-window-stack.c:
4726 Add more "since" tags to the new API.
4728 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4730 * doc/hildon-sections.txt: Add below method.
4731 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4732 version for the hildonized scale.
4733 * src/hildon-gtk.h: Add the definition.
4735 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4737 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4739 * doc/hildon-sections.txt: Add missing entries for new methods.
4741 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4743 Added API to pannable are in order to get its adjustments. We
4744 added two properties to manage the values we had in the private
4747 * src/hildon-pannable-area.c:
4748 (hildon_pannable_area_class_init): Added hadjustment and
4749 vadjustment properties in order to expose horizontal and vertical
4751 (hildon_pannable_area_get_property),
4752 (hildon_pannable_area_set_property): Added code to handle the new
4754 (hildon_pannable_area_get_hadjustment),
4755 (hildon_pannable_area_get_vadjustment): API functions to get the
4757 * src/hildon-pannable-area.h:
4758 (hildon_pannable_area_get_hadjustment),
4759 (hildon_pannable_area_get_vadjustment): API functions to get the
4762 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4764 Fixed some leaks, after valgrinding.
4766 * src/hildon-touch-selector.c:
4767 (_default_print_func): Fixed a leak.
4768 (hildon_touch_selector_append_column): Fixed a leak.
4769 * src/hildon-date-button.c:
4770 (hildon_date_button_init): Fixed a leak.
4771 * src/hildon-date-selector.c
4772 (hildon_date_selector_finalize): Fixed a leak.
4774 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4776 Based on a patch by Christian Dywan (christian@imendio.com)
4778 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4780 * src/hildon-gtk.h: Add definition.
4782 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4784 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4786 * src/hildon-picker-button.c: (hildon_picker_button_init),
4787 (hildon_picker_button_new): Set the HildonButton::style property
4788 in the init method, to propagate the value to the derived classes.
4790 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-button.c: (hildon_button_class_init): Do not make
4793 the "style" property a construct property.
4795 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4797 * src/hildon-wizard-dialog.h
4798 * src/hildon-wizard-dialog.c
4799 (hildon_wizard_dialog_set_forward_page_func)
4800 * src/hildon-pannable-area.h
4801 * src/hildon-pannable-area.c
4802 (hildon_pannable_area_set_size_request_policy):
4803 Documentation fixes.
4805 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4807 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4809 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4811 * doc/hildon-sections.txt: Added sections file.
4813 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4816 * src/*.[ch]: Updates.
4818 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4820 * examples/hildon-progress-indicator-example.c: new file
4821 * examples/Makefile.am: include the new example program
4823 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4825 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4827 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4829 * configure.ac: post release version bump
4830 * debian/changelog: version bump
4832 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4837 * configure.ac: bump version
4838 * debian/changelog: updates
4839 * debian/control: bump gtk+ dependency
4841 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4843 * src/hildon-dialog.c: Mark as deprecated.
4844 * src/hildon-dialog.h: Mark as deprecated.
4845 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4846 from HildonDialog and still work, even if
4847 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4848 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4850 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4851 maemo changes) instead)
4853 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4855 * src/hildon-pannable_area.h:
4856 * src/hildon-pannable_area.c:
4857 (hildon_pannable_area_class_init),
4858 (hildon_pannable_area_set_property),
4859 (hildon_pannable_area_get_property),
4860 (hildon_pannable_area_size_request),
4861 (hildon_pannable_area_get_size_request_policy),
4862 (hildon_pannable_area_set_size_request_policy): Added new API
4863 allowing applications to control the request policy. Now they can
4864 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4865 children allocation (HILDON_MOVEMENT_CHILDREN).
4867 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4871 (hildon_gtk_tree_view_set_ui_mode)
4872 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4873 mode of treeviews and iconviews.
4875 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4877 * src/hildon-touch-selector-entry.c:
4878 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4879 of a GtkEntry to get proper theming.
4881 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4882 widget, not GtkEntry)
4884 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4886 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4887 no HildonWizardDialogPageFunc.
4889 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4891 Patch contributed by Iván Gómez (igomez@igalia.com)
4893 * src/hildon-app-menu.c:
4894 * src/hildon-button.c:
4895 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4896 * src/hildon-stackable-window.c:
4897 * src/hildon-time-selector.c:
4898 * src/hildon-touch-selector.c:
4899 * src/hildon-window.c:
4901 Add more "since" tags to the new API in hildon 2.2.
4903 2008-12-05 Tim Janik <timj@imendio.com>
4905 Patch contributed by Christian Dywan (christian@imendio.com)
4907 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4908 HildonSizeType, which are supplied by Gtk+ now.
4910 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4912 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4913 (with maemo changes) instead)
4915 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4917 Patch contributed by Iván Gómez (igomez@igalia.com)
4919 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4922 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4924 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4925 (some_page_func), (main): Update the example to use a
4926 HildonWizardDialogPageFunc function.
4928 * src/hildon-wizard-dialog-private.h: Add private data for
4929 the HildonWizardDialogPageFunc function usage.
4931 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4932 (destroy), (hildon_wizard_dialog_init), (response),
4933 (hildon_wizard_dialog_set_forward_page_func):
4934 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4935 that applications can use to stop a HildonWizardDialog to jump to
4938 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4941 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4943 * src/hildon-program.h
4944 * src/hildon-program-private.h
4945 * src/hildon-program.c (hildon_program_init)
4946 (hildon_program_set_common_app_menu)
4947 (hildon_program_get_common_app_menu):
4948 New API for setting a common HildonAppMenu for all
4949 HildonStackableWindows registered with the HildonProgram.
4951 * src/hildon-stackable-window.c
4952 (hildon_stackable_window_toggle_menu):
4953 Use the common HildonAppMenu if a window doesn't have a specific
4956 * src/hildon-app-menu-private.h
4957 * src/hildon-app-menu.c
4958 (hildon_app_menu_get_parent_window):
4959 Function to obtain the window a HildonAppMenu is attached to.
4960 (hildon_app_menu_set_parent_window):
4961 Hide the menu if the parent window is set to NULL.
4963 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4965 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4966 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4967 search widget to popup.
4969 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4971 * configure.ac: post release version bump
4972 * debian/changelog: version bump
4974 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4979 * configure.ac: bump version
4980 * debian/changelog: updates
4982 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4984 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4986 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4987 (hildon_window_stack_window_realized)
4988 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4989 Set the leader GdkWindow when a window is stacked and realized,
4990 unset it when it's unstacked.
4991 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4993 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4995 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4997 * src/hildon-stackable-window.h
4998 * src/hildon-window-stack.h:
4999 Protect definition of HildonWindowStack using the preprocessor.
5001 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5003 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
5004 Fix warning if all menu items are hidden.
5006 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
5008 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5010 * src/hildon-controlbar.c:
5011 * src/hildon-hvolumebar.c:
5012 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
5013 Multiple scale size defines updates.
5015 Fixes: NB#94322 (Scale Updates)
5017 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5019 * examples/hildon-app-menu-example.c (create_menu)
5020 Show items after adding them to the menu, as in the future the
5021 menu will no longer call gtk_widget_show() on the added items.
5023 * src/hildon-app-menu.c:
5024 Update example as explained above.
5026 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5028 * src/hildon-app-menu.c
5029 (hildon_app_menu_insert, hildon_app_menu_add_filter):
5030 Make sure that all menu items have finger height.
5032 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
5034 * src/hildon-picker-dialog.c:
5035 (_on_dialog_response), (_save_current_selection),
5036 (_restore_current_selection), (_clean_current_selection),
5037 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
5038 Defined new functions in order to save the current internal selector
5039 selection previous open the dialog, in case that the use cancel the
5040 interaction, so the widget restores the previous selection.
5042 Fixes: NB#92032 (In calendar application, date values in 'new event'
5045 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
5047 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-button.c: Add a reference to the button examples in
5050 hildon-button-example.c
5052 * examples/hildon-button-example.c: Added examples of the most
5053 common button layouts.
5055 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5057 * src/hildon-app-menu.c (hildon_app_menu_show)
5058 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5060 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5062 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5064 * src/hildon-picker-dialog.c:
5065 (hildon_picker_dialog_init): Initialize the signal id for
5066 HildonTouchSelector::columns-changed.
5067 (+on_selector_columns_changed): Set up the interaction mode everytime a
5068 column is added or removed from the HildonTouchSelector.
5069 (_hildon_picker_dialog_set_selector): Connect to
5070 HildonTouchSelector::columns-changed and keep track of it.
5072 Make sure to update the interaction mode of the dialog everytime a
5073 column is added or removed in the HildonTouchSelector.
5075 Fixes: NB#93228 (Done button is not shown always in listpicker)
5077 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5079 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5080 a new ::columns-changed signal.
5081 (hildon_touch_selector_append_column): Emit ::columns-changed.
5082 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5084 Add a ::columns-changed signal, emitted when the number of columns in a
5085 HildonTouchSelector changes.
5087 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5089 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5090 (_hildon_picker_dialog_set_selector): Factor out the code
5091 to set up the dialog interaction mode.
5093 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5095 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5096 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5097 to signal_changed_id.
5099 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5101 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5104 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5106 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5107 Updated the logical ids related to ampm format, as now it is required to
5108 show it correctly localized even on languages with no default
5109 abbreviations for am or pm
5110 (_check_am_pm_format): check correctly the 24h format gconf property
5112 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5114 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5116 * src/hildon-button.c: Documentation updates.
5118 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5120 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5121 * src/hildon-caption.c: (hildon_caption_class_init):
5122 * src/hildon-color-button.c: (hildon_color_button_class_init):
5123 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5124 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5125 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5126 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5128 Remove deprecated GTK+ marshalers and replace them with the ones
5129 provided by GLib, for those available, add a marshaler for
5130 BOOLEAN:VOID, which is not available in GLib, and use it.
5132 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5134 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5135 the text from the previous column if there is no
5136 HildonTouchSelectorColumn::text-property set.
5138 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5140 * src/hildon-button.h
5141 * src/hildon-button.c (hildon_button_set_property)
5142 (hildon_button_get_property, hildon_button_class_init)
5143 (hildon_button_set_style, hildon_button_get_style):
5144 New "style" property to change the visual appearance of the
5147 * src/hildon-picker-button.c (hildon_picker_button_new):
5148 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5150 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5151 HildonButton look like PickerButton)
5153 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5155 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5156 column while building the default string.
5158 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5160 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5161 scroll indicator by default.
5163 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5165 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5167 * src/hildon-main.c: Fix the documentation for hildon_init()
5169 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5171 * doc/hildon-docs.sgml
5175 * src/hildon-window-stack-private.h
5176 * src/hildon-window-stack.h
5177 * src/hildon-window-stack.c:
5178 New HildonWindowStack object, that adds support for multiple
5179 stacks of windows per process.
5181 * src/hildon-stackable-window-private.h
5182 * src/hildon-stackable-window.h
5183 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5184 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5185 (hildon_stackable_window_show, hildon_stackable_window_hide)
5186 (hildon_stackable_window_class_init)
5187 (hildon_stackable_window_init):
5188 Use HildonWindowStack for stack management.
5190 * src/hildon-program.c (hildon_program_pop_window_stack)
5191 (hildon_program_peek_window_stack)
5192 (hildon_program_go_to_root_window):
5193 Add a fallback implementation to the deprecated functions using
5196 * examples/hildon-stackable-window-example.c:
5197 Use the new HildonWindowStack API.
5199 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5201 * src/hildon-stackable-window-private.h
5202 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5203 (hildon_stackable_window_hide, hildon_stackable_window_init):
5204 Remove all window stack management.
5206 * src/hildon-program-private.h
5207 * src/hildon-program.h
5208 * src/hildon-program.c (hildon_program_init)
5209 (hildon_program_pop_window_stack)
5210 (hildon_program_peek_window_stack)
5211 (hildon_program_go_to_root_window):
5212 Remove all window stack management and mark functions as
5215 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5217 * src/hildon-app-menu.c (hildon_app_menu_realize):
5218 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5220 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5222 * configure.ac: post release version bump
5223 * debian/changelog: version bump
5225 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5230 * configure.ac: bump version
5231 * debian/changelog: updates
5233 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5235 Based on initial code by Christian Dywan (christian@imendio.com)
5237 * doc/hildon-docs.sgml: Add section for hildon-main.
5238 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5239 * src/Makefile.am: Add new hildon-main.[ch]
5240 * src/hildon-defines.h: Update the icon sizes.
5241 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5242 new library initialization files and register icon sizes.
5243 * src/hildon-main.h: New declarations.
5244 * src/hildon.h: Include hildon-main.h
5246 Add new initialization functions to the library. These methods
5247 will register the hildon specific icon sizes and can be used in the
5248 future for other hildon specific bits.
5250 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5252 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5254 * src/hildon-window.c: (hildon_window_realize),
5255 (hildon_window_notify), (-hildon_window_update_title): Do not set
5256 the application name in the window title.
5258 Fixes: NB#89754 (Applications shouldn't display their names in the
5261 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5263 * src/hildon-note-private.h:
5264 * src/hildon-note.c: (hildon_note_set_property),
5265 (hildon_note_get_property), (hildon_note_class_init),
5266 (hildon_note_init), (hildon_note_finalize),
5267 (hildon_note_new_confirmation_with_icon_name),
5268 (hildon_note_new_information_with_icon_name):
5270 No need to mark as deprecated the actual code. Revert
5271 to avoid missing symbols in widgets using deprecated API.
5273 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5275 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5277 * src/hildon-volumebar.h
5278 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5279 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5281 * src/hildon-helper.h
5282 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5283 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5285 * examples/Makefile.am:
5286 Deprecate hildon-insensitive-example
5288 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5290 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5292 * examples/hildon-pannable-area-buttons-scroll-example.c:
5293 Make all buttons finger height
5295 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5297 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5299 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5300 update the day model only if it is really required, and to avoid the
5301 full-reconstruction aproach. Now it only add or remove the required days.
5303 The purpose of this is avoid superfluous HildonTouchSelector::changed
5306 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5307 with strange parameters)
5309 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5311 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5313 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5314 the WINDOW_TYPE property.
5316 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5318 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5321 Fix dependency to allow parallel compilation with make -jX
5323 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5325 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5326 color frame and some minor tweaks to make it more consistent with
5329 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5330 highlighted but not visible)
5332 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5334 * examples/Makefile.am: Fixed typo in the Makefile.am.
5336 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5338 Reviewed the use of MAEMO_GTK define, now we add the define in the
5339 compilation line, and we also add it to the pc file.
5341 * configure.ac: Added MAEMO_GTK define to the compilation command
5342 and removed it from the config.h.
5344 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5345 do not have to take care about this define if the library was
5349 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5351 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5353 * examples/Makefile.am,
5354 * examples/hildon-pannable-area-buttons-scroll-example.c,
5355 * examples/hildon-pannable-area-gesture-signals-example.c,
5356 * examples/hildon-pannable-area-scroll-jump-example.c,
5357 * examples/hildon-pannable-area-tree-view-example.c:
5358 Renamed the pannable area examples, now they have more meaningful
5361 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5363 * src/hildon-touch-selector.c:
5364 (hildon_touch_selector_set_column_selection_mode): Used of
5365 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5366 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5367 to avoid re-seting the same selection mode.
5369 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5370 breaks HildonPickerDialog)
5372 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5374 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5375 conditional in the Makefile.am
5377 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5379 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5380 Remove unused methods.
5382 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5384 * src/hildon-button.c (hildon_button_init):
5385 Make button images center-aligned by default
5387 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5390 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5391 activated, we have to think about how to deal with both defines
5392 MAEMO_GTK and MAEMO_CHANGES.
5394 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5396 * examples/hildon-app-menu-example.c (create_menu): Make all
5397 buttons finger size.
5399 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5401 Fixed the compilation without maemo gtk adding ifdefs with
5402 MAEMO_GTK define to the code, we have to check this version more
5405 * examples/Makefile.am: Added control to avoid some examples that
5406 just make sense with maemo gtk.
5409 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5410 hildon modes with the define.
5412 * examples/hildon-edit-toolbar-example.c,
5413 (create_icon_view): Create the icon view without hildon-gtk
5414 helpers if we are not using maemo gtk.
5416 * src/hildon-touch-selector.c,
5417 (_create_new_column): Create the treeview without hildon-gtk
5418 helpers if we are not using maemo gtk.
5420 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5422 * src/hildon-pnnable-area.c,
5423 (hildon_pannable_area_dispose),
5424 (hildon_pannable_area_button_press_cb),
5425 (hildon_pannable_area_child_mapped),
5426 (hildon_pannable_area_add),
5427 (hildon_pannable_area_remove): Added code to control the position
5428 of the event_window when adding and removing children from the
5429 pannable. We have to raise the event window when the child is
5432 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5433 selection mode using custom widget inside pannable)
5435 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5437 * configure.ac: post release version bump
5438 * debian/changelog: version bump
5440 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5445 * configure.ac: bump version
5446 * debian/changelog: updates
5448 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5450 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5451 search mode, in order to avoid lose the focus on the treeview when
5452 a hw key (like enter) is pressed.
5454 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5455 in HildonDateSelector dialog)
5457 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5459 * debian/rules: Added --enable-maintainer-mode
5460 * Makefile.am: Added ACLOCAL_AMFLAGS
5462 This allows to properly regenerate the Makefiles if you modify the
5463 configure.ac or any Makefile.am.
5465 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5467 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5468 properties, not needed at all.
5470 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5472 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5474 * src/hildon-note.c: (hildon_note_set_property),
5475 (hildon_note_get_property), (hildon_note_class_init),
5476 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5477 (hildon_note_new_confirmation_add_buttons): Remove icons.
5478 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5479 (hildon_note_new_information_with_icon_name): Deprecate.
5480 (hildon_note_new_confirmation): Act directly, without calling
5481 the deprecated constructor.
5482 (hildon_note_new_information): Act directly, without calling
5483 the deprecated constructor.
5484 * src/hildon-note.h: Mark deprecate methods as such.
5485 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5486 not run tests on the deprecated methods if built with deprecation
5489 Fixes: NB#91688 (Never show icons in information notes/confirmation
5492 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5494 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5495 (hildon_app_menu_key_press): Remove leftover usage of the
5496 private structure in HildonAppMenu struct.
5497 * src/hildon-app-menu.h: Remove leftover private structure
5498 from the HildonAppMenu struct.
5500 Fixes a crasher when using the HildonAppMenu.
5502 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-picker-dialog.c: Use appropriate logical id
5505 for the default "Done" text.
5507 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5509 * configure.ac: post release version bump
5510 * debian/changelog: version bump
5512 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5514 Modified the way to scroll to the current selection just when the touch
5515 selector is shown on the screen, avoiding a g_idle. Added too a property
5516 to configure this behaviour. See hildon_pannable_area_jump_to_child
5517 documentation for more information.
5519 * src/hildon-touch-selector.c
5520 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5521 Added 'initial-scroll' property
5522 (hildon_touch_selector_set_property): Added
5523 (hildon_touch_selector_map): Removed as not required anymore
5524 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5525 only a concrete column, instead of iterate along all the columns
5527 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5532 * configure.ac: bump version
5533 * debian/changelog: updates
5535 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5537 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5538 compilation time warnings.
5540 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5542 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5543 the default value for HildonPannableArea::mov-mode to
5544 HILDON_PANNABLE_AREA_MODE_VERT.
5546 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5548 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5550 Reverting following commit:
5552 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5554 * src/hildon-app-menu-private.h
5555 * src/hildon-app-menu.[ch]
5556 * src/hildon-button.[ch]
5557 * src/hildon-check-button.[ch]
5558 * src/hildon-entry.[ch]
5559 * src/hildon-pannable-area.[ch]
5560 * src/hildon-text-view.[ch]:
5561 Added private field to the object's structure.
5563 because it causes an ABI breakage. We will need to introduce these
5564 changes later at some point. See NB#91636 for an extensive
5565 explanation and status.
5567 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5569 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5571 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5572 remove special cases that are no longer necessary.
5574 Fixes: NB#91016 (Change toolbar sizes, simplification)
5576 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5578 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5579 is shown in the cancel note.
5581 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5583 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5584 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5585 (hildon_seekbar_init): Remove steppers, remove expose event.
5586 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5588 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5590 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5592 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5593 label font to "SmallSystemFont" for vertically arranged buttons.
5595 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5598 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5600 * src/hildon-check-button.c
5601 (hildon_check_button_set_active, hildon_check_button_clicked):
5602 Don't access private parts directly, use getters instead.
5604 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5606 * src/hildon-check-button.c (hildon_check_button_new):
5607 Align the contents of the check button to the left.
5609 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5611 * src/hildon-pannable-area.c,
5612 (hildon_pannable_area_scroll_to),
5613 (hildon_pannable_area_jump_to),
5614 (hildon_pannable_area_scroll_to_child),
5615 (hildon_pannable_area_jump_to_child): Replace the mapped
5616 precondition of these functions with the realized, it is the
5617 correct state of the widget in this case. Changed the
5618 documentation according to this modification.
5620 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5622 Added a new EXTRA_CFLAGS option to add the deprecated define to
5623 the compilation command. This way we can avoid using the define in
5624 the documentation compilation.
5626 * configure.ac: Defined EXTRA_CFLAGS.
5628 * examples/Makefile.am:
5630 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5632 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5634 * src/hildon-picker-dialog.c:
5635 Defined a utility macro with the desired touch selector height
5636 Removed currently unused separator, and title_label variables from
5638 (hildon_picker_dialog_init): Removed code related to the creation
5639 of unused private variables title_label and separator.
5640 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5641 to ensure correct visualization of the touch selector inside the dialog.
5642 * src/hildon-touch-selector.c
5643 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5644 ensure a concrete height of the widget.
5646 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5649 * tests/Makefile.am:
5651 Remove spurious whitespaces.
5653 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5655 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5656 compilation warning after the cancel button removal.
5658 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5660 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5662 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5663 Makefile.am, that way we can choose not to compile some examples
5664 and tests of the deprecated widgets.
5666 * examples/Makefile.am: Divided the sources in deprecated and
5669 * src/Makefile.am: Added undef statement of the deprecated
5670 symbol to the enums file generation process.
5672 * src/hildon-color-chooser-dialog.c
5673 * src/hildon-color-chooser-dialog.h
5674 * src/hildon-color-button.c
5675 * src/hildon-color-button.h
5676 * src/hildon-color-chooser.c
5677 * src/hildon-color-chooser.h
5678 * src/hildon-controlbar.c
5679 * src/hildon-controlbar.h
5680 * src/hildon-date-editor.c
5681 * src/hildon-date-editor.h
5682 * src/hildon-hvolumebar.c
5683 * src/hildon-hvolumebar.h
5684 * src/hildon-private.c
5685 * src/hildon-private.h
5686 * src/hildon-range-editor.c
5687 * src/hildon-range-editor.h
5688 * src/hildon-seekbar.c
5689 * src/hildon-seekbar.h
5690 * src/hildon-time-editor.c
5691 * src/hildon-time-editor.h
5692 * src/hildon-time-picker.c
5693 * src/hildon-time-picker.h
5694 * src/hildon-volumebar.c
5695 * src/hildon-volumebar.h
5696 * src/hildon-vvolumebar.c
5697 * src/hildon-vvolumebar.h
5698 * src/hildon-bread-crumb-trail.h
5699 * src/hildon-bread-crumb-trail.c
5700 * src/hildon-calendar-popup.c
5701 * src/hildon-calendar-popup.h
5702 * src/hildon-weekday-picker.c:
5703 * src/hildon-weekday-picker.h:
5704 * src/hildon-bread-crumb-widget.c:
5705 * src/hildon-bread-crumb-widget.h:
5706 * src/hildon-bread-crumb.c:
5707 * src/hildon-bread-crumb.h:
5708 * src/hildon-calendar.c:
5709 * src/hildon-calendar.h:
5710 * src/hildon-caption.c:
5711 * src/hildon-code-dialog.c:
5712 * src/hildon-code-dialog.h:
5713 * src/hildon-font-selection-dialog.c:
5714 * src/hildon-font-selection-dialog.h:
5715 * src/hildon-get-password-dialog.c:
5716 * src/hildon-get-password-dialog.h:
5717 * src/hildon-login-dialog.c:
5718 * src/hildon-login-dialog.h:
5719 * src/hildon-number-editor.c:
5720 * src/hildon-number-editor.h:
5721 * src/hildon-set-password-dialog.c:
5722 * src/hildon-set-password-dialog.h:
5723 * src/hildon-sort-dialog.c:
5724 * src/hildon-sort-dialog.h: This is the list of deprecated
5727 * src/hildon-touch-selector.c:
5728 * src/hildon-window.c: Added undef statement to avoid compilation
5731 * tests/Makefile.am: Divided the sources in deprecated and
5734 * tests/check_test.c,
5735 (configure_tests): Marked the deprecated code that was adding
5736 suites with deprecated tests.
5738 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5740 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5742 * src/hildon-touch-selector.c: (_default_print_func): Do not
5743 duplicate a string returned by gtk_tree_model_get(), it is already
5746 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5749 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5751 * src/hildon-pannable-area.c
5752 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5753 method, it had problems when adding a widget with viewport the
5754 second time. Now checks if it already has a viewport and uses it.
5756 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5759 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5761 * src/hildon-pannable-area.c,
5762 (hildon_pannable_area_scroll_to),
5763 (hildon_pannable_area_jump_to),
5764 (hildon_pannable_area_scroll_to_child),
5765 (hildon_pannable_area_jump_to_child): Added a precondition to the
5766 scroll and jump to functions: the widget must be mapped before we
5767 can safely call these functions. We have also added documentation
5768 to the functions to explain how to use them in this situation.
5771 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5773 Reviewed the threading handling of the pannable widget, we have
5774 used the gdk_threads_add_timeout function instead of the usual
5775 glib handlers. This avoids some problems with the threads.
5777 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5778 (hildon_pannable_area_initial_effect),
5779 (hildon_pannable_area_scroll_indicator_fade),
5780 (hildon_pannable_area_button_press_cb),
5781 (hildon_pannable_area_timeout),
5782 (hildon_pannable_area_motion_notify_cb),
5783 (hildon_pannable_area_button_release_cb),
5784 (hildon_pannable_area_scroll_cb),
5785 (hildon_pannable_area_scroll_to): Removed the
5786 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5787 gdk_threads_add_timeout.
5789 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5791 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5796 * configure.ac: bump version
5797 * debian/changelog: updates
5799 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5801 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5802 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5803 * src/hildon-color-chooser-dialog.c:
5804 (hildon_color_chooser_dialog_init):
5805 * src/hildon-font-selection-dialog.c:
5806 (hildon_font_selection_dialog_init):
5807 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5809 Remove all cancel/close-like dialogs, as these are not going to be
5812 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5814 * src/hildon-note.c: (hildon_note_rebuild),
5815 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5818 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5820 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5822 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5823 sure all buttons are shown, even the Cancel/Close-like ones.
5825 Fixes: NB#90861 (Custom Confirmation dialogs should be
5826 protected from cancel button removal)
5828 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5830 * debian/control: Change libhildon1-examples dependency from libhildon1
5832 * debian/libhildon1-examples.install
5834 * Makefile.am: Modified the final install directory for the examples on
5835 package libhildon1-examples
5836 * Makefile.static: Update clean target in order to remove all the binary
5839 Changes suggested by Claudio after review new libhildon1-examples package
5841 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5843 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5844 * src/hildon-touch-selector.c: Ditto.
5846 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5848 * debian/control: Added new package libhildon1-examples, in order to pack
5849 the current hildon examples as documentation
5850 * debian/rules: Not to compress .c files, modify some includes on the
5851 examples (as normally are compiled locally, but when installed it will
5852 require to include the installed libhildon1 library), and rename
5854 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5855 install all the example files on the new example package
5856 * examples/Makefile.static: Added static makefile that can be used to
5857 compile the examples, once installed the new example package
5858 * examples: Most of the examples were modified in order to grant that
5859 all use only '#include "hildon.h"', in order to be easy to prepare
5860 it on the example package
5862 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5865 * debian/libhildon1-dev.install
5866 * debian/libhildon1-doc.install:
5867 Move all gtk-doc files to a separate libhildon1-doc package.
5869 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5871 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5873 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5875 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5877 * debian/rules: Fixed a error in order to avoid unnecessary calls
5878 to autogen.sh on package building
5880 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5882 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5884 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5886 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5889 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5891 * src/hildon-picker-button.c
5892 (hildon_picker_button_finalize):
5893 Free priv->done_button_text
5895 * src/hildon-time-button.c
5896 (hildon_time_button_set_time)
5897 * src/hildon-picker-button.c
5898 (hildon_picker_button_clicked)
5899 (hildon_picker_button_selector_selection_changed)
5900 (hildon_picker_button_set_selector)
5901 * src/hildon-date-button.c
5902 (hildon_date_button_set_date):
5903 Free strings returned by hildon_touch_selector_get_current_text()
5905 * src/hildon-button.c (hildon_button_construct_child):
5906 Fix leaks in priv->image and priv->label_box
5908 Fixes: NB#90535 (Memory leak in picker button)
5910 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5912 * src/hildon-button.c: (hildon_button_get_property): Do not access
5913 private elements directly, use getters instead.
5915 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5917 * src/hildon-app-menu-private.h
5918 * src/hildon-app-menu.c
5919 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5920 Store the menu's parent window.
5922 * src/hildon-stackable-window.c
5923 (hildon_stackable_window_toggle_menu)
5924 (hildon_stackable_window_finalize):
5925 Set the menu's parent window when the menu is shown, unset it when
5928 * src/hildon-app-menu.c
5929 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5930 (hildon_app_menu_class_init):
5931 Send unhandled keyboard accelerators to the parent window.
5933 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5935 * src/hildon-stackable-window.c
5936 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5938 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5940 * configure.ac: post release version bump
5942 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5945 * configure.ac: Bump version
5946 * debian/changelog: Updates
5947 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5950 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5952 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5955 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5956 GtkMenu with Hildon style.
5958 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5960 * src/hildon-picker-button.c:
5961 (hildon_picker_button_set_done_button_text): Set the dialog's
5962 done button text here as well.
5964 Fixes: NB#90232 (Picker button does not set the label on done button
5965 for the second time)
5967 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5969 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5972 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-app-menu.c (hildon_app_menu_insert)
5975 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5976 the HildonAppMenu to be activatable using keyboard accelerators
5977 when the menu is not being shown.
5979 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5981 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5983 * src/hildon-stackable-window.c
5984 (hildon_stackable_window_show):
5985 Don't hide old windows automatically when new windows are shown:
5986 this is now a task for the window manager.
5987 (hildon_stackable_window_class_init)
5988 (hildon_stackable_window_hide):
5989 Remove windows from the stack everytime they're hidden.
5990 (hildon_stackable_window_realize):
5991 Don't change the _NET_WM_WINDOW_TYPE property. Use
5992 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5993 it as a stackable window.
5995 * src/hildon-program.c
5996 (hildon_program_pop_window_stack):
5997 Just hide the window to remove it from the stack.
5998 (hildon_program_go_to_root_window):
5999 Don't call gtk_widget_show(), this is now a task for the window
6002 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
6004 2008-10-15 Alberto Garcia <agarcia@igalia.com>
6006 * src/hildon-button.c
6007 (hildon_button_construct_child):
6008 Don't pack anything in the button until text or image are
6009 set. This allows adding a custom child after creating the button
6010 with hildon_button_new().
6011 (hildon_button_finalize, hildon_button_class_init)
6012 (hildon_button_init, hildon_button_set_arrangement): Destroy the
6013 alignment and the label box even when they're not packed in the
6016 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
6018 * src/hildon-touch-selector.h:
6019 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
6020 currently the type definition was using GTK_TYPE_VBOX
6021 * src/hildon-touch-selector.c:
6022 Added some implementation notes in order to clarify that any other widget
6023 added without the column related API will not be included on the
6024 selection logic, and how the widget is freed, as some people ask about
6026 (hildon_touch_selector_remove): Reimplemented in order to free properly
6027 the column related data when you remove the private hbox.
6028 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
6029 to get a proper HildonTouchSelectorColumn documentation
6031 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6033 * src/hildon-touch-selector-entry.c:
6034 (hildon_touch_selector_entry_print_func): Return NULL if there is no
6035 text in the GtkEntry and there is no item selected. Fixes a
6038 2008-10-13 Alberto Garcia <agarcia@igalia.com>
6040 * src/hildon-app-menu-private.h
6041 * src/hildon-app-menu.[ch]
6042 * src/hildon-button.[ch]
6043 * src/hildon-check-button.[ch]
6044 * src/hildon-entry.[ch]
6045 * src/hildon-pannable-area.[ch]
6046 * src/hildon-text-view.[ch]:
6047 Added private field to the object's structure.
6049 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6051 * configure.ac: post-release version bump
6053 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6057 * configure.ac: pre-release version bump
6059 * debian/changelog: updates.
6061 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6063 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6064 Disconnect the handler for HildonTouchSelector::changed.
6066 (hildon_picker_button_selector_selection_changed): Update the button
6067 value if the selection change was not triggered by the
6070 (hildon_picker_button_set_selector): connect to
6071 HildonTouchSelector::changed.
6073 Fixes: NB#89650 (Picker button is not updated, when selection in
6074 selector has changed)
6076 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6078 * src/hildon-picker-dialog.c
6079 (hildon_picker_dialog_realize): Removed as not required
6080 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6081 * src/hildon-picker-button.c
6082 (_current_selector_empty): New function, checks if the selector is empty
6083 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6084 if the current selector is empty, in order to avoid to show the dialog
6085 close the dialog in this case (and shows a g_warning).
6087 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6089 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6091 * src/hildon-pannable-area.c,
6092 (hildon_pannable_area_scroll): Added clause to stop movement when
6093 the child of pannable is smaller than one page.
6094 (hildon_pannable_area_scroll_to): Added conditions to avoid
6095 starting the scrolling movement if the child is smaller than one
6096 page, the complete child is in the screen, we do not have to move.
6098 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6100 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6102 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6103 this is managed automatically by the widget when the size of the
6106 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6108 * src/hildon-picker-button.c
6109 (hildon_picker_button_set_done_button_text): Make a copy of the
6110 text, and free the previous value.
6112 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6114 * src/hildon-touch-selector-entry.c:
6115 (hildon_touch_selector_entry_print_func): Return the selected row's
6116 text if the entry is empty.
6118 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6121 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6123 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6125 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6128 * src/hildon-check-button.h
6129 * src/hildon-check-button.c
6130 * examples/hildon-check-button-example.c:
6131 HildonCheckButton is now a new widget. 'toggled' signal added.
6133 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-program-private.h
6136 * src/hildon-program.c (hildon_program_init)
6137 (hildon_program_finalize): Removed unused variables group_leader
6138 and name from HildonProgramPrivate.
6140 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6142 * src/hildon-check-button.c (hildon_check_button_set_active)
6143 (hildon_check_button_get_active, hildon_check_button_new): Use
6144 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6146 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6148 * src/hildon-touch-selector.h
6149 (hildon_touch_selector_set_column_attributes): added deprecation
6150 guard HILDON_DISABLE_DEPRECATED
6151 * src/hildon-time-selector.c
6152 (hildon_time_selector_set_time)
6153 (hildon_time_selector_get_time): Fixed a typo on documentation
6154 * src/hildon-touch-selector.c: update HildonTouchSelector and
6155 HildonTouchSelectorColumn documentation
6156 * src/hildon-touch-selector-entry.c: update "text-column" property
6158 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6159 to be added to the general documentation.
6161 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6163 * examples/hildon-pannable-area-example-4.c,
6165 * examples/hildon-pannable-area-example.c,
6166 (main): Modified the code in order to use the container add, with
6167 viewport treeviews could have problems if they are really big.
6169 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6171 * src/hildon-weekday-picker.c,
6172 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6173 the agreement regarding deprecation in the library.
6175 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6177 * examples/hildon-picker-button-multicolumn-example.c:
6178 (main): Use custom "done" button text.
6180 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6181 (hildon_picker_button_set_property),
6182 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6183 (hildon_picker_button_init),
6184 (+hildon_picker_button_get_done_button_text),
6185 (+hildon_picker_button_set_done_button_text): New methods to customize
6186 the "done" button label in the launched HildonPickerDialog. Also,
6189 * src/hildon-picker-button.h: add the public API.
6191 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6193 * src/hildon-date-selector.h:
6194 * src/hildon-picker-dialog.h:
6195 * src/hildon-time-selector.h:
6196 * src/hildon-touch-selector-column.h:
6197 * src/hildon-touch-selector.h:
6199 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6200 declarations. Fixes gtk-doc warnings.
6202 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6204 * src/hildon-picker-dialog.h
6205 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6206 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6208 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6209 long text is set as label for done button)
6211 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-dialog.c (hildon_dialog_add_button):
6214 Set fixed width to all buttons in the HildonDialog.
6216 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6218 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6220 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6221 Set widget name using class name plus "-finger" or "-thumb".
6223 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6225 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6226 'clicked' when the state of the button is manually changed.
6228 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6230 * src/hildon-app-menu.c (hildon_app_menu_realize)
6231 (hildon_app_menu_unrealize, hildon_app_menu_init)
6232 (hildon_app_menu_class_init, item_visibility_changed):
6233 Change the menu layout when the size of the screen changes.
6234 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6235 Show warning only when changing the number of colums using the
6238 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6240 * debian/compat: Set to 5
6241 * debian/control: Update dependencies.
6242 * debian/libhildon1-dbg.install: Remove.
6243 * debian/libhildon1-dev.install: Update according to cdbs paths.
6244 * debian/libhildon1.install: Update according to cdbs paths.
6245 * debian/rules: Switch to cdbs.
6247 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6249 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6250 'item' variable renamed to 'filter'
6252 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6254 * src/hildon-app-menu.c (hildon_app_menu_insert)
6255 (hildon_app_menu_add_filter, remove_item_from_list)
6256 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6257 Don't leak hidden items when the menu is destroyed.
6259 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6261 * src/hildon-app-menu.c (hildon_app_menu_insert)
6262 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6263 (hildon_app_menu_set_columns, item_visibility_changed)
6264 (filter_visibility_changed, hildon_app_menu_repack_filters)
6265 (hildon_app_menu_repack_items):
6266 Repack items and filters separately.
6268 Don't repack all items, change only the ones that are needed to
6271 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6273 * src/Makefile.am: added hildon-touch-selector-column.h
6275 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6277 * src/hildon-touch-selector.c: added the property "text-column" to the
6278 class HildonTouchSelectorColumn, and related get/set functions
6279 (_default_printf_func): updated to use "text-column" property
6280 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6281 "text-column" in his documentation, as this is now included on
6282 HildonTouchSelectorColumn. The get/set_property can still be used,
6283 working as a wrapper to the concrete column "text-column" property
6284 (_text_column_modified): callback added in order to handle the signal
6285 "notify::text-column" of the concrete HildonTouchSelectorColumn
6286 (hildon_touch_selector_entry_get_text_column)
6287 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6288 modified in order to use the HildonTouchSelectorColumn "text-column"
6290 * src/hildon-time-selector.c:
6291 * src/hildon-date-selector.c:
6292 * examples/hildon-touch-selector-example.c
6293 * examples/hildon-touch-selector-multi-cells-example.c
6294 * examples/hildon-picker-button-multicolumn-example.c
6295 Set the right value to "text-column" property on the creation of a new
6296 column using hildon_touch_selector_append_column()
6298 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6300 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6302 * src/hildon-app-menu.c
6303 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6304 updating the layout of the menu, don't create all widgets again,
6305 just repack the items in their new places.
6307 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6309 * src/hildon-time-selector.c
6310 (hildon_time_selector_get_time)
6311 (hildon_time_selector_set_time)
6312 Added documentation of these public methods
6314 * src/hildon-date-button.h
6315 * src/hildon-touch-selector-column.h
6316 * src/hildon-time-button.h
6317 * src/hildon-picker-dialog.h
6318 * src/hildon-time-selector.h
6319 * src/hildon-picker-button.h
6320 * src/hildon-touch-selector.h
6321 * src/hildon-time-picker.h
6322 * src/hildon-date-selector.h
6323 * src/hildon-touch-selector-entry.h
6324 Modified in order to use hildon-widgets code style
6326 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6328 Added deprecated support to the compilation process using
6329 HILDON_DISABLE_DEPRECATED
6331 * configure.ac: Added the --disable-deprecated to the configure
6334 * src/hildon-weekday-picker.c:
6335 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6336 to use the deprecated support. We will update the other deprecated
6337 widgets status in a new patch.
6339 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6341 * configure.ac: Fixed typo with fatal warnings support, the
6342 variable name was not correct
6344 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6346 * src/hildon-app-menu.c
6347 * src/hildon-program.c: Update documentation.
6349 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6351 * configure.ac: Post-release version bump.
6353 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6358 * configure.ac: Pre-release version bump.
6359 * debian/changelog: Updates.
6361 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6363 * NEWS: Update news for previous releases.
6365 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6367 * examples/hildon-touch-selector-multi-cells-example.c:
6368 (create_selector): Update the example to use
6369 hildon_touch_selector_append_column() with a NULL renderer and set
6370 the renderers later.
6371 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6372 passed a NULL renderer. This is documented behavior now.
6374 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6375 This must be used if the developer wants full control on the layout of
6376 the renderers to be added to the column.
6378 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6380 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6382 * src/hildon-touch-selector.c: Documentation fixes.
6384 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6386 * src/hildon-wizard-dialog-private.h: Remove image and box.
6387 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6388 (hildon_wizard_dialog_set_property), (response): Completely remove
6389 image/icon support, and the containers required for the layout.
6391 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6393 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6395 * src/hildon-app-menu.c: Updated documentation.
6397 * src/hildon-stackable-window.c
6398 (hildon_stackable_window_set_main_menu): Unref the old menu after
6399 ref'ing the new one.
6401 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6403 * src/hildon-stackable-window.c
6404 (hildon_stackable_window_set_main_menu): Unref the previous menu
6405 instead of destroying it.
6407 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6408 floating reference and set has_user_ref_count to FALSE to make
6409 HildonAppMenu act like a normal ref-counted widget and not a
6412 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6415 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6417 * src/hildon-touch-selector-column.h: new file
6418 * src/hildon-touch-selector.h
6419 * src/hildon-touch-selector.c
6420 Implemented GtkCellLayout interface, in order to allow to configure
6421 the cell layout on each individual selector column
6422 (hildon_touch_selector_set_column_attributes): marked as deprecated
6423 * examples/hildon-touch-selector-multi-cells-example.c
6424 Example of how to use the GtkCellLayout interface on the selector
6426 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6428 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6430 * src/hildon-app-menu.h
6431 * src/hildon-app-menu.c
6432 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6433 (hildon_app_menu_append, hildon_app_menu_prepend):
6434 New methods to prepend, insert and move items in the menu.
6436 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6438 * src/hildon-wizard-dialog.c:
6440 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6442 (create_title): Update logical IDs and related code.
6443 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6445 * src/hildon-wizard-dialog.h: Note that
6446 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6447 point, as it is not used anymore.
6449 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6451 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6453 * src/hildon-note.c:
6454 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6455 shown. Do not display an icon in confirmation notes nor information
6457 (hildon_note_set_button_text): Update logical ID for cancel button.
6459 Fixes: NB#88850 (Update HildonNote button strings + signals)
6461 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6463 * src/hildon-stackable-window.c
6464 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6466 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6468 * src/hildon-app-menu-private.h
6469 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6470 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6471 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6472 temporary property 'columns' to change the number of columns.
6474 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6476 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6478 * examples/hildon-note-example.c: (on_information_clicked),
6479 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6480 debugging information.
6481 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6483 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6484 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6485 in order to close: this will be handled by the WM from now on.
6487 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6489 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6491 * src/hildon-app-menu-private.h
6492 * src/hildon-app-menu.c
6493 (hildon_app_menu_append, hildon_app_menu_add_filter)
6494 (button_visibility_changed, hildon_app_menu_apply_style)
6495 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6496 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6497 layout everytime a button (item or filter) is shown or hidden.
6499 * src/hildon-stackable-window.c
6500 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6503 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6505 * src/hildon-touch-selector.c:
6506 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6507 that the treeview inside the touch selector is in fremantle hildon mode
6508 * examples/hildon-date-button-example.c
6509 * examples/hildon-picker-button-multicolumn-example.c
6510 * examples/hildon-touch-selector-entry-example.c
6511 * examples/hildon-touch-selector-example.c
6512 * examples/hildon-time-button-example.c
6513 * examples/hildon-picker-button-example.c:
6514 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6516 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6518 * examples/hildon-text-view-example.c: (main): Remove the
6519 gtkrc bits, now handled by the theme.
6521 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6523 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6526 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6528 * po/Makefile.am: Install properly the mo files.
6529 * po/en_GB.po: Update translation, to ease testing purposes.
6531 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6533 * examples/hildon-picker-button-example.c: (main): Select an item
6534 in the selector before setting it to the button.
6536 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6538 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6539 Update button's value if the selector has an item active.
6541 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6542 'value' with the selector)
6544 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6546 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6547 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6548 (hildon_picker_button_class_init): Plug the finalize method.
6549 (hildon_picker_button_set_selector): If there's a previously set
6550 selector, unref'it before setting a new one.
6552 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6553 HildonTouchSelector)
6555 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6557 * src/hildon-touch-selector-entry.c:
6558 (hildon_touch_selector_entry_changed): Check if there is no text
6559 selected before setting the entry text.
6562 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6564 * src/hildon-touch-selector.h
6565 * src/hildon-touch-selector.c
6566 (hildon_touch_selector_get_active)
6567 (hildon_touch_selector_set_active): New methods to set/get the
6568 index of the selected item.
6570 * src/hildon-picker-button.h
6571 * src/hildon-picker-button.c
6572 (hildon_picker_button_get_active)
6573 (hildon_picker_button_set_active): New methods to set/get the
6574 index of the selected item.
6576 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6578 * configure.ac: post-release version bump.
6580 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6584 * configure.ac: Pre-release version bump.
6585 * debian/changelog: Updates.
6586 * debian/control: Add myself as maintainer and depend on l10n
6589 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6591 * src/hildon-window.c
6592 (hildon_window_set_main_menu)
6593 * src/hildon-stackable-window.c
6594 (hildon_stackable_window_set_main_menu):
6595 Updated documentation.
6597 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6599 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6600 Don't free selector->priv manually.
6603 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6606 (hildon_gtk_window_set_progress_indicator):
6607 * src/hildon-gtk.h: Added the new API
6608 hildon_gtk_window_set_progress_indicator, it changes the state of
6609 the window progress hint.
6611 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6613 * src/hildon-button.c
6614 * src/hildon-stackable-window.c: Minor documentation updates.
6616 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-stackable-window.c: Updated documentation.
6620 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6622 * src/hildon-defines.h: Update margins definitions
6623 to the Fremantle sizes.
6626 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6628 * src/hildon-touch-selector.c,
6629 (_hildon_touch_selector_set_model): Cleaning the code after
6630 review, removed g_print and #if 0 from the code.
6632 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-edit-toolbar.c: Update documentation.
6636 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6638 * src/hildon-check-button.h
6639 * src/hildon-check-button.c
6640 (hildon_check_button_set_label, hildon_check_button_get_label)
6641 * examples/hildon-check-button-example.c
6642 (button_clicked_cb):
6643 Removed deprecated methods.
6645 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6647 * src/hildon-text-view.c:
6648 Add sample code to the documentation.
6650 * src/hildon-entry.h
6651 * src/hildon-text-view.h:
6652 Minor cosmetic changes.
6654 * src/hildon-entry.c:
6655 Add sample code to the documentation.
6656 (hildon_entry_init, hildon_entry_refresh_contents):
6657 Don't allow NULL values in the placeholder.
6659 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6661 * doc/hildon-docs.sgml
6663 * examples/Makefile.am
6664 * examples/hildon-text-view-example.c
6666 * src/hildon-text-view.c
6667 * src/hildon-text-view.h
6669 New HildonTextView widget, with example.
6671 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6673 * po/POTFILES.in: Add missing files with translatable strings.
6674 Partially fixes NB#88287.
6676 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6678 * examples/hildon-pannable-area-example-2.c: (main): No need to
6679 set the cellrenderer height inside hildon touch lists, the theme does
6682 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6684 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6685 they are integrated in the theme.
6687 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6689 * examples/hildon-entry-example.c: Update the example adding
6690 widgets to modify the text and the placeholder of the HildonEntry.
6692 * src/hildon-entry.c: Show the placeholder everytime the widget
6693 is empty and loses the focus.
6695 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6697 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6699 * src/hildon-pannable-area.c,
6700 (hildon_pannable_area_size_request): Fixed bug in height
6701 requisition, avoid increasing size and add border twice.
6703 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6705 * configure.ac: postrelease version bump.
6707 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6711 * configure.ac: Prerelease version bump.
6712 * debian/changelog: update.
6713 * debian/rules: make -dbg package contain useful debugging symbols.
6715 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6717 * src/hildon-dialog.h
6718 * src/hildon-dialog.c
6719 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6720 New methods to add buttons with finger size.
6721 (hildon_dialog_new_with_buttons):
6722 Create buttons with finger size.
6724 * examples/hildon-dialog-example.c (main): Use HildonDialog
6725 methods to add buttons.
6727 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6729 * src/hildon-entry.c: Updated HildonButton documentation.
6731 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6733 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6734 button value label with (FALSE, FALSE) to prevent NB#88126 from
6737 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6739 * examples/hildon-pannable-area-example.c,
6740 (main): Removed examples panning a vbox inside a pannable
6741 area. Check bug NB#87965
6743 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6745 Patch contributed by Kris Rietveld (kris@imendio.com)
6747 * src/hildon-pannable-area.c,
6748 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6749 get_size and get_position, this saves an X server roundtrip.
6751 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6753 * doc/hildon-docs.sgml
6755 * examples/Makefile.am
6756 * examples/hildon-entry-example.c
6758 * src/hildon-entry.c
6759 * src/hildon-entry.h
6761 New HildonEntry widget, with example.
6763 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6765 * src/hildon-button.c (hildon_button_construct_child): Pack the
6766 image with expand == fill == FALSE. This is a workaround for a bug
6769 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6771 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6772 labels for the text column, to make it more look more dynamic.
6774 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6776 * src/hildon-time-selector.c
6777 Define gettext auxiliar macro N_
6778 (_create_minutes_model)
6779 (_create_hours_model)
6780 (_create_ampm_model): use of strftime in order to fill the model
6781 * src/hildon-date-selector.c
6782 (hildon_date_selector_finalize):
6783 (_locales_init): remove the logic related to get the name of the months
6784 using nl_langinfo, as it is not required anymore
6786 (_create_year_model)
6787 (_create_month_model)
6788 (_update_day_model): use of strftime in order to fill the model properly
6791 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6793 * src/hildon-button.h
6794 * src/hildon-button.c (hildon_button_get_image): New method to
6797 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6799 * src/hildon-touch-selector.c:
6800 (hildon_touch_selector_remove_column): Remove from the correct parent
6801 and also remove the list element and free it.
6804 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6806 * src/hildon-time-selector.c
6807 (_create_hours_model): change the range on 12h ampm format in order to use
6808 a 12-11 range instead of previous 01-12 range
6809 (hildon_time_selector_set_time): change the way to select the current time
6810 on 12h ampm format, due the change on the range
6811 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6814 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6816 * src/hildon-touch-selector.c
6817 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6818 in order to allow use this function on multiple row selection mode if
6819 the column is different that the first one
6822 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6824 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6825 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6827 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6829 * src/hildon-date-selector.h: clean some comments, now on the .c
6830 * src/hildon-date-selector.c
6831 (hildon_date_selector_select_month): first implementation
6832 (hildon_date_selector_select_day): added documentation, reimplemented
6833 using hildon_date_selector_select_current_date to avoid repeat code
6836 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6838 Reviewed interaction logic based on device experiences, refactored
6841 * src/hildon-pannable-area.c,
6842 (hildon_pannable_area_class_init): Updated default vmax speed.
6843 (hildon_pannable_area_calculate_velocity): Added this function, it
6844 avoids duplicate valocity calculation. Adjusted calculation to
6845 avoid problems with zero dist events.
6847 (hildon_pannable_area_motion_notify_cb): Now we use the
6848 calculate_velocity function.
6850 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6852 * src/hildon-date-selector.c
6853 (hildon_date_selector_select_current_date): fix the day range check
6854 as it failed using the last day of the current month
6857 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6859 * src/hildon-touch-selector.c
6860 (hildon_touch_selector_get_num_columns): added a parameter validation
6863 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6865 * examples/Makefile.am
6866 * examples/hildon-edit-toolbar-example.c: Example of the
6867 HildonEditToolbar widget.
6869 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6871 * configure.ac: postrelease version bump.
6873 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6877 * configure.ac: prerelease version bump.
6878 * debian/changelog: update.
6880 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6882 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6883 renderer to display stock icons in the touch list. Also, set the sizes
6884 to the recommended in the style guide.
6886 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6887 * src/hildon-touch-selector.h
6888 (hildon_touch_selector_set_active_iter): renamed, now is
6889 hildon_touch_selector_select_iter
6890 (hildon_touch_selector_get_active_iter): renamed, now is
6891 hildon_touch_selector_get_selected
6892 (hildon_touch_selector_unselect_iter): added
6893 * src/hildon-touch-selector.c
6894 Update after API modification (methods renamed)
6895 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6896 order to avoid problems selecting multiple elements on the column
6897 (hildon_touch_selector_unselect_iter): added the implementation
6898 * src/hildon-time-selector.c
6899 * src/hildon-date-selector.c
6900 * src/hildon-touch-selector-entry.c
6901 Update methods calls after hildon-touch-selector.h API modification (methods
6904 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6906 * src/hildon-stackable-window.c
6907 (hildon_stackable_window_finalize): Call the parent class's finalize.
6909 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6911 * examples/hildon-touch-selector-example.c: (create_selector): Use
6912 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6915 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6917 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6918 set a cell background color, to respect theming.
6920 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6922 * doc/hildon-docs.sgml
6925 * src/hildon-edit-toolbar.c
6926 * src/hildon-edit-toolbar.h
6927 * src/hildon.h: New HildonEditToolbar widget.
6929 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6931 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6934 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6935 * src/hildon-touch-selector.c
6936 (_create_new_column): use g_object_set instead of two g_object_set_property
6938 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6939 * src/hildon-touch-selector.c
6940 (_create_new_column): use of hildon_gtk_tree_view_new to create
6941 the treeview, instead of use directly g_object_new
6942 (_create_new_column): update the property name "vindicator-mode" for the
6943 new one "vscrollbar-policy"
6944 * examples/hildon-date-button-example.c
6945 * examples/hildon-picker-button-multicolumn-example.c
6946 * examples/hildon-touch-selector-entry-example.c
6947 * examples/hildon-touch-selector-example.c
6948 * examples/hildon-time-button-example.c
6949 * examples/hildon-picker-button-example.c
6950 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6951 to all the treeviews inside a pannable area.
6953 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6955 * src/hildon-button.h
6956 * src/hildon-button.c (hildon_button_init)
6957 (hildon_button_set_arrangement, hildon_button_set_alignment)
6958 (hildon_button_set_title_alignment)
6959 (hildon_button_set_value_alignment)
6960 (hildon_button_set_image_alignment)
6961 (hildon_button_construct_child): New methods to set the alignment
6962 of the individual components of the button (title, value,
6963 image). Also, new method to alter the xscale and yscale properties
6964 of the GtkAlignment inside the button, so more complex layouts can
6967 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6969 * src/hildon-button.c (hildon_button_style_set)
6970 (hildon_button_class_init, hildon_button_set_arrangement)
6971 (hildon_button_construct_child): Apply style properties
6972 correctly. Use the 'image-spacing' style property too.
6974 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6976 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6977 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6980 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6982 * src/hildon-pannable-area.c,
6983 (hildon_pannable_area_size_request): Fixed problem with
6984 pannable-area size_request.
6986 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6988 Added management for the grab-focus to a child widget, like a
6989 range, we need to fade out the scrollbar when releasing.
6991 * src/hildon-pannable-area.c,
6992 (hildon_pannable_area_init): Connected the grab-focus signal to
6994 (hildon_pannable_area_grab_notify): Added this function in order
6995 to manage the situation when the grab-focus ends. We have to
6996 fade-out the scrollbar.
6998 2008-08-25 Alberto Garcia <agarcia@igalia.com>
7000 * src/hildon-app-menu.c: Minor documentation update.
7002 2008-08-25 Alberto Garcia <agarcia@igalia.com>
7004 * src/hildon-app-menu.c
7005 * examples/hildon-app-menu-example.c (create_menu): Update
7006 examples and documentation to explain how to connect callbacks.
7008 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
7010 * examples/hildon-button-example.c
7011 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
7012 hildon_stackable_window_new instead of gtk_window_new
7014 2008-08-22 Alejandro G. Castro <alex@igalia.com>
7016 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
7017 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
7018 (hildon_pannable_area_set_property),
7019 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
7020 (hildon_pannable_area_unrealize),
7021 (hildon_pannable_area_size_request),
7022 (hildon_pannable_area_size_allocate),
7023 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
7024 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
7025 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
7026 (hildon_pannable_area_initial_effect),
7027 (hildon_pannable_area_redraw),
7028 (hildon_pannable_area_scroll_indicator_fade),
7029 (hildon_pannable_area_expose_event),
7030 (hildon_pannable_area_get_topmost), (synth_crossing),
7031 (hildon_pannable_area_button_press_cb),
7032 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
7033 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
7034 (hildon_pannable_area_motion_notify_cb),
7035 (hildon_pannable_area_button_release_cb),
7036 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
7037 (hildon_pannable_area_remove),
7038 (hildon_pannable_calculate_vel_factor): Widget refactorization,
7039 chage the code layout to a more GtkWidget like. Review the use of
7042 2008-08-21 Alejandro G. Castro <alex@igalia.com>
7044 * examples/hildon-pannable-area-example-4.c,
7045 (main): Modified the name of the hindicator_mode to
7048 * src/hildon-pannable-area.c,
7049 (hildon_pannable_area_class_init),
7050 (hildon_pannable_area_motion_notify_cb),
7051 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7052 we have reduced the amount of signals and managed reviewed its
7053 rationale. Changed the default decelerate value.
7055 (hildon_pannable_area_add),
7056 (hildon_pannable_area_redraw): Refactored functions.
7058 (hildon_pannable_area_init),
7059 (hildon_pannable_area_get_property),
7060 (hildon_pannable_area_set_property):
7061 (hildon_pannable_draw_vscroll),
7062 (hildon_pannable_draw_hscroll),
7063 (hildon_pannable_area_initial_effect),
7064 (hildon_pannable_area_expose_event),
7065 (hildon_pannable_area_scroll),
7066 (hildon_pannable_area_button_press_cb),
7067 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7068 and vindicator_mode with hscrollbar_policy and
7069 vscrollbar_policy. Replaced hscroll and vscroll with
7070 hscroll_visible and vscroll_visible.
7072 (hildon_pannable_area_refresh): Refactor the function, remove
7073 variables and check the calls to this function, added resize
7074 conditions in case the children change their layout.
7076 (hildon_pannable_area_size_request): Added more detailed
7077 size_request calculation.
7080 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7082 * src/hildon-color-chooser.c
7083 (init_borders): use the correct gtk_border_free instead of g_free, to
7084 avoid a crash when this widget is used (ie: the three color selection
7087 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7089 * src/hildon-check-button.c,
7090 (hildon_check_button_set_active): Fixed problem when setting the
7091 active value, the widget was not redrawn.
7093 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7095 * src/hildon-pannable-area.c,
7096 (hildon_pannable_area_refresh),
7097 (hildon_pannable_area_scroll),
7098 (hildon_pannable_area_motion_notify_cb): Small code style change.
7100 (hildon_pannable_area_class_init): Default initial_hint set to
7101 FALSE, it is not in the specs.
7103 (hildon_pannable_area_initial_effect),
7104 (hildon_pannable_area_expose_event),
7105 (hildon_pannable_area_map),
7106 (hildon_pannable_area_init): Moved the launching point of the
7107 initial effect, it was in map but the sizes where not correct in
7108 that method so we do not know if we have the reproduce it. Now it
7109 is placed in the expose_event method and uses a variable to
7110 reproduce it just once.
7112 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7114 * src/hildon-pannable-area.c,
7115 (hildon_pannable_draw_vscroll),
7116 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7117 position allowed for the scrollbars.
7119 (hildon_pannable_area_size_allocate): Small style change.
7121 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7123 * src/hildon-pannable-area.c,
7124 (hildon_pannable_area_scroll_indicator_fade),
7125 (hildon_pannable_area_button_press_cb),
7126 (hildon_pannable_area_button_release_cb),
7127 (hildon_pannable_area_scroll_cb),
7128 (hildon_pannable_area_expose_event),
7129 (hildon_pannable_area_init): Added the define parameter
7130 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7131 and refactor the fade variable.
7133 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7135 * src/hildon-pannable-area.c,
7136 (hildon_pannable_area_redraw),
7137 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7138 lines, we were reimplemeting the redraw code.
7140 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7142 * src/hildon-pannable-area.c,
7143 (hildon_pannable_area_scroll_cb),
7144 (hildon_pannable_area_realize),
7145 (hildon_pannable_area_class_init): Added scroll_event management
7146 for pannable area, now we can scroll the usual desktop method.
7148 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7149 initialization of the parameters should depend on idle_id.
7151 (hildon_pannable_area_init),
7152 (hildon_pannable_area_map): Small code style modifications
7154 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7156 * src/hildon-pannable-area.c
7157 (hildon_pannable_area_button_press_cb),
7158 (hildon_pannable_area_motion_notify_cb),
7159 (hildon_pannable_area_button_release_cb),
7160 (hildon_pannable_area_size_allocate),
7161 (hildon_pannable_area_scroll_to): Improved the timeouts
7162 management, we avoid creating them each time.
7164 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7166 * src/hildon-pannable-area.c:
7167 (hildon_pannable_area_refresh),
7168 (hildon_pannable_area_motion_notify_cb),
7169 (hildon_pannable_area_class_init):
7170 * src/hildon-pannable-area.h:
7171 * src/hildon-touch-selector.c
7172 (_create_new_column):
7173 * examples/hildon-pannable-area-example-4.c:
7174 (horizontal_movement),
7175 (vertical_movement),
7177 Replaced the names of enums in the HildonPannableArea:
7178 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7179 HILDON_MOVEMENT_MODE_*
7180 - HILDON_PANNABLE_AREA_MOV_* ->
7182 - Removed HildonPannableAreaIndicatorMode, now we
7185 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7187 * examples/hildon-pannable-area-touch-grid-example.c
7188 * examples/hildon-pannable-area-touch-list-example.c: Fix
7189 compilation warnings.
7191 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7193 * src/hildon-gtk.c (hildon_gtk_button_new)
7194 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7195 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7196 images overriding the value of the "gtk-button-images" setting.
7198 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7200 * src/hildon-check-button.c (hildon_check_button_new):
7201 Instead of using a custom container, display the label and the
7202 checkbox using the standard GtkButton API.
7204 * examples/hildon-check-button-example.c (main): Don't use
7205 hildon_check_button_set_label() anymore
7207 * src/hildon-check-button.h
7208 * src/hildon-check-button.c
7209 (hildon_check_button_set_label, hildon_check_button_get_label):
7210 Set as deprecated, now we're using gtk_button_{get,set}_label()
7212 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7214 * src/hildon-pannable-area.c,
7215 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7216 GtkTreeview first line we detected it after the inclusion of the
7217 GtkWindowImpl in gtk+. We now check if the window is visible, not
7218 just if the pointer is over the window.
7219 (hildon_pannable_axis_scroll),
7220 (hildon_pannable_area_expose_event): Small style changes.
7222 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7224 * src/hildon-button.c: Update documentation.
7226 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7228 * examples/hildon-button-example.c: Add a switch to show images in
7231 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7233 * doc/hildon-docs.sgml: Some docs reorganization.
7235 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7237 * examples/hildon-pannable-area-touch-list-example.c
7239 * examples/hildon-pannable-area-touch-grid-example.c
7240 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7241 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7242 Fix memory leak when setting the tree model.
7244 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7248 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7250 * doc/hildon.types: Remove duplicated hildon_window_get_type
7251 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7252 documentation comment.
7254 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7256 * doc/Makefile.am: Complete list of private headers.
7258 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7260 * doc/hildon-docs.sgml
7261 * src/hildon-app-menu.c
7262 * src/hildon-bread-crumb.c
7263 * src/hildon-button.c
7265 * src/hildon-program.c
7266 * src/hildon-stackable-window.c
7267 * src/hildon-window.c: Lots of documentation updates.
7269 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7271 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7273 * configure.ac: Require Gtk+ 2.12.9 at least
7275 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7277 * src/hildon-pannable-area.c
7278 (hildon_pannable_area_scroll_indicator_fade),
7279 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7280 to protect the return of this timeout callbacks, avoiding deadlocks.
7282 2008-08-12 Christian Dywan <christian@imendio.com>
7285 * src/hildon-*.h: Ensure a consistent include order,
7286 include <gtk/gtk.h> instead of particular files and
7287 only include the topmost header in the gtk stack. See NB #39857
7289 2008-08-12 Christian Dywan <christian@imendio.com>
7291 * src/hildon-picker-dialog.c
7292 * src/hildon-touch-selector.c: Fix warnings about unused and
7293 uninitialized variables.
7295 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7297 * examples/Makefile.am
7298 * examples/hildon-check-button-example.c: Example of the hildon
7301 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7303 * src/hildon-window.h
7304 * src/hildon-window.c (hildon_window_class_init)
7305 (hildon_window_unset_program): Don't make
7306 hildon_window_unset_program a virtual function anymore.
7308 * src/hildon-stackable-window.c: Update documentation
7310 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7313 * doc/hildon-docs.sgml
7314 * doc/visual_index.xml
7315 * src/hildon-defines.c
7317 * src/hildon-helper.c
7318 * src/hildon-range-editor.c: Lots of documentation fixes.
7320 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7322 * examples/hildon-picker-button-multicolumn-example.c
7323 (create_touch_selector): Fix compilation warning.
7325 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7327 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7328 (hildon_pannable_area_button_release_cb)
7329 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7331 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7333 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7336 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7338 * src/hildon-bread-crumb-trail.h
7339 * src/hildon-date-editor.c
7340 * src/hildon-date-selector.c
7341 * src/hildon-pannable-area.c
7342 * src/hildon-picker-dialog.c
7343 * src/hildon-time-selector.c
7344 * src/hildon-touch-selector-entry.c
7345 * src/hildon-touch-selector.c
7346 * src/hildon-touch-selector.h: Misc documentation fixes
7348 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7350 * examples/hildon-date-editor-example.c (main): Updated date
7353 * examples/hildon-note-example.c (on_confirmation_clicked):
7354 Updated confirmation note example.
7356 * src/hildon-date-editor.c
7357 * src/hildon-note.c: Updated sample programs in documentation.
7360 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7362 * src/hildon-date-button.h:
7363 * src/hildon-picker-button.h:
7364 * src/hildon-time-button.c:
7365 * src/hildon-time-button.h:
7367 Some declarations changes to allow gtk-doc to document the widgets
7370 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7372 * src/hildon-date-button.c: Document the widget.
7373 * src/hildon-time-button.c: Document the widget.
7375 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7377 * src/hildon-picker-button.c: Document the widget.
7378 * src/hildon-touch-selector-entry.c: Document the widget.
7380 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7382 * doc/hildon-docs.sgml
7385 * src/hildon-check-button.h
7386 * src/hildon-check-button.c: New functions to create the Hildon
7390 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7392 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7394 * src/hildon-button.h
7395 * src/hildon-button.c
7396 (hildon_button_add_title_size_group)
7397 (hildon_button_add_value_size_group)
7398 (hildon_button_add_image_size_group)
7399 (hildon_button_add_size_groups): New functions to set size groups
7400 for the button labels and image.
7401 (hildon_button_new_full): Removed
7403 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7405 * src/hildon-time-selector.c
7406 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7407 in order to avoid a crash if gconf is not available
7409 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7411 * src/hildon-button.c (hildon_button_set_arrangement)
7412 (hildon_button_construct_child): Don't construct the button child
7413 before setting the arrangement.
7415 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7417 * src/hildon-program-private.h
7418 * src/hildon-program.c
7419 * src/hildon-program.h
7420 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7421 (hildon_program_peek_window_stack)
7422 (hildon_program_pop_window_stack)
7423 (hildon_program_go_to_root_window): HildonProgram now has a
7424 separate list for stackable windows. Functions are provided to
7425 manage that list with a stack-like API.
7427 * src/hildon-stackable-window.c: Stackable window management is
7428 now much simpler with the new HildonProgram API. Windows no
7429 longer need to be manually added to the program, they're
7430 automatically pushed to the top of the stack when shown.
7432 * examples/hildon-stackable-window-example.c: Updated example to
7433 reflect the API changes.
7435 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7437 * src/hildon-touch-selector.c: Comment out unimplemented
7438 hildon_touch_selector_insert_column() to avoid a compile warning.
7440 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7442 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7443 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7444 (hildon_touch_selector_set_column_selection_mode),
7445 (_hildon_touch_selector_set_model),
7446 (hildon_touch_selector_set_model):
7448 Complete review of HildonTouchSelector documentation.
7450 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7452 * doc/hildon-docs.sgml
7456 * src/hildon-gtk.c: Convenience functions for standard Gtk
7457 widgets, used to easily perform frequent operations.
7459 * src/hildon-button-helpers.h
7460 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7462 * src/hildon-helper.h
7463 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7464 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7466 * src/hildon-button.h
7467 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7469 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7471 * src/hildon-button.c (hildon_button_init)
7472 (hildon_button_set_arrangement, hildon_button_construct_child):
7473 Pack the image and the labels inside the same GtkAlignment so
7474 gtk_button_set_alignment() can be used
7476 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7478 * src/hildon-button.h
7479 * src/hildon-button.c
7480 (hildon_button_init, hildon_button_set_image)
7481 (hildon_button_set_image_position)
7482 (hildon_button_construct_child): New functions to add an image to
7485 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7487 * src/hildon-date-button.c
7488 * src/hildon-picker-button.c
7489 * src/hildon-time-button.c
7490 * src/hildon-button.c:
7491 (hildon_button_class_init): "size-flags" renamed to "size"
7492 (hildon_button_set_title): Hide the title label if set to NULL.
7494 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7496 HildonButtonFlags split into HildonButtonArrangement (to set the
7497 button layout) and HildonSizeType (which can be used for any
7500 * src/hildon-button.h
7501 * src/hildon-button.c
7502 (hildon_button_class_init)
7503 (hildon_button_set_arrangement)
7504 (hildon_button_set_property): New "size-flags"
7505 property. "arrangement-flags" renamed to "arrangement".
7506 (hildon_button_new, hildon_button_new_with_text)
7507 (hildon_button_new_full): Constructors updated to reflect type changes.
7509 * src/hildon-helper.h
7510 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7511 to set the size of a widget.
7515 * src/hildon-button-helpers.c
7516 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7518 * src/hildon-date-button.c
7519 * src/hildon-date-button.h
7520 * src/hildon-picker-button.c
7521 * src/hildon-picker-button.h
7522 * src/hildon-time-button.c
7523 * src/hildon-time-button.h: Updated widgets to reflect
7524 HildonButton API changes.
7526 * examples/hildon-button-example.c
7527 * examples/hildon-date-button-example.c
7528 * examples/hildon-picker-button-example.c
7529 * examples/hildon-picker-button-multicolumn-example.c
7530 * examples/hildon-time-button-example.c
7531 * examples/hildon-touch-selector-entry-example.c
7532 * examples/hildon-touch-selector-example.c: Updated examples to
7533 reflect HildonButton API changes.
7535 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7537 * doc/hildon-docs.sgml:
7539 * examples/Makefile.am:
7540 * examples/hildon-touch-selector-entry-example.c:
7542 * src/hildon-touch-selector-entry.c:
7543 * src/hildon-touch-selector-entry.h:
7546 Moved HildonTouchSelectorEntry from sandbox. Added its
7547 documentation and examples.
7549 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7551 * src/hildon-touch-selector.h:
7552 * examples/hildon-picker-button-multicolumn-example.c:
7553 (hildon_touch_selector_append_text_column): Add a gboolean
7554 parameter to determine if text must be centered in the column.
7556 * src/hildon-date-selector.c: (hildon_date_selector_init):
7557 * src/hildon-time-selector.c: (hildon_time_selector_init):
7558 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7559 (create_touch_selector): Update widgets and example to reflect
7562 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7564 * src/hildon-touch-selector.c:
7565 (hildon_touch_selector_set_active_iter): Set also the cursor in
7568 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7570 * doc/hildon-docs.sgml
7573 * src/hildon-toggle-button.c
7574 * src/hildon-toggle-button.h
7575 * src/hildon.h: Removed HildonToggleButton widget, a derived
7576 class is not necessary for this.
7578 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7580 * src/hildon-pannable-area.c,
7581 (hildon_pannable_area_realize),
7582 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7585 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7587 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7588 "done" button the default widget for the dialog.
7590 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7592 * src/hildon-touch-selector.c:
7593 (hildon_touch_selector_class_init),
7594 (hildon_touch_selector_get_property),
7595 (_hildon_touch_selector_set_model),
7596 (_hildon_touch_selector_has_multiple_selection),
7597 (hildon_touch_selector_has_multiple_selection):
7598 Add a "has-multiple-selection" property with a virtual
7599 has_multiple_selection() method to allow derived classes to
7600 override the default value for it. See the method and property
7601 documentation for details.
7603 * src/hildon-touch-selector.h: Add the new API.
7605 * src/hildon-picker-dialog.c: (requires_done_button): Call
7606 hildon_touch_selector_has_multiple_selection() instead of
7607 determining the need for a button itself.
7609 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7611 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7612 (_hildon_touch_selector_set_model),
7613 (hildon_touch_selector_set_model): Move working code to
7614 _hildon_touch_selector_set_mode(). Call the class method instead.
7616 * src/hildon-touch-selector.h: Add (*set_model) to
7617 HildonTouchSelectorClass.
7619 Make hildon_touch_selector_set_model() a virtual method, so that
7620 derived classes can extend it and do fancy stuff with the model.
7622 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7624 * configure.ac: Set back the tarname in AC_INIT to hildon.
7626 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7630 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7631 instead of libesd (NB#86876). Volume handling is still an open issue.
7633 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7636 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7638 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7639 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7640 derived class to ease placement of an entry widget in
7641 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7642 end, where the selector columns are packed now.
7644 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7646 * src/hildon-picker-button.c: Removed the simple _text() API.
7647 * src/hildon-picker-button.h: Likewise.
7649 * src/hildon-touch-selector.h:
7650 * src/hildon-touch-selector.c:
7651 (hildon_touch_selector_new_text),
7652 (hildon_touch_selector_append_text),
7653 (hildon_touch_selector_prepend_text),
7654 (hildon_touch_selector_insert_text):
7656 Moved the simple _text() API from HildonPickerButton to
7657 HildonTouchPicker, to provide better escalability and not to tie
7658 that API to HildonPickerButton.
7660 * examples/hildon-picker-button-example.c: (main): Example updated.
7662 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7664 * src/hildon-button.c: Updated documentation.
7666 * examples/hildon-button-example.c: Add the posibility to create
7667 the buttons using horizontal layout for title and value.
7669 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7671 * src/hildon-app-menu-private.h
7672 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7673 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7674 GtkSizeGroup for the filters, use the 'homogeneous' property of
7677 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7679 * examples/hildon-button-example.c: Updated example.
7681 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7683 * doc/hildon-docs.sgml:
7686 Update documentation.
7688 * examples/Makefile.am: Update renamed examples.
7690 * examples/hildon-picker-button-multicolumn-example.c:
7691 (create_touch_selector), (main): Update after the rename.
7693 * examples/hildon-touch-picker-example.c: Removed.
7694 * examples/hildon-touch-selector-example.c: (value_changed),
7695 (create_selector), (get_visible_content), (main): Renamed from
7696 hildon-touch-picker-example.c
7698 * src/Makefile.am: Updated renamed files.
7700 * src/hildon-date-button.c: (hildon_date_button_init),
7701 (hildon_date_button_get_date), (hildon_date_button_set_date):
7702 * src/hildon-date-selector.c: (hildon_date_selector_init),
7703 (_custom_print_func), (_update_day_model),
7704 (_manage_selector_change_cb),
7705 (hildon_date_selector_select_current_date),
7706 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7707 * src/hildon-date-selector.h:
7708 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7709 (hildon_picker_button_set_property),
7710 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7711 (hildon_picker_button_init), (hildon_picker_button_new_text),
7712 (hildon_picker_button_append_text),
7713 (hildon_picker_button_prepend_text),
7714 (hildon_picker_button_insert_text),
7715 (hildon_picker_button_set_selector),
7716 (hildon_picker_button_get_selector):
7717 * src/hildon-picker-button.h:
7718 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7719 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7720 (_update_title_on_selector_changed_cb), (requires_done_button),
7721 (_hildon_picker_dialog_set_selector),
7722 (hildon_picker_dialog_set_selector),
7723 (hildon_picker_dialog_get_selector):
7724 * src/hildon-picker-dialog.h:
7725 * src/hildon-time-button.c: (hildon_time_button_init),
7726 (hildon_time_button_get_time), (hildon_time_button_set_time):
7727 * src/hildon-time-selector.c: (hildon_time_selector_init),
7728 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7729 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7730 * src/hildon-time-selector.h:
7733 Massive code updates after the rename.
7735 * src/hildon-touch-picker.c: Removed.
7736 * src/hildon-touch-picker.h: Removed.
7738 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7739 (hildon_touch_selector_init), (hildon_touch_selector_map),
7740 (hildon_touch_selector_remove), (_default_print_func),
7741 (_selection_changed_cb), (_create_new_column),
7742 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7743 (hildon_touch_selector_append_text_column),
7744 (hildon_touch_selector_remove_column),
7745 (hildon_touch_selector_set_column_attributes),
7746 (hildon_touch_selector_insert_column),
7747 (hildon_touch_selector_get_num_columns),
7748 (hildon_touch_selector_get_column_selection_mode),
7749 (hildon_touch_selector_set_column_selection_mode),
7750 (hildon_touch_selector_set_print_func),
7751 (hildon_touch_selector_get_print_func),
7752 (hildon_touch_selector_get_active_iter),
7753 (hildon_touch_selector_set_active_iter),
7754 (hildon_touch_selector_get_selected_rows),
7755 (hildon_touch_selector_get_model),
7756 (hildon_touch_selector_set_model),
7757 (hildon_touch_selector_get_current_text),
7758 (_hildon_touch_selector_center_on_selected_items):
7759 * src/hildon-touch-selector.h: Renamed from
7760 hildon-touch-picker.[ch]
7762 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7763 references, code examples, and related documentation.
7765 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7767 * doc/hildon-docs.sgml
7770 * src/hildon-toggle-button.c
7771 * src/hildon-toggle-button.h
7772 * src/hildon.h: New HildonToggleButton widget.
7774 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7776 * src/hildon-button.c: Add API documentation.
7777 (hildon_button_set_size_groups): Check input parameters
7779 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7781 * src/hildon-pannable-area.c
7782 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7783 effect after reaching the movement thredshold. This way we start
7784 using the distance after passing the thredshold.
7786 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7788 * src/hildon-button.c: (hildon_button_set_property): Use the
7789 appropriate g_value_get_flags() method.
7791 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7793 * doc/hildon-docs.sgml:
7796 Add the touch pickers, picker dialogs, and picker button widgets
7797 to the documentation.
7799 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7801 * src/hildon-button.c: (hildon_button_set_property),
7802 (hildon_button_class_init): Make "arrangement-flags" a proper
7803 G_TYPE_FLAGS derived property.
7805 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7807 * examples/Makefile.am: Add below examples.
7808 * examples/hildon-date-button-example.c:
7809 * examples/hildon-picker-button-example.c:
7810 * examples/hildon-picker-button-multicolumn-example.c:
7811 * examples/hildon-time-button-example.c:
7812 * examples/hildon-touch-picker-example.c:
7814 Add examples for the recently added touch pickers,
7815 picker dialogs, and picker button widgets.
7817 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7819 * src/hildon-button.c: Add some API documentation
7821 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7823 * src/hildon-button.h
7824 * src/hildon-button.c
7826 (hildon_button_new_with_text): New constructor to create a button
7827 with no text at all.
7828 (hildon_button_init, hildon_button_set_arrangement)
7829 (hildon_button_set_title, hildon_button_set_value)
7830 (hildon_button_set_text)
7831 (hildon_button_construct_child): Hide the value when it's not used
7832 so the rest of the text is properly aligned.
7833 Allow creating buttons with arbitrary widgets inside (not just
7834 title/value labels).
7836 * examples/hildon-button-example.c (vertical_buttons_window)
7837 (horizontal_buttons_window): Update example to use new API.
7839 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7841 * src/Makefile.am: Added HildonTimeButton.
7842 * src/hildon-time-button.c: Added missing LGPL header.
7843 * src/hildon-time-button.h: Added missing LGPL header.
7844 * src/hildon.h: Add hildon-time-button.h
7846 Copied HildonTimeButton from sandbox to trunk. Future work on this
7847 widget must take place in trunk.
7849 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7851 * src/Makefile.am: Added HildonDateButton.
7852 * src/hildon-date-button.c: Update includes.
7853 * src/hildon.h: Add hildon-date-button.h
7855 Copied HildonDateButton from sandbox to trunk. Future work on this
7856 widget must take place in trunk.
7858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7860 * src/Makefile.am: Added HildonPickerButton.
7861 * src/hildon-picker-button.h: Update includes.
7862 * src/hildon.h: Add hildon-picker-button.h
7864 Copied HildonPickerButton from sandbox to trunk. Future work on
7865 this widget must take place in trunk.
7867 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7869 * src/Makefile.am: Added HildonPickerDialog.
7870 * src/hildon-picker-dialog.c: Update includes.
7871 * src/hildon.h: Add hildon-picker-dialog.h
7873 Copied HildonPickerDialog from sandbox to trunk. Future work
7874 on this widget must take place in trunk.
7876 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7878 * src/Makefile.am: Added HildonTimeSelector.
7879 * src/hildon.h: Add hildon-time-selector.h
7881 Copied HildonTimeSelector widget from sandbox to trunk. Future
7882 work on this widget must happen in trunk.
7884 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7886 * src/Makefile.am: Added HildonDateSelector.
7887 * src/hildon.h: Add hildon-date-selector.h
7889 Copied HildonDateSelector widget from sandbox to trunk. Future
7890 work on this widget must happen in trunk.
7892 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7894 * src/Makefile.am: Added HildonTouchPicker.
7895 * src/hildon-touch-picker.c: Update includes.
7896 * src/hildon.h: Add hildon-touch-picker.h
7898 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7899 on this widget must happen in trunk.
7901 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7903 * src/hildon-pannable-area.c:
7904 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7906 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7908 * examples/hildon-app-menu-example.c (main): Let the window
7911 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7913 * src/hildon-pannable-area.c
7914 (hildon_pannable_area_class_init): Set the min value of the
7915 overshoot properties to zero, which points out that not
7916 overshooting allowed.
7918 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7920 Modified the procedure to get the widget at a point inside the
7921 pannable area when using the movement type signals. Now the user
7922 has to call a function to get the child, that way we just
7923 calculate the child in case the user really want to use it and not
7926 * src/hildon-marshalers.list: Modified the marshallers, now we do
7927 not have the widget as a parameter.
7929 * src/hildon-pannable-area.c
7930 (hildon_pannable_area_motion_notify_cb),
7931 (hildon_pannable_area_class_init),
7932 (hildon_pannable_get_child_widget_at): Removed the widget
7933 parameter from the signal callback. We have also refactored the
7934 emission of the signals.
7936 * src/hildon-pannable-area.h: Added a new method to the API to
7937 calculate a widget at a point inside the pannable area,
7938 hildon_pannable_get_child_widget_at.
7940 * examples/hildon-pannable-area-example-4.c
7941 (horizontal_movement): Modified the example to use the new API,
7942 added condition to control which widget is under the event. This
7943 way we can avoid scrolling laterally over other widgets.
7945 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7947 * src/hildon-pannable-area.c
7948 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7949 modes, we stop getting the pointer events due to returning the
7950 callback without properly calling the get pointer again. Fixed
7951 also an error using the hscroll and vscroll.
7953 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7955 * src/hildon-app-menu-private.h
7956 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7957 (hildon_app_menu_button_release, hildon_app_menu_init)
7958 (hildon_app_menu_class_init): Don't hide the menu on button
7959 release if the user didn't press outside first.
7961 * src/hildon-window.h
7962 * src/hildon-window.c (hildon_window_toggle_menu)
7963 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7964 hildon_window_toggle_menu a virtual function for the stackable
7965 window to override it.
7967 * src/hildon-stackable-window.h
7968 * src/hildon-stackable-window-private.h
7969 * src/hildon-stackable-window.c
7970 (hildon_stackable_window_realize)
7971 (hildon_stackable_window_finalize)
7972 (hildon_stackable_window_class_init)
7973 (hildon_stackable_window_init)
7974 (hildon_stackable_window_set_main_menu): New function to set the
7975 app menu of a HildonStackableWindow.
7977 * examples/hildon-app-menu-example.c: Remove the button to show
7978 the app menu, now it'll be shown when clicking on the title bar
7981 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7983 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7984 set the widget name if the arrangement flags do not specify
7987 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7989 * src/hildon-button.c: (hildon_button_set_property),
7990 (hildon_button_class_init), (hildon_button_new_full),
7991 (hildon_button_set_arrangement): Added "arrangement-flags"
7994 Make the HildonButtonFlags a construction-only property, to allow
7995 subclasses to set them properly.
7997 2008-07-21 Tim Janik <timj@imendio.com>
7999 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
8000 insertion position after backspace, so additional digits are appended,
8003 2008-07-17 Alejandro G. Castro <alex@igalia.com>
8005 * src/hildon-pannable-area.c,
8006 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
8007 TODO list, it was complete and removed the g_debug and g_print
8010 2008-07-17 Alejandro G. Castro <alex@igalia.com>
8012 Added the movement modes to the hildon-pannable-area, with this
8013 modes the developers can control in which directions the widget
8014 can scroll. They can also connect to signals in order to do
8015 something when that happens, allowing applications scroll. There
8016 is an example uploaded showing how to use it.
8018 * examples/Makefile.am:
8019 * examples/hildon-pannable-area-example-4.c: Added this example of
8020 an application using the modes.
8022 * src/hildon-marshalers.list: Added a new marshaller for the new
8025 * src/hildon-pannable-area.h: Added new enumerations and flags in
8026 order to control the movement modes and the new signals to warn
8027 about the movements in the area.
8029 * src/hildon-pannable-area.c:
8030 (hildon_pannable_axis_scroll),
8031 (hildon_pannable_area_scroll),
8032 (hildon_pannable_area_motion_notify_cb),
8033 (hildon_pannable_area_get_property),
8034 (hildon_pannable_area_set_property),
8035 (hildon_pannable_area_map),
8036 (hildon_pannable_area_class_init),
8037 (hildon_pannable_area_init),
8038 (hildon_pannable_area_jump_to): Added the modes to control the
8039 movement in the widget. We have added properties to control it,
8040 signals to warn about the movements and refactored some code.
8042 2008-07-15 Alejandro G. Castro <alex@igalia.com>
8044 Changes required in order to allow vfast_factor set to zero to
8047 * src/hildon-pannable-area.c:
8048 (hildon_pannable_area_button_press_cb): Changed the condition, it
8049 is required for not allowing click when vfast_factor is zero.
8050 (hildon_pannable_area_timeout): Initialized velocity variables
8051 when we stop moving, it was less than 1 but not zero and we need
8052 to check zero in some situations.
8053 (hildon_pannable_area_class_init): Changed the default value of
8054 the speed factor, now the button_press is just sent in case the
8055 speed is 2 per cent of the max speed.
8056 (hildon_pannable_area_init): Initialization with 0.
8058 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8060 * src/hildon-pannable-area.c,
8061 (hildon_pannable_area_get_topmost): replaced
8062 gdk_window_get_children with gdk_window_peek_children, this way we
8063 do not have to free the list because it is not a copy.
8065 (hildon_pannable_axis_scroll),
8066 (hildon_pannable_area_scroll),
8067 (hildon_pannable_area_timeout),
8068 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8069 two parameters that were only used inside the
8070 hildon_pannable_area_scroll function.
8072 * examples/hildon-pannable-area-example.c,
8073 (get_sawtooth_label): Fixed small memory leak.
8075 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8077 More checks for the case where the overshoot is bigger than the
8080 * src/hildon-pannable-area.c:
8081 (hildon_pannable_draw_vscroll),
8082 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8083 to draw the slider of the scrollbar under the other scrollbar.
8084 (hildon_pannable_area_expose_event): added new checks to control
8085 the drawing of the overshooting area rectangle, in case it is too
8086 big for the area of the widget.
8087 (hildon_pannable_area_size_allocate): add more checks to avoid
8088 setting a position to the child widget outside the area.
8090 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8092 * src/hildon-pannable-area.c
8093 (hildon_pannable_area_size_allocate): Added conditions to control
8094 when overshooting is bigger than the allocated space for the
8095 children, this avoids negative allocations.
8097 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8099 * doc/hildon-docs.sgml
8101 * examples/Makefile.am
8102 * examples/hildon-button-example.c
8104 * src/hildon-button.c
8105 * src/hildon-button.h
8106 * src/hildon.h: Initial version of the new HildonButton widget,
8109 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8111 * src/hildon-pannable-area.c:
8112 (hildon_pannable_area_button_press_cb),
8113 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8114 (hildon_pannable_area_motion_notify_cb),
8115 (hildon_pannable_area_button_release_cb),
8116 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8117 (hildon_pannable_area_jump_to_child):
8119 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8121 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8123 * examples/Makefile.am
8124 * examples/hildon-pannable-area-touch-grid-example.c
8125 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8126 the Hildon Touch List and Hildon Touch Grid using the
8127 HildonPannableArea widget.
8129 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8131 * src/hildon-pannable-area.c,
8132 (hildon_pannable_area_button_press_cb),
8133 (hildon_pannable_area_refresh),
8134 (hildon_pannable_area_scroll),
8135 (hildon_pannable_area_motion_notify_cb),
8136 (hildon_pannable_area_button_release_cb),
8137 (hildon_pannable_area_expose_event),
8138 (hildon_pannable_area_add),
8139 (hildon_pannable_area_remove),
8140 (hildon_pannable_area_realize),
8141 (hildon_pannable_area_size_allocate),
8142 (hildon_pannable_area_class_init),
8143 (hildon_pannable_area_init),
8144 (hildon_pannable_area_scroll_to_child),
8145 (hildon_pannable_area_jump_to_child): Fixed the problem of
8146 removing the child from the GtkBin, we have rearranged the widget
8147 hierarchy, now there is no GtkAlignment which was not doing
8148 anything interesting but breaking some of the assumptions of
8149 GtkContainer. Now developers if they want to add a GtkAlignment
8150 they could, but it is not inside the area.
8152 We had to review the whole allocation/expose process, now it is
8153 improved and we save at least three signals which would be saving
8154 some time when rendering the widget. The allocation of the
8155 scrollbars is now made in the allocate method as usual.
8157 We have also added some conditions in order to control when there
8158 is no child of the pannable area. Maybe we will need more work
8161 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8163 * src/hildon-pannable-area.c,
8164 (hildon_pannable_area_dispose): Released the fade-out timeout when
8165 disposing the widget.
8167 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8169 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8170 zero, we are going to use that property in order to deactivate the
8172 (hildon_pannable_axis_scroll),
8173 (hildon_pannable_area_size_allocate): Added conditions to control
8174 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8175 call, now it is called in all situations and we can remove calls
8176 in the allocate method.
8177 (hildon_pannable_area_map): Control the situation when
8178 overshoot_max is zero, we do not need the timeout.
8179 (hildon_pannable_area_class_init): Added documentation in order to
8180 point out that setting zero to overshoot_max means deactivate
8183 NOTE: removed trailing whitespaces from my previous comments of
8186 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8188 * src/hildon-pannable-area.c
8189 (hildon_pannable_area_get_property),
8190 (hildon_pannable_area_set_property),
8191 (hildon_pannable_area_map),
8192 (hildon_pannable_area_class_init),
8193 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8194 to cause the widget give a hint about its panning abilities upon
8197 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8199 * src/hildon-pannable-area.c: Several documentation improvements.
8201 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8203 * src/hildon-program.c
8204 * src/hildon-stackable-window.c: Update documentation.
8206 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8208 * src/hildon-stackable-window.c (get_previous_window_if_last):
8209 Renamed get_last_window()
8210 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8211 (hildon_stackable_window_unset_program):
8213 (get_previous_window_if_last):
8214 Detect if the window hasn't been added to a HildonProgram.
8216 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8218 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8220 * src/hildon-pannable-area.c
8221 (hildon_pannable_area_button_press_cb),
8222 (hildon_pannable_axis_scroll),
8223 (hildon_pannable_area_scroll),
8224 (hildon_pannable_area_timeout),
8225 (hildon_pannable_calculate_vel_factor),
8226 (hildon_pannable_area_get_property),
8227 (hildon_pannable_area_set_property),
8228 (hildon_pannable_area_class_init),
8229 (hildon_pannable_area_init),
8230 (hildon_pannable_area_scroll_to),
8231 (hildon_pannable_area_jump_to),
8232 (hildon_pannable_area_scroll_to_child),
8233 (hildon_pannable_area_jump_to_child):
8234 * src/hildon-pannable-area.h: Added the new API functions:
8235 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8236 hildon_pannable_area_scroll_to_child,
8237 hildon_pannable_area_jump_to_child
8240 * examples/Makefile.am
8241 * examples/hildon-pannable-area-example-2.c
8242 * examples/hildon-pannable-area-example-3.c: Added these two new
8243 examples in order to test and show how the new APIs work.
8245 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8247 * examples/hildon-stackable-window-example.c (new_window):
8248 * src/Makefile.am (noinst_HEADERS):
8249 * src/hildon-program.c (hildon_program_go_to_root_window):
8250 * src/hildon-program.h:
8251 * src/hildon-stackable-window-private.h:
8252 * src/hildon-stackable-window.c:
8253 * src/hildon-stackable-window.h:
8254 Create hildon-stackable-window-private.h
8255 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8257 * examples/hildon-app-menu-example.c (create_menu):
8258 * examples/hildon-hvolumebar-insensitive-example.c (main):
8259 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8260 * examples/hildon-toolbar-seekbar-example.c (main):
8261 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8262 * src/hildon-banner.c (hildon_banner_set_property):
8263 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8264 Fix compilation warnings
8266 * src/hildon-window.c:
8269 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8271 * src/hildon-stackable-window.c
8272 (hildon_stackable_window_unset_program):
8273 Calculate correctly whether to show the previous window if the
8274 last one is removed from the stack.
8275 (hildon_stackable_window_go_to_root_window):
8276 Send delete events starting from the topmost window.
8277 Stop if one of the windows is not destroyed.
8279 (hildon_stackable_window_delete_event)
8280 (hildon_stackable_window_class_init):
8281 Ignore the delete event if the window is not the topmost one.
8283 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8285 * src/hildon-pannable-area.c
8286 (hildon_pannable_area_expose_event): Fixed a problem when
8287 selecting the background color of the scrollbars.
8289 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8291 * examples/hildon-stackable-window-example.c
8292 * src/hildon-stackable-window.c
8293 * src/hildon-stackable-window.h
8294 hildon_stackable_window_go_home() renamed to
8295 hildon_stackable_window_go_to_root_window()
8296 Send delete events to windows rather than closing them with
8297 gtk_widget_destroy()
8299 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8301 * src/hildon-pannable-area.c
8302 (hildon_pannable_area_button_release_cb): Fix overshooting in
8305 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8307 * src/hildon-pannable-area.c
8308 (hildon_pannable_area_init): Initially show the scroll indicators.
8309 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8311 Add initial effect showing the widget is pannable.
8313 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8315 * src/hildon-pannable-area.c
8316 (hildon_pannable_area_class_init)
8317 (hildon_pannable_area_set_property)
8318 (hildon_pannable_area_get_property)
8319 (hildon_pannable_area_button_press_cb):
8320 New 'velocity_fast_factor' property to decide which velocity is
8323 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8325 * src/hildon-pannable-area.c
8326 (hildon_pannable_draw_hscroll)
8327 (hildon_pannable_draw_vscroll):
8328 Use float variables to calculate the size of the scrollbars to
8329 avoid error propagation and resizing during scrolling.
8331 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8333 * src/hildon-pannable-area.c
8334 (hildon_pannable_draw_vscroll)
8335 (hildon_pannable_draw_hscroll):
8336 Define a minimum size for the scroll bars
8338 * src/hildon-stackable-window.c
8339 (hildon_stackable_window_go_home): Fix compilation warning
8340 (get_last_window): Minor optimizations
8341 (hildon_stackable_window_class_init): Fix initialization of
8344 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8346 * src/hildon-stackable-window.c: Fixed typos in doc
8348 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8350 * src/hildon-pannable-area.c
8351 (hildon_pannable_area_scroll):
8352 Calculate here whether we need to scroll instead of using the booleans
8353 that tell us whether to /draw/ the scrolling bars.
8355 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8357 * src/hildon-app-menu.h
8359 * src/hildon-app-menu.c
8360 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8361 multiple filter groups related code and API. Now we support only
8363 * examples/hildon-app-menu-example.c:
8365 Update to reflect API changes.
8367 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8369 * src/hildon-stackable-window.c
8370 (hildon_stackable_window_class_init):
8371 Add hildon_stackable_window_realize.
8372 (hildon_stackable_window_realize):
8373 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8374 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8375 to apply theming and behavior specific to HildonStackableWindow
8378 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8380 * src/hildon-note.c (hildon_note_button_release):
8381 Close information notes also when tapping on them
8383 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8385 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8386 ELASTICITY, refactor and review, fix some issues with drawing
8389 * src/hildon-pannable-area.c:
8390 (hildon_pannable_area_button_press_cb): removed the conditions to
8391 avoid clicks when overshooting. It is not required
8393 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8394 define. Refatored and reviewed the code, now we do not need to
8395 manage velocity in motion_notify.
8397 (hildon_pannable_area_motion_notify_cb): We have moved the code
8398 that controls the area_scroll to the axis_scroll function and get
8399 rid of duplicated code.
8401 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8403 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8405 (hildon_pannable_draw_vscroll),
8406 (hildon_pannable_draw_hscroll): Fixed the problems with the
8407 scrollbar drawing, now we do not use two surfaces, it is easier
8408 and saves resources.
8410 (hildon_pannable_area_get_property): Style modification.
8412 (hildon_pannable_area_class_init): Changed some default values.
8414 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8416 * src/hildon-stackable-window.c: Fix some typos in the
8419 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8421 * src/hildon-dialog.c:
8422 Change indentation style
8425 (hildon_note_button_release):
8426 Use root coordinates to check if the release event happened
8429 * src/hildon-app-menu.c
8430 (hildon_app_menu_button_release):
8431 Remove unnecessary check
8433 * examples/hildon-app-menu-example.c
8435 Add cast to fix warning
8437 * src/hildon-app-menu.c
8438 (hildon_app_menu_class_init):
8439 New inner-border style property.
8440 Set all default spacings to 16
8441 (hildon_app_menu_init):
8442 Use vertical-spacing to set the space between filter buttons and
8443 regular menu buttons.
8444 Set the default container border using the inner-border value.
8446 * examples/hildon-app-menu-example.c
8448 Don't set the menu border explicitly, now we have the inner-border
8449 style property for that.
8451 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8453 * src/hildon-app-menu.c (hildon_app_menu_init):
8454 Make the window modal
8456 * src/hildon-note.c (hildon_note_map)
8457 * src/hildon-app-menu.c (hildon_app_menu_map):
8458 Destroy the grab window if we're unable to grab the pointer
8460 * src/hildon-app-menu-private.h
8461 * src/hildon-app-menu.c
8462 (hildon_app_menu_init, hildon_app_menu_finalize)
8463 (hildon_app_menu_map, hildon_app_menu_unmap)
8464 (hildon_app_menu_button_release)
8465 (grab_transfer_window_get):
8466 Bring back the grab window
8467 (hildon_app_menu_realize):
8468 Decorate the window, set WM hint for Matchbox
8470 * src/hildon-note.c (hildon_note_realize):
8471 * src/hildon-banner.c (hildon_banner_realize):
8472 Add WM hints for Matchbox
8474 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8476 * src/hildon-app-menu-private.h
8477 * src/hildon-app-menu.c
8478 (hildon_app_menu_init, hildon_app_menu_finalize)
8479 (hildon_app_menu_map, hildon_app_menu_unmap)
8480 (hildon_app_menu_button_release):
8481 Remove the grab window, it's not needed anymore
8483 * src/hildon-program.c
8484 Fixed typo in documentation
8486 * src/hildon-app-menu.h
8487 * src/hildon-app-menu.c
8488 * examples/hildon-app-menu-example.c
8489 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8491 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8494 Added new transfer_window and close_if_pressed_outside private
8496 (hildon_note_rebuild):
8497 Don't add a cancel button to the information note. It will be
8498 closed when tapping outside
8499 Remove the comment about the OK button in the documentation
8500 (hildon_note_realize):
8501 Set the notification type hint
8502 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8503 Grab/ungrab pointer and keyboard if the note has to be closed when
8505 (hildon_note_button_release):
8506 Close the note when tapping outside (if applicable)
8508 * src/hildon-app-menu.c
8509 Grab/ungrab pointer and keyboard on map/unmap
8510 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8511 Close the menu on button release, not button press
8513 * src/hildon-banner.c
8514 (hildon_banner_set_property)
8515 (hildon_banner_check_position):
8516 Make the banner use the full width of the screen
8517 (hildon_banner_show_information)
8518 (hildon_banner_show_information_with_markup):
8519 Don't display an icon by default
8521 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8523 Added fading scrollbars and adapted all the overshooting code to
8524 horizontal scrolling. We have also fixed bugs with overshooting
8525 and current fading implementation.
8527 * src/hildon-pannable-area.c
8528 (hildon_pannable_area_scroll_indicator_fade): Time out function
8529 used to change the transparency of the scrollbars.
8531 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8532 control and fixed a problem with fading, we now remove the fade
8533 timeout before adding a new one.
8535 (hildon_pannable_axis_scroll):
8536 (hildon_pannable_area_scroll):
8537 (hildon_pannable_area_timeout): Added this functions so we can use
8538 the scroll code both for vertical and horizontal.
8540 (hildon_pannable_area_motion_notify_cb):
8541 (hildon_pannable_area_button_release_cb): Added the horizontal
8542 scrolling control, fixed a problem with the overshooting timeout.
8544 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8545 painting of the scrolls.
8547 (hildon_pannable_draw_vscroll):
8548 (hildon_pannable_draw_hscroll):
8549 (hildon_pannable_area_expose_event):
8550 Draw both scrollbars and rectangles in the overshooting area.
8552 (hildon_pannable_area_get_property):
8553 (hildon_pannable_area_set_property):
8554 Modified the overshoot property to overshoot_max
8556 (hildon_pannable_area_map):
8557 Replaced the comments symbols.
8559 (hildon_pannable_area_size_allocate):
8560 (hildon_pannable_area_class_init):
8561 (hildon_pannable_area_init): Added horizontal scroll, fading
8562 effect properties, fixed a problem when overshooting in the bottom
8565 * examples/hildon-pannable-area-example.c:
8566 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8567 looks better in the example.
8569 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8571 * src/hildon-window.c
8572 * src/hildon-window.h
8573 (hildon_window_class_init)
8574 (hildon_window_unset_program)
8575 (hildon_window_unset_program_real):
8576 Make unset_program a virtual function
8578 * src/hildon-stackable-window.c
8579 * src/hildon-stackable-window.h
8580 Added hildon_stackable_window_go_home()
8582 * examples/Makefile.am
8583 * examples/hildon-stackable-window-example.c
8584 HildonStackableWindow example
8586 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8588 * hildon-pannable-area.c: Added the overshoot property and removed
8589 the OVERSHOOT define. Fixed an indent style error.
8590 (hildon_pannable_area_motion_notify_cb):
8591 (hildon_pannable_area_get_property):
8592 (hildon_pannable_area_set_property): Add overshoot property.
8594 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8597 (hildon_pannable_area_class_init): Installed the new property.
8599 * hildon-pannable-area-example.c: Added a sawtooth function, this
8600 way it is easier to check the movement in the pannable.
8601 (get_sawtooth_label): Added this function.
8602 (main): Now we get the labels from the new get_sawtooth_label
8605 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8607 * src/hildon-app-menu.h
8608 * src/hildon-app-menu.c
8609 Renamed API variables for consistency
8611 (hildon_app_menu_popup): Use also the default window size to
8612 decide where to place the menu
8614 (hildon_app_menu_init, hildon_app_menu_class_init): New
8615 external-border style property
8617 2008-05-26 Michael Natterer <mitch@imendio.com>
8619 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8620 widget_class->tap_and_hold_setup signal slot doesn't exist any
8621 longer, stop overriding it.
8623 (hildon_time_editor_init): g_signal_connect() to the
8624 tap-and-hold-setup signal instead.
8626 (hildon_time_editor_entry_keypress): add cast to fix warning.
8628 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8630 * doc/hildon-docs.sgml
8632 * examples/Makefile.am
8633 * examples/hildon-app-menu-example.c
8635 * src/hildon-app-menu-private.h
8636 * src/hildon-app-menu.c
8637 * src/hildon-app-menu.h
8639 New HildonAppMenu widget
8641 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8643 Rearranged the inheritance of the pannable area, now it inherits
8644 from GtkBin. This will allow us to control the event_window and
8645 the allocation process of the widget, required for some effects.
8647 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8648 GtkBin structures. * src/hildon-pannable-area.c: Added the
8649 event_window variable.
8650 (hildon_pannable_area_button_press_cb):
8651 (hildon_pannable_area_button_release_cb):
8652 (hildon_pannable_area_motion_notify_cb):
8653 Changed the signature of the method, now we override the event
8654 callback instead of connecting to the signal.
8656 (hildon_pannable_area_realize):
8657 (hildon_pannable_area_unrealize):
8658 (hildon_pannable_area_map):
8659 (hildon_pannable_area_unmap):
8660 (hildon_pannable_area_size_allocate):
8661 Added functions to control the widget construction. We add a
8662 INPUT_ONLY window and we put it over the widgets inside the
8663 container, this event_window handles the events.
8665 (hildon_pannable_area_class_init):
8666 Replaced the signal connections with overrides of the event
8669 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8671 Bouncing effect added when touching the borders, you can change
8672 the elasticity of the border changing the ELASTICITY define.
8674 * src/hildon-pannable-area.c: Added ELASTICITY define.
8675 (hildon_pannable_area_timeout): Added inverse velocity when
8676 touching the border of the child widget, that causes a bounce.
8678 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8680 Improved performance, we now do not go to the X server in order to
8681 get the list of window children. Apparently the effect is the
8682 same, we have to be careful and check if this breaks something in
8685 * src/hildon-pannable-area.c:
8686 (get_ordered_children): Removed this function.
8687 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8688 the children windows function with gdk_window_get_children.
8690 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8692 * src/hildon-pannable-area.c:
8693 (hildon_pannable_area_dispose): Fixed a crash when closing the
8694 window and kinetics is activated.
8696 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8698 * src/hildon-pannable-area.h
8699 * src/hildon-pannable-area.c
8700 Changed indentation style to meet the one used in Hildon
8702 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8704 Reviewed the interaction of the AUTO mode, now we use the time
8705 attribute of the events and calculate the velocity in the motion,
8706 doing a gimp like calculation. The velocity is calculated in each
8707 motion event using the last velocity and the current one, the
8708 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8710 * src/hildon-pannable-area.c: Replaced the time based algorithm
8712 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8713 timeout for the AUTO mode when we are still moving the cursor. We
8714 added also the velocity calculation in this function.
8715 (hildon_pannable_area_button_release_cb): launch the timeout in
8716 case we are in AUTO mode. There are still some constants here that
8717 come from the old implementation that should be reviewed and
8720 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8722 * doc/hildon-docs.sgml
8725 * src/hildon-stackable-window.c
8726 * src/hildon-stackable-window.h
8728 New HildonStackableWindow widget
8730 * examples/hildon-dialog-example.c
8731 * examples/hildon-pannable-area-example.c
8734 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8736 * src/hildon-dialog.c
8737 (hildon_dialog_new_with_buttons): New constructor.
8739 * examples/hildon-dialog-example.c
8740 (main): Update the example to use the new
8741 hildon_dialog_new_with_buttons().
8743 * examples/hildon-pannable-area-example.c
8744 (main): Update example.
8746 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8748 * doc/hildon-docs.sgml
8750 Added HildonPannableArea to the documentation.
8752 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8754 * doc/visual_index.xml
8755 Fix reference to HildonLoginDialog in documentation
8757 * doc/hildon-docs.sgml
8759 * examples/Makefile.am
8760 * examples/hildon-dialog-example.c
8762 * src/hildon-dialog.c
8763 * src/hildon-dialog.h
8765 New HildonDialog widget.
8767 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8769 * src/hildon-pannable-area.c
8770 Merge latest changes (r4318, r4342) from libmokoui trunk
8772 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8774 * examples/Makefile.am
8775 * examples/hildon-pannable-area-example.c
8777 * src/hildon-pannable-area.c
8778 * src/hildon-pannable-area.h
8780 New HildonPannableArea widget.
8782 2008-04-15 18:05:19 <timj@imendio.com>
8784 * src/hildon-banner.c: revert the recent change, that introduced
8785 gtk_window_present() calls. this reopens:
8786 Bug 78481 - [freetest] information banners are hidden under browser menu
8787 But resolves another variant of:
8788 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8790 2008-04-15 13:21:13 <timj@imendio.com>
8792 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8793 recreated its layout, spotted by Kris. this fixes all remaining
8794 artefacts and stability issues with the banner code. in particular:
8795 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8797 2008-04-14 16:52:59 <timj@imendio.com>
8799 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8800 operating on unrealized widgets, fixes:
8801 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8803 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8805 2008-04-09 Kristian Rietveld <kris@imendio.com>
8807 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8808 makes banner disappear.
8809 Fixes: NB#79182: info banner flickering with certain message lengts.
8811 * src/hildon-banner.c (hildon_banner_constructor),
8812 (hildon_banner_init), (hildon_banner_set_text),
8813 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8814 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8815 FALSE, reset size requests of label and banner,
8816 (force_to_wrap_truncated): when the text is too wide, always enforce
8817 the maximum possible width instead of recalculating it from the
8818 layout; enforce the maximum banner height of 3 lines,
8819 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8820 nicer wrapping and no truncated chars if space gets tight.
8822 * src/hildon-banner-private.h: add has_been_wrapped and
8823 has_been_truncated fields.
8825 2008-04-07 Sven Herzberg <sven@imendio.com>
8827 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8828 local values in hildon_date_editor_size_allocate
8830 * src/hildon-date-editor.c: moved the real allocation code into the
8833 2008-04-07 Sven Herzberg <sven@imendio.com>
8835 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8836 local values in hildon_date_editor_size_allocate
8838 * src/hildon-date-editor.c: merged the two if() branches together
8840 2008-04-07 Sven Herzberg <sven@imendio.com>
8842 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8843 local values in hildon_date_editor_size_allocate
8845 * src/hildon-date-editor.c: changed the arguments of the if()
8848 2008-04-07 Sven Herzberg <sven@imendio.com>
8850 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8851 local values in hildon_date_editor_size_allocate
8853 * src/hildon-date-editor.c: split the calculation of the allocation
8854 from the real allocation
8856 2008-03-27 Michael Natterer <mitch@imendio.com>
8858 Fixes: NB#81696: The passcode is not overwritten even after
8861 * src/hildon-code-dialog.c
8862 (hildon_code_dialog_button_clicked)
8863 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8864 because that doesn't overwrite selected text. Instead, emit the
8865 "commit" signal on the entry's im_context so the entry's normal
8866 insert logic is triggered. Set the cursor to the end of the entry
8867 after each insert operation so that we *only* insert in the middle
8868 of the text if something was selected.
8870 2008-03-27 Michael Natterer <mitch@imendio.com>
8872 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8873 selector cannot be opened
8875 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8876 when the popup color selector is created. Please connect to this
8877 signal in order to set the dialog's help ID.
8879 2008-03-25 Sven Herzberg <sven@imendio.com>
8881 Fixes: MB#1212: Hide info banners (infoprints) on click
8883 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8884 extracted the close event simulation into an extra function
8885 (hildon_banner_button_press_event): simulate a close event and destroy
8886 the widget if the event wasn't handled
8887 (hildon_banner_class_init): added the button_press_event handler
8888 (hildon_banner_init): added button-press events to the widget
8890 2008-03-25 Sven Herzberg <sven@imendio.com>
8892 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8893 Patch from: Mohammad Anwari <mdamt@maemo.org>
8895 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8896 instead of the right in RTL mode
8897 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8898 breadcrumb button list in RTL mode
8899 * src/hildon-caption.c: mirror the appearance of the caption widget in
8901 * src/hildon-date-editor.c: mirror appearance of the date editor in
8903 * src/hildon-time-editor.c: mirror appearance of the time editor in
8905 * src/hildon-window.c: fix the position of the popup in RTL mode
8907 2008-03-25 Sven Herzberg <sven@imendio.com>
8909 Amendment to the fix of NB#22072. Fix compilation.
8911 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8913 2008-03-19 Sven Herzberg <sven@imendio.com>
8915 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8918 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8919 timeout id properly when the timeout will disappear this leaves no
8920 artifacts around in the destroy(); there will only be the timeout
8921 created by hildon_banner_ensure_timeout() and adding a new timeout
8922 will also work if the timeout gets removed because the timeout_handler
8925 2008-03-19 Michael Natterer <mitch@imendio.com>
8927 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8929 * src/hildon-volumebar.c
8930 * src/hildon-vvolumebar.c
8931 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8932 the widget becomes focussable at all.
8934 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8935 set the focus to wither the mute button or the volumebar.
8937 Remove own "can-focus" property and instead listen to
8938 notify::can-focus in order to update the widget's state.
8940 Implement GtkWidget::focus() and make sure we can also *leave* the
8941 widget, not only enter it, depending on volumebar orientation and
8942 requested focus direction.
8944 Clean up set_mute() to cooperate nicely with all the above.
8946 2008-03-04 Michael Natterer <mitch@imendio.com>
8948 Fixes: NB#78481: information banners are hidden under browser menu
8950 * src/hildon-banner.c: call gtk_window_present() on the banners so
8951 they are risen if they are already visible.
8953 2008-03-03 Sven Herzberg <sven@imendio.com>
8955 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8957 * examples/hildon-window-menu-example.c: (main): extended the window
8958 menu example to serve as a testcase for automatically added
8959 accelerator groups, too
8960 * src/hildon-window.c: (hildon_window_add_accel_group),
8961 (hildon_window_set_menu): added patch by Tommi Komulainen
8963 2008-03-03 Sven Herzberg <sven@imendio.com>
8965 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8967 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8968 knowledge about the border allocators used within GTK+
8970 2008-02-26 Sven Herzberg <sven@imendio.com>
8972 Fixes: MB#2981: Build with asserts broken
8974 * src/hildon-date-editor.c,
8975 * src/hildon-number-editor.c,
8976 * src/hildon-time-editor.c,
8977 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8978 the proper GType instance check
8980 2008-02-25 Sven Herzberg <sven@imendio.com>
8982 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8984 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8985 * examples/hildon-window-menu-example.c: (main): explicitly show
8987 * src/hildon-window.c:
8988 (hildon_window_set_main_menu): moved most of the code from set_menu()
8989 to this place; skipped the call to gtk_widget_show_all(); also didn't
8990 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8991 (hildon_window_set_menu): removed most of the code, just keep the
8992 questionable gtk_widget_show_all()
8993 * src/hildon-window.h: added the new function and deprecate the old
8996 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
9002 * debian/changelog: Updating.
9004 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
9007 * pkgconfig/Makefile.am:
9008 * pkgconfig/hildon.pc.in:
9011 Do not use PACKAGE_VERSION_MAJOR as the API revision,
9012 use newly created API_MAJOR_VERSION.
9014 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
9020 * debian/changelog: Updating.
9022 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
9024 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
9026 Add outer_border style property, we use it but don't define it (!).
9030 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
9032 * examples/hildon-bread-crumb-trail-example.c (main):
9036 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
9038 Fix logic for the bread crumb trail node removal.
9042 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9048 * debian/changelog: Updating.
9050 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 Patch by Alejandro to get/set passwords dialogs accesibility.
9054 * hildon-1/src/hildon-get-password-dialog.c:
9055 * hildon-1/src/hildon-set-password-dialog.c:
9056 Set atk_set_name to the passwd entries in order to allow
9057 accessibility by name on this entries.
9059 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 * debian/control: Updating gtk dep.
9066 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9068 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9069 USE_MAEMO_GTK is enabled.
9071 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9073 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9074 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9076 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9082 * debian/changelog: Updating.
9084 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9086 * examples/Makefile.am:
9087 * examples/hildon-logical-color-example.c:
9088 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9089 applied + adding a test case. Fixes: NB#71660.
9091 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9093 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9094 to be visible, fixes warning on map for windows without toolbars.
9096 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9098 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9099 2.11.0, add a check for that besides the MAEMO_GTK check.
9101 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9107 * debian/changelog: Updating.
9109 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9111 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9112 visibility. Fixes: NB#70842 and MB#615.
9114 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9116 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9117 set the separator as no-show-all so it doesn't unintentionally appear when
9118 someone does a show_all.
9120 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9122 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9123 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9124 toplevel item. Fixes: NB#62031
9126 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9128 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9129 fix the name of the function in the docs.
9131 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9137 * debian/changelog: Updating.
9139 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9141 * examples/hildon-banner-long-example.c: Adding a test-case for long
9144 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9146 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * src/hildon-color-chooser-dialog.c:
9149 * src/hildon-color-chooser.c:
9150 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9151 memory leaks in font selector and color selector. Fixes: NB#70499 and
9154 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9156 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9158 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9160 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9161 little bit bigger. Fixes: #NB63694.
9163 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9169 * debian/changelog: Updating.
9171 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * doc/hildon-docs.sgml:
9175 * doc/images/bread-crumb-trail.png:
9176 * doc/images/calendar-popup.png:
9177 * doc/images/caption.png:
9178 * doc/images/code-dialog.png:
9179 * doc/images/color-button.png:
9180 * doc/images/color-chooser-dialog.png:
9181 * doc/images/color-chooser.png:
9182 * doc/images/controlbar.png:
9183 * doc/images/date-editor.png:
9184 * doc/images/font-selection-dialog.png:
9185 * doc/images/get-password-dialog.png:
9186 * doc/images/hvolumebar.png:
9187 * doc/images/login-dialog.png:
9188 * doc/images/note.png:
9189 * doc/images/number-editor.png:
9190 * doc/images/range-editor.png:
9191 * doc/images/seekbar.png:
9192 * doc/images/set-password-dialog.png:
9193 * doc/images/sort-dialog.png:
9194 * doc/images/time-editor.png:
9195 * doc/images/time-picker.png:
9196 * doc/images/vvolumebar.png:
9197 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9198 Adding the bread-crumb-trial and helpers to the documentation.
9200 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9202 * examples/hildon-find-toolbar-example.c:
9203 * src/hildon-find-toolbar.c:
9204 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9205 actually continue firing the other handlers if connected. Adding a new
9207 hildon_find_toolbar_get_last_index that gets the index of the most
9208 recently added (last) item. Fixes: NB#52301.
9210 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9212 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9213 behaviour. Fixes: NB#68610.
9215 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9217 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9220 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9222 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9223 when realizing the banner. Should make the infonbanner effect a bit more
9226 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9228 * src/hildon-volumebar.c:
9229 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9230 hildon_volumebar_set_range_insensitive_message and
9231 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9233 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9235 * src/hildon-window.c: Fixing the border freeing on destroy.
9237 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9239 * src/hildon-code-dialog-private.h:
9240 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9241 kw keyboard support in HildonCodeDialog.
9243 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9249 * debian/changelog: Updating.
9251 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * src/hildon-date-editor.c:
9254 * src/hildon-number-editor.c:
9255 * src/hildon-private.c:
9256 * src/hildon-private.h:
9257 * src/hildon-time-editor.c:
9258 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9259 handling in subclassed composite widgets. Fixes: NB#66628.
9261 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9263 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9264 from destroy_ callback as it introduces problems in async dbus signal
9265 handlers. Fixes NB#66673.
9267 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9269 * examples/hildon-hvolumebar-example.c:
9270 * src/hildon-volumebar.c: Improving the focus handling in the
9271 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9272 set_property accessor so that "mute" property can be actually set. I'm
9273 scared that nobody noticed it's totally broken.
9275 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9277 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9280 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * src/hildon-calendar.c:
9283 * src/hildon-number-editor.c:
9284 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9285 matches the spec of 6 chars per second. Fixes: NB#60489.
9287 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9289 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9290 gtk_style_lookup_color sometime returns FALSE even though color was
9291 found and values were filled properly. Weird. Removing the warning for the
9294 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9296 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9297 expand vertically. Adding some extra space to the find toolbar buttons to
9298 make them thumbable. Fixes NB#66060.
9300 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9302 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9303 popup with "Ok" and "Cancel". Fixes NB#59299.
9305 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9307 * src/hildon-calendar.c: Process all window updates before executing next
9308 timeout. Fixes: NB#54146.
9310 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9316 * debian/changelog: Updating.
9318 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9320 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9321 the client event and ignore it, since we use the delete event to close
9324 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9326 * src/hildon-helper.c: Remove the bogus warning about color not being
9327 found. Fixes NB#58352.
9329 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9331 * examples/Makefile.am:
9332 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9333 HildonSeekbar widget inside a toolbar.
9335 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9337 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9338 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9339 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9340 don't want to be closed by non-temporary windows on map.
9342 Also use G_DEFINE_TYPE instead of manually typed code.
9344 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9351 * debian/rules: Updating.
9353 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9355 * examples/Makefile.am:
9356 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9357 bug NB#61128. Strangely it works.
9359 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9361 * src/hildon-date-editor.c: When the date editor entry has been changed
9362 but the numbers of characters < max, turn off the skip validation flag.
9363 Prevents a situation when we enter first a valid year and later re-write
9364 it with an invalid one. Fixes NB#60154.
9366 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9368 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9369 code dialog. Fixes NB#64355.
9371 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9373 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9374 switching the page. Fixes NB#49374.
9376 * examples/Makefile.am:
9377 * examples/hildon-wizard-dialog-example.c: Adding an example for
9378 HildonWizardDialog that shows how to handle manual sensitivity setting on
9381 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9385 * src/hildon-version.h.in:
9386 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9388 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9390 * src/hildon-volumebar.c: Updating the docs.
9392 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9398 * debian/changelog: Updating.
9400 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9402 * src/hildon-find-toolbar.c:
9403 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9404 selected item: hildon_find_toolbar_set_active,
9405 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9406 hildon_find_toolbar_get_active_iter . They correspond to respective
9407 GtkComboBox functions.
9409 * examples/Makefile.am:
9410 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9413 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9415 * examples/Makefile.am:
9416 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9419 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9420 when font size > 32 and we pack a focusable widget inside. Actually using
9421 the default response would work too, but since we don't show default
9422 response state in any way (no theming) it would not be visible to the
9423 user. Fixes NB#63430.
9425 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9427 * src/hildon-date-editor.c: Adding the missing variable setter in the
9428 set_property handler. Fixes NB#54182.
9430 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9432 * src/hildon-window.h: Changing the long key press time from 1500ms to
9433 800ms as requested in NB#63700. I have a bad feeling about this, let's
9434 see... Fixes NB#63700.
9436 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9438 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9439 hildon_time_picker_map, hildon_time_picker_realize,
9440 hildon_time_picker_style_set): Split the contents of map to more
9441 appropriate functions; set window decorations on realize and update
9442 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9444 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9449 * debian/changelog: Updating.
9451 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9453 * src/Makefile.am: fixed installation of the header files
9455 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9461 * debian/changelog: Updating.
9463 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9465 * configure.ac: Removing some remaining of --enable-xan.
9467 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9469 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9470 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9472 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9473 2.10.12-osso6 because the move-focus signal needs to be available in
9476 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9478 * examples/Makefile.am:
9479 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9480 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9481 fine. Prolly NB#61128 is fixed now.
9483 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9485 * src/hildon-volumebar.c:
9486 * src/hildon-volumebar.h: Adding the
9487 hildon_volumebar_set_range_insensitive_message and
9488 hildon_volumebar_set_range_insensitive_messagef functions to set
9489 insensitive message on the slider of the volumebar. Fixes NB#61129.
9491 * examples/Makefile.am:
9492 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9493 test the new insensitive messsage functionality on HildonVolumebar.
9495 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9497 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9500 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9502 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9503 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9504 button on after clearing the trail.
9506 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9508 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9510 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9512 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9513 by splitting the installed headers in generated and non-generated groups. Use
9514 only the non-generated headers to create the hildon-enum-types.h file.
9516 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9518 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9520 * src/hildon-window.c: Hide the window before performing the destroy.
9521 Should make the app closing a little tiny bit more snappy.
9523 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9525 * src/hildon-seekbar.c: add gtkrange.h header
9526 * src/hildon-caption.c: remove unused variable
9528 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9530 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9533 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9539 * debian/changelog: Updating.
9541 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9543 * src/hildon-window.c (hildon_window_window_state_event,
9544 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9545 escape timeout on focus-out-event rather than notify::is-topmost; the
9546 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9548 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9550 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9551 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9553 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9555 * src/hildon-window: actually, you need to use the macro always, there's
9556 no private pointer in the instance structure. We should have cleaned this up
9557 when we had the chance...
9559 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9561 * src/hildon-window.c: do not get the private date from HildonWindow before
9562 it passes the g_return_if_fail check. Once it's passed the test, there's no
9563 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9564 if you are only going to access the data once. Whitespace cleanups.
9566 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9568 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9569 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9571 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9577 * debian/changelog: Updating.
9579 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9581 * src/hildon-window.c: When destroying the window, remove (if exists) the
9582 escape timeout handler. Fixes #NB59276.
9584 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9586 * src/hildon-banner.c: When realizing the widget, set the window
9587 transiency. Setting the transiency in the gobject constructor is not
9588 good, as the widget is not realized at that point. Fixes: #NB56624.
9590 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9592 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9593 Add padding for future expansions.
9595 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9597 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9598 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9599 will fake an activation on the previous to the last item of the trail, so
9600 the effect can be overrided by the developer as usual.
9601 Also change the callback for the back button to do the same thing, so its
9602 effect can be overrided too. Fixes: NB#58982
9604 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9606 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9607 HildonCaption. Fixes NB#52379.
9609 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9611 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9612 the internal state of the trail after the user has had the chance of executing
9613 his handler for the signal. Specifically, it may happen that the activated button
9614 is removed and the user still lets the default handler run. This would segfault
9617 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9619 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9620 scrollbar to the preview dialog. Fixes NB#54147.
9622 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9624 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9625 max/min year properties can be altered, so the client can modify it
9626 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9628 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9630 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9631 hildonlike by default. Fixing a problem with disappearing arrows when
9632 scrolling through months and years. Fixes NB#54127.
9634 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9636 * examples/hildon-date-editor-example.c: Adding error callback to the date
9639 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9645 * configure.ac: Updating.
9647 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9649 * configure.ac: Adding a special '--enable-xan' configure option that
9650 turns off the -Werror compilation setting. Usefull for development.
9652 * src/hildon-calendar.c:
9653 * src/hildon-number-editor.c:
9654 * src/hildon-time-picker.c: Adding the 5* multiplier to
9657 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9659 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9660 instead of g_object_ref + gtk_object_sink.
9662 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9668 * debian/changelog: Updating.
9670 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9672 * src/hildon-color-chooser-dialog.c:
9673 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9674 straight from Tommi labs.
9676 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9678 * examples/hildon-finger-example.c: Correcting the header file path.
9680 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9681 the changed signal. Fixes a small memory leak.
9683 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9687 * src/hildon-banner.c: Importing several usefull fixes from the
9688 ubuntu-mobile branch.
9690 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9692 * examples/Makefile.am:
9693 * examples/hildon-finger-example.c: Adding a finger-checking code
9696 * src/hildon-font-selection-dialog.c: Do not allocate the color
9697 structure using the g_new. Fixes NB#54061.
9699 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9701 * src/hildon-helper.c: Correcting tabs in file.
9703 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9705 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9706 control the visibility of the children.
9708 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9710 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9716 * debian/changelog: Updating.
9718 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9720 * src/hildon-bread-crumb-trail.c:
9721 (hildon_bread_crumb_trail_size_allocate):
9723 Make the back button always a square.
9725 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9727 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9728 from the .c file as it's a private file.
9730 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9732 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9733 uses slightly bigger height.
9735 * src/hildon-font-selection-dialog.c: Adding some checks before
9736 freeing memory in the font selection dialog.
9738 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9740 * src/hildon-font-selection-dialog.c: Adding a small check when
9743 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9744 buttons sensitivity on page switching.
9746 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9748 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9749 internal details of adding a bread crumb to the trail.
9751 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9757 * debian/changelog: Updating.
9759 * src/hildon-bread-crumb-trail.h:
9760 * src/hildon-bread-crumb.h: Changing the API guard to
9761 HILDON_ENABLE_UNSTABLE_API.
9763 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9771 * src/hildon-helper.h: Updating.
9773 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9781 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9785 * src/hildon-helper.h: Small fix to make the package actually compile.
9787 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9789 * src/hildon-bread-crumb-trail.h:
9790 * src/hildon-bread-crumb.h:
9792 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9793 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9795 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9797 * examples/hildon-bread-crumb-trail-example.c:
9799 * src/hildon-bread-crumb-trail.c:
9800 * src/hildon-bread-crumb-trail.h:
9801 * src/hildon-bread-crumb.c:
9802 * src/hildon-bread-crumb.h:
9803 * src/hildon-marshalers.list:
9804 * src/hildon-bread-crumb-widget.c:
9805 * src/hildon-bread-crumb-widget.h:
9807 Slight change in the widget design. The bread crumb trail API is
9808 unchanged, but HildonBreadCrumb is now an interface. A *private*
9809 implementation, hildon-bread-crumb-widget, is provided and used
9810 internally by the trail for the push_text/push_icon functions.
9812 The generic push API is still available, so anyone can implement
9813 and use its own bread crumb widget.
9815 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9817 * debian/rules: Fixing the shlibs.
9819 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9821 * src/hildon-banner.c: Fixing a problem with timed banners having
9822 their parrent destroyed before they are.
9824 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9826 * src/hildon-bread-crumb.c:
9827 * src/hildon-bread-crumb.h:
9829 Make the get_natural_size function a vfunc.
9831 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9833 * src/hildon-bread-crumb.c:
9834 * src/hildon-bread-crumb-trail.c:
9838 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9845 * debian/changelog: Updating for release.
9847 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9849 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9850 don't leak the pango layout.
9852 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9855 * examples/hildon-bread-crumb-trail-example.c:
9859 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9861 * debian/changelog: Removing the bug-fixed entries that were actually
9862 resolved as WONTFIX.
9864 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9867 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9869 * src/hildon-bread-crumb-trail.c:
9870 * src/hildon-bread-crumb-trail.h:
9871 * src/hildon-bread-crumb.c:
9872 * src/hildon-bread-crumb.h:
9876 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9878 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9879 until it's passed the type check.
9881 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9883 * examples/hildon-bread-crumb-trail-example.c
9887 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9889 * examples/Makefile.am
9890 * examples/hildon-bread-crumb-trail-example.c
9892 * src/hildon-bread-crumb-trail.c
9893 * src/hildon-bread-crumb-trail.h
9894 * src/hildon-bread-crumb.c
9895 * src/hildon-bread-crumb.h
9897 New HildonBreadCrumbTrail widget.
9899 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9901 * src/hildon-range-editor.c (hildon_range_editor_init),
9902 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9903 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9904 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9905 hildon_time_editor_class_init, hildon_time_editor_init),
9906 src/hildon-get-password-dialog.c (invalid_input,
9907 hildon_get_password_set_property, hildon_get_password_get_property,
9908 create_contents, hildon_get_password_dialog_set_max_characters),
9909 src/hildon-set-password-dialog.c (create_contents),
9910 src/hildon-date-editor.c (hildon_date_editor_init),
9911 src/hildon-login-dialog.c (hildon_login_dialog_init),
9912 src/hildon-number-editor.c (hildon_number_editor_init),
9913 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9914 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9915 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9916 configure option and adding the respective checks in the code.
9917 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9918 hildon_calendar_drag_data_received): fixed some build warnings.
9920 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9922 * debian/changelog: A 1.0.0 release notes.