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-18 Claudio Saavedra <csaavedra@igalia.com>
26 Do not return gboolean in GtkButton:clicked signal handlers
28 * examples/hildon-banner-example.c:
29 (on_information_clicked), (on_animation_clicked),
30 (on_progress_clicked): GtkButton:clicked handlers do not return
33 2009-09-17 Alberto Garcia <agarcia@igalia.com>
35 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
36 Use the Xlib API to take window screenshots, since the GDK API
37 doesn't allow us to set the event mask.
39 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
42 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
44 [2.2.0 Release Candidate 6]
46 * debian/changelog: bump and updates.
48 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
50 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
51 free a GList and avoid potential memory corruption.
53 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
55 [2.2.0 Release Candidate 5]
58 * debian/changelog: bump and updates
60 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
62 Do not set any flag for empty legacy menus
64 * hildon/hildon-program.c: (hildon_program_set_common_menu):
65 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
66 This will probably not work fine with empty legacy menus added to
67 programs or windows and populated later, but so it's life.
69 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
71 Update the application menu flag for application-wise windows
73 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
74 (hildon_program_set_common_app_menu): Also take into account the visibility
77 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
79 Emit HildonAppMenu::changed when menu items change visibility
81 * hildon/hildon-app-menu.c: (item_visibility_changed),
82 (filter_visibility_changed): Also emit ::changed on
83 visibility of items changed.
85 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
87 Do not set the menu flag in a window when a menu is empty
89 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
90 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
91 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
92 changes by using the HildonAppMenu::changed signal.
94 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
96 Add HildonAppMenu::changed signal
98 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
99 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
100 Emit a new HildonAppMenu:changed signal when there are changes in
103 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
105 Add hildon_app_menu_has_visible_children() private method
107 * hildon/hildon-app-menu-private.h: Add below private method.
108 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
109 New method to check the visibility of a HildonAppMenu children.
111 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
113 Set the window menu flag for application-common menus
115 * hildon/hildon-program.c:
116 (+hildon_program_window_set_common_menu_flag): Set or remove the
117 menu flag from a window only this doesn't have its own menu.
118 (+hildon_program_set_common_menu_flag): adjust menu flag for
119 all windows in the program.
120 (hildon_program_add_window),
121 (hildon_program_remove_window): add/remove the menu flag when
122 a window is added to the program.
124 Fixes: NB#137814 (Indicator for view menu in app title area)
126 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
128 Set a special window property for windows with menus
130 * hildon/hildon-window-private.h: Add private
131 hildon_window_set_menu_flag()
132 * hildon/hildon-window.c: (+do_set_has_menu),
133 (+hildon_window_set_menu_flag): set
134 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
135 or remove the property.
136 (hildon_window_set_main_menu),
137 (hildon_window_set_app_menu): call above methods to set or remove
138 the property when a menu is added or removed from the window.
140 Partially fixes: NB#137814 (Indicator for view menu in app title area)
142 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
144 Rename and move the methods to set flags to hildon-private.h
146 * hildon/hildon-gtk.c: (do_set_progress_indicator),
147 (do_set_do_not_disturb), (do_set_portrait_flags): call
148 the new private method hildon_gtk_window_set_clear_window_flag()
149 (hildon_gtk_window_set_progress_indicator),
150 (hildon_gtk_window_set_do_not_disturb),
151 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
152 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
153 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
155 * hildon/hildon-private.h: Add the two new private methds.
157 2009-09-11 Alejandro G. Castro <alex@igalia.com>
159 * hildon/hildon-pannable-area.c,
160 (hildon_pannable_area_init),
161 (hildon_pannable_area_size_allocate),
162 (hildon_pannable_area_button_release_cb): More tuning of the
163 speed, adding a way to calculate the acceleration and fast-panning
164 based on the child size.
166 2009-09-10 Alberto Garcia <agarcia@igalia.com>
168 * hildon/hildon-touch-selector.c
169 (hildon_touch_selector_class_init):
170 Documentation updates
174 2009-09-10 Alberto Garcia <agarcia@igalia.com>
176 * hildon/hildon-touch-selector.c:
177 Documentation updates
179 Fixes: MB#5104 (HildonTouchSelector docs should say no
180 HildonPannableArea is necessary)
182 2009-09-08 Alejandro G. Castro <alex@igalia.com>
184 * hildon/hildon-pannable-area.c,
185 (hildon_pannable_area_timeout): Fixed problem with the timeout
186 function, we need to move before decelerating the first time or we
187 are loosing the first jump.
189 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
191 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
193 [2.2.0 Release Candidate 3]
195 * debian/changelog: updates
197 2009-09-07 Alejandro G. Castro <alex@igalia.com>
199 * hildon/hildon-pannable-area.c,
200 (hildon_pannable_area_class_init): Increased max speed.
202 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
204 [2.2.0 Release Candidate 2]
207 * debian/changelog: bump version, updates
209 2009-09-07 Alejandro G. Castro <alex@igalia.com>
211 * hildon/hildon-pannable-area.c,
212 (hildon_pannable_area_class_init),
213 (hildon_pannable_area_button_release_cb): More tuning for the
216 2009-09-07 Alejandro G. Castro <alex@igalia.com>
218 * hildon/hildon-pannable-area.c,
219 (hildon_pannable_area_class_init):
220 Change the default value of the scrollbar_fade_delay.
222 Fixes: NB#127018 (Panning indicator fades out too slowly)
224 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
226 [2.2.0 Release Candidate 1]
229 * configure.ac: Bump version
230 * debian/changelog: updates
232 2009-09-04 Alejandro G. Castro <alex@igalia.com>
234 * hildon/hildon-pannable-area.c,
235 (hildon_pannable_area_init),
236 (hildon_pannable_area_button_press_cb),
237 (hildon_pannable_area_button_release_cb): Added a new acceleration
238 system to help traversing big lists, tuned the stop threshold.
240 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
242 2009-09-04 Alberto Garcia <agarcia@igalia.com>
244 * hildon/hildon-window.h:
245 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
247 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
249 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
253 * configure.ac: bump version
255 * debian/changelog: updates
257 2009-09-04 Alberto Garcia <agarcia@igalia.com>
259 * hildon/hildon-entry.c
260 * hildon/hildon-text-view.c:
261 Documentation updates
263 2009-09-04 Alberto Garcia <agarcia@igalia.com>
265 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
266 Redraw menu when the number of items change.
268 Fixes: NB#131911 (Appmenu does not resize properly, when number of
271 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
273 * hildon/hildon-pannable-area.c:
274 (hildon_pannable_area_launch_fade_timeout),
275 (hildon_pannable_area_motion_event_scroll),
276 (hildon_pannable_area_check_move),
277 (hildon_pannable_area_button_release_cb),
278 (hildon_pannable_area_scroll_to):
280 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
281 area drawing operations, since this is the recommended for drawing
284 Fixes: NB#110894 (In event view containing very large description
285 field, application menu is displayed blank while panning)
286 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
289 2009-09-03 Alberto Garcia <agarcia@igalia.com>
291 * doc/hildon-sections.txt
292 * hildon/hildon-button.c
293 * hildon/hildon-edit-toolbar.c
294 * hildon/hildon-gtk.[ch]
295 * hildon/hildon-main.c
296 * hildon/hildon-program.c
297 * hildon/hildon-stackable-window.c:
298 Documentation updates
300 2009-08-28 Alberto Garcia <agarcia@igalia.com>
302 * hildon/hildon-app-menu.c
303 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
304 Close the menu if it receives a grab-notify signal.
306 Fixes: NB#134533 (UI freezes if we show a dialog with
307 gtk_dialog_run() while a menu is opened)
309 2009-08-27 Alejandro G. Castro <alex@igalia.com>
311 * hildon/hildon-pannable-area.c,
312 (hildon_pannable_area_class_init): Reverted tuning modifications:
313 "Pannign needs to be faster" and "Pannable kinetics in large lists
316 2009-08-26 Alberto Garcia <agarcia@igalia.com>
318 * hildon/hildon-sound.c (hildon_play_system_sound):
319 Set "module-stream-restore.id" to "x-maemo-system-sound" when
320 playing system sounds
322 Fixes: NB#133767 (Information and confirmation note sound should
323 follow system profile setting)
325 2009-08-26 Alejandro G. Castro <alex@igalia.com>
327 * hildon/hildon-pannable-area.c,
328 (hildon_pannable_area_class_init): Added more force and increased
329 the max speed threshold.
331 Fixes: NB#135344 (Pannign needs to be faster)
333 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
335 [Release 2.1.96, this time for real]
338 * debian/changelog: updates
340 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
342 * hildon/hildon-pannable-area.c
343 (hildon_pannable_area_get_topmost): change the computation of the
344 co-ordinates transformed when no one of the children is a topmost
346 Fixes: NB#133252 (Opening any feed item from RSS always opens the
347 first feed item in browser)
349 2009-08-26 Alejandro G. Castro <alex@igalia.com>
351 * hildon/hildon-pannable-area.c,
352 (hildon_pannable_area_remove_timeouts): Adding this new function
353 with the code that removes the timeouts of the widget.
354 (hildon_pannable_area_dispose),
355 (hildon_pannable_area_unrealize): Use the new remove function to
356 stop timeouts when unrealizing and disposing.
357 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
358 calculation to avoid negative values in some cases.
360 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
362 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
364 * examples/hildon-check-button-example.c: (button_toggled_cb):
365 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
366 (hildon_check_button_set_active), (hildon_check_button_new),
367 (hildon_check_button_clicked), (hildon_check_button_class_init):
368 * hildon/hildon-check-button.h:
369 * hildon/hildon-set-password-dialog.c: (create_contents),
370 (hildon_set_password_response_change), (hildon_checkbox_toggled):
372 Revert "Make HildonCheckButton derive from GtkToggleButton"
374 2009-08-21 Alberto Garcia <agarcia@igalia.com>
378 * configure.ac: bump version
380 * debian/changelog: updates
382 2009-08-21 Alberto Garcia <agarcia@igalia.com>
384 * hildon/hildon-check-button.h
385 * hildon/hildon-check-button.c
386 (hildon_check_button_clicked, hildon_check_button_class_init):
387 Make HildonCheckButton derive from GtkToggleButton
388 (hildon_check_button_toggled, hildon_check_button_set_active)
389 (hildon_check_button_get_active):
390 Deprecate unnecessary HildonCheckButton API and use the
391 one from GtkToggleButton instead.
393 * hildon/hildon-set-password-dialog.c (create_contents)
394 (hildon_set_password_response_change, hildon_checkbox_toggled)
395 * examples/hildon-check-button-example.c (button_toggled_cb):
396 Update to use the GtkToggleButton API
398 Fixes: MB#4739 (HildonCheckButton should inherit from
401 Fixes: NB#132661 (HildonCheckButton should inherit from
404 2009-08-20 Alberto Garcia <agarcia@igalia.com>
406 * hildon/hildon-pannable-area.c
407 (hildon_pannable_area_class_init):
408 Increase default value of HildonPannableArea:velocity_max to 2000
410 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
412 2009-08-18 Alberto Garcia <agarcia@igalia.com>
416 * configure.ac: bump version
418 * debian/changelog: updates
420 2009-08-11 Alejandro G. Castro <alex@igalia.com>
422 * hildon/hildon-pannable-area.c
423 (hildon_pannable_area_size_allocate): Checked the scrollbars
424 before the first try when defining the layout, avoids two
425 allocations in some situations.
427 Fixes: NB#131794 (pannable area produces unnecessary allocations
428 causing performance problems)
430 2009-08-11 Alejandro G. Castro <alex@igalia.com>
432 * hildon/hildon-pannable-area.c
433 (hildon_pannable_area_button_press_cb),
434 (hildon_pannable_area_motion_notify_cb),
435 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
436 the spurious ref added in the copy, fixes leak of window.
438 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
439 if it's realized without showing and then deleted)
441 2009-08-10 Alberto Garcia <agarcia@igalia.com>
445 * configure.ac: bump version
447 * debian/changelog: updates
449 2009-08-06 Alberto Garcia <agarcia@igalia.com>
451 * examples/hildon-hvolumebar-timer-example.c
453 * hildon/hildon-banner.c
454 (hildon_banner_timeout, hildon_banner_ensure_timeout)
455 * hildon/hildon-calendar.c
456 (calendar_timer, start_spinning)
457 * hildon/hildon-color-chooser.c
458 (inline_limited_expose)
459 * hildon/hildon-date-editor.c
460 (hildon_date_editor_entry_focus_in)
461 (hildon_date_editor_entry_validate)
462 (hildon_date_editor_entry_select_all)
463 * hildon/hildon-note.c
465 * hildon/hildon-number-editor.c
466 (hildon_number_editor_button_pressed)
467 (hildon_number_editor_start_timer, do_mouse_timeout),
468 (add_select_all_idle, hildon_number_editor_select_all)
469 * hildon/hildon-time-editor.c
470 (hildon_time_editor_entry_focus_in)
471 (highlight_callback, hildon_time_editor_validate)
472 (hildon_time_editor_entry_select_all)
473 * hildon/hildon-time-picker.c
474 (hildon_time_picker_arrow_press)
475 (hildon_time_picker_key_repeat_timeout)
476 * hildon/hildon-window.c
477 (hildon_window_key_press_event)
478 (hildon_window_escape_timeout):
479 Replace all calls to g_idle_add/g_timeout_add with their
480 gdk_threads counterparts.
482 Fixes: NB#126198 (gdk-threads API should be used to install idle
483 and timeout handlers)
485 2009-08-06 Alejandro G. Castro <alex@igalia.com>
487 * hildon/hildon-pannable-area.c,
488 (hildon_pannable_area_class_init): Increased the overshooting max
489 speed to get a faster effect.
490 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
491 deceleration of the overshooting
492 (hildon_pannable_area_button_release_cb): Calculate initial
493 overshooting speed when finger on the screen using the distance to
494 launch the effect faster.
496 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
497 lists with slow row renderers)
499 2009-08-05 Alberto Garcia <agarcia@igalia.com>
501 * doc/hildon-sections.txt: Add new functions
503 2009-08-05 Alberto Garcia <agarcia@igalia.com>
505 * hildon/hildon-text-view.[ch]
506 * hildon/hildon-entry.[ch]:
507 Add deprecation guards around deprecated functions.
509 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
511 * hildon/hildon-app-menu.c: Remove leftover function declaration.
513 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
515 Remove the grab from HildonAppMenu
517 * hildon/hildon-app-menu.c:
518 Now hildon-desktop places a blocker window behind the menu to handle
519 its closing, so the grab is no longer needed. This simplifies its
520 implementation and allows the system blanking to succeed.
522 Fixes: NB#130910 (Screen gets unlocked when menu is open)
524 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
528 * configure.ac: bump version
530 * debian/changelog: updates
531 * debian/control: raise debian dependency on GTK+
533 2009-08-04 Alberto Garcia <agarcia@igalia.com>
535 * hildon/hildon-text-view.c
536 * hildon/hildon-entry.c:
537 Remove all placeholder code from HildonEntry and HildonTextView
538 and use the API in GtkEntry and GtkTextView instead.
540 * examples/hildon-entry-example.c
541 * examples/hildon-text-view-example.c
542 * examples/hildon-wizard-dialog-example.c
543 * hildon/hildon-get-password-dialog.c
544 * hildon/hildon-login-dialog.c
545 * hildon/hildon-picker-dialog.c
546 * hildon/hildon-set-password-dialog.c
547 * hildon/hildon-touch-selector-entry.c:
548 Replace all deprecated calls to HildonEntry and HildonTextView
549 with their Gtk counterparts.
551 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
554 2009-08-03 Alejandro G. Castro <alex@igalia.com>
556 * hildon/hildon-pannable-area.c,
557 (hildon_pannable_area_check_move),
558 (hildon_pannable_area_button_release_cb),
559 (hildon_pannable_area_scroll_to): Reverted the priority change of
560 the timeout, in some situations, slow renderers, the click do not
561 make it to the mainloop on time.
563 Fixes NB#131013 (unable to stop panning file manager by tapping on
566 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
568 * configure.ac: bump version
570 * debian/changelog: updates
572 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
574 * hildon/hildon-touch-selector.[ch]
575 (hildon_touch_selector_center_on_index): New method that allows to center
576 on a item not selected
578 Fixes NB#130291 (New HildonTouchSelector API is required to center on
581 2009-07-29 Alberto Garcia <agarcia@igalia.com>
583 * hildon/hildon-text-view.c
584 (+set_logical_color, +hildon_text_view_style_set)
585 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
586 (hildon_text_view_init)
587 * hildon/hildon-entry.c
588 (+set_logical_color, +hildon_entry_style_set)
589 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
590 (hildon_entry_class_init, hildon_entry_init)
591 * hildon/hildon-button.c
592 (+set_logical_font, +set_logical_color)
593 (hildon_button_style_set, hildon_button_init)
594 (hildon_button_set_arrangement, hildon_button_set_style):
595 Remove all calls to hildon_helper_set_logical_font() and
596 hildon_helper_set_logical_color(), which are recursive, from
599 Fixes: NB#123409 (Showing dialog consumes significant amount of
602 2009-07-29 Alejandro G. Castro <alex@igalia.com>
604 * hildon/hildon-pannable-area.c,
605 (hildon_pannable_area_timeout): Added the process updates of the
606 scrollbars window in the pannable.
608 Fixes: NB#130043 (scrollindicator not smooth while panning)
610 2009-07-23 Alejandro G. Castro <alex@igalia.com>
612 * hildon/hildon-pannable-area.c,
613 (hildon_pannable_area_check_move),
614 (hildon_pannable_area_button_release_cb),
615 (hildon_pannable_area_scroll_to): Increased the priority of the
616 timeout this way it is going to be handled before the events.
618 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
622 * configure.ac: bump version
623 * debian/changelog: updates
625 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
627 * hildon/hildon-entry.c: (set_property): Do not allow to set
628 automatic height and use finger height instead, to prevent an to
629 have a smaller size than than its theme pixbuf.
631 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
633 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
635 * configure.ac: postrelease version bump.
636 * debian/changelog: post release version bump
638 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
643 * configure.ac: Bump version.
644 * debian/changelog: Updates.
646 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
648 * hildon/hildon-note.c: (label_size_request): Take the note
649 padding into account when setting the size request.
651 Fixes: NB#127896 (Information notes text truncated)
653 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
655 * configure.ac: postrelease version bump.
656 * debian/changelog: post release version bump
658 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
663 * configure.ac: Bump version.
664 * debian/changelog: Updates.
666 2009-07-16 Alejandro G. Castro <alex@igalia.com>
669 * hildon/hildon-text-view.c,
670 (hildon_text_view_button_press_event): Grabbed the focus in button
671 press, this way we are sure the widget has the focus in the
672 release event, required for HIM.
674 Fixes: NB#121445 (Virtual keyboard opening is not working in same
675 way for each text entry field)
677 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
679 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
680 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
681 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
682 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
683 (hildon_pannable_area_[gs]et_center_on_child_focus)
684 Redefined GtkContainer set-focus-child signal, in order to center
685 properly on a child when it receives the focus. Defined a new property
686 "center-on-child-focus" in order to activate this feature (deactivated
687 by default). Public get/set methods defined to manage the property.
689 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
691 2009-07-14 László Pere <lpere@blumsoft.eu>
693 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
694 the new size is applied.
696 Fixes: NB#124510 (The Application Menu is distorted when switched
697 between portrait and landscape mode)
698 Fixes: NB#115388 (Power key menu does not resize itself)
700 2009-07-01 Alberto Garcia <agarcia@igalia.com>
702 * hildon/hildon-banner.c (hildon_banner_map):
703 Set banner position after mapping.
705 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
707 * configure.ac: postrelease version bump.
708 * debian/changelog: post release version bump
710 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
715 * configure.ac: Bump version.
716 * debian/changelog: Updates.
718 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
720 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
723 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
725 * tests/check-hildon-banner.c
727 * tests/test_suites.h
728 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
729 were testing deprecated functions.
730 * examples/hildon-banner-example.c: typo on button3 type, that causes
731 a fail compiling with --with-examples but without --disable-deprecated
733 Missed commit in order to fix compilation using '--enable-fatal' and
734 '--disable-deprecated' (see previous commit)
736 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
738 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
739 functions with #ifndef HILDON_DISABLE_DEPRECATED
740 * examples/hildon-find-toolbar.c: Protect deprecated
741 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
742 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
743 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
744 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
746 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
747 to allow proper compilation of deprecated functions defined on the header
749 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
751 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
753 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
754 Cache the panning indicator color.,
755 (hildon_pannable_area_style_set): Query the color on style changes.
756 (hildon_pannable_draw_vscroll),
757 (hildon_pannable_draw_hscroll),
758 (hildon_pannable_area_expose_event): Use the cached panning indicator
759 color instead of looking it up on every expose and more.
761 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
763 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
764 (hildon_pannable_draw_hscroll),
765 (hildon_pannable_area_expose_event): Fix the panning indicator color,
766 so that it's "SecondaryTextColor", as desired.
768 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
770 * hildon/hildon-picker-dialog.c:
771 (selection_completed): take into account HILDON_UI_MODE_NORMAL
772 * hildon/hildon-touch-selector.c
773 (hildon_touch_selector_init): Initialize hildon-ui-mode
774 (hildon_touch_selector_row_activated): new callback for the
775 "row-activated" signal, in order to save the last activated
776 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
777 if the current hildon-ui-mode is coherent with the touch selector
778 (hildon_touch_selector_class_init)
779 (hildon_touch_selector_get_property)
780 (hildon_touch_selector_set_property)
781 Added "hildon-ui-mode" property
782 (disconnect_model_handlers): renamed to clean_column
783 (hildon_touch_selector_remove): use clean_column function
784 (_create_new_column): use the hildon-ui-mode to create the treeview, and
785 only select the first element on HILDON_UI_MODE_EDIT
786 (hildon_touch_selector_column_init): Initialize last_activate
787 (hildon_touch_selector_append_column): check that the touch selector
788 is coherent with the current hildon-ui-mode
789 (hildon_touch_selector_get_hildon_ui_mode)
790 (hildon_touch_selector_set_hildon_ui_mode)
791 Added a getter/setter for the hildon-ui-mode property
792 (hildon_touch_selector_get_last_activated_row): Added this method in
793 order to get the last activated row.
794 * examples/hildon-touch-selector-normal-mode-example.c
795 New example, that shows how to use the HildonTouchSelector in
796 HILDON_UI_MODE_NORMAL
798 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
799 Kristian Rietveld <kris@lanedo.com> advices
801 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
803 * hildon/hildon-time-selector.c: (update_format_policy): Do
804 not call update_format_dependant_columns() if not necessary.
805 (update_format_dependant_columns): Remove unnecessary check for
806 the number of columns.
808 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
810 * hildon/hildon-note.c (+hildon_note_constructor),
811 (hildon_note_class_init), (+hildon_note_set_padding),
812 (hildon_note_rebuild): Install a constructor where to set the
813 padding properties in the note, so that it actually works fine.
814 Use hildon_note_set_padding() for this, and also to set it during
817 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
819 * configure.ac: Bump GTK+ requirement to 2.14.3.
820 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
821 when using maemo-gtk to define proper margins for the notes.
823 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
824 with the dialog edge)
826 2009-06-24 Alberto Garcia <agarcia@igalia.com>
828 * hildon/hildon-banner.c
829 (hildon_banner_class_init):
831 (+hildon_banner_size_request):
832 Request always the full width of the screen.
833 (hildon_banner_realize)
834 (-hildon_banner_check_position, hildon_banner_map):
835 hildon_banner_check_position() is not needed in Hildon 2.2.
836 (-hildon_banner_reset_wrap_state)
837 (hildon_banner_constructor, hildon_banner_init):
838 Remove unnecessary calls to hildon_banner_reset_wrap_state()
839 (+banner_do_set_text)
840 (force_to_wrap_truncated):
841 Remove has_been_wrapped and has_been_truncated attributes.
842 (+reshow_banner, hildon_banner_real_show_information)
843 (hildon_banner_show_information_with_markup)
844 (hildon_banner_show_animation, hildon_banner_show_progress)
845 (hildon_banner_set_text, hildon_banner_set_markup):
846 Refactor code. Shrink banner vertically to use the minimum space
847 necessary everytime the text of the label is updated.
848 (screen_size_changed):
849 Call force_to_wrap_truncated() when the size of the screen
852 Fixes: NB#120500 (only device memory connect mmc in use info
853 banner is left aligned)
855 Fixes: NB#120613 (Size of HildonBanner varies depending on
856 previously opened banners)
858 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
860 * hildon/hildon-color-chooser.c
861 (hildon_color_chooser_pointer_motion): Take the widget allocation
864 Fixes: NB#124385 (Unable to select exact point in color mixing box
865 in color palette dialog)
867 2009-06-23 Alejandro G. Castro <alex@igalia.com>
869 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
870 (hildon_pannable_area_dispose)
871 (hildon_pannable_area_button_press_cb)
872 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
873 (hildon_pannable_area_button_release_cb)
874 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
875 New 'panning-started' and 'panning-finished' signals.
877 Fixes: NB#121732 (New feature request: Signal to pannable area
878 that informs when panning is stopped.)
880 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
882 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
883 instead of hardcoded colon.
885 Fixes: NB#124090 (New calendar wizard title is not using
886 ecdg_ti_caption_separator)
888 2009-06-22 David King <davidk@openismus.com>
890 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
891 constants and functions, as well as correct many typos throughout the
894 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
897 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
899 * configure.ac: postrelease version bump.
900 * debian/changelog: post release version bump
902 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
907 * configure.ac: Bump version.
908 * debian/changelog: Updates.
910 2009-06-18 Alberto Garcia <agarcia@igalia.com>
912 * hildon/hildon-window-stack.c
913 (hildon_window_stack_pop_and_push_list):
914 Prevent windows from having the same stack index
916 2009-06-18 Alberto Garcia <agarcia@igalia.com>
918 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
919 Use the index of the previous window rather than the stack length
920 to calculate the new index.
924 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
926 * hildon/hildon-date-selector.c
927 (hildon_date_selector_select_current_date)
928 (hildon_date_selector_get_date)
929 (hildon_date_selector_select_day):
930 Update the documentation: uses always the range (1-31), as it is obvious
931 that the final one will depend on the month and the year, but globally
932 the range is this, in a similar GtkCalendar approach
933 (hildon_date_selector_get_date):
934 Update the documentation: add NULL as a valid value for the day, month
937 Fix some details, after talk with David King on bug MB#4698
939 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
941 * hildon/hildon-touch-selector-entry.c
942 * hildon/hildon-touch-selector.c
943 Update the documentation of the "text-column" property
945 2009-06-18 David King <davidk@openismus.com>
947 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
948 several typos and errors throughout the documentation.
950 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
953 2009-06-18 Alberto Garcia <agarcia@igalia.com>
955 * hildon/hildon-note.c (hildon_note_realize):
956 Make HildonNote support portrait mode.
958 Fixes: NB#123448 (HildonNote is not portrait-friendly)
960 2009-06-17 Alberto Garcia <agarcia@igalia.com>
962 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
963 Document this function
965 2009-06-17 David King <davidk@openismus.com>
967 * hildon/hildon-date-selector.c
968 (hildon_date_selector_select_current_date)
969 (hildon_date_selector_get_date): Update documentation regarding days,
970 as the day of the month is dependent on both the month and the year.
971 (hildon_date_selector_get_date): Fix documentation of output arguments.
973 Fixes: MB#4698 (DateSelector documentation has bad output argument
974 description, and the day depends on both the month and the year)
976 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
978 * hildon/hildon-caption.c: Other documentation fixes to
981 2009-06-17 David King <davidk@openismus.com>
983 * hildon/hildon-caption.c: Minor documentation updates for
984 HildonCaption. Fixes MB#4697.
986 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
988 * doc/hildon-docs.sgml: Add hildon-version section.
989 * doc/hildon-sections.txt:
990 * hildon/hildon-version.h.in: Document versioning macros and
993 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
995 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
996 from HildonPickerDialog section.
998 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1000 * hildon/hildon-banner.c (hildon_banner_bind_style)
1001 (screen_size_changed, hildon_banner_init)
1002 (hildon_banner_real_show_information)
1003 (hildon_banner_show_information_with_markup)
1004 (hildon_banner_show_animation, hildon_banner_show_progress):
1005 Set a different widget name to banners in portrait mode, for them
1006 to be themed correctly.
1008 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1010 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
1011 Set a different widget name to notes in portrait mode, for them to
1012 be themed correctly.
1014 Partially fixes: NB#118401 (HildonNote causes unnecessary
1015 rescaling of images)
1017 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1019 * hildon/hildon-note.c (hildon_note_class_init)
1020 (+hildon_note_size_request, screen_size_changed):
1021 Always request the full width of the screen.
1023 Fixes: NB#118375 (unnecessary rescaling of images)
1025 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1027 * hildon/hildon-pannable-area.c,
1028 (hildon_pannable_area_init),
1029 (hildon_pannable_area_realize): Replaced old code adding flags in
1030 the object init, now we add it with the other flags in the realize
1033 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1035 * hildon/hildon-note.c: (hildon_note_class_init): Several
1036 documentation improvements to the HildonNote widget.
1038 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1040 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1042 Fixes: MB#4556 (HildonNoteType is undocumented)
1044 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1046 * hildon/hildon-picker-button.c:
1047 Explain how HildonPickerButton sets the title of its dialog
1049 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1050 the title of its dialog)
1052 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1054 * hildon/hildon-check-button.c:
1055 Documentation updates
1057 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1060 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1062 * hildon/Makefile.am
1063 * hildon/hildon-edit-toolbar-private.h
1064 * hildon/hildon-edit-toolbar.c
1065 (+hildon_edit_toolbar_set_progress_indicator)
1066 (hildon_edit_toolbar_init): Add progress indicator to the
1069 * hildon/hildon-gtk.c
1070 (hildon_gtk_window_set_progress_indicator):
1071 If the window contains a HildonEditToolbar, enable the progress
1072 indicator there too.
1074 * hildon/hildon-private.h
1075 * hildon/hildon-private.c
1076 (+hildon_private_create_animation)
1077 * hildon/hildon-banner.c
1078 (-hildon_banner_create_animation):
1079 Moved to hildon-private.c
1081 Fixes: NB#102373 (Progress indicator also for the Edit mode
1084 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1086 * hildon/hildon-app-menu-private.h
1087 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1088 (hildon_app_menu_add_filter, +menu_item_button_event)
1089 (hildon_app_menu_button_release, hildon_app_menu_init):
1090 Make sure that buttons receive 'button-release-event' in spite of
1091 the grab held by HildonAppMenu
1093 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1095 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1097 * hildon/hildon-app-menu.c
1098 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1099 New style property to set the size of the group of filter buttons.
1101 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1103 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1108 * configure.ac: Bump version.
1109 * debian/changelog: Updates.
1111 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1113 * hildon/hildon-main.c: Minor documentation fixes.
1115 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1117 * doc/hildon-sections.txt:
1118 * hildon/hildon-defines.h: Document the defines, organize them,
1119 and mark deprecations as such.
1121 Fixes: MB#4463 (Hildon size #defines are undocumented)
1123 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1125 * hildon/hildon-animation-actor.c:
1126 * hildon/hildon-app-menu.c:
1127 * hildon/hildon-button.c:
1128 * hildon/hildon-date-editor.c:
1129 * hildon/hildon-dialog.c:
1130 * hildon/hildon-edit-toolbar.c:
1131 * hildon/hildon-entry.c:
1132 * hildon/hildon-program.c:
1133 * hildon/hildon-remote-texture.c:
1134 * hildon/hildon-stackable-window.c:
1135 * hildon/hildon-text-view.c:
1136 * hildon/hildon-touch-selector.c:
1137 * hildon/hildon-window-stack.c:
1138 * hildon/hildon-window.c:
1140 Remove redundant "represents" wording from most of the documentation.
1142 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1144 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1148 * hildon/Makefile.am
1149 * hildon/hildon-banner-private.h
1150 * hildon/hildon-banner.c:
1151 Move HildonBannerPrivate to hildon-banner.c and remove
1152 hildon-banner-private.h
1153 Use a bit field to store private booleans.
1155 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1157 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1158 Don't install a new idle function if there's already one
1163 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1165 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1166 (+legacy_menu_realized, +legacy_menu_unmapped)
1167 (+set_legacy_menu_type):
1168 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1169 they can be identified by the window manager.
1171 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1172 displayed in wrong location)
1174 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1177 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1179 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1181 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1182 use gtk-doc support)
1184 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1186 * hildon/hildon-code-dialog.c
1187 * hildon/hildon-date-editor.c
1188 * hildon/hildon-number-editor.c
1189 * hildon/hildon-seekbar.c
1190 * hildon/hildon-stackable-window.c
1191 * hildon/hildon-window.c:
1192 Misc documentation updates
1194 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1196 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1197 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1199 Fixes: NB#117931 (Theming issues in accounts dialogs)
1201 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1203 * hildon/hildon-pannable-area.c,
1204 (hildon_pannable_area_button_release_cb): Changed the coordinates
1205 of the original release in case we want to discard the release,
1206 some widgets in Fremantle do not handle the leave-notify.
1208 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1210 * hildon/hildon-pannable-area.c,
1211 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1212 the release using the last refactored functions and avoiding the
1213 movement if an element was selected.
1215 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1217 * hildon/hildon-pannable-area.c,
1218 (hildon_pannable_area_check_move),
1219 (hildon_pannable_area_handle_move),
1220 (hildon_pannable_area_motion_notify_cb): Refactored the
1221 motion_notify method using a couple of new functions.
1223 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1225 * hildon/hildon-date-selector.c:
1226 (hildon_date_selector_construct_ui):
1227 * hildon/hildon-time-selector.c:
1228 (hildon_time_selector_constructor):
1229 * hildon/hildon-touch-selector-entry.c:
1230 (hildon_touch_selector_entry_set_text_column),
1231 (hildon_touch_selector_entry_get_text_column):
1232 * hildon/hildon-touch-selector.c: (_default_print_func),
1233 (hildon_touch_selector_new_text): Use
1234 hildon_touch_selector_set/get_text_column() instead of
1235 setting/getting the "text-column" property.
1237 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1239 * doc/hildon-sections.txt: Add the new public methods below.
1241 * examples/hildon-picker-button-multicolumn-example.c:
1242 (create_touch_selector):
1243 * examples/hildon-touch-selector-example.c: (create_selector):
1244 * examples/hildon-touch-selector-multi-cells-example.c:
1246 Use hildon_touch_selector_column_set_text_column()
1248 * hildon/hildon-touch-selector-column.h:
1249 * hildon/hildon-touch-selector.c:
1250 (hildon_touch_selector_column_set_text_column),
1251 (hildon_touch_selector_column_get_text_column):
1252 Make hildon_touch_selector_column_set/get_column() public, use
1253 them in the inline example, document them, and reference to them
1256 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1258 * hildon/hildon-time-selector.c: Fix the docs for
1259 hildon_time_selector_new_step().
1261 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1263 * hildon/hildon-touch-selector.c: Improve the documentation for
1264 hildon_touch_selector_append_column().
1266 Fixes MB#4641 (Documentation:
1267 hildon_touch_selector_append_column() ref-counting)
1269 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1271 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1272 Comment out test 5, since the hildon_controlbar_set_range() range
1273 check is broken and fixing it would have side effects. Also,
1274 this finally fixes make distcheck.
1276 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1278 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1280 * tests/TEST-CASES.txt: Remove other bogus test.
1281 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1282 Remove bogus test that was setting/retrieving a valid value.
1284 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1286 * tests/TEST-CASES.txt: Remove bogus tests.
1287 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1288 Remove three bogus tests that were actually setting valid colors.
1290 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1292 * configure.ac: post release version bump
1293 * debian/changelog: post release version bump
1295 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1300 * configure.ac: Bump version.
1301 * debian/changelog: Updates.
1303 2009-06-08 Christian Dywan <christian@lanedo.com>
1307 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1308 Correct errors in hildon_format_file-size_for_display and use
1309 translations from the hildon-fm package instead of osso-filemanager.
1311 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1313 * hildon/hildon-pannable-area.c,
1314 (hildon_pannable_area_init): Initialized new values to handle the
1315 adjustment position.
1316 (hildon_pannable_area_adjust_value_changed): Check if the values
1317 changed before even call the redraw function.
1318 (hildon_pannable_area_size_allocate),
1319 (hildon_pannable_axis_scroll),
1320 (hildon_pannable_area_scroll),
1321 (hildon_pannable_area_jump_to): Improved the diagonal movement
1324 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1327 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1329 * examples/hildon-banner-example.c:
1330 Several style updates
1331 (on_animation_clicked, on_animation_idle)
1332 (on_progress_clicked, on_progress_idle):
1333 Add additional reference for the cases when the parent window is
1336 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1338 * doc/hildon-sections.txt
1339 * hildon/hildon-pannable-area.c
1340 * hildon/hildon-banner.h
1341 * hildon/hildon-banner.c: Documentation updates.
1343 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1346 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1348 * hildon/hildon-calendar-popup.h:
1349 * hildon/hildon-caption.h:
1350 * hildon/hildon-code-dialog.h:
1351 * hildon/hildon-controlbar.h:
1352 * hildon/hildon-date-editor.h:
1353 * hildon/hildon-dialog.h:
1354 * hildon/hildon-get-password-dialog.h:
1355 * hildon/hildon-hvolumebar.h:
1356 * hildon/hildon-login-dialog.h:
1357 * hildon/hildon-note.h:
1358 * hildon/hildon-number-editor.h:
1359 * hildon/hildon-range-editor.h:
1360 * hildon/hildon-seekbar.h:
1361 * hildon/hildon-set-password-dialog.h:
1362 * hildon/hildon-sort-dialog.h:
1363 * hildon/hildon-time-editor.h:
1364 * hildon/hildon-time-picker.h:
1365 * hildon/hildon-volumebar-range.h:
1366 * hildon/hildon-volumebar.h:
1367 * hildon/hildon-vvolumebar.h:
1368 * hildon/hildon-weekday-picker.h:
1369 * hildon/hildon-window.h:
1370 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1371 macros with the current replacements
1373 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1375 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1377 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1378 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1379 itself, to make it fit better with Fremantle style.
1381 Fixes: NB#109878 (height and width of focus on color icon is not
1382 consistent with other item in the application tool bar)
1384 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1386 * hildon/hildon-touch-selector.c:
1387 (hildon_touch_selector_optimal_size_request): use the current requisition
1388 as the base, in order to include any possible extra widget, like the
1389 hildon entry on HildonTouchSelectorEntry
1391 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1393 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1395 * configure.ac: post release version bump
1396 * debian/changelog: post release version bump
1398 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1403 * configure.ac: Bump version.
1404 * debian/changelog: Updates.
1406 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1408 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1410 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1411 to ensure the banner contents are centered, instead of relying on
1412 the expand and fill properties in GtkHBox.
1413 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1415 Fixes: NB#108265 (Animation banner not properly centered)
1417 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1419 * hildon/hildon-pannable-area.c
1420 (hildon_pannable_area_initial_effect): Remove the initial_effect
1421 management, check initial_hint
1422 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1423 set initial_effect to FALSE
1424 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1425 by launching the fade_timeout if the scrollbars state has changed and are
1427 * examples/hildon-pannable-area-initial-hint-example.c
1428 Modified to allow to remove rows too. Add and remove rows one by one.
1430 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1432 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1433 Don't close the menu if there's an animation actor below it.
1435 Fixes: NB#117927 (Application menu not usable with animation
1438 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1440 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1441 "focus-on-click" from the dialog button, to avoid stealing the
1442 focus from the entry.
1444 Fixes: NB#118903 (Account setup wizard: Text in Search field
1445 should be focused when "Region" touch list picker is reopened
1448 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1450 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1451 (prepare_action_area): Completely hide the dialog separator.
1453 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1455 * hildon/hildon-touch-selector-entry.c
1456 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1457 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1458 now that the entry is exposed.
1460 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1462 * hildon/hildon-touch-selector-entry.c
1463 (hildon_touch_selector_entry_init): Change the entry's size
1464 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1466 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1468 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1469 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1470 avoid unnecessary scaling.
1472 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1474 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1475 Create grab transfer window before calling parent's map function.
1477 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1478 "crushed" button(s) in the top left corner)
1480 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1482 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1483 Check if the window is already realized when pushing it.
1485 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1487 * configure.ac: post release version bump
1488 * debian/changelog: post release version bump
1490 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1495 * configure.ac: Bump version.
1496 * debian/changelog: Updates.
1498 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1500 * hildon/hildon-app-menu.c: Doc updates.
1502 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1504 * hildon/hildon-banner.c: Remove leftover macro.
1506 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1508 * hildon/hildon-pannable-area.c,
1509 (hildon_pannable_area_scroll_indicator_fade),
1510 (hildon_pannable_area_button_release_cb): Reviewed vmin
1511 conditions, it could cause problems in the fadeout procedure.
1513 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1515 * hildon/hildon-pannable-area.c
1516 (hildon_pannable_area_button_release_cb): Added a threshold to
1517 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1519 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1521 * hildon/hildon-pannable-area.c,
1522 (hildon_pannable_area_set_property): Added code to sync the gtk
1523 dnd threshold with the panning threshold.
1525 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1527 * hildon/hildon-pannable-area.c,
1528 (hildon_pannable_area_class_init): Changed some of the default
1529 values, now it should be less responsive and more accurate.
1531 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1533 * hildon/hildon-pannable-area.c,
1534 (hildon_pannable_area_init),
1535 (hildon_pannable_area_scroll_indicator_fade),
1536 (hildon_pannable_area_button_press_cb),
1537 (hildon_pannable_axis_scroll),
1538 (hildon_pannable_area_timeout),
1539 (hildon_pannable_area_motion_notify_cb),
1540 (hildon_pannable_area_button_release_cb): Changed the name of the
1541 clicked attribute to button_pressed, it is more clear about its use.
1543 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1545 * src/hildon-pannable-area.c
1546 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1548 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1549 vertical scrollbar visibility, and use the data on private section instead,
1550 remove the initial_hint check
1551 (hildon_pannable_area_expose_event): add the initial_hint check here
1553 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1555 * src/hildon-pannable-area.c
1556 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1557 if the fadeout effect was used
1558 (hildon_pannable_area_expose_event): check if it is required to
1559 manage the initial effect on the begining of the function. Previously
1560 it was made at the end, but this doesn't ensure that the scrollbars
1561 will be painted on the first show. Do not set to FALSE initial_effect,
1562 to ensure that the initial hint is showed the first time the pannable
1564 * examples/Makefile.am
1565 * examples/hildon-pannable-area-initial-hint-example.c:
1566 New example, to show that the initial-hint is showed when the widget
1569 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1570 initially if the application can be scrolled)
1572 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1574 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1575 Resize table before adding new items to make sure that
1576 gtk_table_resize() is called just once.
1578 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1580 * hildon/hildon-app-menu-private.h
1581 * hildon/hildon-app-menu.c (item_visibility_changed)
1582 (filter_visibility_changed, hildon_app_menu_show_all)
1583 (hildon_app_menu_hide_all, hildon_app_menu_init):
1584 Rearrange items just once when gtk_widget_show_all()/hide_all()
1587 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1589 * hildon/hildon-app-menu.c
1590 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1591 Don't call gtk_widget_show() on added items.
1593 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1594 automatically when they're added)
1596 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1598 * hildon/hildon-banner.c
1599 (hildon_banner_realize, +hildon_banner_unrealize)
1600 (+screen_size_changed, hildon_banner_class_init):
1601 Redisplay the banner if the screen is rotated.
1603 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1604 on transition from landscape to portrait)
1606 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1608 * hildon/hildon-banner.[ch]:
1609 (hildon_banner_show_information_override_dnd): remove icon_name from the
1610 method definition as it is ignored.
1611 * examples/hildon-banner-dnd-example.c: updated with the change on
1614 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1616 * hildon/hildon-banner-private.h: new require_override_dnd and
1617 overrides_dnd variables
1618 * hildon/hildon-banner.h:
1619 (hildon_banner_show_information_override_dnd): new method, that shows
1620 the information but sets the override flag, in order to show important
1622 * hildon/hildon-banner.c
1623 (hildon_banner_show_information_override_dnd): new method
1624 (hildon_banner_set_override_flag): new utility function
1625 (hildon_banner_real_show_information): new utility function, in order to
1626 generalize the current hildon_banner_show_information_override_dnd and
1627 hildon_banner_show_information_override_dnd
1628 * examples/Makefile.am
1629 * examples/hildon-banner-dnd-example.c: New example that show how to
1630 use the new hildon_banner_show_information_override_dnd
1632 Fixes: NB#114874 (There is no possibility to show hildon banners with
1635 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1637 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1638 behind hildon_pannable_calculate_vel_factor().
1640 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1642 * hildon/hildon-pannable-area.c
1643 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1644 deceleration factors.
1646 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1648 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1649 Reduce the default value for 'scroll_time' to 1 second, since the
1650 current initial scrolling takes too much time.
1652 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1654 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1655 calculate velocity factor during initialization, since the properties
1658 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1660 * hildon/hildon-pannable-area.c
1661 (hildon_pannable_area_set_property): Calculate the velocity factor
1662 after setting the deceleration property and not after.
1664 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1666 * hildon/hildon-entry.c
1667 (hildon_entry_class_init, +set_property, hildon_entry_new)
1668 * hildon/hildon-check-button.c
1669 (hildon_check_button_class_init)
1670 (+set_property, hildon_check_button_new):
1671 Make the theme size a property.
1673 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1674 others) do too much in the _new function)
1676 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1678 * configure.ac: post release version bump
1679 * debian/changelog: post release version bump
1681 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1686 * configure.ac: Bump version.
1687 * debian/changelog: Updates.
1689 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1691 * hildon/hildon-gtk.h
1692 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1693 New API function to take a screenshot of a window
1695 Fixes: NB#106374 (Need API to take a loading screenshot)
1697 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1699 * hildon/hildon-time-selector.c
1700 (update_format_policy): prevent to use hours and minutes unitialized
1702 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1704 * hildon/hildon-window.c (hildon_window_size_request):
1705 Always request the full size of the screen (minus the title bar if
1706 not in fullscreen mode).
1708 Fixes: NB#107486 (HildonWindow should size itself properly)
1710 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1712 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1713 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1714 (on_show_cb), (sound_handling): Disconnect the idle handler for
1715 the sound when the note is finalized to avoid possible crashes.
1717 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1720 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1722 * src/hildon-animation-actor.c,
1723 * src/hildon-remote-texture.c:
1724 Added proper object cleanup to remove signal handler and object
1725 references as HildonAnimationActor and HildonRemoteTexture
1726 objects get destroyed.
1728 Fixes: NB#116682 (Destroying parented animation actors when
1729 parent in unmapped leads to crash)
1731 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1733 Based on a patch by Christian Dywan (christian@imendio.com)
1735 * doc/hildon-sections.txt:
1736 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1737 * hildon/hildon-helper.h: New file size formatting method.
1739 * debian/control: Depend on osso-filemanager l10n package for
1740 proper localization strings.
1742 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1744 * tests/Makefile.am: Include top_srcdir to make possible to build
1745 tests in a different builddir.
1746 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1747 on a different builddir.
1749 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1751 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1752 (hildon_touch_selector_remove): Disconnect model's signal handler
1755 Fixes: NB#116289 (Hildon home crashes while adding task
1758 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1760 * hildon/hildon-button.c
1761 (hildon_button_set_title, hildon_button_set_value):
1762 Hide labels containing an empty string.
1764 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1766 * configure.ac: post release version bump
1767 * debian/changelog: post release version bump
1769 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1774 * configure.ac: Bump version.
1775 * debian/changelog: Updates.
1777 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1779 * hildon/hildon-note-private.h: Removed sound_signal_handler
1780 * hildon/hildon-note.c
1781 (on_show_cb): new callback on note "show" event, this simply adds
1782 a idle, with the function sound_handling
1783 (sound_handling): removed the sound_signal_handler management
1784 (hildon_note_init): connect note "show" event to on_show_cb
1785 (hildon_note_realize): remove the connection to "expose-event"
1787 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1788 device?' confirmation note)
1790 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1792 * hildon/hildon-note.c
1793 (hildon_note_new_information_with_icon_name)
1794 (hildon_note_new_confirmation_with_icon_name):
1795 Terminate the list of parameters in g_object_set() calls
1797 Fixes: NB#115166 (Formatting memory card is not taking place)
1799 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1801 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1802 "dialog-information" role for the sound being played.
1804 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1806 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1807 Don't make the menu a modal window, it causes strange interactions
1808 with the pointer grab and it's not really needed.
1810 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1812 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1814 * hildon/hildon-touch-selector.[ch]
1815 (hildon_touch_selector_optimal_size_request): function added to get a
1816 optimal size request from the touch selector, when you want a dialog to
1817 show as much of the selector
1818 * hildon/hildon-picker-dialog.c:
1819 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1820 (hildon_app_menu_class_init):
1821 New "max-height-landscape" and "max-height-portrait" style properties
1822 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1823 (hildon_picker_dialog_get_max_height): returns the maximum height using
1824 the style properties defined and checking the current portrait/landscape
1826 (_hildon_picker_dialog_set_selector): removed the set_size_request
1828 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1830 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1832 * hildon/hildon-bread-crumb-trail.c:
1833 * hildon/hildon-bread-crumb.c:
1834 * hildon/hildon-seekbar.c:
1835 Add reference to replacements for these deprecated widgets.
1837 Fixes: MB#4461 (Documentation: All deprecations should mention
1840 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1842 * examples/hildon-remote-texture-example.c
1844 Change the include to the hildon-remote-texture in order to compile
1845 properly the examples on the installed libhildon1-examples package
1847 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1849 * tests/Makefile.am: Add check for HildonPickerButton.
1850 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1851 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1852 checks for the HildonPickerButton.
1853 * tests/check_test.c (configure_tests): Add the test suite.
1854 * tests/test_suites.h: likewise.
1856 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1858 * hildon/hildon-touch-selector.c
1859 (+on_row_changed): Emit HildonTouchSelector:changed when the
1860 contents of a selected row change.
1861 (_create_new_column), (_hildon_touch_selector_set_model): connect
1862 to GtkTreeModel:row-changed on a newly set model.
1864 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1866 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1868 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1870 * hildon/hildon-banner.c (hildon_banner_destroy)
1871 (hildon_banner_show_progress, hildon_banner_set_fraction):
1872 Remove the progress bar from HildonBanner and use a progress
1875 Fixes: NB#113761 (Update progress banner to use progress
1878 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1880 * hildon/hildon-banner.c:
1881 Calculate size of the banner label using the actual screen width
1882 rather than using a fixed value.
1884 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1887 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1889 * hildon/hildon-pannable-area.c,
1890 (hildon_pannable_area_class_init): Fixed signals documentation
1893 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1895 * configure.ac: post release version bump
1896 * debian/changelog: post release version bump
1898 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1903 * configure.ac: Bump version.
1904 * debian/changelog: Updates.
1906 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1908 * hildon/hildon-edit-toolbar.c
1909 (hildon_edit_toolbar_init):
1910 Don't let buttons in HildonEditToolbar receive focus.
1912 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1913 typing on an HW arrows key)
1915 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1917 * doc/Makefile.am: Fix build.
1919 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1921 * doc/Makefile.am: Do not redefine content_files.
1923 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1931 Renamed src/ to hildon/
1936 Include <hildon/hildon.h> directly in all examples.
1938 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1940 * src/hildon-sort-dialog.c
1941 (hildon_sort_dialog_add_sort_key_with_sorting)
1945 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1948 make distcheck passes.
1950 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1952 * Makefile.am: Enable gtk-doc during distcheck.
1954 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1956 * Makefile.am: Do not distribute the debian/ directory.
1958 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1960 * doc/Makefile.am: Add the extra SGML files to content_files,
1961 so that they are distributed properly.
1963 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1965 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1968 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1970 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1971 (hildon_note_new_information_with_icon_name): Set the "icon" property
1972 to preserve soundness.
1974 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1976 * src/hildon-font-selection-dialog.c
1977 (hildon_font_selection_dialog_set_property): Fail when the "family"
1978 property is set to NULL.
1980 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1982 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1985 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1987 * src/hildon-time-selector.h:
1988 Added HildonTimeSelectorFormatPolicy
1989 * src/hildon-time-selector.c:
1990 Added PROP_TIME_FORMAT_POLICY
1991 (_check_ampm_format): renamed to check_automatic_ampm_format
1992 (update_format_policy), (update_format_dependant_columns): new functions
1993 (hildon_time_selector_class_init)
1994 (hildon_time_selector_contructor)
1995 (hildon_time_selector_init)
1996 (hildon_time_selector_get_property)
1997 (hildon_time_selector_set_property)
1998 (hildon_time_selector_get_time)
1999 (hildon_time_selector_set_time)
2000 * src/hildon-touch-selector.h: new file
2001 * src/hildon-touch-selector.c
2002 (hildon_touch_selector_emit_changed)
2003 (hildon_touch_selector_block_changed)
2004 (hildon_touch_selector_unblock_changed)
2005 Added functions to allow to block the emission of the "changed" signal
2006 * src/hildon-picker-dialog.c
2007 (hildon_picker_dialog_show): call the parent show before the custom code
2008 * examples/hildon-time-button-example.c
2009 Modified, so now you can configure the time format using the new property
2011 Added a new property "time-format-policy" that allow to choose the time
2012 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
2013 case it uses gconf in order to check if the time selector must use
2016 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
2019 2009-04-28 Alberto Garcia <agarcia@igalia.com>
2021 * src/hildon-note.c (hildon_note_init):
2022 Label in HildonNote must be left aligned, not centered. This
2023 reverts the last commit in HildonNote.
2025 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2026 is connectivity dialog)
2028 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2033 * doc/hildon-sections.txt:
2034 Added hildon_gtk_window_set_do_not_disturb()
2036 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2038 * src/hildon-note.c (hildon_note_init): Center label.
2040 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2043 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2048 * configure.ac: Bump version.
2049 * debian/changelog: Updates.
2051 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-note-private.h: Add button-width to the private data.
2054 * src/hildon-note.c (+resize_button),
2055 (+hildon_note_orientation_update): methods to repack widgets on orientation
2057 (screen_size_changed): Call above method for confirmation notes.
2058 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2059 (hildon_note_rebuild): Store the original width request from buttons.
2061 Fixes: NB#109635 (Confirmation notes do not support portrait)
2063 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2065 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2066 when it is a progress note.
2068 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2070 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2071 in the note, since there are no horizontally arranged contents.
2073 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2075 * src/hildon-gtk.c (+set_flag): new generic method to
2076 set/delay a flag setting in a window.
2077 (hildon_gtk_window_set_progress_indicator):
2078 (hildon_gtk_window_set_do_not_disturb),
2079 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2080 avoid code redundance.
2082 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2084 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2086 * src/hildon-gtk.c (set_clear_window_flag),
2087 (do_set_progress_indicator), (do_set_do_not_disturb),
2088 (do_set_portrait_flags),
2089 (hildon_gtk_window_set_progress_indicator),
2090 (hildon_gtk_window_set_do_not_disturb),
2091 (hildon_gtk_window_set_portrait_flags):
2092 Allow setting dnd-flag, progress indicator, and portrait flags
2093 when the window is not realized.
2095 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2097 * src/hildon-pannable-area.c,
2098 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2099 the size request policy function and defines.
2101 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2103 * doc/hildon-sections.txt: Add the new API.
2104 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2105 method to set the portrait flags.
2106 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2108 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2110 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2113 to allow using this method with other flags.
2114 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2115 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2117 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2119 * src/hildon-touch-selector.c
2120 (hildon_touch_selector_append_text_column):
2121 Make the cell renderer use the smallest width possible.
2123 Fixes: NB#108470 (Selected items in multiple selection are either
2124 having a tick that is cut or not visible at all.)
2126 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2128 * src/hildon-touch-selector.c
2129 (hildon_touch_selector_append_text_column):
2132 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2134 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2135 Use g_strdup_printf() instead of a fixed size buffer.
2137 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2140 Close banners when a HildonAppMenu is popped up.
2142 Fixes: NB#111027 (Title menu closed immediately if activated when
2143 "Invalid e-mail address" banner is shown)
2145 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2150 * configure.ac: Bump version.
2151 * debian/changelog: Updates.
2153 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2155 * src/hildon-banner.c (hildon_banner_realize):
2156 Mark HildonBanner as supporting portrait mode.
2157 Use GDK to set window properties insetad of direct Xlib calls.
2159 Fixes: NB#111830 (HildonBanner should be marked as supporting
2162 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2164 * src/hildon-note.c (hildon_note_rebuild):
2165 Hide action area in information notes. Prevents text from being
2166 slightly aligned to the left.
2168 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2171 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2173 Patch by Mox Soini (ext-mox.soini@nokia.com)
2175 * src/hildon-banner.c (hildon_banner_create_animation):
2176 Use stylus-sized icons in animation banner.
2178 Fixes: NB#111206 (stylus sized icon for animation banner)
2180 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2184 (+hildon_gtk_window_set_do_not_disturb):
2185 New API to set the do-not-disturb flag.
2187 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2189 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2191 * examples/hildon-progress-indicator-example.c: Fix example
2193 * src/hildon-gtk.c (set_clear_window_flag)
2194 (hildon_gtk_window_set_progress_indicator):
2195 Create a generic function for setting flags to a window.
2196 Use GDK instead of direct Xlib calls.
2198 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-button.c (hildon_button_set_arrangement):
2201 Due to NB#88126, if one of the labels is too long it will be
2202 painted outside the button. The 'value' label is more likely to be
2203 the longest one, so we change its packing options in order to
2204 truncate it if necessary. As a side effect, the 'title' label will
2205 no longer be truncated.
2207 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2209 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2214 * configure.ac: Bump version.
2215 * debian/changelog: Updates.
2217 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2219 Deprecation of the hildon_pannable_area_set_size_request_policy
2220 API, the only policy properly supported in gtk+ nowadays is the
2223 * src/hildon-pannable-area.c,
2224 (hildon_pannable_area_size_request): Added a workaround for the
2225 size_request to avoid the problems of huge pixmaps in case someone
2226 is still using the function.
2227 * src/hildon-pannable-area.h: Deprecated the enum with the
2230 Fixes: NB#110244 (Problems with the
2231 hildon_pannable_area_set_size_request_policy API)
2233 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2235 * src/hildon-pannable-area.c,
2236 (hildon_pannable_area_init),
2237 (hildon_pannable_area_size_request),
2238 (hildon_pannable_area_style_set),
2239 (hildon_pannable_draw_vscroll),
2240 (hildon_pannable_draw_hscroll),
2241 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2242 indicator_width to clarify the use of the attribute.
2244 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2249 * configure.ac: Bump version.
2250 * debian/changelog: Updates.
2252 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2254 * src/hildon-picker-dialog.c
2255 * src/hildon-touch-selector.c
2256 Reverting the change that tried to avoid the hardcoded height on
2257 the picker dialog, as causes problems on the hildon-touch-selector
2260 Fixes: NB#110029 (selectors not scrolling to selected value)
2262 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2264 * src/hildon-touch-selector.c: Fix typos
2266 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2268 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2269 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2270 request more motions after using it.
2272 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2274 * src/hildon-calendar.c (hildon_calendar_expose),
2275 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2276 Remove unused variables.
2278 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2280 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2281 variable assignment.
2283 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2286 Check the return value of gtk_tree_selection_get_selected()
2289 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2291 * src/hildon-animation-actor.c
2292 * src/hildon-button.c
2294 * src/hildon-pannable-area.c
2295 * src/hildon-picker-button.c
2296 * src/hildon-program.c
2297 * src/hildon-remote-texture.c
2298 * src/hildon-text-view.c
2299 * src/hildon-touch-selector.c
2300 * src/hildon-window-stack.c
2301 * src/hildon-window.c:
2302 Add missing 'Since: 2.2' tags.
2304 * doc/hildon-sections.txt:
2305 Add some missing symbols.
2307 * doc/hildon-docs.sgml:
2308 New 'Other' section for HildonAnimationActor and
2311 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2313 Patch by Iván Gómez (igomez@igalia.com)
2316 * doc/compiling.sgml
2317 * doc/hildon-docs.sgml
2318 * doc/hildon-sections.txt
2319 * doc/migration.sgml
2320 * doc/resources.sgml
2322 New chapters on using the Hildon library.
2323 Updated the general structure of the reference manual.
2324 Other minor documentation fixes.
2326 * src/hildon-calendar-popup.c
2327 * src/hildon-calendar.c
2328 * src/hildon-controlbar.c
2329 * src/hildon-date-editor.c
2330 * src/hildon-dialog.c
2331 * src/hildon-hvolumebar.c
2332 * src/hildon-number-editor.c
2333 * src/hildon-range-editor.c
2334 * src/hildon-sort-dialog.c
2335 * src/hildon-time-editor.c
2336 * src/hildon-time-picker.c
2337 * src/hildon-volumebar-range.c
2338 * src/hildon-volumebar.c
2339 * src/hildon-vvolumebar.c
2340 * src/hildon-weekday-picker.c:
2341 Add deprecation notes
2343 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2344 Document 'horizontal-movement' and 'vertical-movement' signals.
2346 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2351 * configure.ac: Bump version.
2352 * debian/changelog: Updates.
2354 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2356 * src/hildon-pannable-area.c,
2357 (hildon_pannable_area_class_init): increased the minimum velocity.
2358 (hildon_pannable_area_button_release_cb): Updated the
2359 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2360 setup. Review the code to control that last event.
2362 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2365 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2367 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2369 * src/hildon-get-password-dialog.c
2370 (hildon_get_password_set_property),
2371 (hildon_get_password_get_property), (create_contents):
2372 * src/hildon-login-dialog-private.h:
2373 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2374 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2375 (hildon_login_dialog_get_password):
2376 * src/hildon-set-password-dialog-private.h:
2377 * src/hildon-set-password-dialog.c
2378 (hildon_set_password_set_property),
2379 (hildon_set_password_get_property), (create_contents),
2380 (hildon_set_password_response_change),
2381 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2383 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2384 instead and look more Fremantle style.
2386 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2388 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2390 * doc/hildon-sections.txt
2391 * src/hildon-window-stack.h
2392 * src/hildon-window-stack.c
2393 (+hildon_window_stack_get_windows):
2394 New API to obtain the list of windows on a stack.
2396 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2398 * src/hildon-app-menu.c (hildon_app_menu_popup)
2399 (hildon_app_menu_class_init, -hildon_app_menu_show):
2400 Remove hildon_app_menu_show() and move all its checks to
2401 hildon_app_menu_popup()
2403 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2405 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2406 (_hildon_picker_dialog_set_selector): removed call to
2407 gtk_widget_set_size_request
2408 * src/hildon-touch-selector.c
2409 (_create_new_column): change the pannable size request policy
2411 Avoid to use a hardcoded height for the hildon picker dialog. In order
2412 to get that, we needed to change the hildon pannable size request
2414 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2416 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2419 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2422 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2424 * debian/control: Depend on osso-system-lock localization package.
2425 * src/hildon-code-dialog.c: Obtain the secu_application_title
2426 translation from osso-system-lock.
2427 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2428 for translation the atk related strings, that's not necessary.
2429 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2430 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2431 cancel button, it is not required.
2433 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2435 * src/hildon-pannable-area.c,
2436 (hildon_pannable_area_class_init): Modified the default value of
2437 the overshooting max speed, we have reduced it.
2439 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2441 * doc/hildon-sections.txt
2442 * src/hildon-window-private.h
2443 * src/hildon-window.h
2444 * src/hildon-window.c (hildon_window_class_init)
2445 (hildon_window_init, hildon_window_finalize)
2446 (hildon_window_realize, hildon_window_get_property)
2447 (hildon_window_set_property, hildon_window_update_markup)
2448 (hildon_window_get_markup, hildon_window_set_markup):
2449 New "markup" property and hildon_window_{get,set}_markup() methods.
2451 * examples/hildon-stackable-window-example.c (new_window):
2452 Update example to use hildon_window_set_markup()
2454 Fixes: NB#106375 (Need API to retitle a window with a title
2457 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2459 * src/hildon-pannable-area.c,
2460 (hildon_pannable_area_class_init): Changed the default value of
2461 the initial_hint to TRUE.
2462 (hildon_pannable_area_initial_effect): Changed the initial effect,
2463 not the effect is just the fade-out of the scrollbars.
2465 Fixes: NB#107775 (No scrollbars can be seen when several items are
2466 available in a dialog)
2468 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2470 * src/hildon-program.c (hildon_program_update_top_most):
2473 Fixes: NB#109179 (Memory leak in Hildon program)
2475 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2477 * src/hildon-banner.c (-get_current_app_window):
2478 Remove unused function.
2480 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2482 * src/hildon-pannable-area.c: Modified the documentation of the
2483 get adjustments functions to explain the problem of using the
2484 adjustment directly.
2485 (hildon_pannable_area_class_init): Improved the explanation about
2488 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-app-menu-private.h
2491 * src/hildon-app-menu.c
2492 (hildon_app_menu_class_init):
2493 Bring back the 'external-border' style property
2494 (hildon_app_menu_class_init, hildon_app_menu_init)
2495 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2496 Set a fixed width-request for the menu, independent of the number
2499 Fixes: NB#94957 (Smoothly opened application menu)
2501 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2505 * src/hildon-banner.c
2506 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2508 Make sure that the banner is correctly placed the first time it's
2510 (hildon_banner_check_position, -check_fullscreen_state):
2511 Show the banner in the same place no matter if the window is in
2512 fullscreen mode or not.
2514 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2516 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-touch-selector.c (_default_print_func): reorder
2519 concatenation for clarity.
2521 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2523 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2524 for multicolumn selectors.
2526 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2528 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2533 * configure.ac: Bump version.
2534 * debian/changelog: Updates.
2536 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2541 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2543 * configure.ac: removed libcangerra-gtk dependency
2544 * debian/control: removed libcanberra-gtk dependency
2545 * src/Makefile.am: removed libcanberra gtk related flags
2546 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2547 context, and manage a global canberra context instead
2549 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2551 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2553 Patch by Daniel Borgmann (danielb@openismus.com)
2555 * src/hildon-edit-toolbar.c:
2556 Adjust the left padding.
2557 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2558 Paint background of the edit toolbar.
2560 Fixes: NB#107897 (Patch to make editmodetoolbar background
2561 themeable and adjust margin)
2563 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2565 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2567 * src/hildon-program.c (hildon_program_update_top_most):
2568 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2570 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2571 change when the user tasks in/out of an application)
2573 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2575 * configure.ac: added libcangerra-gtk dependency
2576 * debian/control: added libcanberra-gtk dependency
2577 * src/Makefile.am: added libcanberra gtk related flags
2578 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2581 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2583 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2585 * src/hildon-program.c (hildon_program_remove_window)
2586 (hildon_program_add_window): Add checks for the window
2587 parameter. Don't decrease the window counter if the window is not
2590 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2592 * src/hildon-pannable-area.c,
2593 (hildon_pannable_area_realize): Fixed position of the event_window
2594 in the realize method.
2596 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-app-menu-private.h
2599 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2600 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2601 (hildon_app_menu_key_press, hildon_app_menu_init)
2602 (hildon_app_menu_finalize):
2603 Make sure that all idle functions are removed when the widget is
2606 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2608 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2613 * configure.ac: Bump version.
2614 * debian/changelog: Updates.
2616 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2618 * src/hildon-entry.c
2619 (+hildon_entry_show_placeholder),
2620 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2621 that replace hildon_entry_update_contents().
2622 (hildon_entry_set_text),
2623 (hildon_entry_set_placeholder),
2624 (hildon_entry_focus_in_event),
2625 (hildon_entry_focus_out_event): Determine when it is needed
2626 either to show or hide the placeholder and call the above methods.
2628 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2629 when the placeholder text is already set)
2631 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2634 simple GdkPixbufAnim using the new icons for the banner.
2635 (hildon_banner_show_animation): Use the above mentioned method to
2636 create the animation widget.
2638 Fixes: NB#103564 (Make hildon animation banner use individual
2639 image files as the animation)
2641 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2643 * src/hildon-pannable-area.c,
2644 (hildon_pannable_leave_notify_event): Check if the child is NULL
2645 to avoid sending the leave.
2647 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2649 * src/hildon-pannable-area.c,
2650 (hildon_pannable_area_class_init),
2651 (hildon_pannable_leave_notify_event): Added a handler of the
2652 leave-notify-signal to consider when no motion notify before
2655 Fixes: NB#107494 (Items stay selected when clicking and moving
2656 away when inside pannable area)
2658 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2663 * configure.ac: Bump version.
2664 * debian/changelog: Updates.
2666 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2668 Patch by Alberto Garcia (agarcia@igalia.com)
2670 * src/hildon-date-button.c,
2671 (hildon_date_button_class_init),
2672 (hildon_date_button_init): Removed the construct property handling
2673 and created a default selector in the init method.
2674 * src/hildon-picker-button.c,
2675 (hildon_picker_button_class_init): Removed the construct flag of the
2678 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2680 * src/hildon-main.c (hildon_init):
2681 Don't allow hildon_init() to be called more than once.
2683 Fixes: NB#106607 (hildon_init should issue error message upon
2686 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2688 * examples/hildon-pannable-area-touch-list-example.c
2689 * examples/hildon-pannagle-area-touch-grid-example.c
2690 * examples/hildon-edit-toolbar-example.c
2691 * examples/hildon-touch-selector-multi-cells-example.c
2692 Removed the call to gtk_rc_parse_string, as it is not required since
2695 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2697 * src/hildon-pannable-area.c,
2698 (hildon_pannable_area_class_init): Modified the default panning
2699 threshold of the widget to 6px.
2701 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2702 than the threshold value ) within the button is not sending the
2705 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2708 for the treeview in the new column. This way, the touch list will never
2711 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2712 be selected manually for the HW keys to work)
2714 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2716 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2717 comparison instead of using strcmp(). Fixes a compiler warning as well.
2719 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2721 * doc/hildon-docs.sgml: Do not set the library version in the
2722 document title, use the releaseinfo tag for that purpose instead.
2724 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2726 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2727 Do not jump to the first item if the text in the entry is removed.
2729 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2734 * configure.ac: Bump version.
2735 * debian/changelog: Updates.
2737 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2739 * src/hildon-entry.c (hildon_entry_refresh_contents):
2740 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2741 Use "ReversedSecondaryTextColor" for the placeholder text.
2743 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2745 * src/hildon-text-view.c: Fix compilation warning.
2747 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2749 * src/hildon-button.c (hildon_button_class_init): Don't make
2750 "title" and "value" construction properties, to prevent them from
2751 overwriting labels set from derived classes.
2753 * src/hildon-picker-button.c
2754 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2755 (hildon_picker_button_class_init): Make touch-selector a
2756 construction property.
2758 * src/hildon-date-button.c (hildon_date_button_class_init)
2759 (+hildon_date_button_constructed): Add a default date selector if
2762 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2764 * src/hildon-touch-selector.c: Small documentation fixes.
2766 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2768 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2770 * src/hildon-entry.c (hildon_entry_refresh_contents),
2771 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2772 widget name, set the logical color directly instead and a boolean
2773 showing_placeholder instead.
2774 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2775 use the widget name here either.
2777 Fixes: NB#105678 (HildonTextView should use logical colours
2778 instead of setting widget name)
2780 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2782 Patch by Daniel Elster (danielk@openismus.com)
2784 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2785 Add user_data parameter.
2786 (hildon_touch_selector_set_print_func_full): New function akin
2787 hildon_touch_selector_set_print_func() but with support for user
2788 data and a destroy callback.
2789 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2790 to clean up the print function user data.
2791 (hildon_touch_selector_class_init): Install dispose function.
2792 (HildonTouchSelectorPrivate::print_user_data),
2793 (HildonTouchSelectorPrivate::print_destroy_func): New private
2795 (hildon_touch_selector_init): Initialize new private members.
2796 (hildon_touch_selector_get_current_text): Pass along user data
2797 to the print function.
2798 (_default_print_func): Add dummy user_data to parameter list.
2799 * hildon-date-selector.c (_custom_print_func): ditto,
2800 * hildon-time-selector.c (_custom_print_func): ditto,
2801 * hildon-touch-selector-entry.c
2802 (hildon_touch_selector_entry_print_func): ditto.
2804 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2806 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2808 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2810 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2812 * src/hildon-pannable-area.c,
2813 (hildon_pannable_area_init),
2814 (hildon_pannable_area_button_press_cb),
2815 (hildon_pannable_area_motion_notify_cb): We have added code to
2816 handle the leave and enter events when using the motion events.
2818 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2820 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-date-button.c (hildon_date_button_get_date)
2823 (hildon_date_button_set_date): Make sure that the button has a
2826 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2828 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2830 * src/hildon-pannable-area.c,
2831 (hildon_pannable_area_class_init),
2832 (hildon_pannable_area_calculate_velocity): Modify the use of the
2833 force and adapt the value.
2835 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2838 (hildon_app_menu_class_init): Hide the menu if it receives a
2839 delete-event, but don't destroy it
2841 Fixes: NB#104485 (Not able to address the call when application
2842 menu is opened at background)
2844 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2846 * src/hildon-app-menu.c
2847 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2848 Remove the "external-border" style property, let the menu take its
2849 natural size (or the one set by the window manager)
2850 (hildon_app_menu_repack_items):
2851 Don't reshow the menu, avoid flickers.
2853 Partially fixes NB#94957 (Smoothly opened application menu)
2855 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2860 * configure.ac: Bump version.
2861 * debian/changelog: Updates.
2863 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2865 * src/hildon-pannable-area.c,
2866 (hildon_pannable_area_motion_notify_cb): We control that the
2867 direction error margin is used just in case the movement is
2868 allowed in the other direction.
2870 Fixes: NB#105012 (buttons inside a pannable area not getting
2871 release event when dragging/releasing)
2873 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2875 * src/hildon-pannable-area.c,
2876 (hildon_pannable_area_class_init),
2877 (hildon_pannable_area_get_property),
2878 (hildon_pannable_area_set_property),
2879 (hildon_pannable_area_initial_effect),
2880 (hildon_pannable_axis_scroll),
2881 (hildon_pannable_area_button_release_cb): Reviewed the
2882 overshooting effect, now it has its own max
2883 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2884 speed when bouncing.
2886 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2891 * configure.ac: Bump version.
2892 * debian/changelog: Updates.
2894 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2896 * src/hildon-pannable-area.c,
2897 (hildon_pannable_area_class_init): Changed the max speed, now
2898 users can launch the widget very fast. Reduced the default force,
2899 that way it is easier to control the launch speed.
2901 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2903 * src/hildon-pannable-area.c,
2904 (hildon_pannable_area_button_release_cb): Removed this check
2905 because it causes problems when the device is overloaded.
2907 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2909 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2910 add a current_text field to store the text entered in the
2911 touch selector entry.
2912 (_clean_current_selection): clean up the current text as well.
2913 (_save_current_selection), (_restore_current_selection):
2914 Save/restore the text in the entry if the selector is a
2915 HildonTouchSelectorEntry.
2917 Fixes: NB#102541 (value entered in the touch selector entry is not
2918 shown when opened for second time)
2920 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2922 * doc/hildon-sections.txt:
2923 * src/hildon-touch-selector-entry.c
2924 (+hildon_touch_selector_entry_get_entry):
2925 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2927 Fixes: NB#104815 (I need accessor to the entry inside
2928 HildonTouchSelectorEntry)
2930 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2932 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2933 (hildon_app_menu_class_init):
2934 New "filter-vertical-spacing" style property.
2936 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-find-toolbar.c
2939 (hildon_find_toolbar_emit_close)
2940 (hildon_find_toolbar_emit_invalid_input)
2941 (hildon_find_toolbar_entry_activate):
2942 Use g_signal_emit() instead of g_signal_emit_by_name()
2944 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2946 Patch by Mox Soini (ext-mox.soini@nokia.com)
2948 * tests/TEST-CASES.txt
2949 * tests/check-hildon-banner.c
2950 * tests/check-hildon-note.c
2951 * src/hildon-banner.c
2952 * src/hildon-code-dialog.c
2953 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2954 * src/hildon-time-editor.c
2955 * examples/hildon-lookup-example.c (main):
2956 Replace obsolete icon names with new ones.
2958 * src/hildon-find-toolbar-private.h:
2959 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2960 (-hildon_find_toolbar_emit_search):
2961 Remove find button and change icon of close button.
2963 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2965 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2967 * src/hildon-time-button.c (hildon_time_button_new_step):
2968 Use the "touch-selector" property to set the selector directly
2969 when creating the object.
2971 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2973 Added a new example application that allows tuning the pannable
2974 area and replaced defines with properties in order to simplify the
2975 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2976 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2977 PROP_DIRECTION_ERROR_MARGIN.
2979 * examples/hildon-pannable-area-tuning-example.c: New example
2981 * src/hildon-pannable-area.c,
2982 (hildon_pannable_area_class_init),
2983 (hildon_pannable_area_init),
2984 (hildon_pannable_area_get_property),
2985 (hildon_pannable_area_set_property),
2986 (hildon_pannable_area_launch_fade_timeout),
2987 (hildon_pannable_area_adjust_value_changed),
2988 (hildon_pannable_axis_scroll),
2989 (hildon_pannable_area_motion_notify_cb),
2990 (hildon_pannable_area_scroll_cb),
2991 (hildon_pannable_area_button_release_cb): We have converted some
2992 of the defines that control the widget to properties to simplify
2995 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2997 * src/hildon-app-menu.c (hildon_app_menu_map)
2998 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2999 so it's closed if a new window appears.
3001 Fixes: NB#104485 (Not able to address the call when application
3002 menu is opened at background)
3004 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3006 * src/hildon-color-button.c (hildon_color_button_get_property):Add
3007 missing 'break' statement in in 'case' construct to avoid
3010 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3012 * src/hildon-touch-selector-entry.c
3013 (hildon_touch_selector_entry_get_property),
3014 (hildon_touch_selector_entry_set_property): Add missing 'break'
3015 statements in in 'case' constructs to avoid incorrect warnings.
3017 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3019 * src/hildon-time-editor.c
3020 (hildon_time_editor_get_time_separators): Do not crash if
3021 the first label is NULL.
3023 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3025 * src/hildon-date-selector.c (_month_days): Check for month to be
3026 strictly less than 12, since otherwise we may overrun the array.
3028 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3030 * src/hildon-date-button.c (+hildon_date_button_new_full)
3031 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3032 (hildon_date_button_init): Set the date selector using a
3033 construction property, to make it happen after HildonButton's
3034 "value" property is set.
3036 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3037 current date by default)
3039 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3041 * doc/hildon-sections.txt
3042 * src/hildon-program.c
3043 * src/hildon-stackable-window.c
3044 * src/hildon-window.c:
3045 Documentation updates
3047 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3050 (hildon_window_stack_new, +hildon_window_stack_set_property)
3051 (+hildon_window_stack_get_property)
3052 (hildon_window_stack_class_init)
3053 (+hildon_window_stack_set_window_group)
3054 (+hildon_window_stack_get_window_group):
3055 Make the window group a construction property.
3057 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3059 * doc/hildon-sections.txt
3060 * src/hildon-stackable-window-private.h
3061 * src/hildon-stackable-window.h
3062 * src/hildon-stackable-window.c
3063 (-hildon_stackable_window_set_app_menu)
3064 (-hildon_stackable_window_get_app_menu)
3065 (-hildon_stackable_window_toggle_menu)
3066 (-hildon_stackable_window_finalize)
3067 (hildon_stackable_window_class_init)
3068 (hildon_stackable_window_init)
3069 * src/hildon-window-private.h
3070 * src/hildon-window.h
3071 * src/hildon-window.c (hildon_window_init)
3072 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3073 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3074 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3075 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3076 Moved all HildonAppMenu code to HildonWindow. The menu does not
3077 require a HildonStackableWindow anymore.
3079 * src/hildon-app-menu.c
3080 * src/hildon-program.c
3081 * examples/hildon-app-menu-example.c (main):
3082 Update examples and documentation to reflect HildonAppMenu
3085 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3087 * src/hildon-remote-texture.c
3088 * src/hildon-animation-actor.c:
3089 Don't include unused private headers.
3091 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3093 * src/hildon-program-private.h
3094 * src/hildon-program.c
3095 (hildon_program_set_common_menu)
3096 (hildon_program_get_common_menu)
3097 (hildon_program_set_common_app_menu)
3098 (hildon_program_get_common_app_menu):
3099 Change common menu pointers from GtkWidget* to GtkMenu* and
3100 HildonAppMenu* to avoid unnecessary casts.
3102 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3104 * src/hildon-window.c (hildon_window_set_main_menu):
3105 Removed incorrect 'Since:' tag
3107 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3109 * src/hildon-pannable-area.c,
3110 (hildon_pannable_area_calculate_velocity): We use now the
3111 RATIO_TOLERANCE here to check the distance, fixed typo in the
3113 (hildon_pannable_area_motion_notify_cb): We have to set the type
3114 and time even if we are not sending the motion.
3116 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3118 * doc/hildon-sections.txt
3119 * src/hildon-app-menu.h
3120 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3121 (+hildon_app_menu_get_filters): New methods to get the contents of
3124 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3127 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3129 * src/hildon-app-menu.c (hildon_app_menu_popup):
3132 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3134 * src/hildon-window.h
3135 * src/hildon-window.c (+hildon_window_get_main_menu)
3136 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3137 and deprecated hildon_window_get_menu().
3139 * src/hildon-stackable-window.h
3140 * src/hildon-stackable-window.c
3141 (+hildon_stackable_window_set_app_menu)
3142 (+hildon_stackable_window_get_app_menu)
3143 (hildon_stackable_window_set_main_menu): Created
3144 hildon_stackable_window_{get,set}_app_menu() and deprecated
3145 hildon_stackable_window_set_main_menu().
3147 * doc/hildon-sections.txt
3148 * examples/hildon-app-menu-example.c (main)
3149 * src/hildon-app-menu.c
3150 * src/hildon-program.c:
3151 Updated examples and documentation.
3153 Fixes: NB#103758 (No way to obtain a menu from a
3154 HildonStackableWindow)
3156 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3161 * configure.ac: Bump version.
3162 * debian/changelog: Updates.
3164 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3166 * examples/hildon-remote-texture-example.c: Include
3167 hildon-remote-texture.h explicitely.
3168 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3169 applications not defining _XOPEN_SOURCE which don't require this header.
3171 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3173 * doc/hildon-sections.txt
3174 * src/hildon-app-menu.h
3175 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3176 New function to pop up a HildonAppMenu
3178 * src/hildon-stackable-window.c
3179 (hildon_stackable_window_toggle_menu):
3180 Use hildon_app_menu_popup() to show the menu.
3182 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-app-menu.c (hildon_app_menu_show)
3185 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3186 menu if there's another window between it and its parent window.
3188 Fixes: NB#100468 (Application menu window is launched even when a
3189 new secondary-window/dialog is pending to be shown/realized)
3191 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-window-stack.c (hildon_window_stack_push)
3194 (hildon_window_stack_pop_and_push):
3195 Don't forget to push/pop the first window.
3196 Reverse the window list before calling _push_list()
3198 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3200 * src/hildon-picker-button.h
3201 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3202 Remove "value_changed" slot to avoid ABI breakage
3204 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3206 * src/hildon-pannable-area.c,
3207 (hildon_pannable_area_realize),
3208 (hildon_pannable_area_unrealize),
3209 (hildon_pannable_draw_vscroll),
3210 (hildon_pannable_draw_hscroll): Changed the method to handle the
3211 GC used to draw the transparent scrollbar, this way we avoid
3212 creating the GC all the time when drawing the scrollbars.
3214 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3216 * src/hildon-pannable-area.c,
3217 (hildon_pannable_area_init),
3218 (hildon_pannable_area_remove): Removed some unnecessary casts.
3219 (hildon_pannable_area_dispose): Disconnected some signals before
3220 releasing the adjustments.
3222 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3224 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3225 Make sure that all widgets contained in the toolbar are shown.
3227 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3229 * doc/hildon-sections.txt
3230 * src/hildon-picker-button.h
3231 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3232 (_selection_changed, hildon_picker_button_on_dialog_response)
3233 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3234 New hildon_picker_button_value_changed() method.
3237 * src/hildon-picker-button-private.h
3238 * src/hildon-picker-button.c (hildon_picker_button_init)
3239 (+hildon_picker_button_disable_value_changed): Add protected
3240 function for disabling the "value-changed" signal.
3242 * src/hildon-date-button.c (hildon_date_button_set_date):
3243 Don't emit "value-changed" for each one of the three columns.
3245 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3246 before actual change of values)
3248 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3250 * src/hildon-pannable-area.c,
3251 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3252 for the treeview overshooting.
3254 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3256 * src/hildon-banner.c (+hildon_banner_bind_style):
3257 Renamed from hildon_banner_bind_label_style(), now naming the
3258 banner itself as well.
3259 (hildon_banner_show_information),
3260 (hildon_banner_show_information_with_markup),
3261 (hildon_banner_show_animation), (hildon_banner_show_progress):
3262 Name the widgets and labels, based on their type.
3264 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3267 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3269 * src/hildon-note.c (hildon_note_set_property): call
3270 hildon_note_rename() on HildonNote:note-type set.
3271 (hildon_note_rename): Name the note and its label, based on the
3272 HildonNote:note-type property.
3274 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3277 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3279 * src/hildon-pannable-area.c,
3280 (hildon_pannable_area_class_init),
3281 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3282 panning parameters, increased SPS and deceleration factor. Added
3283 also a margin to control fake directions.
3285 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3287 Patch by Sven Herzberg (sven@imendio.com)
3289 * configure.ac: Add missing AM_PROG_CC_C_0
3290 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3292 See NB#101420 (Update unit tests and fix make check)
3294 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3296 This patch was applied before but reverted because it caused
3297 problems, we have changed the main condition and tested the
3298 regressions we detected before and they work ok. We have done a
3299 complete review of the topmost algorithm in order to get a more
3302 * src/hildon-pannable-area.c,
3303 (hildon_pannable_area_get_topmost): Added a new parameter to
3304 filter the the windows that do not include those events.
3305 (hildon_pannable_area_button_press_cb),
3306 (hildon_pannable_area_button_release_cb),
3307 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3308 topmost function, we have added the new parameter.
3310 Fixes: NB#97458 (Pannable area prevents propagation of button
3313 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3315 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3316 if all columns in the selector have an item selected.
3317 (_on_dialog_response): Stop "response" signal emission if there is
3318 any selector column without selected items.
3320 Fixes: NB#101889 (Picker dialog should not close when nothing is
3321 selected in multiple selection list)
3323 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-font-selection-dialog.c
3326 (hildon_font_selection_dialog_class_init),
3327 (hildon_font_selection_dialog_init): Remove the preview
3328 button and dialog, since previewing with default theming is likely
3329 to be overcomplicated. The :preview property has now no effect.
3330 Update documentation blurbs to inform about this.
3332 Fixes: NB#92297 (Preview content is not clearly visible for
3333 default colour text)
3335 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3337 Reviewed the geometry that handles the children size and
3338 scrollbar, now it tries a size and reviews the results depending
3339 on the scrollbars visibility.
3341 * src/hildon-pannable-area.c,
3342 (hildon_pannable_area_realize): Fixed a typo.
3343 (hildon_pannable_area_child_allocate_calculate): Added this
3344 function to calculate the child allocation.
3345 (hildon_pannable_area_size_allocate): Reviewed the allocation
3347 (hildon_pannable_area_check_scrollbars),
3348 (hildon_pannable_area_refresh): Refactored refresh function, this
3349 way we can call the code handling the scrollbars without causing a
3350 size_request, it is interesting in the allocate.
3351 (hildon_pannable_area_init): Replace the callbacks of the
3352 value_changed and changed signals to propertly deal with the
3354 (hildon_pannable_area_grab_notify),
3355 (hildon_pannable_area_initial_effect),
3356 (hildon_pannable_area_launch_fade_timeout),
3357 (hildon_pannable_area_adjust_changed),
3358 (hildon_pannable_area_adjust_value_changed),
3359 (hildon_pannable_area_redraw),
3360 (hildon_pannable_area_button_press_cb),
3361 (hildon_pannable_area_button_release_cb),
3362 (hildon_pannable_area_scroll_cb),
3363 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3364 code and use the new functions adjust_changed and
3365 adjust_value_changed.
3367 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3368 Contact editor dialog)
3370 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3375 * configure.ac: Bump version.
3376 * debian/changelog: Updates.
3378 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3380 * src/hildon-pannable-area.c,
3381 (hildon_pannable_area_get_topmost),
3382 (hildon_pannable_area_button_press_cb),
3383 (hildon_pannable_area_button_release_cb),
3384 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3385 topmost function adding the event mask. We have to try a
3386 differente approach because it is still causing problems (NB#9745,
3389 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3391 * src/hildon-banner.c:
3392 Update the maximum width of timed banners.
3393 (force_to_wrap_truncated): Enforce the maximum text width if the
3396 Fixes: NB#102413 (The text margins (wrapping) in information
3397 banner should be HILDON_MARGIN_TRIPLE)
3399 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3401 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3403 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3404 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3405 bound when calculating the scroll indicator position.
3407 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3408 treat ->lower correctly)
3410 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3412 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3413 expose event handling, since it is not necessary to draw the focus
3416 Fixes: NB#102467 (Do not show highlight on the text in
3419 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3421 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3422 full height of the toolbar for the button and the label.
3424 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3426 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3427 padding before the label and after the button.
3429 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3431 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3433 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3434 Add a GtkVSeparator between the button and the back arrow.
3435 Let the button have automatic size.
3436 Set a name to the widget for theming handling.
3438 Fixes: NB#101793 (Make edit toolbar the same height as window
3439 title bar (use title area theming))
3441 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3443 * src/hildon-helper.c (attach_new_color_element): Fix memory
3446 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3448 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3450 * examples/hildon-button-example.c (common_buttons_window): Don't
3453 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3455 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3456 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3458 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3460 * src/hildon-gtk.c: Check that the window is realized.
3462 Fixes: NB#102225 (Crash setting the progress indicator to a non
3465 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3468 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3469 instead of modifying the one in the widget style.
3471 Fixes: NB#101043 (Second row of all the command button are
3472 displayed in transparent mode.)
3474 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-date-button.c
3477 * src/hildon-time-button.c: Add gettext macros
3479 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3481 * src/hildon-date-button.c (hildon_date_button_new):
3482 * src/hildon-time-button.c (hildon_time_button_new_step):
3483 Use new logical strings to set the button default title.
3485 Fixes: NB#99915 (Date and Time options are not localised in Date
3488 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3490 * src/hildon-pannable-area.c
3491 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3492 the PANNING_THRESHOLD.
3494 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3496 * src/hildon-pannable-area.c,
3497 (hildon_pannable_area_class_init): Increased the maximum speed.
3498 (hildon_pannable_area_get_property),
3499 (hildon_pannable_area_set_property),
3500 (hildon_pannable_area_timeout): Added a new low friction mode, it
3501 allows the user avoid friction when launching the widget fast
3502 enough. It is interesting to traverse long lists.
3504 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3506 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3507 (+hildon_stackable_window_delete_event): Ignore delete events if
3508 the window is not the topmost one.
3510 Fixes: NB#101698 (Back button long press and delete-event handling)
3512 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3514 * src/hildon-pannable-area.c,
3515 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3516 gtk-dnd-drag-threshold, it was too big. We have defined our own
3517 dnd define and set a smaller value: PANNIG_THRESHOLD.
3519 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3521 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3522 user-defined icons, use always the default one.
3524 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3526 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3528 This patch was applied before but reverted because it caused
3529 problems, we have changed the main condition and tested the
3530 regressions we detected before and they work ok.
3532 * src/hildon-pannable-area.c,
3533 (hildon_pannable_area_get_topmost): Added a new parameter to
3534 filter the the windows that do not include those events. Added
3535 also a condition when finding the window to filter windows that do
3536 not ask for those events.
3537 (hildon_pannable_area_button_press_cb),
3538 (hildon_pannable_area_button_release_cb),
3539 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3540 topmost function, we have added the new parameter.
3542 Fixes: NB#97458 (Pannable area prevents propagation of button
3545 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3547 * tests/check-hildon-color-button.c (START_TEST): do not leak
3550 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3552 * src/hildon-font-selection-dialog.c
3553 (hildon_font_selection_dialog_get_preview_text): Return NULL
3554 instead of FALSE on the g_return_val_if_fail().
3556 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3558 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3559 * src/hildon-date-selector.c
3560 (hildon_date_selector_select_current_date):
3561 Do not compare unsigned integers to be greater than or equal 0,
3562 because it's always TRUE.
3564 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3566 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3567 (hildon_date_selector_constructor): Do not select the current
3568 date until we are handle the "changed" signal, to avoid having bogus
3569 elements in the days model.
3571 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3574 for num_days, since _month_days() can return a negative value.
3576 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3578 * src/hildon-caption.c (hildon_caption_size_allocate):
3579 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3580 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3582 Initialize allocation variables to 0, to avoid eventually using
3583 unitialized variables.
3585 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3587 * src/hildon-bread-crumb-trail.c
3588 (hildon_bread_crumb_trail_size_allocate):
3589 * src/hildon-calendar.c (hildon_calendar_set_background):
3590 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3591 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3592 * src/hildon-seekbar.c (hildon_seekbar_init):
3593 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3594 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3595 * src/hildon-touch-selector-entry.c
3596 (hildon_touch_selector_get_text_from_model):
3597 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3598 * src/hildon-window.c (hildon_window_finalize):
3600 Remove many unused variables.
3602 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3604 * src/hildon-seekbar.c: (hildon_seekbar_init),
3605 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3607 Remove unnecessary g_assert() calls.
3609 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3611 * src/hildon-caption.c: (hildon_caption_expose),
3612 (hildon_caption_set_property), (hildon_caption_init),
3613 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3614 (hildon_caption_size_request), (hildon_caption_size_allocate),
3615 (hildon_caption_forall), (hildon_caption_set_separator),
3616 (hildon_caption_activate), (hildon_caption_set_child_expand),
3617 (hildon_caption_set_label_text),
3618 (hildon_caption_get_label_alignment):
3620 Remove unnecessary g_assert() calls.
3622 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3624 * src/hildon-banner.c
3625 (hildon_banner_map, hildon_banner_init): Make banner temporary
3626 before mapping it to avoid closing other temporary windows, but
3627 make it non-temporary afterwards to avoid being closed by other
3628 non-temporary windows.
3629 (-hildon_banner_client_event, hildon_banner_init):
3630 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3632 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3635 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3637 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3640 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3642 * src/hildon-remote-texture.c
3643 * src/hildon-remote-texture.h
3644 * src/hildon-remote-texture-private.h
3645 * examples/hildon-remote-texture-example.c:
3646 Updates/fixes to remote-texture and its example.
3648 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3650 Patch by Mox Soini (ext-mox.soini@nokia.com)
3652 * src/hildon-code-dialog.c: Update logical id.
3653 * src/hildon-set-password-dialog.c: Update logical id.
3655 Fixes: NB#100646 (Logical strings is shown for ok in set
3656 password,Password needed dialogs)
3658 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3661 * src/hildon-remote-texture.c
3662 * src/hildon-remote-texture.h
3663 * src/hildon-remote-texture-private.h
3665 Added remote texture widget (for Clutter shared memory textures)
3667 * examples/hildon-remote-texture-example.c
3668 * examples/Makefile.am
3669 Added example file for remote texture usage
3671 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3673 * configure.ac: post release version bump.
3674 * debian/changelog: version bump.
3676 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3681 * configure.ac: Bump version.
3682 * debian/changelog: Updates.
3684 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3686 * src/hildon-date-selector.c (hildon_date_selector_init)
3687 (hildon_date_selector_constructor): Don't connect to the "changed"
3688 signal until the selector is completely constructed.
3690 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3692 * src/hildon-touch-selector.c: (_create_new_column),
3693 (hildon_touch_selector_append_column),
3694 (hildon_touch_selector_set_column_selection_mode),
3695 (hildon_touch_selector_set_active),
3696 (hildon_touch_selector_select_iter):
3697 Emit the HildonTouchSelector::changed signal every time selection
3698 is changed in any of the methods above. This behavior was already
3699 documented but not fully functional.
3701 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3702 selection is programmatically changed)
3704 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3706 * doc/hildon-sections.txt: Remove obsolete icon
3707 sizes from here as well.
3709 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3711 * examples/hildon-stackable-window-example.c (add_window): Remove
3714 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-app-menu.c
3717 (hildon_app_menu_show): Check whether the parent window of a menu
3718 is topmost before popping it up.
3720 Fixes: NB#100468 (Application menu window is launched even when a
3721 new secondary-window/dialog is pending to be shown/realized.)
3723 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3725 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3728 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3730 Patch by Mox Soini (ext-mox.soini@nokia.com)
3732 * src/hildon-banner.c: (hildon_banner_show_animation):
3733 use stylus size instead of obsolete note size.
3734 * src/hildon-defines.h: Update icon sizes.
3736 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3738 * src/hildon-touch-selector-entry.c:
3739 (hildon_touch_selector_entry_init): Disable unsupported
3741 (hildon_touch_selector_entry_get_text_column): Emit a warning
3742 if an unsupported input modes is used and explicitile state
3743 these modes in the documentation.
3745 Fixes: NB#99802 (Hildon touch selector entry not working properly
3746 for some of the input modes)
3748 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3750 * src/hildon-pannable-area.c,
3751 (hildon_pannable_area_init): Added the changed signal handlers of
3754 Fixes: NB#100320 (HildonPannableArea does not listen to
3755 GtkAdjustment "change" signals)
3757 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3759 * doc/hildon-sections.txt
3760 * src/hildon-window-private.h
3761 * src/hildon-window.h
3762 * src/hildon-window.c (hildon_window_init)
3763 (hildon_window_realize, hildon_window_unrealize)
3764 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3765 (hildon_window_size_request, hildon_window_size_allocate)
3766 (hildon_window_forall, hildon_window_show_all)
3767 (hildon_window_destroy, +paint_edit_toolbar)
3768 (+hildon_window_set_edit_toolbar):
3769 New hildon_window_set_edit_toolbar() method, to add a
3770 HildonEditToolbar to a window without having to pack it manually.
3772 Reorganize hildon_window_size_allocate()
3774 * src/hildon-edit-toolbar.c: Update documentation.
3776 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3777 example to use the new API.
3779 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3781 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3783 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3784 Remove from stack before calling parent's hide.
3786 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3788 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3789 window is removed from the middle of the stack, update the
3790 transiency of the previous one.
3792 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3795 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3797 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3798 block/unblock the signal handler if it's not actually being used.
3799 Fixes some critical warnings.
3801 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3803 Based on a patch by Iván Gómez (igomez@igalia.com)
3805 * src/hildon-banner.c
3809 * src/hildon-pannable-area.c
3810 * src/hildon-picker-dialog.c
3811 * src/hildon-wizard-dialog.h
3812 * src/hildon-wizard-dialog.c: Documentation updates.
3814 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3815 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3817 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3819 * configure.ac: post release version bump.
3820 * debian/changelog: version bump.
3822 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3827 * configure.ac: Bump version.
3828 * debian/changelog: Updates.
3830 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3832 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3833 a stock icon nor change the relief of the back arrow.
3835 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3836 graphics from theme)
3838 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3840 * src/hildon-button.c (hildon_button_set_alignment): Use
3841 priv->alignment if the button has no child yet.
3843 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3845 * src/hildon-button.c: (hildon_button_init): Set the
3846 button style during initialization to give it the proper
3849 Fixes: NB#99713 (HildonButton value label color is wrong)
3851 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3853 * src/hildon-touch-selector.c: Document
3854 hildon_touch_selector_center_on_selected()
3856 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3858 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3859 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3860 all menu items, but not the menu itself.
3861 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3862 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3863 items after adding them to the menu so keyboard accelerators work.
3864 (hildon_app_menu_show): Don't show the menu if it contains items
3865 but none of them are visible.
3867 * examples/hildon-app-menu-example.c (create_menu): Use
3868 gtk_widget_show_all() to show all menu items.
3870 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-picker-dialog.c:
3873 (-_update_title_on_selector_changed_cb),
3874 (-_dialog_update_title): Removed.
3875 (_select_on_selector_changed_cb), (_on_dialog_response),
3876 (on_selector_columns_changed): Do not update the dialog title.
3877 (setup_interaction_mode): Do not connect to
3878 HildonTouchSelector::changed signal if there's a "done" button, as
3879 the dialog title doesn't need to be updated.
3881 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3884 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3886 Patch by Kristian Rietveld (kris@imendio.com)
3888 * src/hildon-touch-selector.c: (_create_new_column): Use new
3889 GtkTreeView::hildon-row-tapped signal to react to user interactions
3890 instead of ::changed.
3892 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3893 with some dynamic tree model)
3895 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3897 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3898 (+screen_size_changed, +label_size_request)
3899 (hildon_note_class_init): Make the Hildon information note have a
3900 minimum height, and make its text hvae a maximum width.
3902 Fixes: NB#98614 (Hildon information note (background) should have
3903 minimum height and maximum text width)
3905 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3907 * src/hildon-banner.h
3908 * src/hildon-banner.c (hildon_banner_show_information)
3909 (hildon_banner_show_informationf)
3910 (hildon_banner_show_information_with_markup): Update documentation
3911 to reflect that the icon_name parameter is not used anymore.
3912 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3913 Remove all code from these functions and mark them as deprecated.
3914 (hildon_banner_show_progress): Mark as deprecated.
3916 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3918 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3920 * src/hildon-pannable-area.c,
3921 (hildon_pannable_area_class_init),
3922 (tranparency_color),
3923 (hildon_pannable_draw_vscroll),
3924 (hildon_pannable_draw_hscroll),
3925 (hildon_pannable_area_expose_event): Added a new way to render the
3926 scrollbars of the pannable area avoiding using cairo at all. This
3927 way we improve the performance of the pannable area rendering. The
3928 cairo rendering procedure is still in the code, we can control
3929 which one to use changing the value of the define
3930 USE_CAIRO_SCROLLBARS.
3932 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3934 * configure.ac: post release version bump.
3935 * debian/changelog: version bump.
3937 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3942 * configure.ac: Bump version.
3943 * debian/changelog: Updates.
3945 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3947 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3948 banners instead of destroying them when they receive a button
3951 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3953 Reverted commit 34028, it was causing regressions, probably the
3954 topmost condition is not correct, we have to check it in more
3955 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3956 propagation of button press events)
3958 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3960 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3961 that the selection is not empty before attempting to retrieve the
3962 current ampm selection.
3964 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3966 * src/hildon-picker-button.c:
3967 (hildon_picker_button_on_dialog_response): Directly update the
3968 button contents when required instead of calling _selection_changed.
3970 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3972 * src/hildon-program.c (hildon_program_update_top_most): Update
3973 'is-topmost' property also when wm_hints is not set.
3975 Fixes: NB#98383 (is-topmost signal is not emitted when task
3976 switcher is clicked.)
3978 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3980 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3984 * src/hildon-animation-actor.c,
3985 * src/hildon-animation-actor.h: Added the animation actor class,
3986 this widget represents an animation actor for WM-assisted
3987 animation effects in the Hildon framework.
3989 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3991 * src/hildon-window-stack-private.h
3992 * src/hildon-window-stack.c
3993 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3994 Avoid calling gtk_widget_show() again indirectly from
3995 hildon_stackable_window_show()
3997 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3999 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
4002 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4004 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
4005 (hildon_time_selector_init): Move the construction of the hours and
4006 ampm columns to the constructor to preserve the order the columns
4009 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-picker-dialog.c:
4012 (hildon_picker_dialog_class_init): Connect a realize method.
4013 (+hildon_picker_dialog_realize): Setup the interaction mode here
4015 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
4016 yet, do it during the realize instead.
4017 (_on_dialog_response):
4018 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
4019 if the widget is not realized, to avoid the dialog response before it
4022 Avoid premature responses in the HildonPickerDialog that can cause it
4023 to be hidden before it's even shown.
4025 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4027 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4028 (on_selector_columns_changed), (requires_done_button),
4029 (+prepare_action_area), (setup_interaction_mode),
4030 (_hildon_picker_dialog_set_selector):
4032 Split the interaction mode setup into preparation of the
4033 action area (prepare_action_area()) and the connection of
4034 the signals in setup_interaction_mode() and update the code to
4037 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4039 * src/hildon-pannable-area.c,
4040 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4041 per second to 15, we will check if this is ok regarding
4044 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4046 * src/hildon-pannable-area.c,
4047 (hildon_pannable_axis_scroll): Avoid resize if we already have
4048 reached overshoot_max.
4050 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4052 * src/hildon-pannable-area.c,
4053 (hildon_pannable_area_init),
4054 (hildon_pannable_area_realize),
4055 (hildon_pannable_area_size_allocate),
4056 (hildon_pannable_area_map),
4057 (hildon_pannable_area_unmap),
4058 (hildon_pannable_draw_vscroll),
4059 (hildon_pannable_draw_hscroll),
4060 (hildon_pannable_area_expose_event),
4061 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4062 pannable are to avoid the expose events go to the window and
4063 redraw the window. We save this way that part of the stack and the
4064 paint_boxes. We had to change the positions of the elements when
4067 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4069 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4070 * src/hildon-color-chooser-dialog.c:
4071 (hildon_color_chooser_dialog_init):
4072 * src/hildon-font-selection-dialog.c:
4073 (hildon_font_selection_dialog_init),
4074 (hildon_font_selection_dialog_show_preview):
4075 * src/hildon-get-password-dialog.c:
4076 * src/hildon-login-dialog.c:
4077 * src/hildon-set-password-dialog.c:
4078 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4079 * src/hildon-time-picker.c: (hildon_time_picker_init):
4081 Remove obsolete logical string IDs and update to the appropriate ones.
4083 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4085 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4087 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4088 that happens if the window hasn't been realized yet.
4090 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4091 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4093 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4095 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4096 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4099 Fixes: NB#98537 (Device hangs in account settings dialog)
4101 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4103 * configure.ac: post release version bump.
4104 * debian/changelog: version bump
4106 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4111 * configure.ac: Bump version.
4112 * debian/changelog: Updates.
4114 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4116 Added a new function to the HildonTimeButton widget that allows to
4117 change the step of the minutes in the selector associated with the
4118 button: hildon_time_button_new_step
4120 * src/hildon-time-button.c,
4121 (hildon_time_button_init),
4122 (hildon_time_button_new),
4123 (hildon_time_button_new_step):
4124 * src/hildon-time-button.h: Added the new function and refactored
4126 * examples/hildon-time-button-example.c,
4127 (main): We have replaced the function without parameters with the
4128 function with the steps set to 5
4130 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4132 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4134 * src/hildon-time-selector.c,
4135 (hildon_time_selector_class_init),
4136 (hildon_time_selector_constructor),
4137 (hildon_time_selector_get_property),
4138 (hildon_time_selector_set_property),
4139 (_create_minutes_model),
4140 (hildon_time_selector_new_step),
4141 (hildon_time_selector_set_time),
4142 * src/hildon-time-selector.h: Added a new property to the
4143 HildonTimeSelector (minutes-step), we use that property to control
4144 the steps between the minutes in the list of the selector. We have
4145 added a new function to the API to create a widget changing the
4146 step: hildon_time_selector_new_step.
4148 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4150 * src/hildon-time-selector.c,
4151 (hildon_time_selector_class_init),
4152 (hildon_time_selector_constructor),
4153 (hildon_time_selector_init): Overrided the construct function when
4154 creating the time selector object. We have moved the minutes model
4155 handling code from the init to the new construction function:
4156 hildon_time_selector_constructor.
4158 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4160 * examples/hildon-date-button-example.c: (main): Use the new
4161 hildon_date_button_new_with_year_range() method in the example.
4162 * src/hildon-date-button.c:
4163 (+hildon_date_button_new_with_year_range): New public method
4164 to conveniently create a HildonDateButton with a custom year range
4165 in its HildonDateSelector.
4166 * src/hildon-date-button.h: Add the new public method definition.
4168 Fixes: NB#97908 (Not possible to change the year range in
4169 HildonDateSelector/HildonDateButton)
4171 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4173 * src/hildon-date-selector.c:
4174 (+hildon_date_selector_set_property),
4175 (+hildon_date_selector_get_property),
4176 (hildon_date_selector_class_init): Install new properties "min-year"
4177 and "max-year" to define boundaries for the year column.
4178 (_create_year_model): Use the boundary properties to populate the model.
4179 (+hildon_date_selector_new_with_year_range): New public method to
4180 create a HildonDateSelector with a user defined year range.
4181 (hildon_date_selector_select_current_date): Use the new boundaries to
4182 calculate the iterator of current year.
4183 * src/hildon-date-selector.h: Add the new public method definition.
4185 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4187 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4188 Install a constructor method.
4189 (+hildon_date_selector_construct_ui): construct the widget.
4190 (+hildon_date_selector_constructor): new constructor.
4191 (+hildon_date_selector_init): move out widget construction code to
4192 the new constructor.
4194 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4196 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4197 that there's actually a month or year selected before obtaining them.
4198 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4199 of the HildonTouchSelector::changed signal, as it was emitted on every
4200 single item selection.
4202 Fix some warnings and possible crashers due to the selection restoring.
4204 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4206 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4207 the signal handlers only after creating the dialog instead of on every
4210 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4212 * src/hildon-button.c (hildon_button_init)
4213 * src/hildon-check-button.c (hildon_check_button_init)
4214 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4215 focus when clicked by default.
4217 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4219 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4222 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4224 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4225 Alejandro G. Castro (alex@igalia.com)
4227 * src/hildon-picker-dialog.c:
4228 (hildon_picker_dialog_class_init): install new "center-on-show"
4230 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4231 (hildon_picker_dialog_set_property): add setter code for the new
4233 (hildon_picker_dialog_get_property): add getter code for the new
4235 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4236 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4239 Fixes: NB#92849 (Selected item is not always visible when
4240 HildonTouchSelector is shown)
4242 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4244 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4245 Alejandro G. Castro (alex@igalia.com)
4247 * src/hildon-touch-selector.c:
4248 (_create_new_column): Do not connect to the "realize" signal of the
4250 (hildon_touch_selector_append_column): center on the selected items
4251 when a new column is appended.
4252 (hildon_touch_selector_select_iter): Factor out the code to select a
4253 column to hildon_touch_selector_scroll_to().
4254 (+search_nearest_element): Method to retrieve the nearest selected
4255 element to the visible area of the pannable area in a column.
4256 (+on_realize_cb): scroll to the initially selected item.
4257 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4258 the pannable area is realized, otherwise delay this until it is.
4259 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4260 selected items of a given column.
4261 (+hildon_touch_selector_center_on_selected): Public method to center
4262 all columns on the nearest selected item.
4263 * src/hildon-touch-selector.h: Add definition for
4264 hildon_touch_selector_center_on_selected().
4266 Implement public API to ensure visibility of all selected items in
4267 a HildonTouchSelector.
4269 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4271 Fixed a problem in the fading when calling the scroll_to API, and
4272 improve scrollbar fading handling.
4274 * src/hildon-pannable-area.c,
4275 (hildon_pannable_area_grab_notify): avoid the timeout when the
4277 (hildon_pannable_area_button_press_cb),
4278 (hildon_pannable_area_motion_notify_cb): Code style changes.
4279 (hildon_pannable_area_button_release_cb): Review the conditions
4280 when releasing the mouse button to avoid unrequired fading
4282 (hildon_pannable_area_scroll_to): Do not calculate and set the
4283 velocity if the scroll is not required.
4285 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4287 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4288 Don't check whether the new selector is NULL: it cannot be.
4289 Hold a reference to the selector while doing the replacement.
4291 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4293 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4294 unnecessary size_request in a removed widget.
4296 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4298 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4299 an unnecessary reference tracking that was leaking.
4301 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4303 Added delayed motion notify event handling, this way we can
4304 discard redrawing if more than 25 events arrive per second.
4306 * src/hildon-pannable-area.c,
4307 (hildon_pannable_area_init): Initialized the new private atributes
4308 controlling this timeout
4309 (hildon_pannable_area_dispose): Remove the timeout that controls
4310 the motion notify events.
4311 (hildon_pannable_area_scroll): Added a condition to control the
4312 use of the acceleration.
4313 (hildon_pannable_area_motion_event_scroll_timeout),
4314 (hildon_pannable_area_motion_event_scroll): Added this two
4315 functions, they handle the motion notify events inside the
4317 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4318 to the scroll method with the new function.
4319 (hildon_pannable_area_button_release_cb): We have to remove the
4320 timeout handler and move to the last position if the last motion
4321 events were not handled.
4323 Fixes: NB#97028 (Pannable area updates on every motion event)
4325 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4327 * src/hildon-pannable-area.c,
4328 (hildon_pannable_area_get_topmost): Added a new parameter to
4329 filter the the windows that do not include those events. Added
4330 also a condition when finding the window to filter windows that do
4331 not ask for those events.
4332 (hildon_pannable_area_button_press_cb),
4333 (hildon_pannable_area_button_release_cb),
4334 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4335 topmost function, we have added the new parameter.
4337 Fixes: NB#97458 (Pannable area prevents propagation of button
4340 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4342 * src/hildon-pannable-area.c,
4343 (hildon_pannable_area_initial_effect): Added controls before
4344 launching the timeout and the idle functions.
4345 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4346 of the method, in some situations it can return with TRUE and 0 in
4348 (hildon_pannable_area_button_press_cb): We do not need to set
4349 DELAY for fading out here.
4351 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4353 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4355 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4356 post-cleaning if the selection is not NULL.
4358 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4360 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4361 all items before restoring the selection.
4363 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4365 * src/hildon-touch-selector.c:
4366 (+hildon_touch_selector_unselect_all):
4367 * src/hildon-touch-selector.h: New API to unselect all items in a
4368 column of the touch selector.
4370 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4372 * src/hildon-pannable-area.c,
4373 (hildon_pannable_area_redraw): Added a call to the refresh
4374 function inside the redraw because apparently in some cases the
4375 change in the adjustment does not imply a size allocate.
4377 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4378 despite the view not being scrollable)
4380 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4382 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4383 leak. Check for NULL before attempting to set the window title.
4385 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4387 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4388 whether to show or not the 'Done' button each time the dialog is
4389 shown, as it depends on the HildonTouchSelector selection mode.
4391 Fixes: NB#96226 (In multiple selection mode Done button is shown
4392 sometimes in listpicker)
4394 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4396 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4397 for the number of columns in the HildonTouchSelector more than once.
4399 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4401 * src/hildon-touch-selector.c: Minor documentation fixes.
4403 * src/hildon-picker-dialog.c (+_dialog_update_title)
4404 (_select_on_selector_changed_cb)
4405 (_update_title_on_selector_changed_cb)
4406 (on_selector_columns_changed): Update dialog title when there's no
4407 'Done' button and also when the number of columns in the selector
4411 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4412 (+_selection_changed, hildon_picker_button_on_dialog_response)
4413 (hildon_picker_button_selector_selection_changed)
4414 (+hildon_picker_button_selector_columns_changed)
4415 (hildon_picker_button_set_selector): Update button value and emit
4416 'value-changed' when the number of columns in the selector
4420 Fixes: NB#96225 (Dialog titles are not shown according to the
4421 values selected in the list picker)
4423 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4425 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4426 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4427 New "arrow-width" and "arrow-height" style properties to set the
4428 size of the arrow button.
4429 Set name of arrow button ("hildon-edit-toolbar-arrow").
4431 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4432 graphics from theme)
4434 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4436 * src/hildon-picker-button.c:
4437 (hildon_picker_button_selector_selection_changed): Use
4438 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4439 the dialog is present.
4441 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4442 the selection is accepted in the dialog)
4444 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-color-chooser.h
4447 * src/hildon-color-chooser-dialog.h:
4448 Added G_BEGIN_DECLS and G_END_DECLS
4450 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4452 (_clean_current_selection): plug a leak in the list.
4454 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4456 * src/hildon-picker-dialog.c:
4457 (+free_path_list): Method to free a GList of GtkTreePaths.
4458 (_clean_current_selection), (_save_current_selection),
4459 (_restore_current_selection): Save the current selection in
4460 as a list of lists, to support multiple selection properly.
4462 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4464 patch by Claudio Saavedra (csaavedra@igalia.com)
4466 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4467 Store the press position.
4468 (+hildon_text_view_button_release_event): If the release position is
4469 close enough to the press position, move the cursor here. Otherwise,
4471 (hildon_text_view_class_init): Override GtkTextView press, release, and
4472 motion event handlers, disabling this way text selection through
4473 pointer interaction, and allowing the container widget to handle the
4476 Fixes: NB#95828 (HildonTextView functionality)
4478 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4480 Based on a patch by Iván Gómez (igomez@igalia.com)
4482 * src/hildon-button.[ch]
4483 * src/hildon-calendar.c
4484 * src/hildon-check-button.c
4485 * src/hildon-date-editor.c
4486 * src/hildon-date-selector.c
4487 * src/hildon-picker-button.c
4488 * src/hildon-time-editor.c
4489 * src/hildon-time-selector.c
4490 * src/hildon-touch-selector.[ch]:
4491 Documentation updates
4493 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4495 * src/hildon-pannable-area.c,
4496 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4497 threshold, it was required due to X events handling.
4499 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4501 * src/hildon-pannable-area.c,
4502 (hildon_pannable_area_grab_notify),
4503 (hildon_pannable_area_initial_effect),
4504 (hildon_pannable_area_button_press_cb),
4505 (hildon_pannable_area_button_release_cb),
4506 (hildon_pannable_area_scroll_cb),
4507 (hildon_pannable_area_scroll_to): Review the timeout management of
4508 the scrollbar, the frecuency was incorrectly set.
4510 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4512 * src/hildon-picker-button.c:
4513 (+hildon_picker_button_on_dialog_response),
4514 (hildon_picker_button_clicked): Present the dialog instead of
4515 running it with gtk_dialog_run().
4517 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4520 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4522 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4523 (hildon_app_menu_finalize): When a window is hidden it doesn't
4524 emit notify::is-topmost, so make sure than the menu also
4525 disappears in that case.
4526 (parent_window_topmost_notify): Renamed from parent_window_hidden
4528 Fixes: NB#94460 (stackable window's menu is not closed when its
4531 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4533 * src/hildon-touch-selector-entry.c:
4534 (+hildon_touch_selector_entry_set_input_mode),
4535 (+hildon_touch_selector_entry_get_input_mode):
4536 * src/hildon-touch-selector-entry.h: New methods to access the input
4537 mode in the selector's entry.
4539 Fixes: NB#93410 (API required for setting IM mode in
4540 HildonTouchSelectorEntry)
4542 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4544 * configure.ac: post release version bump.
4545 * debian/changelog: version bump
4547 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4552 * configure.ac: Bump version.
4553 * debian/changelog: Updates.
4555 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-touch-selector.c:
4558 (_hildon_touch_selector_has_multiple_selection): No need
4559 to initialize the variables here.
4561 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4563 * src/hildon-note-private.h
4564 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4565 (hildon_note_finalize, hildon_note_rebuild): Close information
4566 notes when they receive a button press.
4568 Fixes: NB#89890 (Information notes does not get disappeared after
4571 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4573 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4574 mark from the wizard title, as it's not really necessary. Also,
4575 do not display the page title if not set.
4577 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4579 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4580 (parent_window_hidden): Use the window's "is-topmost" property to
4581 detect when to hide the menu.
4583 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4585 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4586 (hildon_app_menu_finalize): If the parent window of the menu is
4587 hidden, hide the menu too.
4589 Fixes: NB#94460 (stackable window's menu is not closed when its
4592 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4595 * debian/libhildon1-examples.install
4597 * examples/Makefile.am:
4598 Use dh_install to install all examples.
4599 Use DEB_SRCDIR instead of defining SOURCE_DIR
4601 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4603 * configure.ac: post release version bump.
4604 * debian/changelog: version bump
4606 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4611 * configure.ac: bump version
4612 * debian/changelog: updates
4613 * debian/control: bump gtk+ dependency
4615 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4617 patch by Christian Dywan (christian@imendio.com)
4619 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4620 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4622 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4624 * src/hildon-check-button.c (hildon_check_button_init)
4625 (hildon_check_button_class_init, hildon_check_button_style_set)
4626 (hildon_check_button_apply_style):
4627 New "checkbox-size" style property.
4629 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4630 larger / configurable size)
4632 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4634 * configure.ac: post release version bump.
4635 * debian/changelog: version bump
4637 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4642 * configure.ac: bump version
4643 * debian/changelog: updates
4645 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4647 * doc/hildon-sections.txt
4648 * src/hildon-pannable-area.c
4649 * src/hildon-program.c
4650 * src/hildon-time-editor.c
4651 * src/hildon-touch-selector-entry.c:
4653 More documentation updates.
4655 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4657 * doc/hildon-sections.txt
4658 * src/hildon-caption.c
4659 * src/hildon-code-dialog.c
4660 * src/hildon-color-button.c
4661 * src/hildon-controlbar.c
4662 * src/hildon-date-editor.c
4663 * src/hildon-date-selector.c
4664 * src/hildon-edit-toolbar.c
4665 * src/hildon-find-toolbar.c
4666 * src/hildon-font-selection-dialog.c
4668 * src/hildon-program.c
4669 * src/hildon-range-editor.c
4670 * src/hildon-seekbar.c
4671 * src/hildon-time-editor.c
4672 * src/hildon-time-selector.c
4673 * src/hildon-volumebar-range.c
4674 * src/hildon-volumebar.c
4675 * src/hildon-vvolumebar.c
4676 * src/hildon-weekday-picker.c
4677 * src/hildon-window.c
4678 * src/hildon-wizard-dialog.c:
4680 Lots of documentation fixes.
4682 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4684 Patch contributed by Iván Gómez (igomez@igalia.com)
4686 * src/hildon-check-button.c:
4687 * src/hildon-date-button.c:
4688 * src/hildon-date-selector.c:
4689 * src/hildon-dialog.c:
4690 * src/hildon-edit-toolbar.c:
4691 * src/hildon-entry.c:
4692 * src/hildon-picker-button.c:
4693 * src/hildon-program.c:
4694 * src/hildon-text-view.c:
4695 * src/hildon-time-button.c:
4696 * src/hildon-touch-selector-entry.c:
4697 * src/hildon-window-stack.c:
4699 Add more "since" tags to the new API.
4701 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4703 * doc/hildon-sections.txt: Add below method.
4704 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4705 version for the hildonized scale.
4706 * src/hildon-gtk.h: Add the definition.
4708 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4710 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4712 * doc/hildon-sections.txt: Add missing entries for new methods.
4714 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4716 Added API to pannable are in order to get its adjustments. We
4717 added two properties to manage the values we had in the private
4720 * src/hildon-pannable-area.c:
4721 (hildon_pannable_area_class_init): Added hadjustment and
4722 vadjustment properties in order to expose horizontal and vertical
4724 (hildon_pannable_area_get_property),
4725 (hildon_pannable_area_set_property): Added code to handle the new
4727 (hildon_pannable_area_get_hadjustment),
4728 (hildon_pannable_area_get_vadjustment): API functions to get the
4730 * src/hildon-pannable-area.h:
4731 (hildon_pannable_area_get_hadjustment),
4732 (hildon_pannable_area_get_vadjustment): API functions to get the
4735 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4737 Fixed some leaks, after valgrinding.
4739 * src/hildon-touch-selector.c:
4740 (_default_print_func): Fixed a leak.
4741 (hildon_touch_selector_append_column): Fixed a leak.
4742 * src/hildon-date-button.c:
4743 (hildon_date_button_init): Fixed a leak.
4744 * src/hildon-date-selector.c
4745 (hildon_date_selector_finalize): Fixed a leak.
4747 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4749 Based on a patch by Christian Dywan (christian@imendio.com)
4751 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4753 * src/hildon-gtk.h: Add definition.
4755 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4757 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4759 * src/hildon-picker-button.c: (hildon_picker_button_init),
4760 (hildon_picker_button_new): Set the HildonButton::style property
4761 in the init method, to propagate the value to the derived classes.
4763 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4765 * src/hildon-button.c: (hildon_button_class_init): Do not make
4766 the "style" property a construct property.
4768 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4770 * src/hildon-wizard-dialog.h
4771 * src/hildon-wizard-dialog.c
4772 (hildon_wizard_dialog_set_forward_page_func)
4773 * src/hildon-pannable-area.h
4774 * src/hildon-pannable-area.c
4775 (hildon_pannable_area_set_size_request_policy):
4776 Documentation fixes.
4778 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4780 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4782 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4784 * doc/hildon-sections.txt: Added sections file.
4786 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4789 * src/*.[ch]: Updates.
4791 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4793 * examples/hildon-progress-indicator-example.c: new file
4794 * examples/Makefile.am: include the new example program
4796 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4798 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4800 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4802 * configure.ac: post release version bump
4803 * debian/changelog: version bump
4805 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4810 * configure.ac: bump version
4811 * debian/changelog: updates
4812 * debian/control: bump gtk+ dependency
4814 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4816 * src/hildon-dialog.c: Mark as deprecated.
4817 * src/hildon-dialog.h: Mark as deprecated.
4818 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4819 from HildonDialog and still work, even if
4820 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4821 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4823 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4824 maemo changes) instead)
4826 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4828 * src/hildon-pannable_area.h:
4829 * src/hildon-pannable_area.c:
4830 (hildon_pannable_area_class_init),
4831 (hildon_pannable_area_set_property),
4832 (hildon_pannable_area_get_property),
4833 (hildon_pannable_area_size_request),
4834 (hildon_pannable_area_get_size_request_policy),
4835 (hildon_pannable_area_set_size_request_policy): Added new API
4836 allowing applications to control the request policy. Now they can
4837 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4838 children allocation (HILDON_MOVEMENT_CHILDREN).
4840 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4844 (hildon_gtk_tree_view_set_ui_mode)
4845 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4846 mode of treeviews and iconviews.
4848 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4850 * src/hildon-touch-selector-entry.c:
4851 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4852 of a GtkEntry to get proper theming.
4854 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4855 widget, not GtkEntry)
4857 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4859 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4860 no HildonWizardDialogPageFunc.
4862 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4864 Patch contributed by Iván Gómez (igomez@igalia.com)
4866 * src/hildon-app-menu.c:
4867 * src/hildon-button.c:
4868 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4869 * src/hildon-stackable-window.c:
4870 * src/hildon-time-selector.c:
4871 * src/hildon-touch-selector.c:
4872 * src/hildon-window.c:
4874 Add more "since" tags to the new API in hildon 2.2.
4876 2008-12-05 Tim Janik <timj@imendio.com>
4878 Patch contributed by Christian Dywan (christian@imendio.com)
4880 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4881 HildonSizeType, which are supplied by Gtk+ now.
4883 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4885 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4886 (with maemo changes) instead)
4888 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4890 Patch contributed by Iván Gómez (igomez@igalia.com)
4892 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4895 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4897 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4898 (some_page_func), (main): Update the example to use a
4899 HildonWizardDialogPageFunc function.
4901 * src/hildon-wizard-dialog-private.h: Add private data for
4902 the HildonWizardDialogPageFunc function usage.
4904 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4905 (destroy), (hildon_wizard_dialog_init), (response),
4906 (hildon_wizard_dialog_set_forward_page_func):
4907 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4908 that applications can use to stop a HildonWizardDialog to jump to
4911 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4914 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4916 * src/hildon-program.h
4917 * src/hildon-program-private.h
4918 * src/hildon-program.c (hildon_program_init)
4919 (hildon_program_set_common_app_menu)
4920 (hildon_program_get_common_app_menu):
4921 New API for setting a common HildonAppMenu for all
4922 HildonStackableWindows registered with the HildonProgram.
4924 * src/hildon-stackable-window.c
4925 (hildon_stackable_window_toggle_menu):
4926 Use the common HildonAppMenu if a window doesn't have a specific
4929 * src/hildon-app-menu-private.h
4930 * src/hildon-app-menu.c
4931 (hildon_app_menu_get_parent_window):
4932 Function to obtain the window a HildonAppMenu is attached to.
4933 (hildon_app_menu_set_parent_window):
4934 Hide the menu if the parent window is set to NULL.
4936 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4938 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4939 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4940 search widget to popup.
4942 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4944 * configure.ac: post release version bump
4945 * debian/changelog: version bump
4947 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4952 * configure.ac: bump version
4953 * debian/changelog: updates
4955 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4957 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4959 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4960 (hildon_window_stack_window_realized)
4961 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4962 Set the leader GdkWindow when a window is stacked and realized,
4963 unset it when it's unstacked.
4964 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4966 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4968 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-stackable-window.h
4971 * src/hildon-window-stack.h:
4972 Protect definition of HildonWindowStack using the preprocessor.
4974 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4976 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4977 Fix warning if all menu items are hidden.
4979 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4981 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4983 * src/hildon-controlbar.c:
4984 * src/hildon-hvolumebar.c:
4985 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4986 Multiple scale size defines updates.
4988 Fixes: NB#94322 (Scale Updates)
4990 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4992 * examples/hildon-app-menu-example.c (create_menu)
4993 Show items after adding them to the menu, as in the future the
4994 menu will no longer call gtk_widget_show() on the added items.
4996 * src/hildon-app-menu.c:
4997 Update example as explained above.
4999 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5001 * src/hildon-app-menu.c
5002 (hildon_app_menu_insert, hildon_app_menu_add_filter):
5003 Make sure that all menu items have finger height.
5005 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
5007 * src/hildon-picker-dialog.c:
5008 (_on_dialog_response), (_save_current_selection),
5009 (_restore_current_selection), (_clean_current_selection),
5010 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
5011 Defined new functions in order to save the current internal selector
5012 selection previous open the dialog, in case that the use cancel the
5013 interaction, so the widget restores the previous selection.
5015 Fixes: NB#92032 (In calendar application, date values in 'new event'
5018 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
5020 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5022 * src/hildon-button.c: Add a reference to the button examples in
5023 hildon-button-example.c
5025 * examples/hildon-button-example.c: Added examples of the most
5026 common button layouts.
5028 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5030 * src/hildon-app-menu.c (hildon_app_menu_show)
5031 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5033 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5035 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5037 * src/hildon-picker-dialog.c:
5038 (hildon_picker_dialog_init): Initialize the signal id for
5039 HildonTouchSelector::columns-changed.
5040 (+on_selector_columns_changed): Set up the interaction mode everytime a
5041 column is added or removed from the HildonTouchSelector.
5042 (_hildon_picker_dialog_set_selector): Connect to
5043 HildonTouchSelector::columns-changed and keep track of it.
5045 Make sure to update the interaction mode of the dialog everytime a
5046 column is added or removed in the HildonTouchSelector.
5048 Fixes: NB#93228 (Done button is not shown always in listpicker)
5050 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5052 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5053 a new ::columns-changed signal.
5054 (hildon_touch_selector_append_column): Emit ::columns-changed.
5055 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5057 Add a ::columns-changed signal, emitted when the number of columns in a
5058 HildonTouchSelector changes.
5060 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5062 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5063 (_hildon_picker_dialog_set_selector): Factor out the code
5064 to set up the dialog interaction mode.
5066 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5068 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5069 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5070 to signal_changed_id.
5072 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5074 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5077 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5079 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5080 Updated the logical ids related to ampm format, as now it is required to
5081 show it correctly localized even on languages with no default
5082 abbreviations for am or pm
5083 (_check_am_pm_format): check correctly the 24h format gconf property
5085 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5087 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5089 * src/hildon-button.c: Documentation updates.
5091 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5093 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5094 * src/hildon-caption.c: (hildon_caption_class_init):
5095 * src/hildon-color-button.c: (hildon_color_button_class_init):
5096 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5097 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5098 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5099 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5101 Remove deprecated GTK+ marshalers and replace them with the ones
5102 provided by GLib, for those available, add a marshaler for
5103 BOOLEAN:VOID, which is not available in GLib, and use it.
5105 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5107 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5108 the text from the previous column if there is no
5109 HildonTouchSelectorColumn::text-property set.
5111 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5113 * src/hildon-button.h
5114 * src/hildon-button.c (hildon_button_set_property)
5115 (hildon_button_get_property, hildon_button_class_init)
5116 (hildon_button_set_style, hildon_button_get_style):
5117 New "style" property to change the visual appearance of the
5120 * src/hildon-picker-button.c (hildon_picker_button_new):
5121 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5123 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5124 HildonButton look like PickerButton)
5126 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5128 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5129 column while building the default string.
5131 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5133 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5134 scroll indicator by default.
5136 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5138 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5140 * src/hildon-main.c: Fix the documentation for hildon_init()
5142 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5144 * doc/hildon-docs.sgml
5148 * src/hildon-window-stack-private.h
5149 * src/hildon-window-stack.h
5150 * src/hildon-window-stack.c:
5151 New HildonWindowStack object, that adds support for multiple
5152 stacks of windows per process.
5154 * src/hildon-stackable-window-private.h
5155 * src/hildon-stackable-window.h
5156 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5157 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5158 (hildon_stackable_window_show, hildon_stackable_window_hide)
5159 (hildon_stackable_window_class_init)
5160 (hildon_stackable_window_init):
5161 Use HildonWindowStack for stack management.
5163 * src/hildon-program.c (hildon_program_pop_window_stack)
5164 (hildon_program_peek_window_stack)
5165 (hildon_program_go_to_root_window):
5166 Add a fallback implementation to the deprecated functions using
5169 * examples/hildon-stackable-window-example.c:
5170 Use the new HildonWindowStack API.
5172 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5174 * src/hildon-stackable-window-private.h
5175 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5176 (hildon_stackable_window_hide, hildon_stackable_window_init):
5177 Remove all window stack management.
5179 * src/hildon-program-private.h
5180 * src/hildon-program.h
5181 * src/hildon-program.c (hildon_program_init)
5182 (hildon_program_pop_window_stack)
5183 (hildon_program_peek_window_stack)
5184 (hildon_program_go_to_root_window):
5185 Remove all window stack management and mark functions as
5188 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5190 * src/hildon-app-menu.c (hildon_app_menu_realize):
5191 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5193 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5195 * configure.ac: post release version bump
5196 * debian/changelog: version bump
5198 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5203 * configure.ac: bump version
5204 * debian/changelog: updates
5206 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5208 Based on initial code by Christian Dywan (christian@imendio.com)
5210 * doc/hildon-docs.sgml: Add section for hildon-main.
5211 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5212 * src/Makefile.am: Add new hildon-main.[ch]
5213 * src/hildon-defines.h: Update the icon sizes.
5214 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5215 new library initialization files and register icon sizes.
5216 * src/hildon-main.h: New declarations.
5217 * src/hildon.h: Include hildon-main.h
5219 Add new initialization functions to the library. These methods
5220 will register the hildon specific icon sizes and can be used in the
5221 future for other hildon specific bits.
5223 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5225 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5227 * src/hildon-window.c: (hildon_window_realize),
5228 (hildon_window_notify), (-hildon_window_update_title): Do not set
5229 the application name in the window title.
5231 Fixes: NB#89754 (Applications shouldn't display their names in the
5234 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5236 * src/hildon-note-private.h:
5237 * src/hildon-note.c: (hildon_note_set_property),
5238 (hildon_note_get_property), (hildon_note_class_init),
5239 (hildon_note_init), (hildon_note_finalize),
5240 (hildon_note_new_confirmation_with_icon_name),
5241 (hildon_note_new_information_with_icon_name):
5243 No need to mark as deprecated the actual code. Revert
5244 to avoid missing symbols in widgets using deprecated API.
5246 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5248 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5250 * src/hildon-volumebar.h
5251 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5252 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5254 * src/hildon-helper.h
5255 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5256 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5258 * examples/Makefile.am:
5259 Deprecate hildon-insensitive-example
5261 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5263 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5265 * examples/hildon-pannable-area-buttons-scroll-example.c:
5266 Make all buttons finger height
5268 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5270 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5272 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5273 update the day model only if it is really required, and to avoid the
5274 full-reconstruction aproach. Now it only add or remove the required days.
5276 The purpose of this is avoid superfluous HildonTouchSelector::changed
5279 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5280 with strange parameters)
5282 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5284 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5286 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5287 the WINDOW_TYPE property.
5289 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5291 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5294 Fix dependency to allow parallel compilation with make -jX
5296 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5298 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5299 color frame and some minor tweaks to make it more consistent with
5302 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5303 highlighted but not visible)
5305 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5307 * examples/Makefile.am: Fixed typo in the Makefile.am.
5309 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5311 Reviewed the use of MAEMO_GTK define, now we add the define in the
5312 compilation line, and we also add it to the pc file.
5314 * configure.ac: Added MAEMO_GTK define to the compilation command
5315 and removed it from the config.h.
5317 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5318 do not have to take care about this define if the library was
5322 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5324 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5326 * examples/Makefile.am,
5327 * examples/hildon-pannable-area-buttons-scroll-example.c,
5328 * examples/hildon-pannable-area-gesture-signals-example.c,
5329 * examples/hildon-pannable-area-scroll-jump-example.c,
5330 * examples/hildon-pannable-area-tree-view-example.c:
5331 Renamed the pannable area examples, now they have more meaningful
5334 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5336 * src/hildon-touch-selector.c:
5337 (hildon_touch_selector_set_column_selection_mode): Used of
5338 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5339 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5340 to avoid re-seting the same selection mode.
5342 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5343 breaks HildonPickerDialog)
5345 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5347 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5348 conditional in the Makefile.am
5350 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5352 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5353 Remove unused methods.
5355 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5357 * src/hildon-button.c (hildon_button_init):
5358 Make button images center-aligned by default
5360 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5363 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5364 activated, we have to think about how to deal with both defines
5365 MAEMO_GTK and MAEMO_CHANGES.
5367 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5369 * examples/hildon-app-menu-example.c (create_menu): Make all
5370 buttons finger size.
5372 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5374 Fixed the compilation without maemo gtk adding ifdefs with
5375 MAEMO_GTK define to the code, we have to check this version more
5378 * examples/Makefile.am: Added control to avoid some examples that
5379 just make sense with maemo gtk.
5382 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5383 hildon modes with the define.
5385 * examples/hildon-edit-toolbar-example.c,
5386 (create_icon_view): Create the icon view without hildon-gtk
5387 helpers if we are not using maemo gtk.
5389 * src/hildon-touch-selector.c,
5390 (_create_new_column): Create the treeview without hildon-gtk
5391 helpers if we are not using maemo gtk.
5393 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5395 * src/hildon-pnnable-area.c,
5396 (hildon_pannable_area_dispose),
5397 (hildon_pannable_area_button_press_cb),
5398 (hildon_pannable_area_child_mapped),
5399 (hildon_pannable_area_add),
5400 (hildon_pannable_area_remove): Added code to control the position
5401 of the event_window when adding and removing children from the
5402 pannable. We have to raise the event window when the child is
5405 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5406 selection mode using custom widget inside pannable)
5408 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5410 * configure.ac: post release version bump
5411 * debian/changelog: version bump
5413 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5418 * configure.ac: bump version
5419 * debian/changelog: updates
5421 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5423 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5424 search mode, in order to avoid lose the focus on the treeview when
5425 a hw key (like enter) is pressed.
5427 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5428 in HildonDateSelector dialog)
5430 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5432 * debian/rules: Added --enable-maintainer-mode
5433 * Makefile.am: Added ACLOCAL_AMFLAGS
5435 This allows to properly regenerate the Makefiles if you modify the
5436 configure.ac or any Makefile.am.
5438 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5440 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5441 properties, not needed at all.
5443 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5445 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5447 * src/hildon-note.c: (hildon_note_set_property),
5448 (hildon_note_get_property), (hildon_note_class_init),
5449 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5450 (hildon_note_new_confirmation_add_buttons): Remove icons.
5451 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5452 (hildon_note_new_information_with_icon_name): Deprecate.
5453 (hildon_note_new_confirmation): Act directly, without calling
5454 the deprecated constructor.
5455 (hildon_note_new_information): Act directly, without calling
5456 the deprecated constructor.
5457 * src/hildon-note.h: Mark deprecate methods as such.
5458 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5459 not run tests on the deprecated methods if built with deprecation
5462 Fixes: NB#91688 (Never show icons in information notes/confirmation
5465 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5467 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5468 (hildon_app_menu_key_press): Remove leftover usage of the
5469 private structure in HildonAppMenu struct.
5470 * src/hildon-app-menu.h: Remove leftover private structure
5471 from the HildonAppMenu struct.
5473 Fixes a crasher when using the HildonAppMenu.
5475 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5477 * src/hildon-picker-dialog.c: Use appropriate logical id
5478 for the default "Done" text.
5480 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5482 * configure.ac: post release version bump
5483 * debian/changelog: version bump
5485 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5487 Modified the way to scroll to the current selection just when the touch
5488 selector is shown on the screen, avoiding a g_idle. Added too a property
5489 to configure this behaviour. See hildon_pannable_area_jump_to_child
5490 documentation for more information.
5492 * src/hildon-touch-selector.c
5493 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5494 Added 'initial-scroll' property
5495 (hildon_touch_selector_set_property): Added
5496 (hildon_touch_selector_map): Removed as not required anymore
5497 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5498 only a concrete column, instead of iterate along all the columns
5500 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5505 * configure.ac: bump version
5506 * debian/changelog: updates
5508 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5510 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5511 compilation time warnings.
5513 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5515 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5516 the default value for HildonPannableArea::mov-mode to
5517 HILDON_PANNABLE_AREA_MODE_VERT.
5519 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5521 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5523 Reverting following commit:
5525 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5527 * src/hildon-app-menu-private.h
5528 * src/hildon-app-menu.[ch]
5529 * src/hildon-button.[ch]
5530 * src/hildon-check-button.[ch]
5531 * src/hildon-entry.[ch]
5532 * src/hildon-pannable-area.[ch]
5533 * src/hildon-text-view.[ch]:
5534 Added private field to the object's structure.
5536 because it causes an ABI breakage. We will need to introduce these
5537 changes later at some point. See NB#91636 for an extensive
5538 explanation and status.
5540 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5542 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5544 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5545 remove special cases that are no longer necessary.
5547 Fixes: NB#91016 (Change toolbar sizes, simplification)
5549 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5551 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5552 is shown in the cancel note.
5554 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5556 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5557 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5558 (hildon_seekbar_init): Remove steppers, remove expose event.
5559 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5561 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5563 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5565 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5566 label font to "SmallSystemFont" for vertically arranged buttons.
5568 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5571 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5573 * src/hildon-check-button.c
5574 (hildon_check_button_set_active, hildon_check_button_clicked):
5575 Don't access private parts directly, use getters instead.
5577 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5579 * src/hildon-check-button.c (hildon_check_button_new):
5580 Align the contents of the check button to the left.
5582 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5584 * src/hildon-pannable-area.c,
5585 (hildon_pannable_area_scroll_to),
5586 (hildon_pannable_area_jump_to),
5587 (hildon_pannable_area_scroll_to_child),
5588 (hildon_pannable_area_jump_to_child): Replace the mapped
5589 precondition of these functions with the realized, it is the
5590 correct state of the widget in this case. Changed the
5591 documentation according to this modification.
5593 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5595 Added a new EXTRA_CFLAGS option to add the deprecated define to
5596 the compilation command. This way we can avoid using the define in
5597 the documentation compilation.
5599 * configure.ac: Defined EXTRA_CFLAGS.
5601 * examples/Makefile.am:
5603 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5605 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5607 * src/hildon-picker-dialog.c:
5608 Defined a utility macro with the desired touch selector height
5609 Removed currently unused separator, and title_label variables from
5611 (hildon_picker_dialog_init): Removed code related to the creation
5612 of unused private variables title_label and separator.
5613 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5614 to ensure correct visualization of the touch selector inside the dialog.
5615 * src/hildon-touch-selector.c
5616 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5617 ensure a concrete height of the widget.
5619 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5622 * tests/Makefile.am:
5624 Remove spurious whitespaces.
5626 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5628 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5629 compilation warning after the cancel button removal.
5631 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5633 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5635 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5636 Makefile.am, that way we can choose not to compile some examples
5637 and tests of the deprecated widgets.
5639 * examples/Makefile.am: Divided the sources in deprecated and
5642 * src/Makefile.am: Added undef statement of the deprecated
5643 symbol to the enums file generation process.
5645 * src/hildon-color-chooser-dialog.c
5646 * src/hildon-color-chooser-dialog.h
5647 * src/hildon-color-button.c
5648 * src/hildon-color-button.h
5649 * src/hildon-color-chooser.c
5650 * src/hildon-color-chooser.h
5651 * src/hildon-controlbar.c
5652 * src/hildon-controlbar.h
5653 * src/hildon-date-editor.c
5654 * src/hildon-date-editor.h
5655 * src/hildon-hvolumebar.c
5656 * src/hildon-hvolumebar.h
5657 * src/hildon-private.c
5658 * src/hildon-private.h
5659 * src/hildon-range-editor.c
5660 * src/hildon-range-editor.h
5661 * src/hildon-seekbar.c
5662 * src/hildon-seekbar.h
5663 * src/hildon-time-editor.c
5664 * src/hildon-time-editor.h
5665 * src/hildon-time-picker.c
5666 * src/hildon-time-picker.h
5667 * src/hildon-volumebar.c
5668 * src/hildon-volumebar.h
5669 * src/hildon-vvolumebar.c
5670 * src/hildon-vvolumebar.h
5671 * src/hildon-bread-crumb-trail.h
5672 * src/hildon-bread-crumb-trail.c
5673 * src/hildon-calendar-popup.c
5674 * src/hildon-calendar-popup.h
5675 * src/hildon-weekday-picker.c:
5676 * src/hildon-weekday-picker.h:
5677 * src/hildon-bread-crumb-widget.c:
5678 * src/hildon-bread-crumb-widget.h:
5679 * src/hildon-bread-crumb.c:
5680 * src/hildon-bread-crumb.h:
5681 * src/hildon-calendar.c:
5682 * src/hildon-calendar.h:
5683 * src/hildon-caption.c:
5684 * src/hildon-code-dialog.c:
5685 * src/hildon-code-dialog.h:
5686 * src/hildon-font-selection-dialog.c:
5687 * src/hildon-font-selection-dialog.h:
5688 * src/hildon-get-password-dialog.c:
5689 * src/hildon-get-password-dialog.h:
5690 * src/hildon-login-dialog.c:
5691 * src/hildon-login-dialog.h:
5692 * src/hildon-number-editor.c:
5693 * src/hildon-number-editor.h:
5694 * src/hildon-set-password-dialog.c:
5695 * src/hildon-set-password-dialog.h:
5696 * src/hildon-sort-dialog.c:
5697 * src/hildon-sort-dialog.h: This is the list of deprecated
5700 * src/hildon-touch-selector.c:
5701 * src/hildon-window.c: Added undef statement to avoid compilation
5704 * tests/Makefile.am: Divided the sources in deprecated and
5707 * tests/check_test.c,
5708 (configure_tests): Marked the deprecated code that was adding
5709 suites with deprecated tests.
5711 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5713 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5715 * src/hildon-touch-selector.c: (_default_print_func): Do not
5716 duplicate a string returned by gtk_tree_model_get(), it is already
5719 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5722 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5724 * src/hildon-pannable-area.c
5725 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5726 method, it had problems when adding a widget with viewport the
5727 second time. Now checks if it already has a viewport and uses it.
5729 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5732 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5734 * src/hildon-pannable-area.c,
5735 (hildon_pannable_area_scroll_to),
5736 (hildon_pannable_area_jump_to),
5737 (hildon_pannable_area_scroll_to_child),
5738 (hildon_pannable_area_jump_to_child): Added a precondition to the
5739 scroll and jump to functions: the widget must be mapped before we
5740 can safely call these functions. We have also added documentation
5741 to the functions to explain how to use them in this situation.
5744 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5746 Reviewed the threading handling of the pannable widget, we have
5747 used the gdk_threads_add_timeout function instead of the usual
5748 glib handlers. This avoids some problems with the threads.
5750 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5751 (hildon_pannable_area_initial_effect),
5752 (hildon_pannable_area_scroll_indicator_fade),
5753 (hildon_pannable_area_button_press_cb),
5754 (hildon_pannable_area_timeout),
5755 (hildon_pannable_area_motion_notify_cb),
5756 (hildon_pannable_area_button_release_cb),
5757 (hildon_pannable_area_scroll_cb),
5758 (hildon_pannable_area_scroll_to): Removed the
5759 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5760 gdk_threads_add_timeout.
5762 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5764 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5769 * configure.ac: bump version
5770 * debian/changelog: updates
5772 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5774 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5775 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5776 * src/hildon-color-chooser-dialog.c:
5777 (hildon_color_chooser_dialog_init):
5778 * src/hildon-font-selection-dialog.c:
5779 (hildon_font_selection_dialog_init):
5780 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5782 Remove all cancel/close-like dialogs, as these are not going to be
5785 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5787 * src/hildon-note.c: (hildon_note_rebuild),
5788 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5791 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5793 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5795 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5796 sure all buttons are shown, even the Cancel/Close-like ones.
5798 Fixes: NB#90861 (Custom Confirmation dialogs should be
5799 protected from cancel button removal)
5801 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5803 * debian/control: Change libhildon1-examples dependency from libhildon1
5805 * debian/libhildon1-examples.install
5807 * Makefile.am: Modified the final install directory for the examples on
5808 package libhildon1-examples
5809 * Makefile.static: Update clean target in order to remove all the binary
5812 Changes suggested by Claudio after review new libhildon1-examples package
5814 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5816 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5817 * src/hildon-touch-selector.c: Ditto.
5819 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5821 * debian/control: Added new package libhildon1-examples, in order to pack
5822 the current hildon examples as documentation
5823 * debian/rules: Not to compress .c files, modify some includes on the
5824 examples (as normally are compiled locally, but when installed it will
5825 require to include the installed libhildon1 library), and rename
5827 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5828 install all the example files on the new example package
5829 * examples/Makefile.static: Added static makefile that can be used to
5830 compile the examples, once installed the new example package
5831 * examples: Most of the examples were modified in order to grant that
5832 all use only '#include "hildon.h"', in order to be easy to prepare
5833 it on the example package
5835 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5838 * debian/libhildon1-dev.install
5839 * debian/libhildon1-doc.install:
5840 Move all gtk-doc files to a separate libhildon1-doc package.
5842 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5844 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5846 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5848 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5850 * debian/rules: Fixed a error in order to avoid unnecessary calls
5851 to autogen.sh on package building
5853 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5855 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5857 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5859 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5862 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5864 * src/hildon-picker-button.c
5865 (hildon_picker_button_finalize):
5866 Free priv->done_button_text
5868 * src/hildon-time-button.c
5869 (hildon_time_button_set_time)
5870 * src/hildon-picker-button.c
5871 (hildon_picker_button_clicked)
5872 (hildon_picker_button_selector_selection_changed)
5873 (hildon_picker_button_set_selector)
5874 * src/hildon-date-button.c
5875 (hildon_date_button_set_date):
5876 Free strings returned by hildon_touch_selector_get_current_text()
5878 * src/hildon-button.c (hildon_button_construct_child):
5879 Fix leaks in priv->image and priv->label_box
5881 Fixes: NB#90535 (Memory leak in picker button)
5883 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5885 * src/hildon-button.c: (hildon_button_get_property): Do not access
5886 private elements directly, use getters instead.
5888 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5890 * src/hildon-app-menu-private.h
5891 * src/hildon-app-menu.c
5892 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5893 Store the menu's parent window.
5895 * src/hildon-stackable-window.c
5896 (hildon_stackable_window_toggle_menu)
5897 (hildon_stackable_window_finalize):
5898 Set the menu's parent window when the menu is shown, unset it when
5901 * src/hildon-app-menu.c
5902 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5903 (hildon_app_menu_class_init):
5904 Send unhandled keyboard accelerators to the parent window.
5906 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5908 * src/hildon-stackable-window.c
5909 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5911 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5913 * configure.ac: post release version bump
5915 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5918 * configure.ac: Bump version
5919 * debian/changelog: Updates
5920 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5923 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5925 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5928 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5929 GtkMenu with Hildon style.
5931 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5933 * src/hildon-picker-button.c:
5934 (hildon_picker_button_set_done_button_text): Set the dialog's
5935 done button text here as well.
5937 Fixes: NB#90232 (Picker button does not set the label on done button
5938 for the second time)
5940 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5942 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5945 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5947 * src/hildon-app-menu.c (hildon_app_menu_insert)
5948 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5949 the HildonAppMenu to be activatable using keyboard accelerators
5950 when the menu is not being shown.
5952 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5954 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5956 * src/hildon-stackable-window.c
5957 (hildon_stackable_window_show):
5958 Don't hide old windows automatically when new windows are shown:
5959 this is now a task for the window manager.
5960 (hildon_stackable_window_class_init)
5961 (hildon_stackable_window_hide):
5962 Remove windows from the stack everytime they're hidden.
5963 (hildon_stackable_window_realize):
5964 Don't change the _NET_WM_WINDOW_TYPE property. Use
5965 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5966 it as a stackable window.
5968 * src/hildon-program.c
5969 (hildon_program_pop_window_stack):
5970 Just hide the window to remove it from the stack.
5971 (hildon_program_go_to_root_window):
5972 Don't call gtk_widget_show(), this is now a task for the window
5975 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5977 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5979 * src/hildon-button.c
5980 (hildon_button_construct_child):
5981 Don't pack anything in the button until text or image are
5982 set. This allows adding a custom child after creating the button
5983 with hildon_button_new().
5984 (hildon_button_finalize, hildon_button_class_init)
5985 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5986 alignment and the label box even when they're not packed in the
5989 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5991 * src/hildon-touch-selector.h:
5992 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5993 currently the type definition was using GTK_TYPE_VBOX
5994 * src/hildon-touch-selector.c:
5995 Added some implementation notes in order to clarify that any other widget
5996 added without the column related API will not be included on the
5997 selection logic, and how the widget is freed, as some people ask about
5999 (hildon_touch_selector_remove): Reimplemented in order to free properly
6000 the column related data when you remove the private hbox.
6001 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
6002 to get a proper HildonTouchSelectorColumn documentation
6004 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6006 * src/hildon-touch-selector-entry.c:
6007 (hildon_touch_selector_entry_print_func): Return NULL if there is no
6008 text in the GtkEntry and there is no item selected. Fixes a
6011 2008-10-13 Alberto Garcia <agarcia@igalia.com>
6013 * src/hildon-app-menu-private.h
6014 * src/hildon-app-menu.[ch]
6015 * src/hildon-button.[ch]
6016 * src/hildon-check-button.[ch]
6017 * src/hildon-entry.[ch]
6018 * src/hildon-pannable-area.[ch]
6019 * src/hildon-text-view.[ch]:
6020 Added private field to the object's structure.
6022 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6024 * configure.ac: post-release version bump
6026 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6030 * configure.ac: pre-release version bump
6032 * debian/changelog: updates.
6034 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6036 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6037 Disconnect the handler for HildonTouchSelector::changed.
6039 (hildon_picker_button_selector_selection_changed): Update the button
6040 value if the selection change was not triggered by the
6043 (hildon_picker_button_set_selector): connect to
6044 HildonTouchSelector::changed.
6046 Fixes: NB#89650 (Picker button is not updated, when selection in
6047 selector has changed)
6049 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6051 * src/hildon-picker-dialog.c
6052 (hildon_picker_dialog_realize): Removed as not required
6053 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6054 * src/hildon-picker-button.c
6055 (_current_selector_empty): New function, checks if the selector is empty
6056 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6057 if the current selector is empty, in order to avoid to show the dialog
6058 close the dialog in this case (and shows a g_warning).
6060 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6062 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6064 * src/hildon-pannable-area.c,
6065 (hildon_pannable_area_scroll): Added clause to stop movement when
6066 the child of pannable is smaller than one page.
6067 (hildon_pannable_area_scroll_to): Added conditions to avoid
6068 starting the scrolling movement if the child is smaller than one
6069 page, the complete child is in the screen, we do not have to move.
6071 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6073 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6075 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6076 this is managed automatically by the widget when the size of the
6079 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6081 * src/hildon-picker-button.c
6082 (hildon_picker_button_set_done_button_text): Make a copy of the
6083 text, and free the previous value.
6085 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6087 * src/hildon-touch-selector-entry.c:
6088 (hildon_touch_selector_entry_print_func): Return the selected row's
6089 text if the entry is empty.
6091 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6094 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6096 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6098 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6101 * src/hildon-check-button.h
6102 * src/hildon-check-button.c
6103 * examples/hildon-check-button-example.c:
6104 HildonCheckButton is now a new widget. 'toggled' signal added.
6106 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6108 * src/hildon-program-private.h
6109 * src/hildon-program.c (hildon_program_init)
6110 (hildon_program_finalize): Removed unused variables group_leader
6111 and name from HildonProgramPrivate.
6113 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6115 * src/hildon-check-button.c (hildon_check_button_set_active)
6116 (hildon_check_button_get_active, hildon_check_button_new): Use
6117 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6119 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6121 * src/hildon-touch-selector.h
6122 (hildon_touch_selector_set_column_attributes): added deprecation
6123 guard HILDON_DISABLE_DEPRECATED
6124 * src/hildon-time-selector.c
6125 (hildon_time_selector_set_time)
6126 (hildon_time_selector_get_time): Fixed a typo on documentation
6127 * src/hildon-touch-selector.c: update HildonTouchSelector and
6128 HildonTouchSelectorColumn documentation
6129 * src/hildon-touch-selector-entry.c: update "text-column" property
6131 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6132 to be added to the general documentation.
6134 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6136 * examples/hildon-pannable-area-example-4.c,
6138 * examples/hildon-pannable-area-example.c,
6139 (main): Modified the code in order to use the container add, with
6140 viewport treeviews could have problems if they are really big.
6142 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6144 * src/hildon-weekday-picker.c,
6145 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6146 the agreement regarding deprecation in the library.
6148 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6150 * examples/hildon-picker-button-multicolumn-example.c:
6151 (main): Use custom "done" button text.
6153 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6154 (hildon_picker_button_set_property),
6155 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6156 (hildon_picker_button_init),
6157 (+hildon_picker_button_get_done_button_text),
6158 (+hildon_picker_button_set_done_button_text): New methods to customize
6159 the "done" button label in the launched HildonPickerDialog. Also,
6162 * src/hildon-picker-button.h: add the public API.
6164 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6166 * src/hildon-date-selector.h:
6167 * src/hildon-picker-dialog.h:
6168 * src/hildon-time-selector.h:
6169 * src/hildon-touch-selector-column.h:
6170 * src/hildon-touch-selector.h:
6172 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6173 declarations. Fixes gtk-doc warnings.
6175 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6177 * src/hildon-picker-dialog.h
6178 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6179 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6181 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6182 long text is set as label for done button)
6184 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6186 * src/hildon-dialog.c (hildon_dialog_add_button):
6187 Set fixed width to all buttons in the HildonDialog.
6189 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6191 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6193 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6194 Set widget name using class name plus "-finger" or "-thumb".
6196 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6198 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6199 'clicked' when the state of the button is manually changed.
6201 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6203 * src/hildon-app-menu.c (hildon_app_menu_realize)
6204 (hildon_app_menu_unrealize, hildon_app_menu_init)
6205 (hildon_app_menu_class_init, item_visibility_changed):
6206 Change the menu layout when the size of the screen changes.
6207 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6208 Show warning only when changing the number of colums using the
6211 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6213 * debian/compat: Set to 5
6214 * debian/control: Update dependencies.
6215 * debian/libhildon1-dbg.install: Remove.
6216 * debian/libhildon1-dev.install: Update according to cdbs paths.
6217 * debian/libhildon1.install: Update according to cdbs paths.
6218 * debian/rules: Switch to cdbs.
6220 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6222 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6223 'item' variable renamed to 'filter'
6225 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6227 * src/hildon-app-menu.c (hildon_app_menu_insert)
6228 (hildon_app_menu_add_filter, remove_item_from_list)
6229 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6230 Don't leak hidden items when the menu is destroyed.
6232 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6234 * src/hildon-app-menu.c (hildon_app_menu_insert)
6235 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6236 (hildon_app_menu_set_columns, item_visibility_changed)
6237 (filter_visibility_changed, hildon_app_menu_repack_filters)
6238 (hildon_app_menu_repack_items):
6239 Repack items and filters separately.
6241 Don't repack all items, change only the ones that are needed to
6244 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6246 * src/Makefile.am: added hildon-touch-selector-column.h
6248 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6250 * src/hildon-touch-selector.c: added the property "text-column" to the
6251 class HildonTouchSelectorColumn, and related get/set functions
6252 (_default_printf_func): updated to use "text-column" property
6253 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6254 "text-column" in his documentation, as this is now included on
6255 HildonTouchSelectorColumn. The get/set_property can still be used,
6256 working as a wrapper to the concrete column "text-column" property
6257 (_text_column_modified): callback added in order to handle the signal
6258 "notify::text-column" of the concrete HildonTouchSelectorColumn
6259 (hildon_touch_selector_entry_get_text_column)
6260 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6261 modified in order to use the HildonTouchSelectorColumn "text-column"
6263 * src/hildon-time-selector.c:
6264 * src/hildon-date-selector.c:
6265 * examples/hildon-touch-selector-example.c
6266 * examples/hildon-touch-selector-multi-cells-example.c
6267 * examples/hildon-picker-button-multicolumn-example.c
6268 Set the right value to "text-column" property on the creation of a new
6269 column using hildon_touch_selector_append_column()
6271 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6273 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6275 * src/hildon-app-menu.c
6276 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6277 updating the layout of the menu, don't create all widgets again,
6278 just repack the items in their new places.
6280 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6282 * src/hildon-time-selector.c
6283 (hildon_time_selector_get_time)
6284 (hildon_time_selector_set_time)
6285 Added documentation of these public methods
6287 * src/hildon-date-button.h
6288 * src/hildon-touch-selector-column.h
6289 * src/hildon-time-button.h
6290 * src/hildon-picker-dialog.h
6291 * src/hildon-time-selector.h
6292 * src/hildon-picker-button.h
6293 * src/hildon-touch-selector.h
6294 * src/hildon-time-picker.h
6295 * src/hildon-date-selector.h
6296 * src/hildon-touch-selector-entry.h
6297 Modified in order to use hildon-widgets code style
6299 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6301 Added deprecated support to the compilation process using
6302 HILDON_DISABLE_DEPRECATED
6304 * configure.ac: Added the --disable-deprecated to the configure
6307 * src/hildon-weekday-picker.c:
6308 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6309 to use the deprecated support. We will update the other deprecated
6310 widgets status in a new patch.
6312 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6314 * configure.ac: Fixed typo with fatal warnings support, the
6315 variable name was not correct
6317 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6319 * src/hildon-app-menu.c
6320 * src/hildon-program.c: Update documentation.
6322 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6324 * configure.ac: Post-release version bump.
6326 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6331 * configure.ac: Pre-release version bump.
6332 * debian/changelog: Updates.
6334 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6336 * NEWS: Update news for previous releases.
6338 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6340 * examples/hildon-touch-selector-multi-cells-example.c:
6341 (create_selector): Update the example to use
6342 hildon_touch_selector_append_column() with a NULL renderer and set
6343 the renderers later.
6344 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6345 passed a NULL renderer. This is documented behavior now.
6347 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6348 This must be used if the developer wants full control on the layout of
6349 the renderers to be added to the column.
6351 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6353 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6355 * src/hildon-touch-selector.c: Documentation fixes.
6357 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6359 * src/hildon-wizard-dialog-private.h: Remove image and box.
6360 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6361 (hildon_wizard_dialog_set_property), (response): Completely remove
6362 image/icon support, and the containers required for the layout.
6364 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6366 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6368 * src/hildon-app-menu.c: Updated documentation.
6370 * src/hildon-stackable-window.c
6371 (hildon_stackable_window_set_main_menu): Unref the old menu after
6372 ref'ing the new one.
6374 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6376 * src/hildon-stackable-window.c
6377 (hildon_stackable_window_set_main_menu): Unref the previous menu
6378 instead of destroying it.
6380 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6381 floating reference and set has_user_ref_count to FALSE to make
6382 HildonAppMenu act like a normal ref-counted widget and not a
6385 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6388 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6390 * src/hildon-touch-selector-column.h: new file
6391 * src/hildon-touch-selector.h
6392 * src/hildon-touch-selector.c
6393 Implemented GtkCellLayout interface, in order to allow to configure
6394 the cell layout on each individual selector column
6395 (hildon_touch_selector_set_column_attributes): marked as deprecated
6396 * examples/hildon-touch-selector-multi-cells-example.c
6397 Example of how to use the GtkCellLayout interface on the selector
6399 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6401 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6403 * src/hildon-app-menu.h
6404 * src/hildon-app-menu.c
6405 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6406 (hildon_app_menu_append, hildon_app_menu_prepend):
6407 New methods to prepend, insert and move items in the menu.
6409 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6411 * src/hildon-wizard-dialog.c:
6413 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6415 (create_title): Update logical IDs and related code.
6416 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6418 * src/hildon-wizard-dialog.h: Note that
6419 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6420 point, as it is not used anymore.
6422 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6424 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6426 * src/hildon-note.c:
6427 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6428 shown. Do not display an icon in confirmation notes nor information
6430 (hildon_note_set_button_text): Update logical ID for cancel button.
6432 Fixes: NB#88850 (Update HildonNote button strings + signals)
6434 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6436 * src/hildon-stackable-window.c
6437 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6439 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6441 * src/hildon-app-menu-private.h
6442 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6443 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6444 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6445 temporary property 'columns' to change the number of columns.
6447 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6449 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6451 * examples/hildon-note-example.c: (on_information_clicked),
6452 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6453 debugging information.
6454 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6456 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6457 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6458 in order to close: this will be handled by the WM from now on.
6460 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6462 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6464 * src/hildon-app-menu-private.h
6465 * src/hildon-app-menu.c
6466 (hildon_app_menu_append, hildon_app_menu_add_filter)
6467 (button_visibility_changed, hildon_app_menu_apply_style)
6468 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6469 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6470 layout everytime a button (item or filter) is shown or hidden.
6472 * src/hildon-stackable-window.c
6473 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6476 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6478 * src/hildon-touch-selector.c:
6479 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6480 that the treeview inside the touch selector is in fremantle hildon mode
6481 * examples/hildon-date-button-example.c
6482 * examples/hildon-picker-button-multicolumn-example.c
6483 * examples/hildon-touch-selector-entry-example.c
6484 * examples/hildon-touch-selector-example.c
6485 * examples/hildon-time-button-example.c
6486 * examples/hildon-picker-button-example.c:
6487 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6489 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6491 * examples/hildon-text-view-example.c: (main): Remove the
6492 gtkrc bits, now handled by the theme.
6494 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6496 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6499 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6501 * po/Makefile.am: Install properly the mo files.
6502 * po/en_GB.po: Update translation, to ease testing purposes.
6504 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6506 * examples/hildon-picker-button-example.c: (main): Select an item
6507 in the selector before setting it to the button.
6509 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6511 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6512 Update button's value if the selector has an item active.
6514 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6515 'value' with the selector)
6517 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6519 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6520 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6521 (hildon_picker_button_class_init): Plug the finalize method.
6522 (hildon_picker_button_set_selector): If there's a previously set
6523 selector, unref'it before setting a new one.
6525 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6526 HildonTouchSelector)
6528 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6530 * src/hildon-touch-selector-entry.c:
6531 (hildon_touch_selector_entry_changed): Check if there is no text
6532 selected before setting the entry text.
6535 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6537 * src/hildon-touch-selector.h
6538 * src/hildon-touch-selector.c
6539 (hildon_touch_selector_get_active)
6540 (hildon_touch_selector_set_active): New methods to set/get the
6541 index of the selected item.
6543 * src/hildon-picker-button.h
6544 * src/hildon-picker-button.c
6545 (hildon_picker_button_get_active)
6546 (hildon_picker_button_set_active): New methods to set/get the
6547 index of the selected item.
6549 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6551 * configure.ac: post-release version bump.
6553 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6557 * configure.ac: Pre-release version bump.
6558 * debian/changelog: Updates.
6559 * debian/control: Add myself as maintainer and depend on l10n
6562 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6564 * src/hildon-window.c
6565 (hildon_window_set_main_menu)
6566 * src/hildon-stackable-window.c
6567 (hildon_stackable_window_set_main_menu):
6568 Updated documentation.
6570 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6572 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6573 Don't free selector->priv manually.
6576 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6579 (hildon_gtk_window_set_progress_indicator):
6580 * src/hildon-gtk.h: Added the new API
6581 hildon_gtk_window_set_progress_indicator, it changes the state of
6582 the window progress hint.
6584 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6586 * src/hildon-button.c
6587 * src/hildon-stackable-window.c: Minor documentation updates.
6589 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6591 * src/hildon-stackable-window.c: Updated documentation.
6593 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6595 * src/hildon-defines.h: Update margins definitions
6596 to the Fremantle sizes.
6599 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6601 * src/hildon-touch-selector.c,
6602 (_hildon_touch_selector_set_model): Cleaning the code after
6603 review, removed g_print and #if 0 from the code.
6605 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6607 * src/hildon-edit-toolbar.c: Update documentation.
6609 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6611 * src/hildon-check-button.h
6612 * src/hildon-check-button.c
6613 (hildon_check_button_set_label, hildon_check_button_get_label)
6614 * examples/hildon-check-button-example.c
6615 (button_clicked_cb):
6616 Removed deprecated methods.
6618 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6620 * src/hildon-text-view.c:
6621 Add sample code to the documentation.
6623 * src/hildon-entry.h
6624 * src/hildon-text-view.h:
6625 Minor cosmetic changes.
6627 * src/hildon-entry.c:
6628 Add sample code to the documentation.
6629 (hildon_entry_init, hildon_entry_refresh_contents):
6630 Don't allow NULL values in the placeholder.
6632 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6634 * doc/hildon-docs.sgml
6636 * examples/Makefile.am
6637 * examples/hildon-text-view-example.c
6639 * src/hildon-text-view.c
6640 * src/hildon-text-view.h
6642 New HildonTextView widget, with example.
6644 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6646 * po/POTFILES.in: Add missing files with translatable strings.
6647 Partially fixes NB#88287.
6649 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6651 * examples/hildon-pannable-area-example-2.c: (main): No need to
6652 set the cellrenderer height inside hildon touch lists, the theme does
6655 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6657 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6658 they are integrated in the theme.
6660 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6662 * examples/hildon-entry-example.c: Update the example adding
6663 widgets to modify the text and the placeholder of the HildonEntry.
6665 * src/hildon-entry.c: Show the placeholder everytime the widget
6666 is empty and loses the focus.
6668 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6670 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6672 * src/hildon-pannable-area.c,
6673 (hildon_pannable_area_size_request): Fixed bug in height
6674 requisition, avoid increasing size and add border twice.
6676 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6678 * configure.ac: postrelease version bump.
6680 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6684 * configure.ac: Prerelease version bump.
6685 * debian/changelog: update.
6686 * debian/rules: make -dbg package contain useful debugging symbols.
6688 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6690 * src/hildon-dialog.h
6691 * src/hildon-dialog.c
6692 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6693 New methods to add buttons with finger size.
6694 (hildon_dialog_new_with_buttons):
6695 Create buttons with finger size.
6697 * examples/hildon-dialog-example.c (main): Use HildonDialog
6698 methods to add buttons.
6700 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6702 * src/hildon-entry.c: Updated HildonButton documentation.
6704 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6706 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6707 button value label with (FALSE, FALSE) to prevent NB#88126 from
6710 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6712 * examples/hildon-pannable-area-example.c,
6713 (main): Removed examples panning a vbox inside a pannable
6714 area. Check bug NB#87965
6716 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6718 Patch contributed by Kris Rietveld (kris@imendio.com)
6720 * src/hildon-pannable-area.c,
6721 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6722 get_size and get_position, this saves an X server roundtrip.
6724 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6726 * doc/hildon-docs.sgml
6728 * examples/Makefile.am
6729 * examples/hildon-entry-example.c
6731 * src/hildon-entry.c
6732 * src/hildon-entry.h
6734 New HildonEntry widget, with example.
6736 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6738 * src/hildon-button.c (hildon_button_construct_child): Pack the
6739 image with expand == fill == FALSE. This is a workaround for a bug
6742 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6744 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6745 labels for the text column, to make it more look more dynamic.
6747 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6749 * src/hildon-time-selector.c
6750 Define gettext auxiliar macro N_
6751 (_create_minutes_model)
6752 (_create_hours_model)
6753 (_create_ampm_model): use of strftime in order to fill the model
6754 * src/hildon-date-selector.c
6755 (hildon_date_selector_finalize):
6756 (_locales_init): remove the logic related to get the name of the months
6757 using nl_langinfo, as it is not required anymore
6759 (_create_year_model)
6760 (_create_month_model)
6761 (_update_day_model): use of strftime in order to fill the model properly
6764 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6766 * src/hildon-button.h
6767 * src/hildon-button.c (hildon_button_get_image): New method to
6770 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6772 * src/hildon-touch-selector.c:
6773 (hildon_touch_selector_remove_column): Remove from the correct parent
6774 and also remove the list element and free it.
6777 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6779 * src/hildon-time-selector.c
6780 (_create_hours_model): change the range on 12h ampm format in order to use
6781 a 12-11 range instead of previous 01-12 range
6782 (hildon_time_selector_set_time): change the way to select the current time
6783 on 12h ampm format, due the change on the range
6784 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6787 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6789 * src/hildon-touch-selector.c
6790 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6791 in order to allow use this function on multiple row selection mode if
6792 the column is different that the first one
6795 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6797 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6798 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6800 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6802 * src/hildon-date-selector.h: clean some comments, now on the .c
6803 * src/hildon-date-selector.c
6804 (hildon_date_selector_select_month): first implementation
6805 (hildon_date_selector_select_day): added documentation, reimplemented
6806 using hildon_date_selector_select_current_date to avoid repeat code
6809 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6811 Reviewed interaction logic based on device experiences, refactored
6814 * src/hildon-pannable-area.c,
6815 (hildon_pannable_area_class_init): Updated default vmax speed.
6816 (hildon_pannable_area_calculate_velocity): Added this function, it
6817 avoids duplicate valocity calculation. Adjusted calculation to
6818 avoid problems with zero dist events.
6820 (hildon_pannable_area_motion_notify_cb): Now we use the
6821 calculate_velocity function.
6823 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6825 * src/hildon-date-selector.c
6826 (hildon_date_selector_select_current_date): fix the day range check
6827 as it failed using the last day of the current month
6830 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6832 * src/hildon-touch-selector.c
6833 (hildon_touch_selector_get_num_columns): added a parameter validation
6836 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6838 * examples/Makefile.am
6839 * examples/hildon-edit-toolbar-example.c: Example of the
6840 HildonEditToolbar widget.
6842 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6844 * configure.ac: postrelease version bump.
6846 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6850 * configure.ac: prerelease version bump.
6851 * debian/changelog: update.
6853 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6855 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6856 renderer to display stock icons in the touch list. Also, set the sizes
6857 to the recommended in the style guide.
6859 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6860 * src/hildon-touch-selector.h
6861 (hildon_touch_selector_set_active_iter): renamed, now is
6862 hildon_touch_selector_select_iter
6863 (hildon_touch_selector_get_active_iter): renamed, now is
6864 hildon_touch_selector_get_selected
6865 (hildon_touch_selector_unselect_iter): added
6866 * src/hildon-touch-selector.c
6867 Update after API modification (methods renamed)
6868 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6869 order to avoid problems selecting multiple elements on the column
6870 (hildon_touch_selector_unselect_iter): added the implementation
6871 * src/hildon-time-selector.c
6872 * src/hildon-date-selector.c
6873 * src/hildon-touch-selector-entry.c
6874 Update methods calls after hildon-touch-selector.h API modification (methods
6877 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6879 * src/hildon-stackable-window.c
6880 (hildon_stackable_window_finalize): Call the parent class's finalize.
6882 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6884 * examples/hildon-touch-selector-example.c: (create_selector): Use
6885 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6888 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6890 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6891 set a cell background color, to respect theming.
6893 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6895 * doc/hildon-docs.sgml
6898 * src/hildon-edit-toolbar.c
6899 * src/hildon-edit-toolbar.h
6900 * src/hildon.h: New HildonEditToolbar widget.
6902 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6904 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6907 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6908 * src/hildon-touch-selector.c
6909 (_create_new_column): use g_object_set instead of two g_object_set_property
6911 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6912 * src/hildon-touch-selector.c
6913 (_create_new_column): use of hildon_gtk_tree_view_new to create
6914 the treeview, instead of use directly g_object_new
6915 (_create_new_column): update the property name "vindicator-mode" for the
6916 new one "vscrollbar-policy"
6917 * examples/hildon-date-button-example.c
6918 * examples/hildon-picker-button-multicolumn-example.c
6919 * examples/hildon-touch-selector-entry-example.c
6920 * examples/hildon-touch-selector-example.c
6921 * examples/hildon-time-button-example.c
6922 * examples/hildon-picker-button-example.c
6923 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6924 to all the treeviews inside a pannable area.
6926 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6928 * src/hildon-button.h
6929 * src/hildon-button.c (hildon_button_init)
6930 (hildon_button_set_arrangement, hildon_button_set_alignment)
6931 (hildon_button_set_title_alignment)
6932 (hildon_button_set_value_alignment)
6933 (hildon_button_set_image_alignment)
6934 (hildon_button_construct_child): New methods to set the alignment
6935 of the individual components of the button (title, value,
6936 image). Also, new method to alter the xscale and yscale properties
6937 of the GtkAlignment inside the button, so more complex layouts can
6940 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6942 * src/hildon-button.c (hildon_button_style_set)
6943 (hildon_button_class_init, hildon_button_set_arrangement)
6944 (hildon_button_construct_child): Apply style properties
6945 correctly. Use the 'image-spacing' style property too.
6947 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6949 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6950 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6953 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6955 * src/hildon-pannable-area.c,
6956 (hildon_pannable_area_size_request): Fixed problem with
6957 pannable-area size_request.
6959 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6961 Added management for the grab-focus to a child widget, like a
6962 range, we need to fade out the scrollbar when releasing.
6964 * src/hildon-pannable-area.c,
6965 (hildon_pannable_area_init): Connected the grab-focus signal to
6967 (hildon_pannable_area_grab_notify): Added this function in order
6968 to manage the situation when the grab-focus ends. We have to
6969 fade-out the scrollbar.
6971 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6973 * src/hildon-app-menu.c: Minor documentation update.
6975 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6977 * src/hildon-app-menu.c
6978 * examples/hildon-app-menu-example.c (create_menu): Update
6979 examples and documentation to explain how to connect callbacks.
6981 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6983 * examples/hildon-button-example.c
6984 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6985 hildon_stackable_window_new instead of gtk_window_new
6987 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6989 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6990 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6991 (hildon_pannable_area_set_property),
6992 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6993 (hildon_pannable_area_unrealize),
6994 (hildon_pannable_area_size_request),
6995 (hildon_pannable_area_size_allocate),
6996 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6997 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6998 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6999 (hildon_pannable_area_initial_effect),
7000 (hildon_pannable_area_redraw),
7001 (hildon_pannable_area_scroll_indicator_fade),
7002 (hildon_pannable_area_expose_event),
7003 (hildon_pannable_area_get_topmost), (synth_crossing),
7004 (hildon_pannable_area_button_press_cb),
7005 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
7006 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
7007 (hildon_pannable_area_motion_notify_cb),
7008 (hildon_pannable_area_button_release_cb),
7009 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
7010 (hildon_pannable_area_remove),
7011 (hildon_pannable_calculate_vel_factor): Widget refactorization,
7012 chage the code layout to a more GtkWidget like. Review the use of
7015 2008-08-21 Alejandro G. Castro <alex@igalia.com>
7017 * examples/hildon-pannable-area-example-4.c,
7018 (main): Modified the name of the hindicator_mode to
7021 * src/hildon-pannable-area.c,
7022 (hildon_pannable_area_class_init),
7023 (hildon_pannable_area_motion_notify_cb),
7024 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7025 we have reduced the amount of signals and managed reviewed its
7026 rationale. Changed the default decelerate value.
7028 (hildon_pannable_area_add),
7029 (hildon_pannable_area_redraw): Refactored functions.
7031 (hildon_pannable_area_init),
7032 (hildon_pannable_area_get_property),
7033 (hildon_pannable_area_set_property):
7034 (hildon_pannable_draw_vscroll),
7035 (hildon_pannable_draw_hscroll),
7036 (hildon_pannable_area_initial_effect),
7037 (hildon_pannable_area_expose_event),
7038 (hildon_pannable_area_scroll),
7039 (hildon_pannable_area_button_press_cb),
7040 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7041 and vindicator_mode with hscrollbar_policy and
7042 vscrollbar_policy. Replaced hscroll and vscroll with
7043 hscroll_visible and vscroll_visible.
7045 (hildon_pannable_area_refresh): Refactor the function, remove
7046 variables and check the calls to this function, added resize
7047 conditions in case the children change their layout.
7049 (hildon_pannable_area_size_request): Added more detailed
7050 size_request calculation.
7053 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7055 * src/hildon-color-chooser.c
7056 (init_borders): use the correct gtk_border_free instead of g_free, to
7057 avoid a crash when this widget is used (ie: the three color selection
7060 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7062 * src/hildon-check-button.c,
7063 (hildon_check_button_set_active): Fixed problem when setting the
7064 active value, the widget was not redrawn.
7066 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7068 * src/hildon-pannable-area.c,
7069 (hildon_pannable_area_refresh),
7070 (hildon_pannable_area_scroll),
7071 (hildon_pannable_area_motion_notify_cb): Small code style change.
7073 (hildon_pannable_area_class_init): Default initial_hint set to
7074 FALSE, it is not in the specs.
7076 (hildon_pannable_area_initial_effect),
7077 (hildon_pannable_area_expose_event),
7078 (hildon_pannable_area_map),
7079 (hildon_pannable_area_init): Moved the launching point of the
7080 initial effect, it was in map but the sizes where not correct in
7081 that method so we do not know if we have the reproduce it. Now it
7082 is placed in the expose_event method and uses a variable to
7083 reproduce it just once.
7085 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7087 * src/hildon-pannable-area.c,
7088 (hildon_pannable_draw_vscroll),
7089 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7090 position allowed for the scrollbars.
7092 (hildon_pannable_area_size_allocate): Small style change.
7094 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7096 * src/hildon-pannable-area.c,
7097 (hildon_pannable_area_scroll_indicator_fade),
7098 (hildon_pannable_area_button_press_cb),
7099 (hildon_pannable_area_button_release_cb),
7100 (hildon_pannable_area_scroll_cb),
7101 (hildon_pannable_area_expose_event),
7102 (hildon_pannable_area_init): Added the define parameter
7103 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7104 and refactor the fade variable.
7106 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7108 * src/hildon-pannable-area.c,
7109 (hildon_pannable_area_redraw),
7110 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7111 lines, we were reimplemeting the redraw code.
7113 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7115 * src/hildon-pannable-area.c,
7116 (hildon_pannable_area_scroll_cb),
7117 (hildon_pannable_area_realize),
7118 (hildon_pannable_area_class_init): Added scroll_event management
7119 for pannable area, now we can scroll the usual desktop method.
7121 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7122 initialization of the parameters should depend on idle_id.
7124 (hildon_pannable_area_init),
7125 (hildon_pannable_area_map): Small code style modifications
7127 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7129 * src/hildon-pannable-area.c
7130 (hildon_pannable_area_button_press_cb),
7131 (hildon_pannable_area_motion_notify_cb),
7132 (hildon_pannable_area_button_release_cb),
7133 (hildon_pannable_area_size_allocate),
7134 (hildon_pannable_area_scroll_to): Improved the timeouts
7135 management, we avoid creating them each time.
7137 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7139 * src/hildon-pannable-area.c:
7140 (hildon_pannable_area_refresh),
7141 (hildon_pannable_area_motion_notify_cb),
7142 (hildon_pannable_area_class_init):
7143 * src/hildon-pannable-area.h:
7144 * src/hildon-touch-selector.c
7145 (_create_new_column):
7146 * examples/hildon-pannable-area-example-4.c:
7147 (horizontal_movement),
7148 (vertical_movement),
7150 Replaced the names of enums in the HildonPannableArea:
7151 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7152 HILDON_MOVEMENT_MODE_*
7153 - HILDON_PANNABLE_AREA_MOV_* ->
7155 - Removed HildonPannableAreaIndicatorMode, now we
7158 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7160 * examples/hildon-pannable-area-touch-grid-example.c
7161 * examples/hildon-pannable-area-touch-list-example.c: Fix
7162 compilation warnings.
7164 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7166 * src/hildon-gtk.c (hildon_gtk_button_new)
7167 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7168 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7169 images overriding the value of the "gtk-button-images" setting.
7171 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7173 * src/hildon-check-button.c (hildon_check_button_new):
7174 Instead of using a custom container, display the label and the
7175 checkbox using the standard GtkButton API.
7177 * examples/hildon-check-button-example.c (main): Don't use
7178 hildon_check_button_set_label() anymore
7180 * src/hildon-check-button.h
7181 * src/hildon-check-button.c
7182 (hildon_check_button_set_label, hildon_check_button_get_label):
7183 Set as deprecated, now we're using gtk_button_{get,set}_label()
7185 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7187 * src/hildon-pannable-area.c,
7188 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7189 GtkTreeview first line we detected it after the inclusion of the
7190 GtkWindowImpl in gtk+. We now check if the window is visible, not
7191 just if the pointer is over the window.
7192 (hildon_pannable_axis_scroll),
7193 (hildon_pannable_area_expose_event): Small style changes.
7195 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7197 * src/hildon-button.c: Update documentation.
7199 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7201 * examples/hildon-button-example.c: Add a switch to show images in
7204 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7206 * doc/hildon-docs.sgml: Some docs reorganization.
7208 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7210 * examples/hildon-pannable-area-touch-list-example.c
7212 * examples/hildon-pannable-area-touch-grid-example.c
7213 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7214 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7215 Fix memory leak when setting the tree model.
7217 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7221 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7223 * doc/hildon.types: Remove duplicated hildon_window_get_type
7224 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7225 documentation comment.
7227 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7229 * doc/Makefile.am: Complete list of private headers.
7231 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7233 * doc/hildon-docs.sgml
7234 * src/hildon-app-menu.c
7235 * src/hildon-bread-crumb.c
7236 * src/hildon-button.c
7238 * src/hildon-program.c
7239 * src/hildon-stackable-window.c
7240 * src/hildon-window.c: Lots of documentation updates.
7242 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7244 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7246 * configure.ac: Require Gtk+ 2.12.9 at least
7248 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7250 * src/hildon-pannable-area.c
7251 (hildon_pannable_area_scroll_indicator_fade),
7252 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7253 to protect the return of this timeout callbacks, avoiding deadlocks.
7255 2008-08-12 Christian Dywan <christian@imendio.com>
7258 * src/hildon-*.h: Ensure a consistent include order,
7259 include <gtk/gtk.h> instead of particular files and
7260 only include the topmost header in the gtk stack. See NB #39857
7262 2008-08-12 Christian Dywan <christian@imendio.com>
7264 * src/hildon-picker-dialog.c
7265 * src/hildon-touch-selector.c: Fix warnings about unused and
7266 uninitialized variables.
7268 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7270 * examples/Makefile.am
7271 * examples/hildon-check-button-example.c: Example of the hildon
7274 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7276 * src/hildon-window.h
7277 * src/hildon-window.c (hildon_window_class_init)
7278 (hildon_window_unset_program): Don't make
7279 hildon_window_unset_program a virtual function anymore.
7281 * src/hildon-stackable-window.c: Update documentation
7283 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7286 * doc/hildon-docs.sgml
7287 * doc/visual_index.xml
7288 * src/hildon-defines.c
7290 * src/hildon-helper.c
7291 * src/hildon-range-editor.c: Lots of documentation fixes.
7293 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7295 * examples/hildon-picker-button-multicolumn-example.c
7296 (create_touch_selector): Fix compilation warning.
7298 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7300 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7301 (hildon_pannable_area_button_release_cb)
7302 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7304 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7306 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7309 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7311 * src/hildon-bread-crumb-trail.h
7312 * src/hildon-date-editor.c
7313 * src/hildon-date-selector.c
7314 * src/hildon-pannable-area.c
7315 * src/hildon-picker-dialog.c
7316 * src/hildon-time-selector.c
7317 * src/hildon-touch-selector-entry.c
7318 * src/hildon-touch-selector.c
7319 * src/hildon-touch-selector.h: Misc documentation fixes
7321 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7323 * examples/hildon-date-editor-example.c (main): Updated date
7326 * examples/hildon-note-example.c (on_confirmation_clicked):
7327 Updated confirmation note example.
7329 * src/hildon-date-editor.c
7330 * src/hildon-note.c: Updated sample programs in documentation.
7333 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7335 * src/hildon-date-button.h:
7336 * src/hildon-picker-button.h:
7337 * src/hildon-time-button.c:
7338 * src/hildon-time-button.h:
7340 Some declarations changes to allow gtk-doc to document the widgets
7343 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7345 * src/hildon-date-button.c: Document the widget.
7346 * src/hildon-time-button.c: Document the widget.
7348 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7350 * src/hildon-picker-button.c: Document the widget.
7351 * src/hildon-touch-selector-entry.c: Document the widget.
7353 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7355 * doc/hildon-docs.sgml
7358 * src/hildon-check-button.h
7359 * src/hildon-check-button.c: New functions to create the Hildon
7363 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7365 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7367 * src/hildon-button.h
7368 * src/hildon-button.c
7369 (hildon_button_add_title_size_group)
7370 (hildon_button_add_value_size_group)
7371 (hildon_button_add_image_size_group)
7372 (hildon_button_add_size_groups): New functions to set size groups
7373 for the button labels and image.
7374 (hildon_button_new_full): Removed
7376 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7378 * src/hildon-time-selector.c
7379 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7380 in order to avoid a crash if gconf is not available
7382 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7384 * src/hildon-button.c (hildon_button_set_arrangement)
7385 (hildon_button_construct_child): Don't construct the button child
7386 before setting the arrangement.
7388 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7390 * src/hildon-program-private.h
7391 * src/hildon-program.c
7392 * src/hildon-program.h
7393 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7394 (hildon_program_peek_window_stack)
7395 (hildon_program_pop_window_stack)
7396 (hildon_program_go_to_root_window): HildonProgram now has a
7397 separate list for stackable windows. Functions are provided to
7398 manage that list with a stack-like API.
7400 * src/hildon-stackable-window.c: Stackable window management is
7401 now much simpler with the new HildonProgram API. Windows no
7402 longer need to be manually added to the program, they're
7403 automatically pushed to the top of the stack when shown.
7405 * examples/hildon-stackable-window-example.c: Updated example to
7406 reflect the API changes.
7408 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7410 * src/hildon-touch-selector.c: Comment out unimplemented
7411 hildon_touch_selector_insert_column() to avoid a compile warning.
7413 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7415 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7416 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7417 (hildon_touch_selector_set_column_selection_mode),
7418 (_hildon_touch_selector_set_model),
7419 (hildon_touch_selector_set_model):
7421 Complete review of HildonTouchSelector documentation.
7423 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7425 * doc/hildon-docs.sgml
7429 * src/hildon-gtk.c: Convenience functions for standard Gtk
7430 widgets, used to easily perform frequent operations.
7432 * src/hildon-button-helpers.h
7433 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7435 * src/hildon-helper.h
7436 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7437 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7439 * src/hildon-button.h
7440 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7442 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7444 * src/hildon-button.c (hildon_button_init)
7445 (hildon_button_set_arrangement, hildon_button_construct_child):
7446 Pack the image and the labels inside the same GtkAlignment so
7447 gtk_button_set_alignment() can be used
7449 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7451 * src/hildon-button.h
7452 * src/hildon-button.c
7453 (hildon_button_init, hildon_button_set_image)
7454 (hildon_button_set_image_position)
7455 (hildon_button_construct_child): New functions to add an image to
7458 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7460 * src/hildon-date-button.c
7461 * src/hildon-picker-button.c
7462 * src/hildon-time-button.c
7463 * src/hildon-button.c:
7464 (hildon_button_class_init): "size-flags" renamed to "size"
7465 (hildon_button_set_title): Hide the title label if set to NULL.
7467 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7469 HildonButtonFlags split into HildonButtonArrangement (to set the
7470 button layout) and HildonSizeType (which can be used for any
7473 * src/hildon-button.h
7474 * src/hildon-button.c
7475 (hildon_button_class_init)
7476 (hildon_button_set_arrangement)
7477 (hildon_button_set_property): New "size-flags"
7478 property. "arrangement-flags" renamed to "arrangement".
7479 (hildon_button_new, hildon_button_new_with_text)
7480 (hildon_button_new_full): Constructors updated to reflect type changes.
7482 * src/hildon-helper.h
7483 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7484 to set the size of a widget.
7488 * src/hildon-button-helpers.c
7489 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7491 * src/hildon-date-button.c
7492 * src/hildon-date-button.h
7493 * src/hildon-picker-button.c
7494 * src/hildon-picker-button.h
7495 * src/hildon-time-button.c
7496 * src/hildon-time-button.h: Updated widgets to reflect
7497 HildonButton API changes.
7499 * examples/hildon-button-example.c
7500 * examples/hildon-date-button-example.c
7501 * examples/hildon-picker-button-example.c
7502 * examples/hildon-picker-button-multicolumn-example.c
7503 * examples/hildon-time-button-example.c
7504 * examples/hildon-touch-selector-entry-example.c
7505 * examples/hildon-touch-selector-example.c: Updated examples to
7506 reflect HildonButton API changes.
7508 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7510 * doc/hildon-docs.sgml:
7512 * examples/Makefile.am:
7513 * examples/hildon-touch-selector-entry-example.c:
7515 * src/hildon-touch-selector-entry.c:
7516 * src/hildon-touch-selector-entry.h:
7519 Moved HildonTouchSelectorEntry from sandbox. Added its
7520 documentation and examples.
7522 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7524 * src/hildon-touch-selector.h:
7525 * examples/hildon-picker-button-multicolumn-example.c:
7526 (hildon_touch_selector_append_text_column): Add a gboolean
7527 parameter to determine if text must be centered in the column.
7529 * src/hildon-date-selector.c: (hildon_date_selector_init):
7530 * src/hildon-time-selector.c: (hildon_time_selector_init):
7531 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7532 (create_touch_selector): Update widgets and example to reflect
7535 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7537 * src/hildon-touch-selector.c:
7538 (hildon_touch_selector_set_active_iter): Set also the cursor in
7541 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7543 * doc/hildon-docs.sgml
7546 * src/hildon-toggle-button.c
7547 * src/hildon-toggle-button.h
7548 * src/hildon.h: Removed HildonToggleButton widget, a derived
7549 class is not necessary for this.
7551 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7553 * src/hildon-pannable-area.c,
7554 (hildon_pannable_area_realize),
7555 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7558 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7560 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7561 "done" button the default widget for the dialog.
7563 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7565 * src/hildon-touch-selector.c:
7566 (hildon_touch_selector_class_init),
7567 (hildon_touch_selector_get_property),
7568 (_hildon_touch_selector_set_model),
7569 (_hildon_touch_selector_has_multiple_selection),
7570 (hildon_touch_selector_has_multiple_selection):
7571 Add a "has-multiple-selection" property with a virtual
7572 has_multiple_selection() method to allow derived classes to
7573 override the default value for it. See the method and property
7574 documentation for details.
7576 * src/hildon-touch-selector.h: Add the new API.
7578 * src/hildon-picker-dialog.c: (requires_done_button): Call
7579 hildon_touch_selector_has_multiple_selection() instead of
7580 determining the need for a button itself.
7582 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7584 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7585 (_hildon_touch_selector_set_model),
7586 (hildon_touch_selector_set_model): Move working code to
7587 _hildon_touch_selector_set_mode(). Call the class method instead.
7589 * src/hildon-touch-selector.h: Add (*set_model) to
7590 HildonTouchSelectorClass.
7592 Make hildon_touch_selector_set_model() a virtual method, so that
7593 derived classes can extend it and do fancy stuff with the model.
7595 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7597 * configure.ac: Set back the tarname in AC_INIT to hildon.
7599 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7603 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7604 instead of libesd (NB#86876). Volume handling is still an open issue.
7606 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7609 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7611 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7612 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7613 derived class to ease placement of an entry widget in
7614 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7615 end, where the selector columns are packed now.
7617 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7619 * src/hildon-picker-button.c: Removed the simple _text() API.
7620 * src/hildon-picker-button.h: Likewise.
7622 * src/hildon-touch-selector.h:
7623 * src/hildon-touch-selector.c:
7624 (hildon_touch_selector_new_text),
7625 (hildon_touch_selector_append_text),
7626 (hildon_touch_selector_prepend_text),
7627 (hildon_touch_selector_insert_text):
7629 Moved the simple _text() API from HildonPickerButton to
7630 HildonTouchPicker, to provide better escalability and not to tie
7631 that API to HildonPickerButton.
7633 * examples/hildon-picker-button-example.c: (main): Example updated.
7635 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7637 * src/hildon-button.c: Updated documentation.
7639 * examples/hildon-button-example.c: Add the posibility to create
7640 the buttons using horizontal layout for title and value.
7642 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7644 * src/hildon-app-menu-private.h
7645 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7646 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7647 GtkSizeGroup for the filters, use the 'homogeneous' property of
7650 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7652 * examples/hildon-button-example.c: Updated example.
7654 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7656 * doc/hildon-docs.sgml:
7659 Update documentation.
7661 * examples/Makefile.am: Update renamed examples.
7663 * examples/hildon-picker-button-multicolumn-example.c:
7664 (create_touch_selector), (main): Update after the rename.
7666 * examples/hildon-touch-picker-example.c: Removed.
7667 * examples/hildon-touch-selector-example.c: (value_changed),
7668 (create_selector), (get_visible_content), (main): Renamed from
7669 hildon-touch-picker-example.c
7671 * src/Makefile.am: Updated renamed files.
7673 * src/hildon-date-button.c: (hildon_date_button_init),
7674 (hildon_date_button_get_date), (hildon_date_button_set_date):
7675 * src/hildon-date-selector.c: (hildon_date_selector_init),
7676 (_custom_print_func), (_update_day_model),
7677 (_manage_selector_change_cb),
7678 (hildon_date_selector_select_current_date),
7679 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7680 * src/hildon-date-selector.h:
7681 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7682 (hildon_picker_button_set_property),
7683 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7684 (hildon_picker_button_init), (hildon_picker_button_new_text),
7685 (hildon_picker_button_append_text),
7686 (hildon_picker_button_prepend_text),
7687 (hildon_picker_button_insert_text),
7688 (hildon_picker_button_set_selector),
7689 (hildon_picker_button_get_selector):
7690 * src/hildon-picker-button.h:
7691 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7692 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7693 (_update_title_on_selector_changed_cb), (requires_done_button),
7694 (_hildon_picker_dialog_set_selector),
7695 (hildon_picker_dialog_set_selector),
7696 (hildon_picker_dialog_get_selector):
7697 * src/hildon-picker-dialog.h:
7698 * src/hildon-time-button.c: (hildon_time_button_init),
7699 (hildon_time_button_get_time), (hildon_time_button_set_time):
7700 * src/hildon-time-selector.c: (hildon_time_selector_init),
7701 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7702 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7703 * src/hildon-time-selector.h:
7706 Massive code updates after the rename.
7708 * src/hildon-touch-picker.c: Removed.
7709 * src/hildon-touch-picker.h: Removed.
7711 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7712 (hildon_touch_selector_init), (hildon_touch_selector_map),
7713 (hildon_touch_selector_remove), (_default_print_func),
7714 (_selection_changed_cb), (_create_new_column),
7715 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7716 (hildon_touch_selector_append_text_column),
7717 (hildon_touch_selector_remove_column),
7718 (hildon_touch_selector_set_column_attributes),
7719 (hildon_touch_selector_insert_column),
7720 (hildon_touch_selector_get_num_columns),
7721 (hildon_touch_selector_get_column_selection_mode),
7722 (hildon_touch_selector_set_column_selection_mode),
7723 (hildon_touch_selector_set_print_func),
7724 (hildon_touch_selector_get_print_func),
7725 (hildon_touch_selector_get_active_iter),
7726 (hildon_touch_selector_set_active_iter),
7727 (hildon_touch_selector_get_selected_rows),
7728 (hildon_touch_selector_get_model),
7729 (hildon_touch_selector_set_model),
7730 (hildon_touch_selector_get_current_text),
7731 (_hildon_touch_selector_center_on_selected_items):
7732 * src/hildon-touch-selector.h: Renamed from
7733 hildon-touch-picker.[ch]
7735 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7736 references, code examples, and related documentation.
7738 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7740 * doc/hildon-docs.sgml
7743 * src/hildon-toggle-button.c
7744 * src/hildon-toggle-button.h
7745 * src/hildon.h: New HildonToggleButton widget.
7747 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7749 * src/hildon-button.c: Add API documentation.
7750 (hildon_button_set_size_groups): Check input parameters
7752 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7754 * src/hildon-pannable-area.c
7755 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7756 effect after reaching the movement thredshold. This way we start
7757 using the distance after passing the thredshold.
7759 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7761 * src/hildon-button.c: (hildon_button_set_property): Use the
7762 appropriate g_value_get_flags() method.
7764 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7766 * doc/hildon-docs.sgml:
7769 Add the touch pickers, picker dialogs, and picker button widgets
7770 to the documentation.
7772 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7774 * src/hildon-button.c: (hildon_button_set_property),
7775 (hildon_button_class_init): Make "arrangement-flags" a proper
7776 G_TYPE_FLAGS derived property.
7778 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7780 * examples/Makefile.am: Add below examples.
7781 * examples/hildon-date-button-example.c:
7782 * examples/hildon-picker-button-example.c:
7783 * examples/hildon-picker-button-multicolumn-example.c:
7784 * examples/hildon-time-button-example.c:
7785 * examples/hildon-touch-picker-example.c:
7787 Add examples for the recently added touch pickers,
7788 picker dialogs, and picker button widgets.
7790 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7792 * src/hildon-button.c: Add some API documentation
7794 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7796 * src/hildon-button.h
7797 * src/hildon-button.c
7799 (hildon_button_new_with_text): New constructor to create a button
7800 with no text at all.
7801 (hildon_button_init, hildon_button_set_arrangement)
7802 (hildon_button_set_title, hildon_button_set_value)
7803 (hildon_button_set_text)
7804 (hildon_button_construct_child): Hide the value when it's not used
7805 so the rest of the text is properly aligned.
7806 Allow creating buttons with arbitrary widgets inside (not just
7807 title/value labels).
7809 * examples/hildon-button-example.c (vertical_buttons_window)
7810 (horizontal_buttons_window): Update example to use new API.
7812 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7814 * src/Makefile.am: Added HildonTimeButton.
7815 * src/hildon-time-button.c: Added missing LGPL header.
7816 * src/hildon-time-button.h: Added missing LGPL header.
7817 * src/hildon.h: Add hildon-time-button.h
7819 Copied HildonTimeButton from sandbox to trunk. Future work on this
7820 widget must take place in trunk.
7822 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7824 * src/Makefile.am: Added HildonDateButton.
7825 * src/hildon-date-button.c: Update includes.
7826 * src/hildon.h: Add hildon-date-button.h
7828 Copied HildonDateButton from sandbox to trunk. Future work on this
7829 widget must take place in trunk.
7831 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7833 * src/Makefile.am: Added HildonPickerButton.
7834 * src/hildon-picker-button.h: Update includes.
7835 * src/hildon.h: Add hildon-picker-button.h
7837 Copied HildonPickerButton from sandbox to trunk. Future work on
7838 this widget must take place in trunk.
7840 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7842 * src/Makefile.am: Added HildonPickerDialog.
7843 * src/hildon-picker-dialog.c: Update includes.
7844 * src/hildon.h: Add hildon-picker-dialog.h
7846 Copied HildonPickerDialog from sandbox to trunk. Future work
7847 on this widget must take place in trunk.
7849 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7851 * src/Makefile.am: Added HildonTimeSelector.
7852 * src/hildon.h: Add hildon-time-selector.h
7854 Copied HildonTimeSelector widget from sandbox to trunk. Future
7855 work on this widget must happen in trunk.
7857 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7859 * src/Makefile.am: Added HildonDateSelector.
7860 * src/hildon.h: Add hildon-date-selector.h
7862 Copied HildonDateSelector widget from sandbox to trunk. Future
7863 work on this widget must happen in trunk.
7865 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7867 * src/Makefile.am: Added HildonTouchPicker.
7868 * src/hildon-touch-picker.c: Update includes.
7869 * src/hildon.h: Add hildon-touch-picker.h
7871 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7872 on this widget must happen in trunk.
7874 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7876 * src/hildon-pannable-area.c:
7877 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7879 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7881 * examples/hildon-app-menu-example.c (main): Let the window
7884 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7886 * src/hildon-pannable-area.c
7887 (hildon_pannable_area_class_init): Set the min value of the
7888 overshoot properties to zero, which points out that not
7889 overshooting allowed.
7891 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7893 Modified the procedure to get the widget at a point inside the
7894 pannable area when using the movement type signals. Now the user
7895 has to call a function to get the child, that way we just
7896 calculate the child in case the user really want to use it and not
7899 * src/hildon-marshalers.list: Modified the marshallers, now we do
7900 not have the widget as a parameter.
7902 * src/hildon-pannable-area.c
7903 (hildon_pannable_area_motion_notify_cb),
7904 (hildon_pannable_area_class_init),
7905 (hildon_pannable_get_child_widget_at): Removed the widget
7906 parameter from the signal callback. We have also refactored the
7907 emission of the signals.
7909 * src/hildon-pannable-area.h: Added a new method to the API to
7910 calculate a widget at a point inside the pannable area,
7911 hildon_pannable_get_child_widget_at.
7913 * examples/hildon-pannable-area-example-4.c
7914 (horizontal_movement): Modified the example to use the new API,
7915 added condition to control which widget is under the event. This
7916 way we can avoid scrolling laterally over other widgets.
7918 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7920 * src/hildon-pannable-area.c
7921 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7922 modes, we stop getting the pointer events due to returning the
7923 callback without properly calling the get pointer again. Fixed
7924 also an error using the hscroll and vscroll.
7926 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7928 * src/hildon-app-menu-private.h
7929 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7930 (hildon_app_menu_button_release, hildon_app_menu_init)
7931 (hildon_app_menu_class_init): Don't hide the menu on button
7932 release if the user didn't press outside first.
7934 * src/hildon-window.h
7935 * src/hildon-window.c (hildon_window_toggle_menu)
7936 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7937 hildon_window_toggle_menu a virtual function for the stackable
7938 window to override it.
7940 * src/hildon-stackable-window.h
7941 * src/hildon-stackable-window-private.h
7942 * src/hildon-stackable-window.c
7943 (hildon_stackable_window_realize)
7944 (hildon_stackable_window_finalize)
7945 (hildon_stackable_window_class_init)
7946 (hildon_stackable_window_init)
7947 (hildon_stackable_window_set_main_menu): New function to set the
7948 app menu of a HildonStackableWindow.
7950 * examples/hildon-app-menu-example.c: Remove the button to show
7951 the app menu, now it'll be shown when clicking on the title bar
7954 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7956 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7957 set the widget name if the arrangement flags do not specify
7960 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7962 * src/hildon-button.c: (hildon_button_set_property),
7963 (hildon_button_class_init), (hildon_button_new_full),
7964 (hildon_button_set_arrangement): Added "arrangement-flags"
7967 Make the HildonButtonFlags a construction-only property, to allow
7968 subclasses to set them properly.
7970 2008-07-21 Tim Janik <timj@imendio.com>
7972 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7973 insertion position after backspace, so additional digits are appended,
7976 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7978 * src/hildon-pannable-area.c,
7979 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7980 TODO list, it was complete and removed the g_debug and g_print
7983 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7985 Added the movement modes to the hildon-pannable-area, with this
7986 modes the developers can control in which directions the widget
7987 can scroll. They can also connect to signals in order to do
7988 something when that happens, allowing applications scroll. There
7989 is an example uploaded showing how to use it.
7991 * examples/Makefile.am:
7992 * examples/hildon-pannable-area-example-4.c: Added this example of
7993 an application using the modes.
7995 * src/hildon-marshalers.list: Added a new marshaller for the new
7998 * src/hildon-pannable-area.h: Added new enumerations and flags in
7999 order to control the movement modes and the new signals to warn
8000 about the movements in the area.
8002 * src/hildon-pannable-area.c:
8003 (hildon_pannable_axis_scroll),
8004 (hildon_pannable_area_scroll),
8005 (hildon_pannable_area_motion_notify_cb),
8006 (hildon_pannable_area_get_property),
8007 (hildon_pannable_area_set_property),
8008 (hildon_pannable_area_map),
8009 (hildon_pannable_area_class_init),
8010 (hildon_pannable_area_init),
8011 (hildon_pannable_area_jump_to): Added the modes to control the
8012 movement in the widget. We have added properties to control it,
8013 signals to warn about the movements and refactored some code.
8015 2008-07-15 Alejandro G. Castro <alex@igalia.com>
8017 Changes required in order to allow vfast_factor set to zero to
8020 * src/hildon-pannable-area.c:
8021 (hildon_pannable_area_button_press_cb): Changed the condition, it
8022 is required for not allowing click when vfast_factor is zero.
8023 (hildon_pannable_area_timeout): Initialized velocity variables
8024 when we stop moving, it was less than 1 but not zero and we need
8025 to check zero in some situations.
8026 (hildon_pannable_area_class_init): Changed the default value of
8027 the speed factor, now the button_press is just sent in case the
8028 speed is 2 per cent of the max speed.
8029 (hildon_pannable_area_init): Initialization with 0.
8031 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8033 * src/hildon-pannable-area.c,
8034 (hildon_pannable_area_get_topmost): replaced
8035 gdk_window_get_children with gdk_window_peek_children, this way we
8036 do not have to free the list because it is not a copy.
8038 (hildon_pannable_axis_scroll),
8039 (hildon_pannable_area_scroll),
8040 (hildon_pannable_area_timeout),
8041 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8042 two parameters that were only used inside the
8043 hildon_pannable_area_scroll function.
8045 * examples/hildon-pannable-area-example.c,
8046 (get_sawtooth_label): Fixed small memory leak.
8048 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8050 More checks for the case where the overshoot is bigger than the
8053 * src/hildon-pannable-area.c:
8054 (hildon_pannable_draw_vscroll),
8055 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8056 to draw the slider of the scrollbar under the other scrollbar.
8057 (hildon_pannable_area_expose_event): added new checks to control
8058 the drawing of the overshooting area rectangle, in case it is too
8059 big for the area of the widget.
8060 (hildon_pannable_area_size_allocate): add more checks to avoid
8061 setting a position to the child widget outside the area.
8063 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8065 * src/hildon-pannable-area.c
8066 (hildon_pannable_area_size_allocate): Added conditions to control
8067 when overshooting is bigger than the allocated space for the
8068 children, this avoids negative allocations.
8070 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8072 * doc/hildon-docs.sgml
8074 * examples/Makefile.am
8075 * examples/hildon-button-example.c
8077 * src/hildon-button.c
8078 * src/hildon-button.h
8079 * src/hildon.h: Initial version of the new HildonButton widget,
8082 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8084 * src/hildon-pannable-area.c:
8085 (hildon_pannable_area_button_press_cb),
8086 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8087 (hildon_pannable_area_motion_notify_cb),
8088 (hildon_pannable_area_button_release_cb),
8089 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8090 (hildon_pannable_area_jump_to_child):
8092 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8094 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8096 * examples/Makefile.am
8097 * examples/hildon-pannable-area-touch-grid-example.c
8098 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8099 the Hildon Touch List and Hildon Touch Grid using the
8100 HildonPannableArea widget.
8102 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8104 * src/hildon-pannable-area.c,
8105 (hildon_pannable_area_button_press_cb),
8106 (hildon_pannable_area_refresh),
8107 (hildon_pannable_area_scroll),
8108 (hildon_pannable_area_motion_notify_cb),
8109 (hildon_pannable_area_button_release_cb),
8110 (hildon_pannable_area_expose_event),
8111 (hildon_pannable_area_add),
8112 (hildon_pannable_area_remove),
8113 (hildon_pannable_area_realize),
8114 (hildon_pannable_area_size_allocate),
8115 (hildon_pannable_area_class_init),
8116 (hildon_pannable_area_init),
8117 (hildon_pannable_area_scroll_to_child),
8118 (hildon_pannable_area_jump_to_child): Fixed the problem of
8119 removing the child from the GtkBin, we have rearranged the widget
8120 hierarchy, now there is no GtkAlignment which was not doing
8121 anything interesting but breaking some of the assumptions of
8122 GtkContainer. Now developers if they want to add a GtkAlignment
8123 they could, but it is not inside the area.
8125 We had to review the whole allocation/expose process, now it is
8126 improved and we save at least three signals which would be saving
8127 some time when rendering the widget. The allocation of the
8128 scrollbars is now made in the allocate method as usual.
8130 We have also added some conditions in order to control when there
8131 is no child of the pannable area. Maybe we will need more work
8134 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8136 * src/hildon-pannable-area.c,
8137 (hildon_pannable_area_dispose): Released the fade-out timeout when
8138 disposing the widget.
8140 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8142 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8143 zero, we are going to use that property in order to deactivate the
8145 (hildon_pannable_axis_scroll),
8146 (hildon_pannable_area_size_allocate): Added conditions to control
8147 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8148 call, now it is called in all situations and we can remove calls
8149 in the allocate method.
8150 (hildon_pannable_area_map): Control the situation when
8151 overshoot_max is zero, we do not need the timeout.
8152 (hildon_pannable_area_class_init): Added documentation in order to
8153 point out that setting zero to overshoot_max means deactivate
8156 NOTE: removed trailing whitespaces from my previous comments of
8159 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8161 * src/hildon-pannable-area.c
8162 (hildon_pannable_area_get_property),
8163 (hildon_pannable_area_set_property),
8164 (hildon_pannable_area_map),
8165 (hildon_pannable_area_class_init),
8166 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8167 to cause the widget give a hint about its panning abilities upon
8170 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8172 * src/hildon-pannable-area.c: Several documentation improvements.
8174 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8176 * src/hildon-program.c
8177 * src/hildon-stackable-window.c: Update documentation.
8179 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8181 * src/hildon-stackable-window.c (get_previous_window_if_last):
8182 Renamed get_last_window()
8183 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8184 (hildon_stackable_window_unset_program):
8186 (get_previous_window_if_last):
8187 Detect if the window hasn't been added to a HildonProgram.
8189 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8191 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8193 * src/hildon-pannable-area.c
8194 (hildon_pannable_area_button_press_cb),
8195 (hildon_pannable_axis_scroll),
8196 (hildon_pannable_area_scroll),
8197 (hildon_pannable_area_timeout),
8198 (hildon_pannable_calculate_vel_factor),
8199 (hildon_pannable_area_get_property),
8200 (hildon_pannable_area_set_property),
8201 (hildon_pannable_area_class_init),
8202 (hildon_pannable_area_init),
8203 (hildon_pannable_area_scroll_to),
8204 (hildon_pannable_area_jump_to),
8205 (hildon_pannable_area_scroll_to_child),
8206 (hildon_pannable_area_jump_to_child):
8207 * src/hildon-pannable-area.h: Added the new API functions:
8208 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8209 hildon_pannable_area_scroll_to_child,
8210 hildon_pannable_area_jump_to_child
8213 * examples/Makefile.am
8214 * examples/hildon-pannable-area-example-2.c
8215 * examples/hildon-pannable-area-example-3.c: Added these two new
8216 examples in order to test and show how the new APIs work.
8218 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8220 * examples/hildon-stackable-window-example.c (new_window):
8221 * src/Makefile.am (noinst_HEADERS):
8222 * src/hildon-program.c (hildon_program_go_to_root_window):
8223 * src/hildon-program.h:
8224 * src/hildon-stackable-window-private.h:
8225 * src/hildon-stackable-window.c:
8226 * src/hildon-stackable-window.h:
8227 Create hildon-stackable-window-private.h
8228 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8230 * examples/hildon-app-menu-example.c (create_menu):
8231 * examples/hildon-hvolumebar-insensitive-example.c (main):
8232 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8233 * examples/hildon-toolbar-seekbar-example.c (main):
8234 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8235 * src/hildon-banner.c (hildon_banner_set_property):
8236 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8237 Fix compilation warnings
8239 * src/hildon-window.c:
8242 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8244 * src/hildon-stackable-window.c
8245 (hildon_stackable_window_unset_program):
8246 Calculate correctly whether to show the previous window if the
8247 last one is removed from the stack.
8248 (hildon_stackable_window_go_to_root_window):
8249 Send delete events starting from the topmost window.
8250 Stop if one of the windows is not destroyed.
8252 (hildon_stackable_window_delete_event)
8253 (hildon_stackable_window_class_init):
8254 Ignore the delete event if the window is not the topmost one.
8256 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8258 * src/hildon-pannable-area.c
8259 (hildon_pannable_area_expose_event): Fixed a problem when
8260 selecting the background color of the scrollbars.
8262 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8264 * examples/hildon-stackable-window-example.c
8265 * src/hildon-stackable-window.c
8266 * src/hildon-stackable-window.h
8267 hildon_stackable_window_go_home() renamed to
8268 hildon_stackable_window_go_to_root_window()
8269 Send delete events to windows rather than closing them with
8270 gtk_widget_destroy()
8272 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8274 * src/hildon-pannable-area.c
8275 (hildon_pannable_area_button_release_cb): Fix overshooting in
8278 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8280 * src/hildon-pannable-area.c
8281 (hildon_pannable_area_init): Initially show the scroll indicators.
8282 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8284 Add initial effect showing the widget is pannable.
8286 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8288 * src/hildon-pannable-area.c
8289 (hildon_pannable_area_class_init)
8290 (hildon_pannable_area_set_property)
8291 (hildon_pannable_area_get_property)
8292 (hildon_pannable_area_button_press_cb):
8293 New 'velocity_fast_factor' property to decide which velocity is
8296 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8298 * src/hildon-pannable-area.c
8299 (hildon_pannable_draw_hscroll)
8300 (hildon_pannable_draw_vscroll):
8301 Use float variables to calculate the size of the scrollbars to
8302 avoid error propagation and resizing during scrolling.
8304 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8306 * src/hildon-pannable-area.c
8307 (hildon_pannable_draw_vscroll)
8308 (hildon_pannable_draw_hscroll):
8309 Define a minimum size for the scroll bars
8311 * src/hildon-stackable-window.c
8312 (hildon_stackable_window_go_home): Fix compilation warning
8313 (get_last_window): Minor optimizations
8314 (hildon_stackable_window_class_init): Fix initialization of
8317 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8319 * src/hildon-stackable-window.c: Fixed typos in doc
8321 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8323 * src/hildon-pannable-area.c
8324 (hildon_pannable_area_scroll):
8325 Calculate here whether we need to scroll instead of using the booleans
8326 that tell us whether to /draw/ the scrolling bars.
8328 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8330 * src/hildon-app-menu.h
8332 * src/hildon-app-menu.c
8333 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8334 multiple filter groups related code and API. Now we support only
8336 * examples/hildon-app-menu-example.c:
8338 Update to reflect API changes.
8340 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8342 * src/hildon-stackable-window.c
8343 (hildon_stackable_window_class_init):
8344 Add hildon_stackable_window_realize.
8345 (hildon_stackable_window_realize):
8346 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8347 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8348 to apply theming and behavior specific to HildonStackableWindow
8351 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8353 * src/hildon-note.c (hildon_note_button_release):
8354 Close information notes also when tapping on them
8356 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8358 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8359 ELASTICITY, refactor and review, fix some issues with drawing
8362 * src/hildon-pannable-area.c:
8363 (hildon_pannable_area_button_press_cb): removed the conditions to
8364 avoid clicks when overshooting. It is not required
8366 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8367 define. Refatored and reviewed the code, now we do not need to
8368 manage velocity in motion_notify.
8370 (hildon_pannable_area_motion_notify_cb): We have moved the code
8371 that controls the area_scroll to the axis_scroll function and get
8372 rid of duplicated code.
8374 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8376 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8378 (hildon_pannable_draw_vscroll),
8379 (hildon_pannable_draw_hscroll): Fixed the problems with the
8380 scrollbar drawing, now we do not use two surfaces, it is easier
8381 and saves resources.
8383 (hildon_pannable_area_get_property): Style modification.
8385 (hildon_pannable_area_class_init): Changed some default values.
8387 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8389 * src/hildon-stackable-window.c: Fix some typos in the
8392 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8394 * src/hildon-dialog.c:
8395 Change indentation style
8398 (hildon_note_button_release):
8399 Use root coordinates to check if the release event happened
8402 * src/hildon-app-menu.c
8403 (hildon_app_menu_button_release):
8404 Remove unnecessary check
8406 * examples/hildon-app-menu-example.c
8408 Add cast to fix warning
8410 * src/hildon-app-menu.c
8411 (hildon_app_menu_class_init):
8412 New inner-border style property.
8413 Set all default spacings to 16
8414 (hildon_app_menu_init):
8415 Use vertical-spacing to set the space between filter buttons and
8416 regular menu buttons.
8417 Set the default container border using the inner-border value.
8419 * examples/hildon-app-menu-example.c
8421 Don't set the menu border explicitly, now we have the inner-border
8422 style property for that.
8424 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8426 * src/hildon-app-menu.c (hildon_app_menu_init):
8427 Make the window modal
8429 * src/hildon-note.c (hildon_note_map)
8430 * src/hildon-app-menu.c (hildon_app_menu_map):
8431 Destroy the grab window if we're unable to grab the pointer
8433 * src/hildon-app-menu-private.h
8434 * src/hildon-app-menu.c
8435 (hildon_app_menu_init, hildon_app_menu_finalize)
8436 (hildon_app_menu_map, hildon_app_menu_unmap)
8437 (hildon_app_menu_button_release)
8438 (grab_transfer_window_get):
8439 Bring back the grab window
8440 (hildon_app_menu_realize):
8441 Decorate the window, set WM hint for Matchbox
8443 * src/hildon-note.c (hildon_note_realize):
8444 * src/hildon-banner.c (hildon_banner_realize):
8445 Add WM hints for Matchbox
8447 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8449 * src/hildon-app-menu-private.h
8450 * src/hildon-app-menu.c
8451 (hildon_app_menu_init, hildon_app_menu_finalize)
8452 (hildon_app_menu_map, hildon_app_menu_unmap)
8453 (hildon_app_menu_button_release):
8454 Remove the grab window, it's not needed anymore
8456 * src/hildon-program.c
8457 Fixed typo in documentation
8459 * src/hildon-app-menu.h
8460 * src/hildon-app-menu.c
8461 * examples/hildon-app-menu-example.c
8462 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8464 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8467 Added new transfer_window and close_if_pressed_outside private
8469 (hildon_note_rebuild):
8470 Don't add a cancel button to the information note. It will be
8471 closed when tapping outside
8472 Remove the comment about the OK button in the documentation
8473 (hildon_note_realize):
8474 Set the notification type hint
8475 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8476 Grab/ungrab pointer and keyboard if the note has to be closed when
8478 (hildon_note_button_release):
8479 Close the note when tapping outside (if applicable)
8481 * src/hildon-app-menu.c
8482 Grab/ungrab pointer and keyboard on map/unmap
8483 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8484 Close the menu on button release, not button press
8486 * src/hildon-banner.c
8487 (hildon_banner_set_property)
8488 (hildon_banner_check_position):
8489 Make the banner use the full width of the screen
8490 (hildon_banner_show_information)
8491 (hildon_banner_show_information_with_markup):
8492 Don't display an icon by default
8494 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8496 Added fading scrollbars and adapted all the overshooting code to
8497 horizontal scrolling. We have also fixed bugs with overshooting
8498 and current fading implementation.
8500 * src/hildon-pannable-area.c
8501 (hildon_pannable_area_scroll_indicator_fade): Time out function
8502 used to change the transparency of the scrollbars.
8504 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8505 control and fixed a problem with fading, we now remove the fade
8506 timeout before adding a new one.
8508 (hildon_pannable_axis_scroll):
8509 (hildon_pannable_area_scroll):
8510 (hildon_pannable_area_timeout): Added this functions so we can use
8511 the scroll code both for vertical and horizontal.
8513 (hildon_pannable_area_motion_notify_cb):
8514 (hildon_pannable_area_button_release_cb): Added the horizontal
8515 scrolling control, fixed a problem with the overshooting timeout.
8517 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8518 painting of the scrolls.
8520 (hildon_pannable_draw_vscroll):
8521 (hildon_pannable_draw_hscroll):
8522 (hildon_pannable_area_expose_event):
8523 Draw both scrollbars and rectangles in the overshooting area.
8525 (hildon_pannable_area_get_property):
8526 (hildon_pannable_area_set_property):
8527 Modified the overshoot property to overshoot_max
8529 (hildon_pannable_area_map):
8530 Replaced the comments symbols.
8532 (hildon_pannable_area_size_allocate):
8533 (hildon_pannable_area_class_init):
8534 (hildon_pannable_area_init): Added horizontal scroll, fading
8535 effect properties, fixed a problem when overshooting in the bottom
8538 * examples/hildon-pannable-area-example.c:
8539 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8540 looks better in the example.
8542 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8544 * src/hildon-window.c
8545 * src/hildon-window.h
8546 (hildon_window_class_init)
8547 (hildon_window_unset_program)
8548 (hildon_window_unset_program_real):
8549 Make unset_program a virtual function
8551 * src/hildon-stackable-window.c
8552 * src/hildon-stackable-window.h
8553 Added hildon_stackable_window_go_home()
8555 * examples/Makefile.am
8556 * examples/hildon-stackable-window-example.c
8557 HildonStackableWindow example
8559 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8561 * hildon-pannable-area.c: Added the overshoot property and removed
8562 the OVERSHOOT define. Fixed an indent style error.
8563 (hildon_pannable_area_motion_notify_cb):
8564 (hildon_pannable_area_get_property):
8565 (hildon_pannable_area_set_property): Add overshoot property.
8567 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8570 (hildon_pannable_area_class_init): Installed the new property.
8572 * hildon-pannable-area-example.c: Added a sawtooth function, this
8573 way it is easier to check the movement in the pannable.
8574 (get_sawtooth_label): Added this function.
8575 (main): Now we get the labels from the new get_sawtooth_label
8578 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8580 * src/hildon-app-menu.h
8581 * src/hildon-app-menu.c
8582 Renamed API variables for consistency
8584 (hildon_app_menu_popup): Use also the default window size to
8585 decide where to place the menu
8587 (hildon_app_menu_init, hildon_app_menu_class_init): New
8588 external-border style property
8590 2008-05-26 Michael Natterer <mitch@imendio.com>
8592 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8593 widget_class->tap_and_hold_setup signal slot doesn't exist any
8594 longer, stop overriding it.
8596 (hildon_time_editor_init): g_signal_connect() to the
8597 tap-and-hold-setup signal instead.
8599 (hildon_time_editor_entry_keypress): add cast to fix warning.
8601 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8603 * doc/hildon-docs.sgml
8605 * examples/Makefile.am
8606 * examples/hildon-app-menu-example.c
8608 * src/hildon-app-menu-private.h
8609 * src/hildon-app-menu.c
8610 * src/hildon-app-menu.h
8612 New HildonAppMenu widget
8614 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8616 Rearranged the inheritance of the pannable area, now it inherits
8617 from GtkBin. This will allow us to control the event_window and
8618 the allocation process of the widget, required for some effects.
8620 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8621 GtkBin structures. * src/hildon-pannable-area.c: Added the
8622 event_window variable.
8623 (hildon_pannable_area_button_press_cb):
8624 (hildon_pannable_area_button_release_cb):
8625 (hildon_pannable_area_motion_notify_cb):
8626 Changed the signature of the method, now we override the event
8627 callback instead of connecting to the signal.
8629 (hildon_pannable_area_realize):
8630 (hildon_pannable_area_unrealize):
8631 (hildon_pannable_area_map):
8632 (hildon_pannable_area_unmap):
8633 (hildon_pannable_area_size_allocate):
8634 Added functions to control the widget construction. We add a
8635 INPUT_ONLY window and we put it over the widgets inside the
8636 container, this event_window handles the events.
8638 (hildon_pannable_area_class_init):
8639 Replaced the signal connections with overrides of the event
8642 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8644 Bouncing effect added when touching the borders, you can change
8645 the elasticity of the border changing the ELASTICITY define.
8647 * src/hildon-pannable-area.c: Added ELASTICITY define.
8648 (hildon_pannable_area_timeout): Added inverse velocity when
8649 touching the border of the child widget, that causes a bounce.
8651 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8653 Improved performance, we now do not go to the X server in order to
8654 get the list of window children. Apparently the effect is the
8655 same, we have to be careful and check if this breaks something in
8658 * src/hildon-pannable-area.c:
8659 (get_ordered_children): Removed this function.
8660 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8661 the children windows function with gdk_window_get_children.
8663 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8665 * src/hildon-pannable-area.c:
8666 (hildon_pannable_area_dispose): Fixed a crash when closing the
8667 window and kinetics is activated.
8669 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8671 * src/hildon-pannable-area.h
8672 * src/hildon-pannable-area.c
8673 Changed indentation style to meet the one used in Hildon
8675 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8677 Reviewed the interaction of the AUTO mode, now we use the time
8678 attribute of the events and calculate the velocity in the motion,
8679 doing a gimp like calculation. The velocity is calculated in each
8680 motion event using the last velocity and the current one, the
8681 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8683 * src/hildon-pannable-area.c: Replaced the time based algorithm
8685 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8686 timeout for the AUTO mode when we are still moving the cursor. We
8687 added also the velocity calculation in this function.
8688 (hildon_pannable_area_button_release_cb): launch the timeout in
8689 case we are in AUTO mode. There are still some constants here that
8690 come from the old implementation that should be reviewed and
8693 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8695 * doc/hildon-docs.sgml
8698 * src/hildon-stackable-window.c
8699 * src/hildon-stackable-window.h
8701 New HildonStackableWindow widget
8703 * examples/hildon-dialog-example.c
8704 * examples/hildon-pannable-area-example.c
8707 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8709 * src/hildon-dialog.c
8710 (hildon_dialog_new_with_buttons): New constructor.
8712 * examples/hildon-dialog-example.c
8713 (main): Update the example to use the new
8714 hildon_dialog_new_with_buttons().
8716 * examples/hildon-pannable-area-example.c
8717 (main): Update example.
8719 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8721 * doc/hildon-docs.sgml
8723 Added HildonPannableArea to the documentation.
8725 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8727 * doc/visual_index.xml
8728 Fix reference to HildonLoginDialog in documentation
8730 * doc/hildon-docs.sgml
8732 * examples/Makefile.am
8733 * examples/hildon-dialog-example.c
8735 * src/hildon-dialog.c
8736 * src/hildon-dialog.h
8738 New HildonDialog widget.
8740 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8742 * src/hildon-pannable-area.c
8743 Merge latest changes (r4318, r4342) from libmokoui trunk
8745 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8747 * examples/Makefile.am
8748 * examples/hildon-pannable-area-example.c
8750 * src/hildon-pannable-area.c
8751 * src/hildon-pannable-area.h
8753 New HildonPannableArea widget.
8755 2008-04-15 18:05:19 <timj@imendio.com>
8757 * src/hildon-banner.c: revert the recent change, that introduced
8758 gtk_window_present() calls. this reopens:
8759 Bug 78481 - [freetest] information banners are hidden under browser menu
8760 But resolves another variant of:
8761 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8763 2008-04-15 13:21:13 <timj@imendio.com>
8765 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8766 recreated its layout, spotted by Kris. this fixes all remaining
8767 artefacts and stability issues with the banner code. in particular:
8768 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8770 2008-04-14 16:52:59 <timj@imendio.com>
8772 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8773 operating on unrealized widgets, fixes:
8774 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8776 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8778 2008-04-09 Kristian Rietveld <kris@imendio.com>
8780 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8781 makes banner disappear.
8782 Fixes: NB#79182: info banner flickering with certain message lengts.
8784 * src/hildon-banner.c (hildon_banner_constructor),
8785 (hildon_banner_init), (hildon_banner_set_text),
8786 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8787 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8788 FALSE, reset size requests of label and banner,
8789 (force_to_wrap_truncated): when the text is too wide, always enforce
8790 the maximum possible width instead of recalculating it from the
8791 layout; enforce the maximum banner height of 3 lines,
8792 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8793 nicer wrapping and no truncated chars if space gets tight.
8795 * src/hildon-banner-private.h: add has_been_wrapped and
8796 has_been_truncated fields.
8798 2008-04-07 Sven Herzberg <sven@imendio.com>
8800 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8801 local values in hildon_date_editor_size_allocate
8803 * src/hildon-date-editor.c: moved the real allocation code into the
8806 2008-04-07 Sven Herzberg <sven@imendio.com>
8808 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8809 local values in hildon_date_editor_size_allocate
8811 * src/hildon-date-editor.c: merged the two if() branches together
8813 2008-04-07 Sven Herzberg <sven@imendio.com>
8815 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8816 local values in hildon_date_editor_size_allocate
8818 * src/hildon-date-editor.c: changed the arguments of the if()
8821 2008-04-07 Sven Herzberg <sven@imendio.com>
8823 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8824 local values in hildon_date_editor_size_allocate
8826 * src/hildon-date-editor.c: split the calculation of the allocation
8827 from the real allocation
8829 2008-03-27 Michael Natterer <mitch@imendio.com>
8831 Fixes: NB#81696: The passcode is not overwritten even after
8834 * src/hildon-code-dialog.c
8835 (hildon_code_dialog_button_clicked)
8836 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8837 because that doesn't overwrite selected text. Instead, emit the
8838 "commit" signal on the entry's im_context so the entry's normal
8839 insert logic is triggered. Set the cursor to the end of the entry
8840 after each insert operation so that we *only* insert in the middle
8841 of the text if something was selected.
8843 2008-03-27 Michael Natterer <mitch@imendio.com>
8845 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8846 selector cannot be opened
8848 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8849 when the popup color selector is created. Please connect to this
8850 signal in order to set the dialog's help ID.
8852 2008-03-25 Sven Herzberg <sven@imendio.com>
8854 Fixes: MB#1212: Hide info banners (infoprints) on click
8856 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8857 extracted the close event simulation into an extra function
8858 (hildon_banner_button_press_event): simulate a close event and destroy
8859 the widget if the event wasn't handled
8860 (hildon_banner_class_init): added the button_press_event handler
8861 (hildon_banner_init): added button-press events to the widget
8863 2008-03-25 Sven Herzberg <sven@imendio.com>
8865 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8866 Patch from: Mohammad Anwari <mdamt@maemo.org>
8868 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8869 instead of the right in RTL mode
8870 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8871 breadcrumb button list in RTL mode
8872 * src/hildon-caption.c: mirror the appearance of the caption widget in
8874 * src/hildon-date-editor.c: mirror appearance of the date editor in
8876 * src/hildon-time-editor.c: mirror appearance of the time editor in
8878 * src/hildon-window.c: fix the position of the popup in RTL mode
8880 2008-03-25 Sven Herzberg <sven@imendio.com>
8882 Amendment to the fix of NB#22072. Fix compilation.
8884 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8886 2008-03-19 Sven Herzberg <sven@imendio.com>
8888 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8891 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8892 timeout id properly when the timeout will disappear this leaves no
8893 artifacts around in the destroy(); there will only be the timeout
8894 created by hildon_banner_ensure_timeout() and adding a new timeout
8895 will also work if the timeout gets removed because the timeout_handler
8898 2008-03-19 Michael Natterer <mitch@imendio.com>
8900 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8902 * src/hildon-volumebar.c
8903 * src/hildon-vvolumebar.c
8904 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8905 the widget becomes focussable at all.
8907 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8908 set the focus to wither the mute button or the volumebar.
8910 Remove own "can-focus" property and instead listen to
8911 notify::can-focus in order to update the widget's state.
8913 Implement GtkWidget::focus() and make sure we can also *leave* the
8914 widget, not only enter it, depending on volumebar orientation and
8915 requested focus direction.
8917 Clean up set_mute() to cooperate nicely with all the above.
8919 2008-03-04 Michael Natterer <mitch@imendio.com>
8921 Fixes: NB#78481: information banners are hidden under browser menu
8923 * src/hildon-banner.c: call gtk_window_present() on the banners so
8924 they are risen if they are already visible.
8926 2008-03-03 Sven Herzberg <sven@imendio.com>
8928 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8930 * examples/hildon-window-menu-example.c: (main): extended the window
8931 menu example to serve as a testcase for automatically added
8932 accelerator groups, too
8933 * src/hildon-window.c: (hildon_window_add_accel_group),
8934 (hildon_window_set_menu): added patch by Tommi Komulainen
8936 2008-03-03 Sven Herzberg <sven@imendio.com>
8938 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8940 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8941 knowledge about the border allocators used within GTK+
8943 2008-02-26 Sven Herzberg <sven@imendio.com>
8945 Fixes: MB#2981: Build with asserts broken
8947 * src/hildon-date-editor.c,
8948 * src/hildon-number-editor.c,
8949 * src/hildon-time-editor.c,
8950 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8951 the proper GType instance check
8953 2008-02-25 Sven Herzberg <sven@imendio.com>
8955 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8957 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8958 * examples/hildon-window-menu-example.c: (main): explicitly show
8960 * src/hildon-window.c:
8961 (hildon_window_set_main_menu): moved most of the code from set_menu()
8962 to this place; skipped the call to gtk_widget_show_all(); also didn't
8963 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8964 (hildon_window_set_menu): removed most of the code, just keep the
8965 questionable gtk_widget_show_all()
8966 * src/hildon-window.h: added the new function and deprecate the old
8969 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8975 * debian/changelog: Updating.
8977 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8980 * pkgconfig/Makefile.am:
8981 * pkgconfig/hildon.pc.in:
8984 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8985 use newly created API_MAJOR_VERSION.
8987 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8993 * debian/changelog: Updating.
8995 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8997 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8999 Add outer_border style property, we use it but don't define it (!).
9003 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
9005 * examples/hildon-bread-crumb-trail-example.c (main):
9009 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
9011 Fix logic for the bread crumb trail node removal.
9015 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * debian/changelog: Updating.
9023 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9025 Patch by Alejandro to get/set passwords dialogs accesibility.
9027 * hildon-1/src/hildon-get-password-dialog.c:
9028 * hildon-1/src/hildon-set-password-dialog.c:
9029 Set atk_set_name to the passwd entries in order to allow
9030 accessibility by name on this entries.
9032 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9037 * debian/control: Updating gtk dep.
9039 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9041 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9042 USE_MAEMO_GTK is enabled.
9044 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9046 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9047 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9049 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9055 * debian/changelog: Updating.
9057 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9059 * examples/Makefile.am:
9060 * examples/hildon-logical-color-example.c:
9061 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9062 applied + adding a test case. Fixes: NB#71660.
9064 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9066 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9067 to be visible, fixes warning on map for windows without toolbars.
9069 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9071 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9072 2.11.0, add a check for that besides the MAEMO_GTK check.
9074 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * debian/changelog: Updating.
9082 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9084 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9085 visibility. Fixes: NB#70842 and MB#615.
9087 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9089 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9090 set the separator as no-show-all so it doesn't unintentionally appear when
9091 someone does a show_all.
9093 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9095 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9096 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9097 toplevel item. Fixes: NB#62031
9099 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9101 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9102 fix the name of the function in the docs.
9104 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * debian/changelog: Updating.
9112 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * examples/hildon-banner-long-example.c: Adding a test-case for long
9117 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9119 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9121 * src/hildon-color-chooser-dialog.c:
9122 * src/hildon-color-chooser.c:
9123 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9124 memory leaks in font selector and color selector. Fixes: NB#70499 and
9127 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9129 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9131 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9134 little bit bigger. Fixes: #NB63694.
9136 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9142 * debian/changelog: Updating.
9144 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9147 * doc/hildon-docs.sgml:
9148 * doc/images/bread-crumb-trail.png:
9149 * doc/images/calendar-popup.png:
9150 * doc/images/caption.png:
9151 * doc/images/code-dialog.png:
9152 * doc/images/color-button.png:
9153 * doc/images/color-chooser-dialog.png:
9154 * doc/images/color-chooser.png:
9155 * doc/images/controlbar.png:
9156 * doc/images/date-editor.png:
9157 * doc/images/font-selection-dialog.png:
9158 * doc/images/get-password-dialog.png:
9159 * doc/images/hvolumebar.png:
9160 * doc/images/login-dialog.png:
9161 * doc/images/note.png:
9162 * doc/images/number-editor.png:
9163 * doc/images/range-editor.png:
9164 * doc/images/seekbar.png:
9165 * doc/images/set-password-dialog.png:
9166 * doc/images/sort-dialog.png:
9167 * doc/images/time-editor.png:
9168 * doc/images/time-picker.png:
9169 * doc/images/vvolumebar.png:
9170 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9171 Adding the bread-crumb-trial and helpers to the documentation.
9173 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9175 * examples/hildon-find-toolbar-example.c:
9176 * src/hildon-find-toolbar.c:
9177 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9178 actually continue firing the other handlers if connected. Adding a new
9180 hildon_find_toolbar_get_last_index that gets the index of the most
9181 recently added (last) item. Fixes: NB#52301.
9183 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9186 behaviour. Fixes: NB#68610.
9188 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9193 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9195 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9196 when realizing the banner. Should make the infonbanner effect a bit more
9199 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9201 * src/hildon-volumebar.c:
9202 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9203 hildon_volumebar_set_range_insensitive_message and
9204 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9206 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9208 * src/hildon-window.c: Fixing the border freeing on destroy.
9210 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9212 * src/hildon-code-dialog-private.h:
9213 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9214 kw keyboard support in HildonCodeDialog.
9216 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9222 * debian/changelog: Updating.
9224 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9226 * src/hildon-date-editor.c:
9227 * src/hildon-number-editor.c:
9228 * src/hildon-private.c:
9229 * src/hildon-private.h:
9230 * src/hildon-time-editor.c:
9231 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9232 handling in subclassed composite widgets. Fixes: NB#66628.
9234 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9237 from destroy_ callback as it introduces problems in async dbus signal
9238 handlers. Fixes NB#66673.
9240 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9242 * examples/hildon-hvolumebar-example.c:
9243 * src/hildon-volumebar.c: Improving the focus handling in the
9244 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9245 set_property accessor so that "mute" property can be actually set. I'm
9246 scared that nobody noticed it's totally broken.
9248 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9250 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9253 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9255 * src/hildon-calendar.c:
9256 * src/hildon-number-editor.c:
9257 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9258 matches the spec of 6 chars per second. Fixes: NB#60489.
9260 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9262 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9263 gtk_style_lookup_color sometime returns FALSE even though color was
9264 found and values were filled properly. Weird. Removing the warning for the
9267 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9269 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9270 expand vertically. Adding some extra space to the find toolbar buttons to
9271 make them thumbable. Fixes NB#66060.
9273 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9275 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9276 popup with "Ok" and "Cancel". Fixes NB#59299.
9278 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9280 * src/hildon-calendar.c: Process all window updates before executing next
9281 timeout. Fixes: NB#54146.
9283 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9289 * debian/changelog: Updating.
9291 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9293 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9294 the client event and ignore it, since we use the delete event to close
9297 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9299 * src/hildon-helper.c: Remove the bogus warning about color not being
9300 found. Fixes NB#58352.
9302 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9304 * examples/Makefile.am:
9305 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9306 HildonSeekbar widget inside a toolbar.
9308 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9310 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9311 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9312 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9313 don't want to be closed by non-temporary windows on map.
9315 Also use G_DEFINE_TYPE instead of manually typed code.
9317 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9324 * debian/rules: Updating.
9326 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9328 * examples/Makefile.am:
9329 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9330 bug NB#61128. Strangely it works.
9332 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9334 * src/hildon-date-editor.c: When the date editor entry has been changed
9335 but the numbers of characters < max, turn off the skip validation flag.
9336 Prevents a situation when we enter first a valid year and later re-write
9337 it with an invalid one. Fixes NB#60154.
9339 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9342 code dialog. Fixes NB#64355.
9344 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9346 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9347 switching the page. Fixes NB#49374.
9349 * examples/Makefile.am:
9350 * examples/hildon-wizard-dialog-example.c: Adding an example for
9351 HildonWizardDialog that shows how to handle manual sensitivity setting on
9354 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9358 * src/hildon-version.h.in:
9359 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9361 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9363 * src/hildon-volumebar.c: Updating the docs.
9365 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9371 * debian/changelog: Updating.
9373 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9375 * src/hildon-find-toolbar.c:
9376 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9377 selected item: hildon_find_toolbar_set_active,
9378 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9379 hildon_find_toolbar_get_active_iter . They correspond to respective
9380 GtkComboBox functions.
9382 * examples/Makefile.am:
9383 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9386 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9388 * examples/Makefile.am:
9389 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9392 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9393 when font size > 32 and we pack a focusable widget inside. Actually using
9394 the default response would work too, but since we don't show default
9395 response state in any way (no theming) it would not be visible to the
9396 user. Fixes NB#63430.
9398 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9400 * src/hildon-date-editor.c: Adding the missing variable setter in the
9401 set_property handler. Fixes NB#54182.
9403 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9405 * src/hildon-window.h: Changing the long key press time from 1500ms to
9406 800ms as requested in NB#63700. I have a bad feeling about this, let's
9407 see... Fixes NB#63700.
9409 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9411 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9412 hildon_time_picker_map, hildon_time_picker_realize,
9413 hildon_time_picker_style_set): Split the contents of map to more
9414 appropriate functions; set window decorations on realize and update
9415 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9417 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9422 * debian/changelog: Updating.
9424 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9426 * src/Makefile.am: fixed installation of the header files
9428 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9434 * debian/changelog: Updating.
9436 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9438 * configure.ac: Removing some remaining of --enable-xan.
9440 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9442 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9443 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9445 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9446 2.10.12-osso6 because the move-focus signal needs to be available in
9449 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9451 * examples/Makefile.am:
9452 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9453 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9454 fine. Prolly NB#61128 is fixed now.
9456 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9458 * src/hildon-volumebar.c:
9459 * src/hildon-volumebar.h: Adding the
9460 hildon_volumebar_set_range_insensitive_message and
9461 hildon_volumebar_set_range_insensitive_messagef functions to set
9462 insensitive message on the slider of the volumebar. Fixes NB#61129.
9464 * examples/Makefile.am:
9465 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9466 test the new insensitive messsage functionality on HildonVolumebar.
9468 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9470 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9473 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9475 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9476 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9477 button on after clearing the trail.
9479 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9481 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9483 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9485 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9486 by splitting the installed headers in generated and non-generated groups. Use
9487 only the non-generated headers to create the hildon-enum-types.h file.
9489 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9491 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9493 * src/hildon-window.c: Hide the window before performing the destroy.
9494 Should make the app closing a little tiny bit more snappy.
9496 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9498 * src/hildon-seekbar.c: add gtkrange.h header
9499 * src/hildon-caption.c: remove unused variable
9501 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9503 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9506 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9512 * debian/changelog: Updating.
9514 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9516 * src/hildon-window.c (hildon_window_window_state_event,
9517 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9518 escape timeout on focus-out-event rather than notify::is-topmost; the
9519 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9521 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9523 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9524 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9526 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9528 * src/hildon-window: actually, you need to use the macro always, there's
9529 no private pointer in the instance structure. We should have cleaned this up
9530 when we had the chance...
9532 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9534 * src/hildon-window.c: do not get the private date from HildonWindow before
9535 it passes the g_return_if_fail check. Once it's passed the test, there's no
9536 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9537 if you are only going to access the data once. Whitespace cleanups.
9539 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9541 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9542 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9544 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9550 * debian/changelog: Updating.
9552 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9554 * src/hildon-window.c: When destroying the window, remove (if exists) the
9555 escape timeout handler. Fixes #NB59276.
9557 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9559 * src/hildon-banner.c: When realizing the widget, set the window
9560 transiency. Setting the transiency in the gobject constructor is not
9561 good, as the widget is not realized at that point. Fixes: #NB56624.
9563 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9565 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9566 Add padding for future expansions.
9568 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9570 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9571 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9572 will fake an activation on the previous to the last item of the trail, so
9573 the effect can be overrided by the developer as usual.
9574 Also change the callback for the back button to do the same thing, so its
9575 effect can be overrided too. Fixes: NB#58982
9577 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9579 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9580 HildonCaption. Fixes NB#52379.
9582 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9584 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9585 the internal state of the trail after the user has had the chance of executing
9586 his handler for the signal. Specifically, it may happen that the activated button
9587 is removed and the user still lets the default handler run. This would segfault
9590 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9592 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9593 scrollbar to the preview dialog. Fixes NB#54147.
9595 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9597 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9598 max/min year properties can be altered, so the client can modify it
9599 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9601 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9603 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9604 hildonlike by default. Fixing a problem with disappearing arrows when
9605 scrolling through months and years. Fixes NB#54127.
9607 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9609 * examples/hildon-date-editor-example.c: Adding error callback to the date
9612 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9618 * configure.ac: Updating.
9620 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9622 * configure.ac: Adding a special '--enable-xan' configure option that
9623 turns off the -Werror compilation setting. Usefull for development.
9625 * src/hildon-calendar.c:
9626 * src/hildon-number-editor.c:
9627 * src/hildon-time-picker.c: Adding the 5* multiplier to
9630 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9632 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9633 instead of g_object_ref + gtk_object_sink.
9635 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9641 * debian/changelog: Updating.
9643 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9645 * src/hildon-color-chooser-dialog.c:
9646 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9647 straight from Tommi labs.
9649 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9651 * examples/hildon-finger-example.c: Correcting the header file path.
9653 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9654 the changed signal. Fixes a small memory leak.
9656 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9660 * src/hildon-banner.c: Importing several usefull fixes from the
9661 ubuntu-mobile branch.
9663 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9665 * examples/Makefile.am:
9666 * examples/hildon-finger-example.c: Adding a finger-checking code
9669 * src/hildon-font-selection-dialog.c: Do not allocate the color
9670 structure using the g_new. Fixes NB#54061.
9672 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9674 * src/hildon-helper.c: Correcting tabs in file.
9676 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9678 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9679 control the visibility of the children.
9681 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9683 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9689 * debian/changelog: Updating.
9691 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9693 * src/hildon-bread-crumb-trail.c:
9694 (hildon_bread_crumb_trail_size_allocate):
9696 Make the back button always a square.
9698 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9700 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9701 from the .c file as it's a private file.
9703 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9705 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9706 uses slightly bigger height.
9708 * src/hildon-font-selection-dialog.c: Adding some checks before
9709 freeing memory in the font selection dialog.
9711 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9713 * src/hildon-font-selection-dialog.c: Adding a small check when
9716 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9717 buttons sensitivity on page switching.
9719 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9721 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9722 internal details of adding a bread crumb to the trail.
9724 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9730 * debian/changelog: Updating.
9732 * src/hildon-bread-crumb-trail.h:
9733 * src/hildon-bread-crumb.h: Changing the API guard to
9734 HILDON_ENABLE_UNSTABLE_API.
9736 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9744 * src/hildon-helper.h: Updating.
9746 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9754 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9758 * src/hildon-helper.h: Small fix to make the package actually compile.
9760 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9762 * src/hildon-bread-crumb-trail.h:
9763 * src/hildon-bread-crumb.h:
9765 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9766 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9768 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9770 * examples/hildon-bread-crumb-trail-example.c:
9772 * src/hildon-bread-crumb-trail.c:
9773 * src/hildon-bread-crumb-trail.h:
9774 * src/hildon-bread-crumb.c:
9775 * src/hildon-bread-crumb.h:
9776 * src/hildon-marshalers.list:
9777 * src/hildon-bread-crumb-widget.c:
9778 * src/hildon-bread-crumb-widget.h:
9780 Slight change in the widget design. The bread crumb trail API is
9781 unchanged, but HildonBreadCrumb is now an interface. A *private*
9782 implementation, hildon-bread-crumb-widget, is provided and used
9783 internally by the trail for the push_text/push_icon functions.
9785 The generic push API is still available, so anyone can implement
9786 and use its own bread crumb widget.
9788 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9790 * debian/rules: Fixing the shlibs.
9792 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9794 * src/hildon-banner.c: Fixing a problem with timed banners having
9795 their parrent destroyed before they are.
9797 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9799 * src/hildon-bread-crumb.c:
9800 * src/hildon-bread-crumb.h:
9802 Make the get_natural_size function a vfunc.
9804 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9806 * src/hildon-bread-crumb.c:
9807 * src/hildon-bread-crumb-trail.c:
9811 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9818 * debian/changelog: Updating for release.
9820 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9822 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9823 don't leak the pango layout.
9825 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9828 * examples/hildon-bread-crumb-trail-example.c:
9832 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9834 * debian/changelog: Removing the bug-fixed entries that were actually
9835 resolved as WONTFIX.
9837 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9840 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9842 * src/hildon-bread-crumb-trail.c:
9843 * src/hildon-bread-crumb-trail.h:
9844 * src/hildon-bread-crumb.c:
9845 * src/hildon-bread-crumb.h:
9849 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9851 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9852 until it's passed the type check.
9854 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9856 * examples/hildon-bread-crumb-trail-example.c
9860 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9862 * examples/Makefile.am
9863 * examples/hildon-bread-crumb-trail-example.c
9865 * src/hildon-bread-crumb-trail.c
9866 * src/hildon-bread-crumb-trail.h
9867 * src/hildon-bread-crumb.c
9868 * src/hildon-bread-crumb.h
9870 New HildonBreadCrumbTrail widget.
9872 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9874 * src/hildon-range-editor.c (hildon_range_editor_init),
9875 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9876 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9877 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9878 hildon_time_editor_class_init, hildon_time_editor_init),
9879 src/hildon-get-password-dialog.c (invalid_input,
9880 hildon_get_password_set_property, hildon_get_password_get_property,
9881 create_contents, hildon_get_password_dialog_set_max_characters),
9882 src/hildon-set-password-dialog.c (create_contents),
9883 src/hildon-date-editor.c (hildon_date_editor_init),
9884 src/hildon-login-dialog.c (hildon_login_dialog_init),
9885 src/hildon-number-editor.c (hildon_number_editor_init),
9886 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9887 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9888 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9889 configure option and adding the respective checks in the code.
9890 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9891 hildon_calendar_drag_data_received): fixed some build warnings.
9893 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9895 * debian/changelog: A 1.0.0 release notes.