1 2009-09-17 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
4 Use the Xlib API to take window screenshots, since the GDK API
5 doesn't allow us to set the event mask.
7 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
10 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
12 [2.2.0 Release Candidate 6]
14 * debian/changelog: bump and updates.
16 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
18 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
19 free a GList and avoid potential memory corruption.
21 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
23 [2.2.0 Release Candidate 5]
26 * debian/changelog: bump and updates
28 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
30 Do not set any flag for empty legacy menus
32 * hildon/hildon-program.c: (hildon_program_set_common_menu):
33 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
34 This will probably not work fine with empty legacy menus added to
35 programs or windows and populated later, but so it's life.
37 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
39 Update the application menu flag for application-wise windows
41 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
42 (hildon_program_set_common_app_menu): Also take into account the visibility
45 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
47 Emit HildonAppMenu::changed when menu items change visibility
49 * hildon/hildon-app-menu.c: (item_visibility_changed),
50 (filter_visibility_changed): Also emit ::changed on
51 visibility of items changed.
53 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
55 Do not set the menu flag in a window when a menu is empty
57 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
58 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
59 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
60 changes by using the HildonAppMenu::changed signal.
62 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
64 Add HildonAppMenu::changed signal
66 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
67 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
68 Emit a new HildonAppMenu:changed signal when there are changes in
71 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
73 Add hildon_app_menu_has_visible_children() private method
75 * hildon/hildon-app-menu-private.h: Add below private method.
76 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
77 New method to check the visibility of a HildonAppMenu children.
79 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
81 Set the window menu flag for application-common menus
83 * hildon/hildon-program.c:
84 (+hildon_program_window_set_common_menu_flag): Set or remove the
85 menu flag from a window only this doesn't have its own menu.
86 (+hildon_program_set_common_menu_flag): adjust menu flag for
87 all windows in the program.
88 (hildon_program_add_window),
89 (hildon_program_remove_window): add/remove the menu flag when
90 a window is added to the program.
92 Fixes: NB#137814 (Indicator for view menu in app title area)
94 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
96 Set a special window property for windows with menus
98 * hildon/hildon-window-private.h: Add private
99 hildon_window_set_menu_flag()
100 * hildon/hildon-window.c: (+do_set_has_menu),
101 (+hildon_window_set_menu_flag): set
102 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
103 or remove the property.
104 (hildon_window_set_main_menu),
105 (hildon_window_set_app_menu): call above methods to set or remove
106 the property when a menu is added or removed from the window.
108 Partially fixes: NB#137814 (Indicator for view menu in app title area)
110 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
112 Rename and move the methods to set flags to hildon-private.h
114 * hildon/hildon-gtk.c: (do_set_progress_indicator),
115 (do_set_do_not_disturb), (do_set_portrait_flags): call
116 the new private method hildon_gtk_window_set_clear_window_flag()
117 (hildon_gtk_window_set_progress_indicator),
118 (hildon_gtk_window_set_do_not_disturb),
119 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
120 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
121 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
123 * hildon/hildon-private.h: Add the two new private methds.
125 2009-09-11 Alejandro G. Castro <alex@igalia.com>
127 * hildon/hildon-pannable-area.c,
128 (hildon_pannable_area_init),
129 (hildon_pannable_area_size_allocate),
130 (hildon_pannable_area_button_release_cb): More tuning of the
131 speed, adding a way to calculate the acceleration and fast-panning
132 based on the child size.
134 2009-09-10 Alberto Garcia <agarcia@igalia.com>
136 * hildon/hildon-touch-selector.c
137 (hildon_touch_selector_class_init):
138 Documentation updates
142 2009-09-10 Alberto Garcia <agarcia@igalia.com>
144 * hildon/hildon-touch-selector.c:
145 Documentation updates
147 Fixes: MB#5104 (HildonTouchSelector docs should say no
148 HildonPannableArea is necessary)
150 2009-09-08 Alejandro G. Castro <alex@igalia.com>
152 * hildon/hildon-pannable-area.c,
153 (hildon_pannable_area_timeout): Fixed problem with the timeout
154 function, we need to move before decelerating the first time or we
155 are loosing the first jump.
157 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
159 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
161 [2.2.0 Release Candidate 3]
163 * debian/changelog: updates
165 2009-09-07 Alejandro G. Castro <alex@igalia.com>
167 * hildon/hildon-pannable-area.c,
168 (hildon_pannable_area_class_init): Increased max speed.
170 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
172 [2.2.0 Release Candidate 2]
175 * debian/changelog: bump version, updates
177 2009-09-07 Alejandro G. Castro <alex@igalia.com>
179 * hildon/hildon-pannable-area.c,
180 (hildon_pannable_area_class_init),
181 (hildon_pannable_area_button_release_cb): More tuning for the
184 2009-09-07 Alejandro G. Castro <alex@igalia.com>
186 * hildon/hildon-pannable-area.c,
187 (hildon_pannable_area_class_init):
188 Change the default value of the scrollbar_fade_delay.
190 Fixes: NB#127018 (Panning indicator fades out too slowly)
192 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
194 [2.2.0 Release Candidate 1]
197 * configure.ac: Bump version
198 * debian/changelog: updates
200 2009-09-04 Alejandro G. Castro <alex@igalia.com>
202 * hildon/hildon-pannable-area.c,
203 (hildon_pannable_area_init),
204 (hildon_pannable_area_button_press_cb),
205 (hildon_pannable_area_button_release_cb): Added a new acceleration
206 system to help traversing big lists, tuned the stop threshold.
208 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
210 2009-09-04 Alberto Garcia <agarcia@igalia.com>
212 * hildon/hildon-window.h:
213 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
215 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
217 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
221 * configure.ac: bump version
223 * debian/changelog: updates
225 2009-09-04 Alberto Garcia <agarcia@igalia.com>
227 * hildon/hildon-entry.c
228 * hildon/hildon-text-view.c:
229 Documentation updates
231 2009-09-04 Alberto Garcia <agarcia@igalia.com>
233 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
234 Redraw menu when the number of items change.
236 Fixes: NB#131911 (Appmenu does not resize properly, when number of
239 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
241 * hildon/hildon-pannable-area.c:
242 (hildon_pannable_area_launch_fade_timeout),
243 (hildon_pannable_area_motion_event_scroll),
244 (hildon_pannable_area_check_move),
245 (hildon_pannable_area_button_release_cb),
246 (hildon_pannable_area_scroll_to):
248 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
249 area drawing operations, since this is the recommended for drawing
252 Fixes: NB#110894 (In event view containing very large description
253 field, application menu is displayed blank while panning)
254 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
257 2009-09-03 Alberto Garcia <agarcia@igalia.com>
259 * doc/hildon-sections.txt
260 * hildon/hildon-button.c
261 * hildon/hildon-edit-toolbar.c
262 * hildon/hildon-gtk.[ch]
263 * hildon/hildon-main.c
264 * hildon/hildon-program.c
265 * hildon/hildon-stackable-window.c:
266 Documentation updates
268 2009-08-28 Alberto Garcia <agarcia@igalia.com>
270 * hildon/hildon-app-menu.c
271 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
272 Close the menu if it receives a grab-notify signal.
274 Fixes: NB#134533 (UI freezes if we show a dialog with
275 gtk_dialog_run() while a menu is opened)
277 2009-08-27 Alejandro G. Castro <alex@igalia.com>
279 * hildon/hildon-pannable-area.c,
280 (hildon_pannable_area_class_init): Reverted tuning modifications:
281 "Pannign needs to be faster" and "Pannable kinetics in large lists
284 2009-08-26 Alberto Garcia <agarcia@igalia.com>
286 * hildon/hildon-sound.c (hildon_play_system_sound):
287 Set "module-stream-restore.id" to "x-maemo-system-sound" when
288 playing system sounds
290 Fixes: NB#133767 (Information and confirmation note sound should
291 follow system profile setting)
293 2009-08-26 Alejandro G. Castro <alex@igalia.com>
295 * hildon/hildon-pannable-area.c,
296 (hildon_pannable_area_class_init): Added more force and increased
297 the max speed threshold.
299 Fixes: NB#135344 (Pannign needs to be faster)
301 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
303 [Release 2.1.96, this time for real]
306 * debian/changelog: updates
308 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
310 * hildon/hildon-pannable-area.c
311 (hildon_pannable_area_get_topmost): change the computation of the
312 co-ordinates transformed when no one of the children is a topmost
314 Fixes: NB#133252 (Opening any feed item from RSS always opens the
315 first feed item in browser)
317 2009-08-26 Alejandro G. Castro <alex@igalia.com>
319 * hildon/hildon-pannable-area.c,
320 (hildon_pannable_area_remove_timeouts): Adding this new function
321 with the code that removes the timeouts of the widget.
322 (hildon_pannable_area_dispose),
323 (hildon_pannable_area_unrealize): Use the new remove function to
324 stop timeouts when unrealizing and disposing.
325 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
326 calculation to avoid negative values in some cases.
328 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
330 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
332 * examples/hildon-check-button-example.c: (button_toggled_cb):
333 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
334 (hildon_check_button_set_active), (hildon_check_button_new),
335 (hildon_check_button_clicked), (hildon_check_button_class_init):
336 * hildon/hildon-check-button.h:
337 * hildon/hildon-set-password-dialog.c: (create_contents),
338 (hildon_set_password_response_change), (hildon_checkbox_toggled):
340 Revert "Make HildonCheckButton derive from GtkToggleButton"
342 2009-08-21 Alberto Garcia <agarcia@igalia.com>
346 * configure.ac: bump version
348 * debian/changelog: updates
350 2009-08-21 Alberto Garcia <agarcia@igalia.com>
352 * hildon/hildon-check-button.h
353 * hildon/hildon-check-button.c
354 (hildon_check_button_clicked, hildon_check_button_class_init):
355 Make HildonCheckButton derive from GtkToggleButton
356 (hildon_check_button_toggled, hildon_check_button_set_active)
357 (hildon_check_button_get_active):
358 Deprecate unnecessary HildonCheckButton API and use the
359 one from GtkToggleButton instead.
361 * hildon/hildon-set-password-dialog.c (create_contents)
362 (hildon_set_password_response_change, hildon_checkbox_toggled)
363 * examples/hildon-check-button-example.c (button_toggled_cb):
364 Update to use the GtkToggleButton API
366 Fixes: MB#4739 (HildonCheckButton should inherit from
369 Fixes: NB#132661 (HildonCheckButton should inherit from
372 2009-08-20 Alberto Garcia <agarcia@igalia.com>
374 * hildon/hildon-pannable-area.c
375 (hildon_pannable_area_class_init):
376 Increase default value of HildonPannableArea:velocity_max to 2000
378 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
380 2009-08-18 Alberto Garcia <agarcia@igalia.com>
384 * configure.ac: bump version
386 * debian/changelog: updates
388 2009-08-11 Alejandro G. Castro <alex@igalia.com>
390 * hildon/hildon-pannable-area.c
391 (hildon_pannable_area_size_allocate): Checked the scrollbars
392 before the first try when defining the layout, avoids two
393 allocations in some situations.
395 Fixes: NB#131794 (pannable area produces unnecessary allocations
396 causing performance problems)
398 2009-08-11 Alejandro G. Castro <alex@igalia.com>
400 * hildon/hildon-pannable-area.c
401 (hildon_pannable_area_button_press_cb),
402 (hildon_pannable_area_motion_notify_cb),
403 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
404 the spurious ref added in the copy, fixes leak of window.
406 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
407 if it's realized without showing and then deleted)
409 2009-08-10 Alberto Garcia <agarcia@igalia.com>
413 * configure.ac: bump version
415 * debian/changelog: updates
417 2009-08-06 Alberto Garcia <agarcia@igalia.com>
419 * examples/hildon-hvolumebar-timer-example.c
421 * hildon/hildon-banner.c
422 (hildon_banner_timeout, hildon_banner_ensure_timeout)
423 * hildon/hildon-calendar.c
424 (calendar_timer, start_spinning)
425 * hildon/hildon-color-chooser.c
426 (inline_limited_expose)
427 * hildon/hildon-date-editor.c
428 (hildon_date_editor_entry_focus_in)
429 (hildon_date_editor_entry_validate)
430 (hildon_date_editor_entry_select_all)
431 * hildon/hildon-note.c
433 * hildon/hildon-number-editor.c
434 (hildon_number_editor_button_pressed)
435 (hildon_number_editor_start_timer, do_mouse_timeout),
436 (add_select_all_idle, hildon_number_editor_select_all)
437 * hildon/hildon-time-editor.c
438 (hildon_time_editor_entry_focus_in)
439 (highlight_callback, hildon_time_editor_validate)
440 (hildon_time_editor_entry_select_all)
441 * hildon/hildon-time-picker.c
442 (hildon_time_picker_arrow_press)
443 (hildon_time_picker_key_repeat_timeout)
444 * hildon/hildon-window.c
445 (hildon_window_key_press_event)
446 (hildon_window_escape_timeout):
447 Replace all calls to g_idle_add/g_timeout_add with their
448 gdk_threads counterparts.
450 Fixes: NB#126198 (gdk-threads API should be used to install idle
451 and timeout handlers)
453 2009-08-06 Alejandro G. Castro <alex@igalia.com>
455 * hildon/hildon-pannable-area.c,
456 (hildon_pannable_area_class_init): Increased the overshooting max
457 speed to get a faster effect.
458 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
459 deceleration of the overshooting
460 (hildon_pannable_area_button_release_cb): Calculate initial
461 overshooting speed when finger on the screen using the distance to
462 launch the effect faster.
464 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
465 lists with slow row renderers)
467 2009-08-05 Alberto Garcia <agarcia@igalia.com>
469 * doc/hildon-sections.txt: Add new functions
471 2009-08-05 Alberto Garcia <agarcia@igalia.com>
473 * hildon/hildon-text-view.[ch]
474 * hildon/hildon-entry.[ch]:
475 Add deprecation guards around deprecated functions.
477 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
479 * hildon/hildon-app-menu.c: Remove leftover function declaration.
481 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
483 Remove the grab from HildonAppMenu
485 * hildon/hildon-app-menu.c:
486 Now hildon-desktop places a blocker window behind the menu to handle
487 its closing, so the grab is no longer needed. This simplifies its
488 implementation and allows the system blanking to succeed.
490 Fixes: NB#130910 (Screen gets unlocked when menu is open)
492 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
496 * configure.ac: bump version
498 * debian/changelog: updates
499 * debian/control: raise debian dependency on GTK+
501 2009-08-04 Alberto Garcia <agarcia@igalia.com>
503 * hildon/hildon-text-view.c
504 * hildon/hildon-entry.c:
505 Remove all placeholder code from HildonEntry and HildonTextView
506 and use the API in GtkEntry and GtkTextView instead.
508 * examples/hildon-entry-example.c
509 * examples/hildon-text-view-example.c
510 * examples/hildon-wizard-dialog-example.c
511 * hildon/hildon-get-password-dialog.c
512 * hildon/hildon-login-dialog.c
513 * hildon/hildon-picker-dialog.c
514 * hildon/hildon-set-password-dialog.c
515 * hildon/hildon-touch-selector-entry.c:
516 Replace all deprecated calls to HildonEntry and HildonTextView
517 with their Gtk counterparts.
519 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
522 2009-08-03 Alejandro G. Castro <alex@igalia.com>
524 * hildon/hildon-pannable-area.c,
525 (hildon_pannable_area_check_move),
526 (hildon_pannable_area_button_release_cb),
527 (hildon_pannable_area_scroll_to): Reverted the priority change of
528 the timeout, in some situations, slow renderers, the click do not
529 make it to the mainloop on time.
531 Fixes NB#131013 (unable to stop panning file manager by tapping on
534 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
536 * configure.ac: bump version
538 * debian/changelog: updates
540 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
542 * hildon/hildon-touch-selector.[ch]
543 (hildon_touch_selector_center_on_index): New method that allows to center
544 on a item not selected
546 Fixes NB#130291 (New HildonTouchSelector API is required to center on
549 2009-07-29 Alberto Garcia <agarcia@igalia.com>
551 * hildon/hildon-text-view.c
552 (+set_logical_color, +hildon_text_view_style_set)
553 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
554 (hildon_text_view_init)
555 * hildon/hildon-entry.c
556 (+set_logical_color, +hildon_entry_style_set)
557 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
558 (hildon_entry_class_init, hildon_entry_init)
559 * hildon/hildon-button.c
560 (+set_logical_font, +set_logical_color)
561 (hildon_button_style_set, hildon_button_init)
562 (hildon_button_set_arrangement, hildon_button_set_style):
563 Remove all calls to hildon_helper_set_logical_font() and
564 hildon_helper_set_logical_color(), which are recursive, from
567 Fixes: NB#123409 (Showing dialog consumes significant amount of
570 2009-07-29 Alejandro G. Castro <alex@igalia.com>
572 * hildon/hildon-pannable-area.c,
573 (hildon_pannable_area_timeout): Added the process updates of the
574 scrollbars window in the pannable.
576 Fixes: NB#130043 (scrollindicator not smooth while panning)
578 2009-07-23 Alejandro G. Castro <alex@igalia.com>
580 * hildon/hildon-pannable-area.c,
581 (hildon_pannable_area_check_move),
582 (hildon_pannable_area_button_release_cb),
583 (hildon_pannable_area_scroll_to): Increased the priority of the
584 timeout this way it is going to be handled before the events.
586 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
590 * configure.ac: bump version
591 * debian/changelog: updates
593 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
595 * hildon/hildon-entry.c: (set_property): Do not allow to set
596 automatic height and use finger height instead, to prevent an to
597 have a smaller size than than its theme pixbuf.
599 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
601 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
603 * configure.ac: postrelease version bump.
604 * debian/changelog: post release version bump
606 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
611 * configure.ac: Bump version.
612 * debian/changelog: Updates.
614 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
616 * hildon/hildon-note.c: (label_size_request): Take the note
617 padding into account when setting the size request.
619 Fixes: NB#127896 (Information notes text truncated)
621 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
623 * configure.ac: postrelease version bump.
624 * debian/changelog: post release version bump
626 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
631 * configure.ac: Bump version.
632 * debian/changelog: Updates.
634 2009-07-16 Alejandro G. Castro <alex@igalia.com>
637 * hildon/hildon-text-view.c,
638 (hildon_text_view_button_press_event): Grabbed the focus in button
639 press, this way we are sure the widget has the focus in the
640 release event, required for HIM.
642 Fixes: NB#121445 (Virtual keyboard opening is not working in same
643 way for each text entry field)
645 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
647 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
648 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
649 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
650 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
651 (hildon_pannable_area_[gs]et_center_on_child_focus)
652 Redefined GtkContainer set-focus-child signal, in order to center
653 properly on a child when it receives the focus. Defined a new property
654 "center-on-child-focus" in order to activate this feature (deactivated
655 by default). Public get/set methods defined to manage the property.
657 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
659 2009-07-14 László Pere <lpere@blumsoft.eu>
661 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
662 the new size is applied.
664 Fixes: NB#124510 (The Application Menu is distorted when switched
665 between portrait and landscape mode)
666 Fixes: NB#115388 (Power key menu does not resize itself)
668 2009-07-01 Alberto Garcia <agarcia@igalia.com>
670 * hildon/hildon-banner.c (hildon_banner_map):
671 Set banner position after mapping.
673 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
675 * configure.ac: postrelease version bump.
676 * debian/changelog: post release version bump
678 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
683 * configure.ac: Bump version.
684 * debian/changelog: Updates.
686 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
688 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
691 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
693 * tests/check-hildon-banner.c
695 * tests/test_suites.h
696 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
697 were testing deprecated functions.
698 * examples/hildon-banner-example.c: typo on button3 type, that causes
699 a fail compiling with --with-examples but without --disable-deprecated
701 Missed commit in order to fix compilation using '--enable-fatal' and
702 '--disable-deprecated' (see previous commit)
704 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
706 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
707 functions with #ifndef HILDON_DISABLE_DEPRECATED
708 * examples/hildon-find-toolbar.c: Protect deprecated
709 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
710 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
711 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
712 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
714 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
715 to allow proper compilation of deprecated functions defined on the header
717 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
719 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
721 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
722 Cache the panning indicator color.,
723 (hildon_pannable_area_style_set): Query the color on style changes.
724 (hildon_pannable_draw_vscroll),
725 (hildon_pannable_draw_hscroll),
726 (hildon_pannable_area_expose_event): Use the cached panning indicator
727 color instead of looking it up on every expose and more.
729 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
731 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
732 (hildon_pannable_draw_hscroll),
733 (hildon_pannable_area_expose_event): Fix the panning indicator color,
734 so that it's "SecondaryTextColor", as desired.
736 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
738 * hildon/hildon-picker-dialog.c:
739 (selection_completed): take into account HILDON_UI_MODE_NORMAL
740 * hildon/hildon-touch-selector.c
741 (hildon_touch_selector_init): Initialize hildon-ui-mode
742 (hildon_touch_selector_row_activated): new callback for the
743 "row-activated" signal, in order to save the last activated
744 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
745 if the current hildon-ui-mode is coherent with the touch selector
746 (hildon_touch_selector_class_init)
747 (hildon_touch_selector_get_property)
748 (hildon_touch_selector_set_property)
749 Added "hildon-ui-mode" property
750 (disconnect_model_handlers): renamed to clean_column
751 (hildon_touch_selector_remove): use clean_column function
752 (_create_new_column): use the hildon-ui-mode to create the treeview, and
753 only select the first element on HILDON_UI_MODE_EDIT
754 (hildon_touch_selector_column_init): Initialize last_activate
755 (hildon_touch_selector_append_column): check that the touch selector
756 is coherent with the current hildon-ui-mode
757 (hildon_touch_selector_get_hildon_ui_mode)
758 (hildon_touch_selector_set_hildon_ui_mode)
759 Added a getter/setter for the hildon-ui-mode property
760 (hildon_touch_selector_get_last_activated_row): Added this method in
761 order to get the last activated row.
762 * examples/hildon-touch-selector-normal-mode-example.c
763 New example, that shows how to use the HildonTouchSelector in
764 HILDON_UI_MODE_NORMAL
766 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
767 Kristian Rietveld <kris@lanedo.com> advices
769 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
771 * hildon/hildon-time-selector.c: (update_format_policy): Do
772 not call update_format_dependant_columns() if not necessary.
773 (update_format_dependant_columns): Remove unnecessary check for
774 the number of columns.
776 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
778 * hildon/hildon-note.c (+hildon_note_constructor),
779 (hildon_note_class_init), (+hildon_note_set_padding),
780 (hildon_note_rebuild): Install a constructor where to set the
781 padding properties in the note, so that it actually works fine.
782 Use hildon_note_set_padding() for this, and also to set it during
785 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
787 * configure.ac: Bump GTK+ requirement to 2.14.3.
788 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
789 when using maemo-gtk to define proper margins for the notes.
791 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
792 with the dialog edge)
794 2009-06-24 Alberto Garcia <agarcia@igalia.com>
796 * hildon/hildon-banner.c
797 (hildon_banner_class_init):
799 (+hildon_banner_size_request):
800 Request always the full width of the screen.
801 (hildon_banner_realize)
802 (-hildon_banner_check_position, hildon_banner_map):
803 hildon_banner_check_position() is not needed in Hildon 2.2.
804 (-hildon_banner_reset_wrap_state)
805 (hildon_banner_constructor, hildon_banner_init):
806 Remove unnecessary calls to hildon_banner_reset_wrap_state()
807 (+banner_do_set_text)
808 (force_to_wrap_truncated):
809 Remove has_been_wrapped and has_been_truncated attributes.
810 (+reshow_banner, hildon_banner_real_show_information)
811 (hildon_banner_show_information_with_markup)
812 (hildon_banner_show_animation, hildon_banner_show_progress)
813 (hildon_banner_set_text, hildon_banner_set_markup):
814 Refactor code. Shrink banner vertically to use the minimum space
815 necessary everytime the text of the label is updated.
816 (screen_size_changed):
817 Call force_to_wrap_truncated() when the size of the screen
820 Fixes: NB#120500 (only device memory connect mmc in use info
821 banner is left aligned)
823 Fixes: NB#120613 (Size of HildonBanner varies depending on
824 previously opened banners)
826 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
828 * hildon/hildon-color-chooser.c
829 (hildon_color_chooser_pointer_motion): Take the widget allocation
832 Fixes: NB#124385 (Unable to select exact point in color mixing box
833 in color palette dialog)
835 2009-06-23 Alejandro G. Castro <alex@igalia.com>
837 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
838 (hildon_pannable_area_dispose)
839 (hildon_pannable_area_button_press_cb)
840 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
841 (hildon_pannable_area_button_release_cb)
842 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
843 New 'panning-started' and 'panning-finished' signals.
845 Fixes: NB#121732 (New feature request: Signal to pannable area
846 that informs when panning is stopped.)
848 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
850 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
851 instead of hardcoded colon.
853 Fixes: NB#124090 (New calendar wizard title is not using
854 ecdg_ti_caption_separator)
856 2009-06-22 David King <davidk@openismus.com>
858 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
859 constants and functions, as well as correct many typos throughout the
862 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
865 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
867 * configure.ac: postrelease version bump.
868 * debian/changelog: post release version bump
870 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
875 * configure.ac: Bump version.
876 * debian/changelog: Updates.
878 2009-06-18 Alberto Garcia <agarcia@igalia.com>
880 * hildon/hildon-window-stack.c
881 (hildon_window_stack_pop_and_push_list):
882 Prevent windows from having the same stack index
884 2009-06-18 Alberto Garcia <agarcia@igalia.com>
886 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
887 Use the index of the previous window rather than the stack length
888 to calculate the new index.
892 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
894 * hildon/hildon-date-selector.c
895 (hildon_date_selector_select_current_date)
896 (hildon_date_selector_get_date)
897 (hildon_date_selector_select_day):
898 Update the documentation: uses always the range (1-31), as it is obvious
899 that the final one will depend on the month and the year, but globally
900 the range is this, in a similar GtkCalendar approach
901 (hildon_date_selector_get_date):
902 Update the documentation: add NULL as a valid value for the day, month
905 Fix some details, after talk with David King on bug MB#4698
907 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
909 * hildon/hildon-touch-selector-entry.c
910 * hildon/hildon-touch-selector.c
911 Update the documentation of the "text-column" property
913 2009-06-18 David King <davidk@openismus.com>
915 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
916 several typos and errors throughout the documentation.
918 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
921 2009-06-18 Alberto Garcia <agarcia@igalia.com>
923 * hildon/hildon-note.c (hildon_note_realize):
924 Make HildonNote support portrait mode.
926 Fixes: NB#123448 (HildonNote is not portrait-friendly)
928 2009-06-17 Alberto Garcia <agarcia@igalia.com>
930 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
931 Document this function
933 2009-06-17 David King <davidk@openismus.com>
935 * hildon/hildon-date-selector.c
936 (hildon_date_selector_select_current_date)
937 (hildon_date_selector_get_date): Update documentation regarding days,
938 as the day of the month is dependent on both the month and the year.
939 (hildon_date_selector_get_date): Fix documentation of output arguments.
941 Fixes: MB#4698 (DateSelector documentation has bad output argument
942 description, and the day depends on both the month and the year)
944 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
946 * hildon/hildon-caption.c: Other documentation fixes to
949 2009-06-17 David King <davidk@openismus.com>
951 * hildon/hildon-caption.c: Minor documentation updates for
952 HildonCaption. Fixes MB#4697.
954 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
956 * doc/hildon-docs.sgml: Add hildon-version section.
957 * doc/hildon-sections.txt:
958 * hildon/hildon-version.h.in: Document versioning macros and
961 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
963 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
964 from HildonPickerDialog section.
966 2009-06-16 Alberto Garcia <agarcia@igalia.com>
968 * hildon/hildon-banner.c (hildon_banner_bind_style)
969 (screen_size_changed, hildon_banner_init)
970 (hildon_banner_real_show_information)
971 (hildon_banner_show_information_with_markup)
972 (hildon_banner_show_animation, hildon_banner_show_progress):
973 Set a different widget name to banners in portrait mode, for them
974 to be themed correctly.
976 2009-06-16 Alberto Garcia <agarcia@igalia.com>
978 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
979 Set a different widget name to notes in portrait mode, for them to
982 Partially fixes: NB#118401 (HildonNote causes unnecessary
985 2009-06-16 Alberto Garcia <agarcia@igalia.com>
987 * hildon/hildon-note.c (hildon_note_class_init)
988 (+hildon_note_size_request, screen_size_changed):
989 Always request the full width of the screen.
991 Fixes: NB#118375 (unnecessary rescaling of images)
993 2009-06-16 Alejandro G. Castro <alex@igalia.com>
995 * hildon/hildon-pannable-area.c,
996 (hildon_pannable_area_init),
997 (hildon_pannable_area_realize): Replaced old code adding flags in
998 the object init, now we add it with the other flags in the realize
1001 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1003 * hildon/hildon-note.c: (hildon_note_class_init): Several
1004 documentation improvements to the HildonNote widget.
1006 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1008 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1010 Fixes: MB#4556 (HildonNoteType is undocumented)
1012 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1014 * hildon/hildon-picker-button.c:
1015 Explain how HildonPickerButton sets the title of its dialog
1017 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1018 the title of its dialog)
1020 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1022 * hildon/hildon-check-button.c:
1023 Documentation updates
1025 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1028 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1030 * hildon/Makefile.am
1031 * hildon/hildon-edit-toolbar-private.h
1032 * hildon/hildon-edit-toolbar.c
1033 (+hildon_edit_toolbar_set_progress_indicator)
1034 (hildon_edit_toolbar_init): Add progress indicator to the
1037 * hildon/hildon-gtk.c
1038 (hildon_gtk_window_set_progress_indicator):
1039 If the window contains a HildonEditToolbar, enable the progress
1040 indicator there too.
1042 * hildon/hildon-private.h
1043 * hildon/hildon-private.c
1044 (+hildon_private_create_animation)
1045 * hildon/hildon-banner.c
1046 (-hildon_banner_create_animation):
1047 Moved to hildon-private.c
1049 Fixes: NB#102373 (Progress indicator also for the Edit mode
1052 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1054 * hildon/hildon-app-menu-private.h
1055 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1056 (hildon_app_menu_add_filter, +menu_item_button_event)
1057 (hildon_app_menu_button_release, hildon_app_menu_init):
1058 Make sure that buttons receive 'button-release-event' in spite of
1059 the grab held by HildonAppMenu
1061 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1063 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1065 * hildon/hildon-app-menu.c
1066 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1067 New style property to set the size of the group of filter buttons.
1069 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1071 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1076 * configure.ac: Bump version.
1077 * debian/changelog: Updates.
1079 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1081 * hildon/hildon-main.c: Minor documentation fixes.
1083 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1085 * doc/hildon-sections.txt:
1086 * hildon/hildon-defines.h: Document the defines, organize them,
1087 and mark deprecations as such.
1089 Fixes: MB#4463 (Hildon size #defines are undocumented)
1091 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1093 * hildon/hildon-animation-actor.c:
1094 * hildon/hildon-app-menu.c:
1095 * hildon/hildon-button.c:
1096 * hildon/hildon-date-editor.c:
1097 * hildon/hildon-dialog.c:
1098 * hildon/hildon-edit-toolbar.c:
1099 * hildon/hildon-entry.c:
1100 * hildon/hildon-program.c:
1101 * hildon/hildon-remote-texture.c:
1102 * hildon/hildon-stackable-window.c:
1103 * hildon/hildon-text-view.c:
1104 * hildon/hildon-touch-selector.c:
1105 * hildon/hildon-window-stack.c:
1106 * hildon/hildon-window.c:
1108 Remove redundant "represents" wording from most of the documentation.
1110 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1112 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1116 * hildon/Makefile.am
1117 * hildon/hildon-banner-private.h
1118 * hildon/hildon-banner.c:
1119 Move HildonBannerPrivate to hildon-banner.c and remove
1120 hildon-banner-private.h
1121 Use a bit field to store private booleans.
1123 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1125 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1126 Don't install a new idle function if there's already one
1131 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1133 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1134 (+legacy_menu_realized, +legacy_menu_unmapped)
1135 (+set_legacy_menu_type):
1136 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1137 they can be identified by the window manager.
1139 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1140 displayed in wrong location)
1142 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1145 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1147 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1149 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1150 use gtk-doc support)
1152 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1154 * hildon/hildon-code-dialog.c
1155 * hildon/hildon-date-editor.c
1156 * hildon/hildon-number-editor.c
1157 * hildon/hildon-seekbar.c
1158 * hildon/hildon-stackable-window.c
1159 * hildon/hildon-window.c:
1160 Misc documentation updates
1162 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1164 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1165 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1167 Fixes: NB#117931 (Theming issues in accounts dialogs)
1169 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1171 * hildon/hildon-pannable-area.c,
1172 (hildon_pannable_area_button_release_cb): Changed the coordinates
1173 of the original release in case we want to discard the release,
1174 some widgets in Fremantle do not handle the leave-notify.
1176 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1178 * hildon/hildon-pannable-area.c,
1179 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1180 the release using the last refactored functions and avoiding the
1181 movement if an element was selected.
1183 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1185 * hildon/hildon-pannable-area.c,
1186 (hildon_pannable_area_check_move),
1187 (hildon_pannable_area_handle_move),
1188 (hildon_pannable_area_motion_notify_cb): Refactored the
1189 motion_notify method using a couple of new functions.
1191 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1193 * hildon/hildon-date-selector.c:
1194 (hildon_date_selector_construct_ui):
1195 * hildon/hildon-time-selector.c:
1196 (hildon_time_selector_constructor):
1197 * hildon/hildon-touch-selector-entry.c:
1198 (hildon_touch_selector_entry_set_text_column),
1199 (hildon_touch_selector_entry_get_text_column):
1200 * hildon/hildon-touch-selector.c: (_default_print_func),
1201 (hildon_touch_selector_new_text): Use
1202 hildon_touch_selector_set/get_text_column() instead of
1203 setting/getting the "text-column" property.
1205 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1207 * doc/hildon-sections.txt: Add the new public methods below.
1209 * examples/hildon-picker-button-multicolumn-example.c:
1210 (create_touch_selector):
1211 * examples/hildon-touch-selector-example.c: (create_selector):
1212 * examples/hildon-touch-selector-multi-cells-example.c:
1214 Use hildon_touch_selector_column_set_text_column()
1216 * hildon/hildon-touch-selector-column.h:
1217 * hildon/hildon-touch-selector.c:
1218 (hildon_touch_selector_column_set_text_column),
1219 (hildon_touch_selector_column_get_text_column):
1220 Make hildon_touch_selector_column_set/get_column() public, use
1221 them in the inline example, document them, and reference to them
1224 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1226 * hildon/hildon-time-selector.c: Fix the docs for
1227 hildon_time_selector_new_step().
1229 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1231 * hildon/hildon-touch-selector.c: Improve the documentation for
1232 hildon_touch_selector_append_column().
1234 Fixes MB#4641 (Documentation:
1235 hildon_touch_selector_append_column() ref-counting)
1237 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1239 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1240 Comment out test 5, since the hildon_controlbar_set_range() range
1241 check is broken and fixing it would have side effects. Also,
1242 this finally fixes make distcheck.
1244 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1246 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1248 * tests/TEST-CASES.txt: Remove other bogus test.
1249 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1250 Remove bogus test that was setting/retrieving a valid value.
1252 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1254 * tests/TEST-CASES.txt: Remove bogus tests.
1255 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1256 Remove three bogus tests that were actually setting valid colors.
1258 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1260 * configure.ac: post release version bump
1261 * debian/changelog: post release version bump
1263 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1268 * configure.ac: Bump version.
1269 * debian/changelog: Updates.
1271 2009-06-08 Christian Dywan <christian@lanedo.com>
1275 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1276 Correct errors in hildon_format_file-size_for_display and use
1277 translations from the hildon-fm package instead of osso-filemanager.
1279 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1281 * hildon/hildon-pannable-area.c,
1282 (hildon_pannable_area_init): Initialized new values to handle the
1283 adjustment position.
1284 (hildon_pannable_area_adjust_value_changed): Check if the values
1285 changed before even call the redraw function.
1286 (hildon_pannable_area_size_allocate),
1287 (hildon_pannable_axis_scroll),
1288 (hildon_pannable_area_scroll),
1289 (hildon_pannable_area_jump_to): Improved the diagonal movement
1292 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1295 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1297 * examples/hildon-banner-example.c:
1298 Several style updates
1299 (on_animation_clicked, on_animation_idle)
1300 (on_progress_clicked, on_progress_idle):
1301 Add additional reference for the cases when the parent window is
1304 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1306 * doc/hildon-sections.txt
1307 * hildon/hildon-pannable-area.c
1308 * hildon/hildon-banner.h
1309 * hildon/hildon-banner.c: Documentation updates.
1311 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1314 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1316 * hildon/hildon-calendar-popup.h:
1317 * hildon/hildon-caption.h:
1318 * hildon/hildon-code-dialog.h:
1319 * hildon/hildon-controlbar.h:
1320 * hildon/hildon-date-editor.h:
1321 * hildon/hildon-dialog.h:
1322 * hildon/hildon-get-password-dialog.h:
1323 * hildon/hildon-hvolumebar.h:
1324 * hildon/hildon-login-dialog.h:
1325 * hildon/hildon-note.h:
1326 * hildon/hildon-number-editor.h:
1327 * hildon/hildon-range-editor.h:
1328 * hildon/hildon-seekbar.h:
1329 * hildon/hildon-set-password-dialog.h:
1330 * hildon/hildon-sort-dialog.h:
1331 * hildon/hildon-time-editor.h:
1332 * hildon/hildon-time-picker.h:
1333 * hildon/hildon-volumebar-range.h:
1334 * hildon/hildon-volumebar.h:
1335 * hildon/hildon-vvolumebar.h:
1336 * hildon/hildon-weekday-picker.h:
1337 * hildon/hildon-window.h:
1338 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1339 macros with the current replacements
1341 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1343 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1345 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1346 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1347 itself, to make it fit better with Fremantle style.
1349 Fixes: NB#109878 (height and width of focus on color icon is not
1350 consistent with other item in the application tool bar)
1352 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1354 * hildon/hildon-touch-selector.c:
1355 (hildon_touch_selector_optimal_size_request): use the current requisition
1356 as the base, in order to include any possible extra widget, like the
1357 hildon entry on HildonTouchSelectorEntry
1359 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1361 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1363 * configure.ac: post release version bump
1364 * debian/changelog: post release version bump
1366 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1371 * configure.ac: Bump version.
1372 * debian/changelog: Updates.
1374 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1376 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1378 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1379 to ensure the banner contents are centered, instead of relying on
1380 the expand and fill properties in GtkHBox.
1381 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1383 Fixes: NB#108265 (Animation banner not properly centered)
1385 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1387 * hildon/hildon-pannable-area.c
1388 (hildon_pannable_area_initial_effect): Remove the initial_effect
1389 management, check initial_hint
1390 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1391 set initial_effect to FALSE
1392 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1393 by launching the fade_timeout if the scrollbars state has changed and are
1395 * examples/hildon-pannable-area-initial-hint-example.c
1396 Modified to allow to remove rows too. Add and remove rows one by one.
1398 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1400 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1401 Don't close the menu if there's an animation actor below it.
1403 Fixes: NB#117927 (Application menu not usable with animation
1406 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1408 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1409 "focus-on-click" from the dialog button, to avoid stealing the
1410 focus from the entry.
1412 Fixes: NB#118903 (Account setup wizard: Text in Search field
1413 should be focused when "Region" touch list picker is reopened
1416 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1418 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1419 (prepare_action_area): Completely hide the dialog separator.
1421 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1423 * hildon/hildon-touch-selector-entry.c
1424 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1425 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1426 now that the entry is exposed.
1428 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1430 * hildon/hildon-touch-selector-entry.c
1431 (hildon_touch_selector_entry_init): Change the entry's size
1432 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1434 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1436 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1437 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1438 avoid unnecessary scaling.
1440 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1442 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1443 Create grab transfer window before calling parent's map function.
1445 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1446 "crushed" button(s) in the top left corner)
1448 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1450 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1451 Check if the window is already realized when pushing it.
1453 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1455 * configure.ac: post release version bump
1456 * debian/changelog: post release version bump
1458 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1463 * configure.ac: Bump version.
1464 * debian/changelog: Updates.
1466 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1468 * hildon/hildon-app-menu.c: Doc updates.
1470 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1472 * hildon/hildon-banner.c: Remove leftover macro.
1474 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1476 * hildon/hildon-pannable-area.c,
1477 (hildon_pannable_area_scroll_indicator_fade),
1478 (hildon_pannable_area_button_release_cb): Reviewed vmin
1479 conditions, it could cause problems in the fadeout procedure.
1481 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1483 * hildon/hildon-pannable-area.c
1484 (hildon_pannable_area_button_release_cb): Added a threshold to
1485 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1487 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1489 * hildon/hildon-pannable-area.c,
1490 (hildon_pannable_area_set_property): Added code to sync the gtk
1491 dnd threshold with the panning threshold.
1493 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1495 * hildon/hildon-pannable-area.c,
1496 (hildon_pannable_area_class_init): Changed some of the default
1497 values, now it should be less responsive and more accurate.
1499 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1501 * hildon/hildon-pannable-area.c,
1502 (hildon_pannable_area_init),
1503 (hildon_pannable_area_scroll_indicator_fade),
1504 (hildon_pannable_area_button_press_cb),
1505 (hildon_pannable_axis_scroll),
1506 (hildon_pannable_area_timeout),
1507 (hildon_pannable_area_motion_notify_cb),
1508 (hildon_pannable_area_button_release_cb): Changed the name of the
1509 clicked attribute to button_pressed, it is more clear about its use.
1511 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1513 * src/hildon-pannable-area.c
1514 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1516 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1517 vertical scrollbar visibility, and use the data on private section instead,
1518 remove the initial_hint check
1519 (hildon_pannable_area_expose_event): add the initial_hint check here
1521 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1523 * src/hildon-pannable-area.c
1524 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1525 if the fadeout effect was used
1526 (hildon_pannable_area_expose_event): check if it is required to
1527 manage the initial effect on the begining of the function. Previously
1528 it was made at the end, but this doesn't ensure that the scrollbars
1529 will be painted on the first show. Do not set to FALSE initial_effect,
1530 to ensure that the initial hint is showed the first time the pannable
1532 * examples/Makefile.am
1533 * examples/hildon-pannable-area-initial-hint-example.c:
1534 New example, to show that the initial-hint is showed when the widget
1537 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1538 initially if the application can be scrolled)
1540 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1542 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1543 Resize table before adding new items to make sure that
1544 gtk_table_resize() is called just once.
1546 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1548 * hildon/hildon-app-menu-private.h
1549 * hildon/hildon-app-menu.c (item_visibility_changed)
1550 (filter_visibility_changed, hildon_app_menu_show_all)
1551 (hildon_app_menu_hide_all, hildon_app_menu_init):
1552 Rearrange items just once when gtk_widget_show_all()/hide_all()
1555 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1557 * hildon/hildon-app-menu.c
1558 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1559 Don't call gtk_widget_show() on added items.
1561 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1562 automatically when they're added)
1564 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1566 * hildon/hildon-banner.c
1567 (hildon_banner_realize, +hildon_banner_unrealize)
1568 (+screen_size_changed, hildon_banner_class_init):
1569 Redisplay the banner if the screen is rotated.
1571 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1572 on transition from landscape to portrait)
1574 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1576 * hildon/hildon-banner.[ch]:
1577 (hildon_banner_show_information_override_dnd): remove icon_name from the
1578 method definition as it is ignored.
1579 * examples/hildon-banner-dnd-example.c: updated with the change on
1582 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1584 * hildon/hildon-banner-private.h: new require_override_dnd and
1585 overrides_dnd variables
1586 * hildon/hildon-banner.h:
1587 (hildon_banner_show_information_override_dnd): new method, that shows
1588 the information but sets the override flag, in order to show important
1590 * hildon/hildon-banner.c
1591 (hildon_banner_show_information_override_dnd): new method
1592 (hildon_banner_set_override_flag): new utility function
1593 (hildon_banner_real_show_information): new utility function, in order to
1594 generalize the current hildon_banner_show_information_override_dnd and
1595 hildon_banner_show_information_override_dnd
1596 * examples/Makefile.am
1597 * examples/hildon-banner-dnd-example.c: New example that show how to
1598 use the new hildon_banner_show_information_override_dnd
1600 Fixes: NB#114874 (There is no possibility to show hildon banners with
1603 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1605 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1606 behind hildon_pannable_calculate_vel_factor().
1608 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1610 * hildon/hildon-pannable-area.c
1611 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1612 deceleration factors.
1614 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1616 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1617 Reduce the default value for 'scroll_time' to 1 second, since the
1618 current initial scrolling takes too much time.
1620 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1622 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1623 calculate velocity factor during initialization, since the properties
1626 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1628 * hildon/hildon-pannable-area.c
1629 (hildon_pannable_area_set_property): Calculate the velocity factor
1630 after setting the deceleration property and not after.
1632 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1634 * hildon/hildon-entry.c
1635 (hildon_entry_class_init, +set_property, hildon_entry_new)
1636 * hildon/hildon-check-button.c
1637 (hildon_check_button_class_init)
1638 (+set_property, hildon_check_button_new):
1639 Make the theme size a property.
1641 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1642 others) do too much in the _new function)
1644 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1646 * configure.ac: post release version bump
1647 * debian/changelog: post release version bump
1649 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1654 * configure.ac: Bump version.
1655 * debian/changelog: Updates.
1657 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1659 * hildon/hildon-gtk.h
1660 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1661 New API function to take a screenshot of a window
1663 Fixes: NB#106374 (Need API to take a loading screenshot)
1665 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1667 * hildon/hildon-time-selector.c
1668 (update_format_policy): prevent to use hours and minutes unitialized
1670 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1672 * hildon/hildon-window.c (hildon_window_size_request):
1673 Always request the full size of the screen (minus the title bar if
1674 not in fullscreen mode).
1676 Fixes: NB#107486 (HildonWindow should size itself properly)
1678 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1680 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1681 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1682 (on_show_cb), (sound_handling): Disconnect the idle handler for
1683 the sound when the note is finalized to avoid possible crashes.
1685 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1688 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1690 * src/hildon-animation-actor.c,
1691 * src/hildon-remote-texture.c:
1692 Added proper object cleanup to remove signal handler and object
1693 references as HildonAnimationActor and HildonRemoteTexture
1694 objects get destroyed.
1696 Fixes: NB#116682 (Destroying parented animation actors when
1697 parent in unmapped leads to crash)
1699 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1701 Based on a patch by Christian Dywan (christian@imendio.com)
1703 * doc/hildon-sections.txt:
1704 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1705 * hildon/hildon-helper.h: New file size formatting method.
1707 * debian/control: Depend on osso-filemanager l10n package for
1708 proper localization strings.
1710 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1712 * tests/Makefile.am: Include top_srcdir to make possible to build
1713 tests in a different builddir.
1714 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1715 on a different builddir.
1717 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1719 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1720 (hildon_touch_selector_remove): Disconnect model's signal handler
1723 Fixes: NB#116289 (Hildon home crashes while adding task
1726 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1728 * hildon/hildon-button.c
1729 (hildon_button_set_title, hildon_button_set_value):
1730 Hide labels containing an empty string.
1732 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1734 * configure.ac: post release version bump
1735 * debian/changelog: post release version bump
1737 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1742 * configure.ac: Bump version.
1743 * debian/changelog: Updates.
1745 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1747 * hildon/hildon-note-private.h: Removed sound_signal_handler
1748 * hildon/hildon-note.c
1749 (on_show_cb): new callback on note "show" event, this simply adds
1750 a idle, with the function sound_handling
1751 (sound_handling): removed the sound_signal_handler management
1752 (hildon_note_init): connect note "show" event to on_show_cb
1753 (hildon_note_realize): remove the connection to "expose-event"
1755 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1756 device?' confirmation note)
1758 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1760 * hildon/hildon-note.c
1761 (hildon_note_new_information_with_icon_name)
1762 (hildon_note_new_confirmation_with_icon_name):
1763 Terminate the list of parameters in g_object_set() calls
1765 Fixes: NB#115166 (Formatting memory card is not taking place)
1767 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1769 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1770 "dialog-information" role for the sound being played.
1772 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1774 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1775 Don't make the menu a modal window, it causes strange interactions
1776 with the pointer grab and it's not really needed.
1778 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1780 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1782 * hildon/hildon-touch-selector.[ch]
1783 (hildon_touch_selector_optimal_size_request): function added to get a
1784 optimal size request from the touch selector, when you want a dialog to
1785 show as much of the selector
1786 * hildon/hildon-picker-dialog.c:
1787 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1788 (hildon_app_menu_class_init):
1789 New "max-height-landscape" and "max-height-portrait" style properties
1790 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1791 (hildon_picker_dialog_get_max_height): returns the maximum height using
1792 the style properties defined and checking the current portrait/landscape
1794 (_hildon_picker_dialog_set_selector): removed the set_size_request
1796 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1798 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1800 * hildon/hildon-bread-crumb-trail.c:
1801 * hildon/hildon-bread-crumb.c:
1802 * hildon/hildon-seekbar.c:
1803 Add reference to replacements for these deprecated widgets.
1805 Fixes: MB#4461 (Documentation: All deprecations should mention
1808 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1810 * examples/hildon-remote-texture-example.c
1812 Change the include to the hildon-remote-texture in order to compile
1813 properly the examples on the installed libhildon1-examples package
1815 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1817 * tests/Makefile.am: Add check for HildonPickerButton.
1818 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1819 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1820 checks for the HildonPickerButton.
1821 * tests/check_test.c (configure_tests): Add the test suite.
1822 * tests/test_suites.h: likewise.
1824 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1826 * hildon/hildon-touch-selector.c
1827 (+on_row_changed): Emit HildonTouchSelector:changed when the
1828 contents of a selected row change.
1829 (_create_new_column), (_hildon_touch_selector_set_model): connect
1830 to GtkTreeModel:row-changed on a newly set model.
1832 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1834 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1836 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1838 * hildon/hildon-banner.c (hildon_banner_destroy)
1839 (hildon_banner_show_progress, hildon_banner_set_fraction):
1840 Remove the progress bar from HildonBanner and use a progress
1843 Fixes: NB#113761 (Update progress banner to use progress
1846 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1848 * hildon/hildon-banner.c:
1849 Calculate size of the banner label using the actual screen width
1850 rather than using a fixed value.
1852 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1855 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1857 * hildon/hildon-pannable-area.c,
1858 (hildon_pannable_area_class_init): Fixed signals documentation
1861 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1863 * configure.ac: post release version bump
1864 * debian/changelog: post release version bump
1866 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1871 * configure.ac: Bump version.
1872 * debian/changelog: Updates.
1874 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1876 * hildon/hildon-edit-toolbar.c
1877 (hildon_edit_toolbar_init):
1878 Don't let buttons in HildonEditToolbar receive focus.
1880 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1881 typing on an HW arrows key)
1883 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1885 * doc/Makefile.am: Fix build.
1887 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1889 * doc/Makefile.am: Do not redefine content_files.
1891 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1899 Renamed src/ to hildon/
1904 Include <hildon/hildon.h> directly in all examples.
1906 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1908 * src/hildon-sort-dialog.c
1909 (hildon_sort_dialog_add_sort_key_with_sorting)
1913 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1915 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1916 make distcheck passes.
1918 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1920 * Makefile.am: Enable gtk-doc during distcheck.
1922 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1924 * Makefile.am: Do not distribute the debian/ directory.
1926 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1928 * doc/Makefile.am: Add the extra SGML files to content_files,
1929 so that they are distributed properly.
1931 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1933 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1936 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1938 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1939 (hildon_note_new_information_with_icon_name): Set the "icon" property
1940 to preserve soundness.
1942 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1944 * src/hildon-font-selection-dialog.c
1945 (hildon_font_selection_dialog_set_property): Fail when the "family"
1946 property is set to NULL.
1948 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1950 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1953 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1955 * src/hildon-time-selector.h:
1956 Added HildonTimeSelectorFormatPolicy
1957 * src/hildon-time-selector.c:
1958 Added PROP_TIME_FORMAT_POLICY
1959 (_check_ampm_format): renamed to check_automatic_ampm_format
1960 (update_format_policy), (update_format_dependant_columns): new functions
1961 (hildon_time_selector_class_init)
1962 (hildon_time_selector_contructor)
1963 (hildon_time_selector_init)
1964 (hildon_time_selector_get_property)
1965 (hildon_time_selector_set_property)
1966 (hildon_time_selector_get_time)
1967 (hildon_time_selector_set_time)
1968 * src/hildon-touch-selector.h: new file
1969 * src/hildon-touch-selector.c
1970 (hildon_touch_selector_emit_changed)
1971 (hildon_touch_selector_block_changed)
1972 (hildon_touch_selector_unblock_changed)
1973 Added functions to allow to block the emission of the "changed" signal
1974 * src/hildon-picker-dialog.c
1975 (hildon_picker_dialog_show): call the parent show before the custom code
1976 * examples/hildon-time-button-example.c
1977 Modified, so now you can configure the time format using the new property
1979 Added a new property "time-format-policy" that allow to choose the time
1980 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1981 case it uses gconf in order to check if the time selector must use
1984 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1987 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1989 * src/hildon-note.c (hildon_note_init):
1990 Label in HildonNote must be left aligned, not centered. This
1991 reverts the last commit in HildonNote.
1993 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1994 is connectivity dialog)
1996 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2001 * doc/hildon-sections.txt:
2002 Added hildon_gtk_window_set_do_not_disturb()
2004 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2006 * src/hildon-note.c (hildon_note_init): Center label.
2008 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2011 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2016 * configure.ac: Bump version.
2017 * debian/changelog: Updates.
2019 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2021 * src/hildon-note-private.h: Add button-width to the private data.
2022 * src/hildon-note.c (+resize_button),
2023 (+hildon_note_orientation_update): methods to repack widgets on orientation
2025 (screen_size_changed): Call above method for confirmation notes.
2026 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2027 (hildon_note_rebuild): Store the original width request from buttons.
2029 Fixes: NB#109635 (Confirmation notes do not support portrait)
2031 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2033 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2034 when it is a progress note.
2036 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2038 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2039 in the note, since there are no horizontally arranged contents.
2041 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/hildon-gtk.c (+set_flag): new generic method to
2044 set/delay a flag setting in a window.
2045 (hildon_gtk_window_set_progress_indicator):
2046 (hildon_gtk_window_set_do_not_disturb),
2047 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2048 avoid code redundance.
2050 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2052 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2054 * src/hildon-gtk.c (set_clear_window_flag),
2055 (do_set_progress_indicator), (do_set_do_not_disturb),
2056 (do_set_portrait_flags),
2057 (hildon_gtk_window_set_progress_indicator),
2058 (hildon_gtk_window_set_do_not_disturb),
2059 (hildon_gtk_window_set_portrait_flags):
2060 Allow setting dnd-flag, progress indicator, and portrait flags
2061 when the window is not realized.
2063 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2065 * src/hildon-pannable-area.c,
2066 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2067 the size request policy function and defines.
2069 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2071 * doc/hildon-sections.txt: Add the new API.
2072 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2073 method to set the portrait flags.
2074 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2076 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2078 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2081 to allow using this method with other flags.
2082 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2083 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2085 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-touch-selector.c
2088 (hildon_touch_selector_append_text_column):
2089 Make the cell renderer use the smallest width possible.
2091 Fixes: NB#108470 (Selected items in multiple selection are either
2092 having a tick that is cut or not visible at all.)
2094 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-touch-selector.c
2097 (hildon_touch_selector_append_text_column):
2100 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2103 Use g_strdup_printf() instead of a fixed size buffer.
2105 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2108 Close banners when a HildonAppMenu is popped up.
2110 Fixes: NB#111027 (Title menu closed immediately if activated when
2111 "Invalid e-mail address" banner is shown)
2113 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2118 * configure.ac: Bump version.
2119 * debian/changelog: Updates.
2121 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2123 * src/hildon-banner.c (hildon_banner_realize):
2124 Mark HildonBanner as supporting portrait mode.
2125 Use GDK to set window properties insetad of direct Xlib calls.
2127 Fixes: NB#111830 (HildonBanner should be marked as supporting
2130 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-note.c (hildon_note_rebuild):
2133 Hide action area in information notes. Prevents text from being
2134 slightly aligned to the left.
2136 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2139 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2141 Patch by Mox Soini (ext-mox.soini@nokia.com)
2143 * src/hildon-banner.c (hildon_banner_create_animation):
2144 Use stylus-sized icons in animation banner.
2146 Fixes: NB#111206 (stylus sized icon for animation banner)
2148 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2152 (+hildon_gtk_window_set_do_not_disturb):
2153 New API to set the do-not-disturb flag.
2155 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2157 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2159 * examples/hildon-progress-indicator-example.c: Fix example
2161 * src/hildon-gtk.c (set_clear_window_flag)
2162 (hildon_gtk_window_set_progress_indicator):
2163 Create a generic function for setting flags to a window.
2164 Use GDK instead of direct Xlib calls.
2166 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2168 * src/hildon-button.c (hildon_button_set_arrangement):
2169 Due to NB#88126, if one of the labels is too long it will be
2170 painted outside the button. The 'value' label is more likely to be
2171 the longest one, so we change its packing options in order to
2172 truncate it if necessary. As a side effect, the 'title' label will
2173 no longer be truncated.
2175 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2177 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2182 * configure.ac: Bump version.
2183 * debian/changelog: Updates.
2185 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2187 Deprecation of the hildon_pannable_area_set_size_request_policy
2188 API, the only policy properly supported in gtk+ nowadays is the
2191 * src/hildon-pannable-area.c,
2192 (hildon_pannable_area_size_request): Added a workaround for the
2193 size_request to avoid the problems of huge pixmaps in case someone
2194 is still using the function.
2195 * src/hildon-pannable-area.h: Deprecated the enum with the
2198 Fixes: NB#110244 (Problems with the
2199 hildon_pannable_area_set_size_request_policy API)
2201 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2203 * src/hildon-pannable-area.c,
2204 (hildon_pannable_area_init),
2205 (hildon_pannable_area_size_request),
2206 (hildon_pannable_area_style_set),
2207 (hildon_pannable_draw_vscroll),
2208 (hildon_pannable_draw_hscroll),
2209 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2210 indicator_width to clarify the use of the attribute.
2212 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2217 * configure.ac: Bump version.
2218 * debian/changelog: Updates.
2220 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2222 * src/hildon-picker-dialog.c
2223 * src/hildon-touch-selector.c
2224 Reverting the change that tried to avoid the hardcoded height on
2225 the picker dialog, as causes problems on the hildon-touch-selector
2228 Fixes: NB#110029 (selectors not scrolling to selected value)
2230 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-touch-selector.c: Fix typos
2234 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2236 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2237 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2238 request more motions after using it.
2240 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2242 * src/hildon-calendar.c (hildon_calendar_expose),
2243 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2244 Remove unused variables.
2246 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2248 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2249 variable assignment.
2251 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2253 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2254 Check the return value of gtk_tree_selection_get_selected()
2257 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2259 * src/hildon-animation-actor.c
2260 * src/hildon-button.c
2262 * src/hildon-pannable-area.c
2263 * src/hildon-picker-button.c
2264 * src/hildon-program.c
2265 * src/hildon-remote-texture.c
2266 * src/hildon-text-view.c
2267 * src/hildon-touch-selector.c
2268 * src/hildon-window-stack.c
2269 * src/hildon-window.c:
2270 Add missing 'Since: 2.2' tags.
2272 * doc/hildon-sections.txt:
2273 Add some missing symbols.
2275 * doc/hildon-docs.sgml:
2276 New 'Other' section for HildonAnimationActor and
2279 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2281 Patch by Iván Gómez (igomez@igalia.com)
2284 * doc/compiling.sgml
2285 * doc/hildon-docs.sgml
2286 * doc/hildon-sections.txt
2287 * doc/migration.sgml
2288 * doc/resources.sgml
2290 New chapters on using the Hildon library.
2291 Updated the general structure of the reference manual.
2292 Other minor documentation fixes.
2294 * src/hildon-calendar-popup.c
2295 * src/hildon-calendar.c
2296 * src/hildon-controlbar.c
2297 * src/hildon-date-editor.c
2298 * src/hildon-dialog.c
2299 * src/hildon-hvolumebar.c
2300 * src/hildon-number-editor.c
2301 * src/hildon-range-editor.c
2302 * src/hildon-sort-dialog.c
2303 * src/hildon-time-editor.c
2304 * src/hildon-time-picker.c
2305 * src/hildon-volumebar-range.c
2306 * src/hildon-volumebar.c
2307 * src/hildon-vvolumebar.c
2308 * src/hildon-weekday-picker.c:
2309 Add deprecation notes
2311 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2312 Document 'horizontal-movement' and 'vertical-movement' signals.
2314 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2319 * configure.ac: Bump version.
2320 * debian/changelog: Updates.
2322 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2324 * src/hildon-pannable-area.c,
2325 (hildon_pannable_area_class_init): increased the minimum velocity.
2326 (hildon_pannable_area_button_release_cb): Updated the
2327 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2328 setup. Review the code to control that last event.
2330 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2333 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2335 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2337 * src/hildon-get-password-dialog.c
2338 (hildon_get_password_set_property),
2339 (hildon_get_password_get_property), (create_contents):
2340 * src/hildon-login-dialog-private.h:
2341 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2342 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2343 (hildon_login_dialog_get_password):
2344 * src/hildon-set-password-dialog-private.h:
2345 * src/hildon-set-password-dialog.c
2346 (hildon_set_password_set_property),
2347 (hildon_set_password_get_property), (create_contents),
2348 (hildon_set_password_response_change),
2349 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2351 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2352 instead and look more Fremantle style.
2354 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2356 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2358 * doc/hildon-sections.txt
2359 * src/hildon-window-stack.h
2360 * src/hildon-window-stack.c
2361 (+hildon_window_stack_get_windows):
2362 New API to obtain the list of windows on a stack.
2364 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2366 * src/hildon-app-menu.c (hildon_app_menu_popup)
2367 (hildon_app_menu_class_init, -hildon_app_menu_show):
2368 Remove hildon_app_menu_show() and move all its checks to
2369 hildon_app_menu_popup()
2371 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2373 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2374 (_hildon_picker_dialog_set_selector): removed call to
2375 gtk_widget_set_size_request
2376 * src/hildon-touch-selector.c
2377 (_create_new_column): change the pannable size request policy
2379 Avoid to use a hardcoded height for the hildon picker dialog. In order
2380 to get that, we needed to change the hildon pannable size request
2382 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2384 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2386 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2387 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2390 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2392 * debian/control: Depend on osso-system-lock localization package.
2393 * src/hildon-code-dialog.c: Obtain the secu_application_title
2394 translation from osso-system-lock.
2395 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2396 for translation the atk related strings, that's not necessary.
2397 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2398 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2399 cancel button, it is not required.
2401 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2403 * src/hildon-pannable-area.c,
2404 (hildon_pannable_area_class_init): Modified the default value of
2405 the overshooting max speed, we have reduced it.
2407 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2409 * doc/hildon-sections.txt
2410 * src/hildon-window-private.h
2411 * src/hildon-window.h
2412 * src/hildon-window.c (hildon_window_class_init)
2413 (hildon_window_init, hildon_window_finalize)
2414 (hildon_window_realize, hildon_window_get_property)
2415 (hildon_window_set_property, hildon_window_update_markup)
2416 (hildon_window_get_markup, hildon_window_set_markup):
2417 New "markup" property and hildon_window_{get,set}_markup() methods.
2419 * examples/hildon-stackable-window-example.c (new_window):
2420 Update example to use hildon_window_set_markup()
2422 Fixes: NB#106375 (Need API to retitle a window with a title
2425 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2427 * src/hildon-pannable-area.c,
2428 (hildon_pannable_area_class_init): Changed the default value of
2429 the initial_hint to TRUE.
2430 (hildon_pannable_area_initial_effect): Changed the initial effect,
2431 not the effect is just the fade-out of the scrollbars.
2433 Fixes: NB#107775 (No scrollbars can be seen when several items are
2434 available in a dialog)
2436 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2438 * src/hildon-program.c (hildon_program_update_top_most):
2441 Fixes: NB#109179 (Memory leak in Hildon program)
2443 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2445 * src/hildon-banner.c (-get_current_app_window):
2446 Remove unused function.
2448 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2450 * src/hildon-pannable-area.c: Modified the documentation of the
2451 get adjustments functions to explain the problem of using the
2452 adjustment directly.
2453 (hildon_pannable_area_class_init): Improved the explanation about
2456 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-app-menu-private.h
2459 * src/hildon-app-menu.c
2460 (hildon_app_menu_class_init):
2461 Bring back the 'external-border' style property
2462 (hildon_app_menu_class_init, hildon_app_menu_init)
2463 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2464 Set a fixed width-request for the menu, independent of the number
2467 Fixes: NB#94957 (Smoothly opened application menu)
2469 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2471 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2473 * src/hildon-banner.c
2474 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2476 Make sure that the banner is correctly placed the first time it's
2478 (hildon_banner_check_position, -check_fullscreen_state):
2479 Show the banner in the same place no matter if the window is in
2480 fullscreen mode or not.
2482 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2484 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2486 * src/hildon-touch-selector.c (_default_print_func): reorder
2487 concatenation for clarity.
2489 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2491 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2492 for multicolumn selectors.
2494 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2496 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2501 * configure.ac: Bump version.
2502 * debian/changelog: Updates.
2504 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2506 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2509 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2511 * configure.ac: removed libcangerra-gtk dependency
2512 * debian/control: removed libcanberra-gtk dependency
2513 * src/Makefile.am: removed libcanberra gtk related flags
2514 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2515 context, and manage a global canberra context instead
2517 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2519 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2521 Patch by Daniel Borgmann (danielb@openismus.com)
2523 * src/hildon-edit-toolbar.c:
2524 Adjust the left padding.
2525 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2526 Paint background of the edit toolbar.
2528 Fixes: NB#107897 (Patch to make editmodetoolbar background
2529 themeable and adjust margin)
2531 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2533 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2535 * src/hildon-program.c (hildon_program_update_top_most):
2536 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2538 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2539 change when the user tasks in/out of an application)
2541 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2543 * configure.ac: added libcangerra-gtk dependency
2544 * debian/control: added libcanberra-gtk dependency
2545 * src/Makefile.am: added libcanberra gtk related flags
2546 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2549 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2551 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2553 * src/hildon-program.c (hildon_program_remove_window)
2554 (hildon_program_add_window): Add checks for the window
2555 parameter. Don't decrease the window counter if the window is not
2558 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2560 * src/hildon-pannable-area.c,
2561 (hildon_pannable_area_realize): Fixed position of the event_window
2562 in the realize method.
2564 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2566 * src/hildon-app-menu-private.h
2567 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2568 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2569 (hildon_app_menu_key_press, hildon_app_menu_init)
2570 (hildon_app_menu_finalize):
2571 Make sure that all idle functions are removed when the widget is
2574 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2576 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2581 * configure.ac: Bump version.
2582 * debian/changelog: Updates.
2584 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2586 * src/hildon-entry.c
2587 (+hildon_entry_show_placeholder),
2588 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2589 that replace hildon_entry_update_contents().
2590 (hildon_entry_set_text),
2591 (hildon_entry_set_placeholder),
2592 (hildon_entry_focus_in_event),
2593 (hildon_entry_focus_out_event): Determine when it is needed
2594 either to show or hide the placeholder and call the above methods.
2596 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2597 when the placeholder text is already set)
2599 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2601 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2602 simple GdkPixbufAnim using the new icons for the banner.
2603 (hildon_banner_show_animation): Use the above mentioned method to
2604 create the animation widget.
2606 Fixes: NB#103564 (Make hildon animation banner use individual
2607 image files as the animation)
2609 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2611 * src/hildon-pannable-area.c,
2612 (hildon_pannable_leave_notify_event): Check if the child is NULL
2613 to avoid sending the leave.
2615 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2617 * src/hildon-pannable-area.c,
2618 (hildon_pannable_area_class_init),
2619 (hildon_pannable_leave_notify_event): Added a handler of the
2620 leave-notify-signal to consider when no motion notify before
2623 Fixes: NB#107494 (Items stay selected when clicking and moving
2624 away when inside pannable area)
2626 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2631 * configure.ac: Bump version.
2632 * debian/changelog: Updates.
2634 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2636 Patch by Alberto Garcia (agarcia@igalia.com)
2638 * src/hildon-date-button.c,
2639 (hildon_date_button_class_init),
2640 (hildon_date_button_init): Removed the construct property handling
2641 and created a default selector in the init method.
2642 * src/hildon-picker-button.c,
2643 (hildon_picker_button_class_init): Removed the construct flag of the
2646 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2648 * src/hildon-main.c (hildon_init):
2649 Don't allow hildon_init() to be called more than once.
2651 Fixes: NB#106607 (hildon_init should issue error message upon
2654 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2656 * examples/hildon-pannable-area-touch-list-example.c
2657 * examples/hildon-pannagle-area-touch-grid-example.c
2658 * examples/hildon-edit-toolbar-example.c
2659 * examples/hildon-touch-selector-multi-cells-example.c
2660 Removed the call to gtk_rc_parse_string, as it is not required since
2663 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2665 * src/hildon-pannable-area.c,
2666 (hildon_pannable_area_class_init): Modified the default panning
2667 threshold of the widget to 6px.
2669 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2670 than the threshold value ) within the button is not sending the
2673 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2675 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2676 for the treeview in the new column. This way, the touch list will never
2679 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2680 be selected manually for the HW keys to work)
2682 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2685 comparison instead of using strcmp(). Fixes a compiler warning as well.
2687 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2689 * doc/hildon-docs.sgml: Do not set the library version in the
2690 document title, use the releaseinfo tag for that purpose instead.
2692 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2694 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2695 Do not jump to the first item if the text in the entry is removed.
2697 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2702 * configure.ac: Bump version.
2703 * debian/changelog: Updates.
2705 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-entry.c (hildon_entry_refresh_contents):
2708 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2709 Use "ReversedSecondaryTextColor" for the placeholder text.
2711 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2713 * src/hildon-text-view.c: Fix compilation warning.
2715 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2717 * src/hildon-button.c (hildon_button_class_init): Don't make
2718 "title" and "value" construction properties, to prevent them from
2719 overwriting labels set from derived classes.
2721 * src/hildon-picker-button.c
2722 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2723 (hildon_picker_button_class_init): Make touch-selector a
2724 construction property.
2726 * src/hildon-date-button.c (hildon_date_button_class_init)
2727 (+hildon_date_button_constructed): Add a default date selector if
2730 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2732 * src/hildon-touch-selector.c: Small documentation fixes.
2734 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2736 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2738 * src/hildon-entry.c (hildon_entry_refresh_contents),
2739 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2740 widget name, set the logical color directly instead and a boolean
2741 showing_placeholder instead.
2742 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2743 use the widget name here either.
2745 Fixes: NB#105678 (HildonTextView should use logical colours
2746 instead of setting widget name)
2748 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2750 Patch by Daniel Elster (danielk@openismus.com)
2752 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2753 Add user_data parameter.
2754 (hildon_touch_selector_set_print_func_full): New function akin
2755 hildon_touch_selector_set_print_func() but with support for user
2756 data and a destroy callback.
2757 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2758 to clean up the print function user data.
2759 (hildon_touch_selector_class_init): Install dispose function.
2760 (HildonTouchSelectorPrivate::print_user_data),
2761 (HildonTouchSelectorPrivate::print_destroy_func): New private
2763 (hildon_touch_selector_init): Initialize new private members.
2764 (hildon_touch_selector_get_current_text): Pass along user data
2765 to the print function.
2766 (_default_print_func): Add dummy user_data to parameter list.
2767 * hildon-date-selector.c (_custom_print_func): ditto,
2768 * hildon-time-selector.c (_custom_print_func): ditto,
2769 * hildon-touch-selector-entry.c
2770 (hildon_touch_selector_entry_print_func): ditto.
2772 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2774 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2776 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2778 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2780 * src/hildon-pannable-area.c,
2781 (hildon_pannable_area_init),
2782 (hildon_pannable_area_button_press_cb),
2783 (hildon_pannable_area_motion_notify_cb): We have added code to
2784 handle the leave and enter events when using the motion events.
2786 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2788 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2790 * src/hildon-date-button.c (hildon_date_button_get_date)
2791 (hildon_date_button_set_date): Make sure that the button has a
2794 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2796 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2798 * src/hildon-pannable-area.c,
2799 (hildon_pannable_area_class_init),
2800 (hildon_pannable_area_calculate_velocity): Modify the use of the
2801 force and adapt the value.
2803 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2805 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2806 (hildon_app_menu_class_init): Hide the menu if it receives a
2807 delete-event, but don't destroy it
2809 Fixes: NB#104485 (Not able to address the call when application
2810 menu is opened at background)
2812 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2814 * src/hildon-app-menu.c
2815 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2816 Remove the "external-border" style property, let the menu take its
2817 natural size (or the one set by the window manager)
2818 (hildon_app_menu_repack_items):
2819 Don't reshow the menu, avoid flickers.
2821 Partially fixes NB#94957 (Smoothly opened application menu)
2823 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2828 * configure.ac: Bump version.
2829 * debian/changelog: Updates.
2831 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2833 * src/hildon-pannable-area.c,
2834 (hildon_pannable_area_motion_notify_cb): We control that the
2835 direction error margin is used just in case the movement is
2836 allowed in the other direction.
2838 Fixes: NB#105012 (buttons inside a pannable area not getting
2839 release event when dragging/releasing)
2841 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2843 * src/hildon-pannable-area.c,
2844 (hildon_pannable_area_class_init),
2845 (hildon_pannable_area_get_property),
2846 (hildon_pannable_area_set_property),
2847 (hildon_pannable_area_initial_effect),
2848 (hildon_pannable_axis_scroll),
2849 (hildon_pannable_area_button_release_cb): Reviewed the
2850 overshooting effect, now it has its own max
2851 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2852 speed when bouncing.
2854 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2859 * configure.ac: Bump version.
2860 * debian/changelog: Updates.
2862 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2864 * src/hildon-pannable-area.c,
2865 (hildon_pannable_area_class_init): Changed the max speed, now
2866 users can launch the widget very fast. Reduced the default force,
2867 that way it is easier to control the launch speed.
2869 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2871 * src/hildon-pannable-area.c,
2872 (hildon_pannable_area_button_release_cb): Removed this check
2873 because it causes problems when the device is overloaded.
2875 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2878 add a current_text field to store the text entered in the
2879 touch selector entry.
2880 (_clean_current_selection): clean up the current text as well.
2881 (_save_current_selection), (_restore_current_selection):
2882 Save/restore the text in the entry if the selector is a
2883 HildonTouchSelectorEntry.
2885 Fixes: NB#102541 (value entered in the touch selector entry is not
2886 shown when opened for second time)
2888 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2890 * doc/hildon-sections.txt:
2891 * src/hildon-touch-selector-entry.c
2892 (+hildon_touch_selector_entry_get_entry):
2893 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2895 Fixes: NB#104815 (I need accessor to the entry inside
2896 HildonTouchSelectorEntry)
2898 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2900 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2901 (hildon_app_menu_class_init):
2902 New "filter-vertical-spacing" style property.
2904 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2906 * src/hildon-find-toolbar.c
2907 (hildon_find_toolbar_emit_close)
2908 (hildon_find_toolbar_emit_invalid_input)
2909 (hildon_find_toolbar_entry_activate):
2910 Use g_signal_emit() instead of g_signal_emit_by_name()
2912 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2914 Patch by Mox Soini (ext-mox.soini@nokia.com)
2916 * tests/TEST-CASES.txt
2917 * tests/check-hildon-banner.c
2918 * tests/check-hildon-note.c
2919 * src/hildon-banner.c
2920 * src/hildon-code-dialog.c
2921 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2922 * src/hildon-time-editor.c
2923 * examples/hildon-lookup-example.c (main):
2924 Replace obsolete icon names with new ones.
2926 * src/hildon-find-toolbar-private.h:
2927 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2928 (-hildon_find_toolbar_emit_search):
2929 Remove find button and change icon of close button.
2931 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2933 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2935 * src/hildon-time-button.c (hildon_time_button_new_step):
2936 Use the "touch-selector" property to set the selector directly
2937 when creating the object.
2939 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2941 Added a new example application that allows tuning the pannable
2942 area and replaced defines with properties in order to simplify the
2943 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2944 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2945 PROP_DIRECTION_ERROR_MARGIN.
2947 * examples/hildon-pannable-area-tuning-example.c: New example
2949 * src/hildon-pannable-area.c,
2950 (hildon_pannable_area_class_init),
2951 (hildon_pannable_area_init),
2952 (hildon_pannable_area_get_property),
2953 (hildon_pannable_area_set_property),
2954 (hildon_pannable_area_launch_fade_timeout),
2955 (hildon_pannable_area_adjust_value_changed),
2956 (hildon_pannable_axis_scroll),
2957 (hildon_pannable_area_motion_notify_cb),
2958 (hildon_pannable_area_scroll_cb),
2959 (hildon_pannable_area_button_release_cb): We have converted some
2960 of the defines that control the widget to properties to simplify
2963 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2965 * src/hildon-app-menu.c (hildon_app_menu_map)
2966 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2967 so it's closed if a new window appears.
2969 Fixes: NB#104485 (Not able to address the call when application
2970 menu is opened at background)
2972 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2974 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2975 missing 'break' statement in in 'case' construct to avoid
2978 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2980 * src/hildon-touch-selector-entry.c
2981 (hildon_touch_selector_entry_get_property),
2982 (hildon_touch_selector_entry_set_property): Add missing 'break'
2983 statements in in 'case' constructs to avoid incorrect warnings.
2985 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-time-editor.c
2988 (hildon_time_editor_get_time_separators): Do not crash if
2989 the first label is NULL.
2991 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-date-selector.c (_month_days): Check for month to be
2994 strictly less than 12, since otherwise we may overrun the array.
2996 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2998 * src/hildon-date-button.c (+hildon_date_button_new_full)
2999 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3000 (hildon_date_button_init): Set the date selector using a
3001 construction property, to make it happen after HildonButton's
3002 "value" property is set.
3004 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3005 current date by default)
3007 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3009 * doc/hildon-sections.txt
3010 * src/hildon-program.c
3011 * src/hildon-stackable-window.c
3012 * src/hildon-window.c:
3013 Documentation updates
3015 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3017 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3018 (hildon_window_stack_new, +hildon_window_stack_set_property)
3019 (+hildon_window_stack_get_property)
3020 (hildon_window_stack_class_init)
3021 (+hildon_window_stack_set_window_group)
3022 (+hildon_window_stack_get_window_group):
3023 Make the window group a construction property.
3025 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3027 * doc/hildon-sections.txt
3028 * src/hildon-stackable-window-private.h
3029 * src/hildon-stackable-window.h
3030 * src/hildon-stackable-window.c
3031 (-hildon_stackable_window_set_app_menu)
3032 (-hildon_stackable_window_get_app_menu)
3033 (-hildon_stackable_window_toggle_menu)
3034 (-hildon_stackable_window_finalize)
3035 (hildon_stackable_window_class_init)
3036 (hildon_stackable_window_init)
3037 * src/hildon-window-private.h
3038 * src/hildon-window.h
3039 * src/hildon-window.c (hildon_window_init)
3040 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3041 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3042 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3043 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3044 Moved all HildonAppMenu code to HildonWindow. The menu does not
3045 require a HildonStackableWindow anymore.
3047 * src/hildon-app-menu.c
3048 * src/hildon-program.c
3049 * examples/hildon-app-menu-example.c (main):
3050 Update examples and documentation to reflect HildonAppMenu
3053 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3055 * src/hildon-remote-texture.c
3056 * src/hildon-animation-actor.c:
3057 Don't include unused private headers.
3059 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3061 * src/hildon-program-private.h
3062 * src/hildon-program.c
3063 (hildon_program_set_common_menu)
3064 (hildon_program_get_common_menu)
3065 (hildon_program_set_common_app_menu)
3066 (hildon_program_get_common_app_menu):
3067 Change common menu pointers from GtkWidget* to GtkMenu* and
3068 HildonAppMenu* to avoid unnecessary casts.
3070 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3072 * src/hildon-window.c (hildon_window_set_main_menu):
3073 Removed incorrect 'Since:' tag
3075 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3077 * src/hildon-pannable-area.c,
3078 (hildon_pannable_area_calculate_velocity): We use now the
3079 RATIO_TOLERANCE here to check the distance, fixed typo in the
3081 (hildon_pannable_area_motion_notify_cb): We have to set the type
3082 and time even if we are not sending the motion.
3084 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3086 * doc/hildon-sections.txt
3087 * src/hildon-app-menu.h
3088 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3089 (+hildon_app_menu_get_filters): New methods to get the contents of
3092 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3095 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3097 * src/hildon-app-menu.c (hildon_app_menu_popup):
3100 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3102 * src/hildon-window.h
3103 * src/hildon-window.c (+hildon_window_get_main_menu)
3104 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3105 and deprecated hildon_window_get_menu().
3107 * src/hildon-stackable-window.h
3108 * src/hildon-stackable-window.c
3109 (+hildon_stackable_window_set_app_menu)
3110 (+hildon_stackable_window_get_app_menu)
3111 (hildon_stackable_window_set_main_menu): Created
3112 hildon_stackable_window_{get,set}_app_menu() and deprecated
3113 hildon_stackable_window_set_main_menu().
3115 * doc/hildon-sections.txt
3116 * examples/hildon-app-menu-example.c (main)
3117 * src/hildon-app-menu.c
3118 * src/hildon-program.c:
3119 Updated examples and documentation.
3121 Fixes: NB#103758 (No way to obtain a menu from a
3122 HildonStackableWindow)
3124 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3129 * configure.ac: Bump version.
3130 * debian/changelog: Updates.
3132 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3134 * examples/hildon-remote-texture-example.c: Include
3135 hildon-remote-texture.h explicitely.
3136 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3137 applications not defining _XOPEN_SOURCE which don't require this header.
3139 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3141 * doc/hildon-sections.txt
3142 * src/hildon-app-menu.h
3143 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3144 New function to pop up a HildonAppMenu
3146 * src/hildon-stackable-window.c
3147 (hildon_stackable_window_toggle_menu):
3148 Use hildon_app_menu_popup() to show the menu.
3150 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3152 * src/hildon-app-menu.c (hildon_app_menu_show)
3153 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3154 menu if there's another window between it and its parent window.
3156 Fixes: NB#100468 (Application menu window is launched even when a
3157 new secondary-window/dialog is pending to be shown/realized)
3159 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-window-stack.c (hildon_window_stack_push)
3162 (hildon_window_stack_pop_and_push):
3163 Don't forget to push/pop the first window.
3164 Reverse the window list before calling _push_list()
3166 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-picker-button.h
3169 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3170 Remove "value_changed" slot to avoid ABI breakage
3172 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3174 * src/hildon-pannable-area.c,
3175 (hildon_pannable_area_realize),
3176 (hildon_pannable_area_unrealize),
3177 (hildon_pannable_draw_vscroll),
3178 (hildon_pannable_draw_hscroll): Changed the method to handle the
3179 GC used to draw the transparent scrollbar, this way we avoid
3180 creating the GC all the time when drawing the scrollbars.
3182 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3184 * src/hildon-pannable-area.c,
3185 (hildon_pannable_area_init),
3186 (hildon_pannable_area_remove): Removed some unnecessary casts.
3187 (hildon_pannable_area_dispose): Disconnected some signals before
3188 releasing the adjustments.
3190 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3192 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3193 Make sure that all widgets contained in the toolbar are shown.
3195 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3197 * doc/hildon-sections.txt
3198 * src/hildon-picker-button.h
3199 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3200 (_selection_changed, hildon_picker_button_on_dialog_response)
3201 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3202 New hildon_picker_button_value_changed() method.
3205 * src/hildon-picker-button-private.h
3206 * src/hildon-picker-button.c (hildon_picker_button_init)
3207 (+hildon_picker_button_disable_value_changed): Add protected
3208 function for disabling the "value-changed" signal.
3210 * src/hildon-date-button.c (hildon_date_button_set_date):
3211 Don't emit "value-changed" for each one of the three columns.
3213 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3214 before actual change of values)
3216 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3218 * src/hildon-pannable-area.c,
3219 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3220 for the treeview overshooting.
3222 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3224 * src/hildon-banner.c (+hildon_banner_bind_style):
3225 Renamed from hildon_banner_bind_label_style(), now naming the
3226 banner itself as well.
3227 (hildon_banner_show_information),
3228 (hildon_banner_show_information_with_markup),
3229 (hildon_banner_show_animation), (hildon_banner_show_progress):
3230 Name the widgets and labels, based on their type.
3232 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3235 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3237 * src/hildon-note.c (hildon_note_set_property): call
3238 hildon_note_rename() on HildonNote:note-type set.
3239 (hildon_note_rename): Name the note and its label, based on the
3240 HildonNote:note-type property.
3242 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3245 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3247 * src/hildon-pannable-area.c,
3248 (hildon_pannable_area_class_init),
3249 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3250 panning parameters, increased SPS and deceleration factor. Added
3251 also a margin to control fake directions.
3253 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3255 Patch by Sven Herzberg (sven@imendio.com)
3257 * configure.ac: Add missing AM_PROG_CC_C_0
3258 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3260 See NB#101420 (Update unit tests and fix make check)
3262 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3264 This patch was applied before but reverted because it caused
3265 problems, we have changed the main condition and tested the
3266 regressions we detected before and they work ok. We have done a
3267 complete review of the topmost algorithm in order to get a more
3270 * src/hildon-pannable-area.c,
3271 (hildon_pannable_area_get_topmost): Added a new parameter to
3272 filter the the windows that do not include those events.
3273 (hildon_pannable_area_button_press_cb),
3274 (hildon_pannable_area_button_release_cb),
3275 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3276 topmost function, we have added the new parameter.
3278 Fixes: NB#97458 (Pannable area prevents propagation of button
3281 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3283 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3284 if all columns in the selector have an item selected.
3285 (_on_dialog_response): Stop "response" signal emission if there is
3286 any selector column without selected items.
3288 Fixes: NB#101889 (Picker dialog should not close when nothing is
3289 selected in multiple selection list)
3291 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3293 * src/hildon-font-selection-dialog.c
3294 (hildon_font_selection_dialog_class_init),
3295 (hildon_font_selection_dialog_init): Remove the preview
3296 button and dialog, since previewing with default theming is likely
3297 to be overcomplicated. The :preview property has now no effect.
3298 Update documentation blurbs to inform about this.
3300 Fixes: NB#92297 (Preview content is not clearly visible for
3301 default colour text)
3303 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3305 Reviewed the geometry that handles the children size and
3306 scrollbar, now it tries a size and reviews the results depending
3307 on the scrollbars visibility.
3309 * src/hildon-pannable-area.c,
3310 (hildon_pannable_area_realize): Fixed a typo.
3311 (hildon_pannable_area_child_allocate_calculate): Added this
3312 function to calculate the child allocation.
3313 (hildon_pannable_area_size_allocate): Reviewed the allocation
3315 (hildon_pannable_area_check_scrollbars),
3316 (hildon_pannable_area_refresh): Refactored refresh function, this
3317 way we can call the code handling the scrollbars without causing a
3318 size_request, it is interesting in the allocate.
3319 (hildon_pannable_area_init): Replace the callbacks of the
3320 value_changed and changed signals to propertly deal with the
3322 (hildon_pannable_area_grab_notify),
3323 (hildon_pannable_area_initial_effect),
3324 (hildon_pannable_area_launch_fade_timeout),
3325 (hildon_pannable_area_adjust_changed),
3326 (hildon_pannable_area_adjust_value_changed),
3327 (hildon_pannable_area_redraw),
3328 (hildon_pannable_area_button_press_cb),
3329 (hildon_pannable_area_button_release_cb),
3330 (hildon_pannable_area_scroll_cb),
3331 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3332 code and use the new functions adjust_changed and
3333 adjust_value_changed.
3335 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3336 Contact editor dialog)
3338 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3343 * configure.ac: Bump version.
3344 * debian/changelog: Updates.
3346 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3348 * src/hildon-pannable-area.c,
3349 (hildon_pannable_area_get_topmost),
3350 (hildon_pannable_area_button_press_cb),
3351 (hildon_pannable_area_button_release_cb),
3352 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3353 topmost function adding the event mask. We have to try a
3354 differente approach because it is still causing problems (NB#9745,
3357 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3359 * src/hildon-banner.c:
3360 Update the maximum width of timed banners.
3361 (force_to_wrap_truncated): Enforce the maximum text width if the
3364 Fixes: NB#102413 (The text margins (wrapping) in information
3365 banner should be HILDON_MARGIN_TRIPLE)
3367 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3369 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3371 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3372 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3373 bound when calculating the scroll indicator position.
3375 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3376 treat ->lower correctly)
3378 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3381 expose event handling, since it is not necessary to draw the focus
3384 Fixes: NB#102467 (Do not show highlight on the text in
3387 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3389 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3390 full height of the toolbar for the button and the label.
3392 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3394 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3395 padding before the label and after the button.
3397 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3399 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3401 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3402 Add a GtkVSeparator between the button and the back arrow.
3403 Let the button have automatic size.
3404 Set a name to the widget for theming handling.
3406 Fixes: NB#101793 (Make edit toolbar the same height as window
3407 title bar (use title area theming))
3409 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3411 * src/hildon-helper.c (attach_new_color_element): Fix memory
3414 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3416 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3418 * examples/hildon-button-example.c (common_buttons_window): Don't
3421 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3423 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3424 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3426 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-gtk.c: Check that the window is realized.
3430 Fixes: NB#102225 (Crash setting the progress indicator to a non
3433 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3435 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3436 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3437 instead of modifying the one in the widget style.
3439 Fixes: NB#101043 (Second row of all the command button are
3440 displayed in transparent mode.)
3442 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3444 * src/hildon-date-button.c
3445 * src/hildon-time-button.c: Add gettext macros
3447 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3449 * src/hildon-date-button.c (hildon_date_button_new):
3450 * src/hildon-time-button.c (hildon_time_button_new_step):
3451 Use new logical strings to set the button default title.
3453 Fixes: NB#99915 (Date and Time options are not localised in Date
3456 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3458 * src/hildon-pannable-area.c
3459 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3460 the PANNING_THRESHOLD.
3462 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3464 * src/hildon-pannable-area.c,
3465 (hildon_pannable_area_class_init): Increased the maximum speed.
3466 (hildon_pannable_area_get_property),
3467 (hildon_pannable_area_set_property),
3468 (hildon_pannable_area_timeout): Added a new low friction mode, it
3469 allows the user avoid friction when launching the widget fast
3470 enough. It is interesting to traverse long lists.
3472 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3474 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3475 (+hildon_stackable_window_delete_event): Ignore delete events if
3476 the window is not the topmost one.
3478 Fixes: NB#101698 (Back button long press and delete-event handling)
3480 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3482 * src/hildon-pannable-area.c,
3483 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3484 gtk-dnd-drag-threshold, it was too big. We have defined our own
3485 dnd define and set a smaller value: PANNIG_THRESHOLD.
3487 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3489 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3490 user-defined icons, use always the default one.
3492 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3494 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3496 This patch was applied before but reverted because it caused
3497 problems, we have changed the main condition and tested the
3498 regressions we detected before and they work ok.
3500 * src/hildon-pannable-area.c,
3501 (hildon_pannable_area_get_topmost): Added a new parameter to
3502 filter the the windows that do not include those events. Added
3503 also a condition when finding the window to filter windows that do
3504 not ask for those events.
3505 (hildon_pannable_area_button_press_cb),
3506 (hildon_pannable_area_button_release_cb),
3507 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3508 topmost function, we have added the new parameter.
3510 Fixes: NB#97458 (Pannable area prevents propagation of button
3513 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3515 * tests/check-hildon-color-button.c (START_TEST): do not leak
3518 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-font-selection-dialog.c
3521 (hildon_font_selection_dialog_get_preview_text): Return NULL
3522 instead of FALSE on the g_return_val_if_fail().
3524 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3526 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3527 * src/hildon-date-selector.c
3528 (hildon_date_selector_select_current_date):
3529 Do not compare unsigned integers to be greater than or equal 0,
3530 because it's always TRUE.
3532 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3534 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3535 (hildon_date_selector_constructor): Do not select the current
3536 date until we are handle the "changed" signal, to avoid having bogus
3537 elements in the days model.
3539 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3541 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3542 for num_days, since _month_days() can return a negative value.
3544 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3546 * src/hildon-caption.c (hildon_caption_size_allocate):
3547 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3548 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3550 Initialize allocation variables to 0, to avoid eventually using
3551 unitialized variables.
3553 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3555 * src/hildon-bread-crumb-trail.c
3556 (hildon_bread_crumb_trail_size_allocate):
3557 * src/hildon-calendar.c (hildon_calendar_set_background):
3558 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3559 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3560 * src/hildon-seekbar.c (hildon_seekbar_init):
3561 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3562 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3563 * src/hildon-touch-selector-entry.c
3564 (hildon_touch_selector_get_text_from_model):
3565 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3566 * src/hildon-window.c (hildon_window_finalize):
3568 Remove many unused variables.
3570 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3572 * src/hildon-seekbar.c: (hildon_seekbar_init),
3573 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3575 Remove unnecessary g_assert() calls.
3577 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3579 * src/hildon-caption.c: (hildon_caption_expose),
3580 (hildon_caption_set_property), (hildon_caption_init),
3581 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3582 (hildon_caption_size_request), (hildon_caption_size_allocate),
3583 (hildon_caption_forall), (hildon_caption_set_separator),
3584 (hildon_caption_activate), (hildon_caption_set_child_expand),
3585 (hildon_caption_set_label_text),
3586 (hildon_caption_get_label_alignment):
3588 Remove unnecessary g_assert() calls.
3590 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3592 * src/hildon-banner.c
3593 (hildon_banner_map, hildon_banner_init): Make banner temporary
3594 before mapping it to avoid closing other temporary windows, but
3595 make it non-temporary afterwards to avoid being closed by other
3596 non-temporary windows.
3597 (-hildon_banner_client_event, hildon_banner_init):
3598 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3600 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3603 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3605 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3608 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3610 * src/hildon-remote-texture.c
3611 * src/hildon-remote-texture.h
3612 * src/hildon-remote-texture-private.h
3613 * examples/hildon-remote-texture-example.c:
3614 Updates/fixes to remote-texture and its example.
3616 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3618 Patch by Mox Soini (ext-mox.soini@nokia.com)
3620 * src/hildon-code-dialog.c: Update logical id.
3621 * src/hildon-set-password-dialog.c: Update logical id.
3623 Fixes: NB#100646 (Logical strings is shown for ok in set
3624 password,Password needed dialogs)
3626 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3629 * src/hildon-remote-texture.c
3630 * src/hildon-remote-texture.h
3631 * src/hildon-remote-texture-private.h
3633 Added remote texture widget (for Clutter shared memory textures)
3635 * examples/hildon-remote-texture-example.c
3636 * examples/Makefile.am
3637 Added example file for remote texture usage
3639 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3641 * configure.ac: post release version bump.
3642 * debian/changelog: version bump.
3644 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3649 * configure.ac: Bump version.
3650 * debian/changelog: Updates.
3652 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3654 * src/hildon-date-selector.c (hildon_date_selector_init)
3655 (hildon_date_selector_constructor): Don't connect to the "changed"
3656 signal until the selector is completely constructed.
3658 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3660 * src/hildon-touch-selector.c: (_create_new_column),
3661 (hildon_touch_selector_append_column),
3662 (hildon_touch_selector_set_column_selection_mode),
3663 (hildon_touch_selector_set_active),
3664 (hildon_touch_selector_select_iter):
3665 Emit the HildonTouchSelector::changed signal every time selection
3666 is changed in any of the methods above. This behavior was already
3667 documented but not fully functional.
3669 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3670 selection is programmatically changed)
3672 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3674 * doc/hildon-sections.txt: Remove obsolete icon
3675 sizes from here as well.
3677 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3679 * examples/hildon-stackable-window-example.c (add_window): Remove
3682 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3684 * src/hildon-app-menu.c
3685 (hildon_app_menu_show): Check whether the parent window of a menu
3686 is topmost before popping it up.
3688 Fixes: NB#100468 (Application menu window is launched even when a
3689 new secondary-window/dialog is pending to be shown/realized.)
3691 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3693 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3696 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3698 Patch by Mox Soini (ext-mox.soini@nokia.com)
3700 * src/hildon-banner.c: (hildon_banner_show_animation):
3701 use stylus size instead of obsolete note size.
3702 * src/hildon-defines.h: Update icon sizes.
3704 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3706 * src/hildon-touch-selector-entry.c:
3707 (hildon_touch_selector_entry_init): Disable unsupported
3709 (hildon_touch_selector_entry_get_text_column): Emit a warning
3710 if an unsupported input modes is used and explicitile state
3711 these modes in the documentation.
3713 Fixes: NB#99802 (Hildon touch selector entry not working properly
3714 for some of the input modes)
3716 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3718 * src/hildon-pannable-area.c,
3719 (hildon_pannable_area_init): Added the changed signal handlers of
3722 Fixes: NB#100320 (HildonPannableArea does not listen to
3723 GtkAdjustment "change" signals)
3725 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3727 * doc/hildon-sections.txt
3728 * src/hildon-window-private.h
3729 * src/hildon-window.h
3730 * src/hildon-window.c (hildon_window_init)
3731 (hildon_window_realize, hildon_window_unrealize)
3732 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3733 (hildon_window_size_request, hildon_window_size_allocate)
3734 (hildon_window_forall, hildon_window_show_all)
3735 (hildon_window_destroy, +paint_edit_toolbar)
3736 (+hildon_window_set_edit_toolbar):
3737 New hildon_window_set_edit_toolbar() method, to add a
3738 HildonEditToolbar to a window without having to pack it manually.
3740 Reorganize hildon_window_size_allocate()
3742 * src/hildon-edit-toolbar.c: Update documentation.
3744 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3745 example to use the new API.
3747 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3749 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3751 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3752 Remove from stack before calling parent's hide.
3754 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3757 window is removed from the middle of the stack, update the
3758 transiency of the previous one.
3760 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3763 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3766 block/unblock the signal handler if it's not actually being used.
3767 Fixes some critical warnings.
3769 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3771 Based on a patch by Iván Gómez (igomez@igalia.com)
3773 * src/hildon-banner.c
3777 * src/hildon-pannable-area.c
3778 * src/hildon-picker-dialog.c
3779 * src/hildon-wizard-dialog.h
3780 * src/hildon-wizard-dialog.c: Documentation updates.
3782 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3783 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3785 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3787 * configure.ac: post release version bump.
3788 * debian/changelog: version bump.
3790 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3795 * configure.ac: Bump version.
3796 * debian/changelog: Updates.
3798 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3800 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3801 a stock icon nor change the relief of the back arrow.
3803 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3804 graphics from theme)
3806 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3808 * src/hildon-button.c (hildon_button_set_alignment): Use
3809 priv->alignment if the button has no child yet.
3811 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3813 * src/hildon-button.c: (hildon_button_init): Set the
3814 button style during initialization to give it the proper
3817 Fixes: NB#99713 (HildonButton value label color is wrong)
3819 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3821 * src/hildon-touch-selector.c: Document
3822 hildon_touch_selector_center_on_selected()
3824 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3826 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3827 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3828 all menu items, but not the menu itself.
3829 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3830 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3831 items after adding them to the menu so keyboard accelerators work.
3832 (hildon_app_menu_show): Don't show the menu if it contains items
3833 but none of them are visible.
3835 * examples/hildon-app-menu-example.c (create_menu): Use
3836 gtk_widget_show_all() to show all menu items.
3838 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3840 * src/hildon-picker-dialog.c:
3841 (-_update_title_on_selector_changed_cb),
3842 (-_dialog_update_title): Removed.
3843 (_select_on_selector_changed_cb), (_on_dialog_response),
3844 (on_selector_columns_changed): Do not update the dialog title.
3845 (setup_interaction_mode): Do not connect to
3846 HildonTouchSelector::changed signal if there's a "done" button, as
3847 the dialog title doesn't need to be updated.
3849 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3852 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3854 Patch by Kristian Rietveld (kris@imendio.com)
3856 * src/hildon-touch-selector.c: (_create_new_column): Use new
3857 GtkTreeView::hildon-row-tapped signal to react to user interactions
3858 instead of ::changed.
3860 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3861 with some dynamic tree model)
3863 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3865 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3866 (+screen_size_changed, +label_size_request)
3867 (hildon_note_class_init): Make the Hildon information note have a
3868 minimum height, and make its text hvae a maximum width.
3870 Fixes: NB#98614 (Hildon information note (background) should have
3871 minimum height and maximum text width)
3873 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3875 * src/hildon-banner.h
3876 * src/hildon-banner.c (hildon_banner_show_information)
3877 (hildon_banner_show_informationf)
3878 (hildon_banner_show_information_with_markup): Update documentation
3879 to reflect that the icon_name parameter is not used anymore.
3880 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3881 Remove all code from these functions and mark them as deprecated.
3882 (hildon_banner_show_progress): Mark as deprecated.
3884 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3886 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3888 * src/hildon-pannable-area.c,
3889 (hildon_pannable_area_class_init),
3890 (tranparency_color),
3891 (hildon_pannable_draw_vscroll),
3892 (hildon_pannable_draw_hscroll),
3893 (hildon_pannable_area_expose_event): Added a new way to render the
3894 scrollbars of the pannable area avoiding using cairo at all. This
3895 way we improve the performance of the pannable area rendering. The
3896 cairo rendering procedure is still in the code, we can control
3897 which one to use changing the value of the define
3898 USE_CAIRO_SCROLLBARS.
3900 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3902 * configure.ac: post release version bump.
3903 * debian/changelog: version bump.
3905 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3910 * configure.ac: Bump version.
3911 * debian/changelog: Updates.
3913 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3915 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3916 banners instead of destroying them when they receive a button
3919 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3921 Reverted commit 34028, it was causing regressions, probably the
3922 topmost condition is not correct, we have to check it in more
3923 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3924 propagation of button press events)
3926 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3928 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3929 that the selection is not empty before attempting to retrieve the
3930 current ampm selection.
3932 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3934 * src/hildon-picker-button.c:
3935 (hildon_picker_button_on_dialog_response): Directly update the
3936 button contents when required instead of calling _selection_changed.
3938 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3940 * src/hildon-program.c (hildon_program_update_top_most): Update
3941 'is-topmost' property also when wm_hints is not set.
3943 Fixes: NB#98383 (is-topmost signal is not emitted when task
3944 switcher is clicked.)
3946 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3948 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3952 * src/hildon-animation-actor.c,
3953 * src/hildon-animation-actor.h: Added the animation actor class,
3954 this widget represents an animation actor for WM-assisted
3955 animation effects in the Hildon framework.
3957 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3959 * src/hildon-window-stack-private.h
3960 * src/hildon-window-stack.c
3961 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3962 Avoid calling gtk_widget_show() again indirectly from
3963 hildon_stackable_window_show()
3965 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3967 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3970 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3972 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3973 (hildon_time_selector_init): Move the construction of the hours and
3974 ampm columns to the constructor to preserve the order the columns
3977 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3979 * src/hildon-picker-dialog.c:
3980 (hildon_picker_dialog_class_init): Connect a realize method.
3981 (+hildon_picker_dialog_realize): Setup the interaction mode here
3983 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3984 yet, do it during the realize instead.
3985 (_on_dialog_response):
3986 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3987 if the widget is not realized, to avoid the dialog response before it
3990 Avoid premature responses in the HildonPickerDialog that can cause it
3991 to be hidden before it's even shown.
3993 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3995 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3996 (on_selector_columns_changed), (requires_done_button),
3997 (+prepare_action_area), (setup_interaction_mode),
3998 (_hildon_picker_dialog_set_selector):
4000 Split the interaction mode setup into preparation of the
4001 action area (prepare_action_area()) and the connection of
4002 the signals in setup_interaction_mode() and update the code to
4005 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4007 * src/hildon-pannable-area.c,
4008 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4009 per second to 15, we will check if this is ok regarding
4012 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4014 * src/hildon-pannable-area.c,
4015 (hildon_pannable_axis_scroll): Avoid resize if we already have
4016 reached overshoot_max.
4018 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4020 * src/hildon-pannable-area.c,
4021 (hildon_pannable_area_init),
4022 (hildon_pannable_area_realize),
4023 (hildon_pannable_area_size_allocate),
4024 (hildon_pannable_area_map),
4025 (hildon_pannable_area_unmap),
4026 (hildon_pannable_draw_vscroll),
4027 (hildon_pannable_draw_hscroll),
4028 (hildon_pannable_area_expose_event),
4029 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4030 pannable are to avoid the expose events go to the window and
4031 redraw the window. We save this way that part of the stack and the
4032 paint_boxes. We had to change the positions of the elements when
4035 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4037 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4038 * src/hildon-color-chooser-dialog.c:
4039 (hildon_color_chooser_dialog_init):
4040 * src/hildon-font-selection-dialog.c:
4041 (hildon_font_selection_dialog_init),
4042 (hildon_font_selection_dialog_show_preview):
4043 * src/hildon-get-password-dialog.c:
4044 * src/hildon-login-dialog.c:
4045 * src/hildon-set-password-dialog.c:
4046 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4047 * src/hildon-time-picker.c: (hildon_time_picker_init):
4049 Remove obsolete logical string IDs and update to the appropriate ones.
4051 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4053 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4055 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4056 that happens if the window hasn't been realized yet.
4058 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4059 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4061 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4063 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4064 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4067 Fixes: NB#98537 (Device hangs in account settings dialog)
4069 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4071 * configure.ac: post release version bump.
4072 * debian/changelog: version bump
4074 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4079 * configure.ac: Bump version.
4080 * debian/changelog: Updates.
4082 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4084 Added a new function to the HildonTimeButton widget that allows to
4085 change the step of the minutes in the selector associated with the
4086 button: hildon_time_button_new_step
4088 * src/hildon-time-button.c,
4089 (hildon_time_button_init),
4090 (hildon_time_button_new),
4091 (hildon_time_button_new_step):
4092 * src/hildon-time-button.h: Added the new function and refactored
4094 * examples/hildon-time-button-example.c,
4095 (main): We have replaced the function without parameters with the
4096 function with the steps set to 5
4098 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4100 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4102 * src/hildon-time-selector.c,
4103 (hildon_time_selector_class_init),
4104 (hildon_time_selector_constructor),
4105 (hildon_time_selector_get_property),
4106 (hildon_time_selector_set_property),
4107 (_create_minutes_model),
4108 (hildon_time_selector_new_step),
4109 (hildon_time_selector_set_time),
4110 * src/hildon-time-selector.h: Added a new property to the
4111 HildonTimeSelector (minutes-step), we use that property to control
4112 the steps between the minutes in the list of the selector. We have
4113 added a new function to the API to create a widget changing the
4114 step: hildon_time_selector_new_step.
4116 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4118 * src/hildon-time-selector.c,
4119 (hildon_time_selector_class_init),
4120 (hildon_time_selector_constructor),
4121 (hildon_time_selector_init): Overrided the construct function when
4122 creating the time selector object. We have moved the minutes model
4123 handling code from the init to the new construction function:
4124 hildon_time_selector_constructor.
4126 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4128 * examples/hildon-date-button-example.c: (main): Use the new
4129 hildon_date_button_new_with_year_range() method in the example.
4130 * src/hildon-date-button.c:
4131 (+hildon_date_button_new_with_year_range): New public method
4132 to conveniently create a HildonDateButton with a custom year range
4133 in its HildonDateSelector.
4134 * src/hildon-date-button.h: Add the new public method definition.
4136 Fixes: NB#97908 (Not possible to change the year range in
4137 HildonDateSelector/HildonDateButton)
4139 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-date-selector.c:
4142 (+hildon_date_selector_set_property),
4143 (+hildon_date_selector_get_property),
4144 (hildon_date_selector_class_init): Install new properties "min-year"
4145 and "max-year" to define boundaries for the year column.
4146 (_create_year_model): Use the boundary properties to populate the model.
4147 (+hildon_date_selector_new_with_year_range): New public method to
4148 create a HildonDateSelector with a user defined year range.
4149 (hildon_date_selector_select_current_date): Use the new boundaries to
4150 calculate the iterator of current year.
4151 * src/hildon-date-selector.h: Add the new public method definition.
4153 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4155 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4156 Install a constructor method.
4157 (+hildon_date_selector_construct_ui): construct the widget.
4158 (+hildon_date_selector_constructor): new constructor.
4159 (+hildon_date_selector_init): move out widget construction code to
4160 the new constructor.
4162 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4164 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4165 that there's actually a month or year selected before obtaining them.
4166 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4167 of the HildonTouchSelector::changed signal, as it was emitted on every
4168 single item selection.
4170 Fix some warnings and possible crashers due to the selection restoring.
4172 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4174 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4175 the signal handlers only after creating the dialog instead of on every
4178 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4180 * src/hildon-button.c (hildon_button_init)
4181 * src/hildon-check-button.c (hildon_check_button_init)
4182 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4183 focus when clicked by default.
4185 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4187 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4190 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4192 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4193 Alejandro G. Castro (alex@igalia.com)
4195 * src/hildon-picker-dialog.c:
4196 (hildon_picker_dialog_class_init): install new "center-on-show"
4198 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4199 (hildon_picker_dialog_set_property): add setter code for the new
4201 (hildon_picker_dialog_get_property): add getter code for the new
4203 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4204 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4207 Fixes: NB#92849 (Selected item is not always visible when
4208 HildonTouchSelector is shown)
4210 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4212 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4213 Alejandro G. Castro (alex@igalia.com)
4215 * src/hildon-touch-selector.c:
4216 (_create_new_column): Do not connect to the "realize" signal of the
4218 (hildon_touch_selector_append_column): center on the selected items
4219 when a new column is appended.
4220 (hildon_touch_selector_select_iter): Factor out the code to select a
4221 column to hildon_touch_selector_scroll_to().
4222 (+search_nearest_element): Method to retrieve the nearest selected
4223 element to the visible area of the pannable area in a column.
4224 (+on_realize_cb): scroll to the initially selected item.
4225 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4226 the pannable area is realized, otherwise delay this until it is.
4227 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4228 selected items of a given column.
4229 (+hildon_touch_selector_center_on_selected): Public method to center
4230 all columns on the nearest selected item.
4231 * src/hildon-touch-selector.h: Add definition for
4232 hildon_touch_selector_center_on_selected().
4234 Implement public API to ensure visibility of all selected items in
4235 a HildonTouchSelector.
4237 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4239 Fixed a problem in the fading when calling the scroll_to API, and
4240 improve scrollbar fading handling.
4242 * src/hildon-pannable-area.c,
4243 (hildon_pannable_area_grab_notify): avoid the timeout when the
4245 (hildon_pannable_area_button_press_cb),
4246 (hildon_pannable_area_motion_notify_cb): Code style changes.
4247 (hildon_pannable_area_button_release_cb): Review the conditions
4248 when releasing the mouse button to avoid unrequired fading
4250 (hildon_pannable_area_scroll_to): Do not calculate and set the
4251 velocity if the scroll is not required.
4253 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4255 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4256 Don't check whether the new selector is NULL: it cannot be.
4257 Hold a reference to the selector while doing the replacement.
4259 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4261 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4262 unnecessary size_request in a removed widget.
4264 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4266 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4267 an unnecessary reference tracking that was leaking.
4269 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4271 Added delayed motion notify event handling, this way we can
4272 discard redrawing if more than 25 events arrive per second.
4274 * src/hildon-pannable-area.c,
4275 (hildon_pannable_area_init): Initialized the new private atributes
4276 controlling this timeout
4277 (hildon_pannable_area_dispose): Remove the timeout that controls
4278 the motion notify events.
4279 (hildon_pannable_area_scroll): Added a condition to control the
4280 use of the acceleration.
4281 (hildon_pannable_area_motion_event_scroll_timeout),
4282 (hildon_pannable_area_motion_event_scroll): Added this two
4283 functions, they handle the motion notify events inside the
4285 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4286 to the scroll method with the new function.
4287 (hildon_pannable_area_button_release_cb): We have to remove the
4288 timeout handler and move to the last position if the last motion
4289 events were not handled.
4291 Fixes: NB#97028 (Pannable area updates on every motion event)
4293 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4295 * src/hildon-pannable-area.c,
4296 (hildon_pannable_area_get_topmost): Added a new parameter to
4297 filter the the windows that do not include those events. Added
4298 also a condition when finding the window to filter windows that do
4299 not ask for those events.
4300 (hildon_pannable_area_button_press_cb),
4301 (hildon_pannable_area_button_release_cb),
4302 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4303 topmost function, we have added the new parameter.
4305 Fixes: NB#97458 (Pannable area prevents propagation of button
4308 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4310 * src/hildon-pannable-area.c,
4311 (hildon_pannable_area_initial_effect): Added controls before
4312 launching the timeout and the idle functions.
4313 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4314 of the method, in some situations it can return with TRUE and 0 in
4316 (hildon_pannable_area_button_press_cb): We do not need to set
4317 DELAY for fading out here.
4319 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4321 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4323 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4324 post-cleaning if the selection is not NULL.
4326 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4328 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4329 all items before restoring the selection.
4331 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4333 * src/hildon-touch-selector.c:
4334 (+hildon_touch_selector_unselect_all):
4335 * src/hildon-touch-selector.h: New API to unselect all items in a
4336 column of the touch selector.
4338 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4340 * src/hildon-pannable-area.c,
4341 (hildon_pannable_area_redraw): Added a call to the refresh
4342 function inside the redraw because apparently in some cases the
4343 change in the adjustment does not imply a size allocate.
4345 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4346 despite the view not being scrollable)
4348 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4350 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4351 leak. Check for NULL before attempting to set the window title.
4353 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4355 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4356 whether to show or not the 'Done' button each time the dialog is
4357 shown, as it depends on the HildonTouchSelector selection mode.
4359 Fixes: NB#96226 (In multiple selection mode Done button is shown
4360 sometimes in listpicker)
4362 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4364 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4365 for the number of columns in the HildonTouchSelector more than once.
4367 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4369 * src/hildon-touch-selector.c: Minor documentation fixes.
4371 * src/hildon-picker-dialog.c (+_dialog_update_title)
4372 (_select_on_selector_changed_cb)
4373 (_update_title_on_selector_changed_cb)
4374 (on_selector_columns_changed): Update dialog title when there's no
4375 'Done' button and also when the number of columns in the selector
4379 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4380 (+_selection_changed, hildon_picker_button_on_dialog_response)
4381 (hildon_picker_button_selector_selection_changed)
4382 (+hildon_picker_button_selector_columns_changed)
4383 (hildon_picker_button_set_selector): Update button value and emit
4384 'value-changed' when the number of columns in the selector
4388 Fixes: NB#96225 (Dialog titles are not shown according to the
4389 values selected in the list picker)
4391 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4393 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4394 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4395 New "arrow-width" and "arrow-height" style properties to set the
4396 size of the arrow button.
4397 Set name of arrow button ("hildon-edit-toolbar-arrow").
4399 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4400 graphics from theme)
4402 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4404 * src/hildon-picker-button.c:
4405 (hildon_picker_button_selector_selection_changed): Use
4406 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4407 the dialog is present.
4409 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4410 the selection is accepted in the dialog)
4412 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4414 * src/hildon-color-chooser.h
4415 * src/hildon-color-chooser-dialog.h:
4416 Added G_BEGIN_DECLS and G_END_DECLS
4418 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4420 (_clean_current_selection): plug a leak in the list.
4422 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4424 * src/hildon-picker-dialog.c:
4425 (+free_path_list): Method to free a GList of GtkTreePaths.
4426 (_clean_current_selection), (_save_current_selection),
4427 (_restore_current_selection): Save the current selection in
4428 as a list of lists, to support multiple selection properly.
4430 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4432 patch by Claudio Saavedra (csaavedra@igalia.com)
4434 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4435 Store the press position.
4436 (+hildon_text_view_button_release_event): If the release position is
4437 close enough to the press position, move the cursor here. Otherwise,
4439 (hildon_text_view_class_init): Override GtkTextView press, release, and
4440 motion event handlers, disabling this way text selection through
4441 pointer interaction, and allowing the container widget to handle the
4444 Fixes: NB#95828 (HildonTextView functionality)
4446 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4448 Based on a patch by Iván Gómez (igomez@igalia.com)
4450 * src/hildon-button.[ch]
4451 * src/hildon-calendar.c
4452 * src/hildon-check-button.c
4453 * src/hildon-date-editor.c
4454 * src/hildon-date-selector.c
4455 * src/hildon-picker-button.c
4456 * src/hildon-time-editor.c
4457 * src/hildon-time-selector.c
4458 * src/hildon-touch-selector.[ch]:
4459 Documentation updates
4461 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4463 * src/hildon-pannable-area.c,
4464 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4465 threshold, it was required due to X events handling.
4467 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4469 * src/hildon-pannable-area.c,
4470 (hildon_pannable_area_grab_notify),
4471 (hildon_pannable_area_initial_effect),
4472 (hildon_pannable_area_button_press_cb),
4473 (hildon_pannable_area_button_release_cb),
4474 (hildon_pannable_area_scroll_cb),
4475 (hildon_pannable_area_scroll_to): Review the timeout management of
4476 the scrollbar, the frecuency was incorrectly set.
4478 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4480 * src/hildon-picker-button.c:
4481 (+hildon_picker_button_on_dialog_response),
4482 (hildon_picker_button_clicked): Present the dialog instead of
4483 running it with gtk_dialog_run().
4485 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4488 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4490 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4491 (hildon_app_menu_finalize): When a window is hidden it doesn't
4492 emit notify::is-topmost, so make sure than the menu also
4493 disappears in that case.
4494 (parent_window_topmost_notify): Renamed from parent_window_hidden
4496 Fixes: NB#94460 (stackable window's menu is not closed when its
4499 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4501 * src/hildon-touch-selector-entry.c:
4502 (+hildon_touch_selector_entry_set_input_mode),
4503 (+hildon_touch_selector_entry_get_input_mode):
4504 * src/hildon-touch-selector-entry.h: New methods to access the input
4505 mode in the selector's entry.
4507 Fixes: NB#93410 (API required for setting IM mode in
4508 HildonTouchSelectorEntry)
4510 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4512 * configure.ac: post release version bump.
4513 * debian/changelog: version bump
4515 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4520 * configure.ac: Bump version.
4521 * debian/changelog: Updates.
4523 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4525 * src/hildon-touch-selector.c:
4526 (_hildon_touch_selector_has_multiple_selection): No need
4527 to initialize the variables here.
4529 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4531 * src/hildon-note-private.h
4532 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4533 (hildon_note_finalize, hildon_note_rebuild): Close information
4534 notes when they receive a button press.
4536 Fixes: NB#89890 (Information notes does not get disappeared after
4539 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4541 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4542 mark from the wizard title, as it's not really necessary. Also,
4543 do not display the page title if not set.
4545 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4548 (parent_window_hidden): Use the window's "is-topmost" property to
4549 detect when to hide the menu.
4551 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4553 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4554 (hildon_app_menu_finalize): If the parent window of the menu is
4555 hidden, hide the menu too.
4557 Fixes: NB#94460 (stackable window's menu is not closed when its
4560 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4563 * debian/libhildon1-examples.install
4565 * examples/Makefile.am:
4566 Use dh_install to install all examples.
4567 Use DEB_SRCDIR instead of defining SOURCE_DIR
4569 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4571 * configure.ac: post release version bump.
4572 * debian/changelog: version bump
4574 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4579 * configure.ac: bump version
4580 * debian/changelog: updates
4581 * debian/control: bump gtk+ dependency
4583 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4585 patch by Christian Dywan (christian@imendio.com)
4587 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4588 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4590 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4592 * src/hildon-check-button.c (hildon_check_button_init)
4593 (hildon_check_button_class_init, hildon_check_button_style_set)
4594 (hildon_check_button_apply_style):
4595 New "checkbox-size" style property.
4597 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4598 larger / configurable size)
4600 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4602 * configure.ac: post release version bump.
4603 * debian/changelog: version bump
4605 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4610 * configure.ac: bump version
4611 * debian/changelog: updates
4613 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4615 * doc/hildon-sections.txt
4616 * src/hildon-pannable-area.c
4617 * src/hildon-program.c
4618 * src/hildon-time-editor.c
4619 * src/hildon-touch-selector-entry.c:
4621 More documentation updates.
4623 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4625 * doc/hildon-sections.txt
4626 * src/hildon-caption.c
4627 * src/hildon-code-dialog.c
4628 * src/hildon-color-button.c
4629 * src/hildon-controlbar.c
4630 * src/hildon-date-editor.c
4631 * src/hildon-date-selector.c
4632 * src/hildon-edit-toolbar.c
4633 * src/hildon-find-toolbar.c
4634 * src/hildon-font-selection-dialog.c
4636 * src/hildon-program.c
4637 * src/hildon-range-editor.c
4638 * src/hildon-seekbar.c
4639 * src/hildon-time-editor.c
4640 * src/hildon-time-selector.c
4641 * src/hildon-volumebar-range.c
4642 * src/hildon-volumebar.c
4643 * src/hildon-vvolumebar.c
4644 * src/hildon-weekday-picker.c
4645 * src/hildon-window.c
4646 * src/hildon-wizard-dialog.c:
4648 Lots of documentation fixes.
4650 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4652 Patch contributed by Iván Gómez (igomez@igalia.com)
4654 * src/hildon-check-button.c:
4655 * src/hildon-date-button.c:
4656 * src/hildon-date-selector.c:
4657 * src/hildon-dialog.c:
4658 * src/hildon-edit-toolbar.c:
4659 * src/hildon-entry.c:
4660 * src/hildon-picker-button.c:
4661 * src/hildon-program.c:
4662 * src/hildon-text-view.c:
4663 * src/hildon-time-button.c:
4664 * src/hildon-touch-selector-entry.c:
4665 * src/hildon-window-stack.c:
4667 Add more "since" tags to the new API.
4669 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4671 * doc/hildon-sections.txt: Add below method.
4672 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4673 version for the hildonized scale.
4674 * src/hildon-gtk.h: Add the definition.
4676 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4678 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4680 * doc/hildon-sections.txt: Add missing entries for new methods.
4682 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4684 Added API to pannable are in order to get its adjustments. We
4685 added two properties to manage the values we had in the private
4688 * src/hildon-pannable-area.c:
4689 (hildon_pannable_area_class_init): Added hadjustment and
4690 vadjustment properties in order to expose horizontal and vertical
4692 (hildon_pannable_area_get_property),
4693 (hildon_pannable_area_set_property): Added code to handle the new
4695 (hildon_pannable_area_get_hadjustment),
4696 (hildon_pannable_area_get_vadjustment): API functions to get the
4698 * src/hildon-pannable-area.h:
4699 (hildon_pannable_area_get_hadjustment),
4700 (hildon_pannable_area_get_vadjustment): API functions to get the
4703 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4705 Fixed some leaks, after valgrinding.
4707 * src/hildon-touch-selector.c:
4708 (_default_print_func): Fixed a leak.
4709 (hildon_touch_selector_append_column): Fixed a leak.
4710 * src/hildon-date-button.c:
4711 (hildon_date_button_init): Fixed a leak.
4712 * src/hildon-date-selector.c
4713 (hildon_date_selector_finalize): Fixed a leak.
4715 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4717 Based on a patch by Christian Dywan (christian@imendio.com)
4719 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4721 * src/hildon-gtk.h: Add definition.
4723 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4725 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4727 * src/hildon-picker-button.c: (hildon_picker_button_init),
4728 (hildon_picker_button_new): Set the HildonButton::style property
4729 in the init method, to propagate the value to the derived classes.
4731 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4733 * src/hildon-button.c: (hildon_button_class_init): Do not make
4734 the "style" property a construct property.
4736 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4738 * src/hildon-wizard-dialog.h
4739 * src/hildon-wizard-dialog.c
4740 (hildon_wizard_dialog_set_forward_page_func)
4741 * src/hildon-pannable-area.h
4742 * src/hildon-pannable-area.c
4743 (hildon_pannable_area_set_size_request_policy):
4744 Documentation fixes.
4746 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4748 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4750 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4752 * doc/hildon-sections.txt: Added sections file.
4754 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4757 * src/*.[ch]: Updates.
4759 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4761 * examples/hildon-progress-indicator-example.c: new file
4762 * examples/Makefile.am: include the new example program
4764 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4766 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4768 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4770 * configure.ac: post release version bump
4771 * debian/changelog: version bump
4773 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4778 * configure.ac: bump version
4779 * debian/changelog: updates
4780 * debian/control: bump gtk+ dependency
4782 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4784 * src/hildon-dialog.c: Mark as deprecated.
4785 * src/hildon-dialog.h: Mark as deprecated.
4786 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4787 from HildonDialog and still work, even if
4788 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4789 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4791 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4792 maemo changes) instead)
4794 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4796 * src/hildon-pannable_area.h:
4797 * src/hildon-pannable_area.c:
4798 (hildon_pannable_area_class_init),
4799 (hildon_pannable_area_set_property),
4800 (hildon_pannable_area_get_property),
4801 (hildon_pannable_area_size_request),
4802 (hildon_pannable_area_get_size_request_policy),
4803 (hildon_pannable_area_set_size_request_policy): Added new API
4804 allowing applications to control the request policy. Now they can
4805 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4806 children allocation (HILDON_MOVEMENT_CHILDREN).
4808 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4812 (hildon_gtk_tree_view_set_ui_mode)
4813 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4814 mode of treeviews and iconviews.
4816 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4818 * src/hildon-touch-selector-entry.c:
4819 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4820 of a GtkEntry to get proper theming.
4822 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4823 widget, not GtkEntry)
4825 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4827 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4828 no HildonWizardDialogPageFunc.
4830 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4832 Patch contributed by Iván Gómez (igomez@igalia.com)
4834 * src/hildon-app-menu.c:
4835 * src/hildon-button.c:
4836 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4837 * src/hildon-stackable-window.c:
4838 * src/hildon-time-selector.c:
4839 * src/hildon-touch-selector.c:
4840 * src/hildon-window.c:
4842 Add more "since" tags to the new API in hildon 2.2.
4844 2008-12-05 Tim Janik <timj@imendio.com>
4846 Patch contributed by Christian Dywan (christian@imendio.com)
4848 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4849 HildonSizeType, which are supplied by Gtk+ now.
4851 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4853 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4854 (with maemo changes) instead)
4856 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4858 Patch contributed by Iván Gómez (igomez@igalia.com)
4860 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4863 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4865 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4866 (some_page_func), (main): Update the example to use a
4867 HildonWizardDialogPageFunc function.
4869 * src/hildon-wizard-dialog-private.h: Add private data for
4870 the HildonWizardDialogPageFunc function usage.
4872 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4873 (destroy), (hildon_wizard_dialog_init), (response),
4874 (hildon_wizard_dialog_set_forward_page_func):
4875 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4876 that applications can use to stop a HildonWizardDialog to jump to
4879 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4882 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4884 * src/hildon-program.h
4885 * src/hildon-program-private.h
4886 * src/hildon-program.c (hildon_program_init)
4887 (hildon_program_set_common_app_menu)
4888 (hildon_program_get_common_app_menu):
4889 New API for setting a common HildonAppMenu for all
4890 HildonStackableWindows registered with the HildonProgram.
4892 * src/hildon-stackable-window.c
4893 (hildon_stackable_window_toggle_menu):
4894 Use the common HildonAppMenu if a window doesn't have a specific
4897 * src/hildon-app-menu-private.h
4898 * src/hildon-app-menu.c
4899 (hildon_app_menu_get_parent_window):
4900 Function to obtain the window a HildonAppMenu is attached to.
4901 (hildon_app_menu_set_parent_window):
4902 Hide the menu if the parent window is set to NULL.
4904 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4906 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4907 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4908 search widget to popup.
4910 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4912 * configure.ac: post release version bump
4913 * debian/changelog: version bump
4915 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4920 * configure.ac: bump version
4921 * debian/changelog: updates
4923 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4925 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4927 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4928 (hildon_window_stack_window_realized)
4929 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4930 Set the leader GdkWindow when a window is stacked and realized,
4931 unset it when it's unstacked.
4932 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4934 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4936 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4938 * src/hildon-stackable-window.h
4939 * src/hildon-window-stack.h:
4940 Protect definition of HildonWindowStack using the preprocessor.
4942 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4944 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4945 Fix warning if all menu items are hidden.
4947 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4949 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4951 * src/hildon-controlbar.c:
4952 * src/hildon-hvolumebar.c:
4953 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4954 Multiple scale size defines updates.
4956 Fixes: NB#94322 (Scale Updates)
4958 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4960 * examples/hildon-app-menu-example.c (create_menu)
4961 Show items after adding them to the menu, as in the future the
4962 menu will no longer call gtk_widget_show() on the added items.
4964 * src/hildon-app-menu.c:
4965 Update example as explained above.
4967 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4969 * src/hildon-app-menu.c
4970 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4971 Make sure that all menu items have finger height.
4973 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4975 * src/hildon-picker-dialog.c:
4976 (_on_dialog_response), (_save_current_selection),
4977 (_restore_current_selection), (_clean_current_selection),
4978 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4979 Defined new functions in order to save the current internal selector
4980 selection previous open the dialog, in case that the use cancel the
4981 interaction, so the widget restores the previous selection.
4983 Fixes: NB#92032 (In calendar application, date values in 'new event'
4986 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4988 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4990 * src/hildon-button.c: Add a reference to the button examples in
4991 hildon-button-example.c
4993 * examples/hildon-button-example.c: Added examples of the most
4994 common button layouts.
4996 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-app-menu.c (hildon_app_menu_show)
4999 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5001 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5003 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5005 * src/hildon-picker-dialog.c:
5006 (hildon_picker_dialog_init): Initialize the signal id for
5007 HildonTouchSelector::columns-changed.
5008 (+on_selector_columns_changed): Set up the interaction mode everytime a
5009 column is added or removed from the HildonTouchSelector.
5010 (_hildon_picker_dialog_set_selector): Connect to
5011 HildonTouchSelector::columns-changed and keep track of it.
5013 Make sure to update the interaction mode of the dialog everytime a
5014 column is added or removed in the HildonTouchSelector.
5016 Fixes: NB#93228 (Done button is not shown always in listpicker)
5018 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5020 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5021 a new ::columns-changed signal.
5022 (hildon_touch_selector_append_column): Emit ::columns-changed.
5023 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5025 Add a ::columns-changed signal, emitted when the number of columns in a
5026 HildonTouchSelector changes.
5028 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5030 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5031 (_hildon_picker_dialog_set_selector): Factor out the code
5032 to set up the dialog interaction mode.
5034 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5036 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5037 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5038 to signal_changed_id.
5040 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5042 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5045 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5047 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5048 Updated the logical ids related to ampm format, as now it is required to
5049 show it correctly localized even on languages with no default
5050 abbreviations for am or pm
5051 (_check_am_pm_format): check correctly the 24h format gconf property
5053 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5055 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5057 * src/hildon-button.c: Documentation updates.
5059 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5061 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5062 * src/hildon-caption.c: (hildon_caption_class_init):
5063 * src/hildon-color-button.c: (hildon_color_button_class_init):
5064 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5065 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5066 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5067 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5069 Remove deprecated GTK+ marshalers and replace them with the ones
5070 provided by GLib, for those available, add a marshaler for
5071 BOOLEAN:VOID, which is not available in GLib, and use it.
5073 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5075 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5076 the text from the previous column if there is no
5077 HildonTouchSelectorColumn::text-property set.
5079 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-button.h
5082 * src/hildon-button.c (hildon_button_set_property)
5083 (hildon_button_get_property, hildon_button_class_init)
5084 (hildon_button_set_style, hildon_button_get_style):
5085 New "style" property to change the visual appearance of the
5088 * src/hildon-picker-button.c (hildon_picker_button_new):
5089 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5091 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5092 HildonButton look like PickerButton)
5094 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5096 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5097 column while building the default string.
5099 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5101 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5102 scroll indicator by default.
5104 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5106 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5108 * src/hildon-main.c: Fix the documentation for hildon_init()
5110 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5112 * doc/hildon-docs.sgml
5116 * src/hildon-window-stack-private.h
5117 * src/hildon-window-stack.h
5118 * src/hildon-window-stack.c:
5119 New HildonWindowStack object, that adds support for multiple
5120 stacks of windows per process.
5122 * src/hildon-stackable-window-private.h
5123 * src/hildon-stackable-window.h
5124 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5125 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5126 (hildon_stackable_window_show, hildon_stackable_window_hide)
5127 (hildon_stackable_window_class_init)
5128 (hildon_stackable_window_init):
5129 Use HildonWindowStack for stack management.
5131 * src/hildon-program.c (hildon_program_pop_window_stack)
5132 (hildon_program_peek_window_stack)
5133 (hildon_program_go_to_root_window):
5134 Add a fallback implementation to the deprecated functions using
5137 * examples/hildon-stackable-window-example.c:
5138 Use the new HildonWindowStack API.
5140 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5142 * src/hildon-stackable-window-private.h
5143 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5144 (hildon_stackable_window_hide, hildon_stackable_window_init):
5145 Remove all window stack management.
5147 * src/hildon-program-private.h
5148 * src/hildon-program.h
5149 * src/hildon-program.c (hildon_program_init)
5150 (hildon_program_pop_window_stack)
5151 (hildon_program_peek_window_stack)
5152 (hildon_program_go_to_root_window):
5153 Remove all window stack management and mark functions as
5156 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5158 * src/hildon-app-menu.c (hildon_app_menu_realize):
5159 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5161 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5163 * configure.ac: post release version bump
5164 * debian/changelog: version bump
5166 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5171 * configure.ac: bump version
5172 * debian/changelog: updates
5174 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5176 Based on initial code by Christian Dywan (christian@imendio.com)
5178 * doc/hildon-docs.sgml: Add section for hildon-main.
5179 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5180 * src/Makefile.am: Add new hildon-main.[ch]
5181 * src/hildon-defines.h: Update the icon sizes.
5182 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5183 new library initialization files and register icon sizes.
5184 * src/hildon-main.h: New declarations.
5185 * src/hildon.h: Include hildon-main.h
5187 Add new initialization functions to the library. These methods
5188 will register the hildon specific icon sizes and can be used in the
5189 future for other hildon specific bits.
5191 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5193 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5195 * src/hildon-window.c: (hildon_window_realize),
5196 (hildon_window_notify), (-hildon_window_update_title): Do not set
5197 the application name in the window title.
5199 Fixes: NB#89754 (Applications shouldn't display their names in the
5202 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5204 * src/hildon-note-private.h:
5205 * src/hildon-note.c: (hildon_note_set_property),
5206 (hildon_note_get_property), (hildon_note_class_init),
5207 (hildon_note_init), (hildon_note_finalize),
5208 (hildon_note_new_confirmation_with_icon_name),
5209 (hildon_note_new_information_with_icon_name):
5211 No need to mark as deprecated the actual code. Revert
5212 to avoid missing symbols in widgets using deprecated API.
5214 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5216 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5218 * src/hildon-volumebar.h
5219 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5220 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5222 * src/hildon-helper.h
5223 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5224 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5226 * examples/Makefile.am:
5227 Deprecate hildon-insensitive-example
5229 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5231 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5233 * examples/hildon-pannable-area-buttons-scroll-example.c:
5234 Make all buttons finger height
5236 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5238 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5240 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5241 update the day model only if it is really required, and to avoid the
5242 full-reconstruction aproach. Now it only add or remove the required days.
5244 The purpose of this is avoid superfluous HildonTouchSelector::changed
5247 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5248 with strange parameters)
5250 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5252 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5254 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5255 the WINDOW_TYPE property.
5257 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5259 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5262 Fix dependency to allow parallel compilation with make -jX
5264 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5266 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5267 color frame and some minor tweaks to make it more consistent with
5270 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5271 highlighted but not visible)
5273 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5275 * examples/Makefile.am: Fixed typo in the Makefile.am.
5277 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5279 Reviewed the use of MAEMO_GTK define, now we add the define in the
5280 compilation line, and we also add it to the pc file.
5282 * configure.ac: Added MAEMO_GTK define to the compilation command
5283 and removed it from the config.h.
5285 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5286 do not have to take care about this define if the library was
5290 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5292 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5294 * examples/Makefile.am,
5295 * examples/hildon-pannable-area-buttons-scroll-example.c,
5296 * examples/hildon-pannable-area-gesture-signals-example.c,
5297 * examples/hildon-pannable-area-scroll-jump-example.c,
5298 * examples/hildon-pannable-area-tree-view-example.c:
5299 Renamed the pannable area examples, now they have more meaningful
5302 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5304 * src/hildon-touch-selector.c:
5305 (hildon_touch_selector_set_column_selection_mode): Used of
5306 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5307 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5308 to avoid re-seting the same selection mode.
5310 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5311 breaks HildonPickerDialog)
5313 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5315 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5316 conditional in the Makefile.am
5318 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5320 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5321 Remove unused methods.
5323 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5325 * src/hildon-button.c (hildon_button_init):
5326 Make button images center-aligned by default
5328 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5331 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5332 activated, we have to think about how to deal with both defines
5333 MAEMO_GTK and MAEMO_CHANGES.
5335 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5337 * examples/hildon-app-menu-example.c (create_menu): Make all
5338 buttons finger size.
5340 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5342 Fixed the compilation without maemo gtk adding ifdefs with
5343 MAEMO_GTK define to the code, we have to check this version more
5346 * examples/Makefile.am: Added control to avoid some examples that
5347 just make sense with maemo gtk.
5350 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5351 hildon modes with the define.
5353 * examples/hildon-edit-toolbar-example.c,
5354 (create_icon_view): Create the icon view without hildon-gtk
5355 helpers if we are not using maemo gtk.
5357 * src/hildon-touch-selector.c,
5358 (_create_new_column): Create the treeview without hildon-gtk
5359 helpers if we are not using maemo gtk.
5361 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5363 * src/hildon-pnnable-area.c,
5364 (hildon_pannable_area_dispose),
5365 (hildon_pannable_area_button_press_cb),
5366 (hildon_pannable_area_child_mapped),
5367 (hildon_pannable_area_add),
5368 (hildon_pannable_area_remove): Added code to control the position
5369 of the event_window when adding and removing children from the
5370 pannable. We have to raise the event window when the child is
5373 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5374 selection mode using custom widget inside pannable)
5376 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5378 * configure.ac: post release version bump
5379 * debian/changelog: version bump
5381 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5386 * configure.ac: bump version
5387 * debian/changelog: updates
5389 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5391 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5392 search mode, in order to avoid lose the focus on the treeview when
5393 a hw key (like enter) is pressed.
5395 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5396 in HildonDateSelector dialog)
5398 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5400 * debian/rules: Added --enable-maintainer-mode
5401 * Makefile.am: Added ACLOCAL_AMFLAGS
5403 This allows to properly regenerate the Makefiles if you modify the
5404 configure.ac or any Makefile.am.
5406 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5408 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5409 properties, not needed at all.
5411 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5413 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5415 * src/hildon-note.c: (hildon_note_set_property),
5416 (hildon_note_get_property), (hildon_note_class_init),
5417 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5418 (hildon_note_new_confirmation_add_buttons): Remove icons.
5419 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5420 (hildon_note_new_information_with_icon_name): Deprecate.
5421 (hildon_note_new_confirmation): Act directly, without calling
5422 the deprecated constructor.
5423 (hildon_note_new_information): Act directly, without calling
5424 the deprecated constructor.
5425 * src/hildon-note.h: Mark deprecate methods as such.
5426 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5427 not run tests on the deprecated methods if built with deprecation
5430 Fixes: NB#91688 (Never show icons in information notes/confirmation
5433 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5435 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5436 (hildon_app_menu_key_press): Remove leftover usage of the
5437 private structure in HildonAppMenu struct.
5438 * src/hildon-app-menu.h: Remove leftover private structure
5439 from the HildonAppMenu struct.
5441 Fixes a crasher when using the HildonAppMenu.
5443 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5445 * src/hildon-picker-dialog.c: Use appropriate logical id
5446 for the default "Done" text.
5448 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5450 * configure.ac: post release version bump
5451 * debian/changelog: version bump
5453 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5455 Modified the way to scroll to the current selection just when the touch
5456 selector is shown on the screen, avoiding a g_idle. Added too a property
5457 to configure this behaviour. See hildon_pannable_area_jump_to_child
5458 documentation for more information.
5460 * src/hildon-touch-selector.c
5461 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5462 Added 'initial-scroll' property
5463 (hildon_touch_selector_set_property): Added
5464 (hildon_touch_selector_map): Removed as not required anymore
5465 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5466 only a concrete column, instead of iterate along all the columns
5468 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5473 * configure.ac: bump version
5474 * debian/changelog: updates
5476 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5478 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5479 compilation time warnings.
5481 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5483 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5484 the default value for HildonPannableArea::mov-mode to
5485 HILDON_PANNABLE_AREA_MODE_VERT.
5487 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5489 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5491 Reverting following commit:
5493 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5495 * src/hildon-app-menu-private.h
5496 * src/hildon-app-menu.[ch]
5497 * src/hildon-button.[ch]
5498 * src/hildon-check-button.[ch]
5499 * src/hildon-entry.[ch]
5500 * src/hildon-pannable-area.[ch]
5501 * src/hildon-text-view.[ch]:
5502 Added private field to the object's structure.
5504 because it causes an ABI breakage. We will need to introduce these
5505 changes later at some point. See NB#91636 for an extensive
5506 explanation and status.
5508 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5510 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5512 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5513 remove special cases that are no longer necessary.
5515 Fixes: NB#91016 (Change toolbar sizes, simplification)
5517 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5519 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5520 is shown in the cancel note.
5522 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5524 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5525 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5526 (hildon_seekbar_init): Remove steppers, remove expose event.
5527 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5529 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5531 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5533 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5534 label font to "SmallSystemFont" for vertically arranged buttons.
5536 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5539 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5541 * src/hildon-check-button.c
5542 (hildon_check_button_set_active, hildon_check_button_clicked):
5543 Don't access private parts directly, use getters instead.
5545 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5547 * src/hildon-check-button.c (hildon_check_button_new):
5548 Align the contents of the check button to the left.
5550 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5552 * src/hildon-pannable-area.c,
5553 (hildon_pannable_area_scroll_to),
5554 (hildon_pannable_area_jump_to),
5555 (hildon_pannable_area_scroll_to_child),
5556 (hildon_pannable_area_jump_to_child): Replace the mapped
5557 precondition of these functions with the realized, it is the
5558 correct state of the widget in this case. Changed the
5559 documentation according to this modification.
5561 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5563 Added a new EXTRA_CFLAGS option to add the deprecated define to
5564 the compilation command. This way we can avoid using the define in
5565 the documentation compilation.
5567 * configure.ac: Defined EXTRA_CFLAGS.
5569 * examples/Makefile.am:
5571 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5573 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5575 * src/hildon-picker-dialog.c:
5576 Defined a utility macro with the desired touch selector height
5577 Removed currently unused separator, and title_label variables from
5579 (hildon_picker_dialog_init): Removed code related to the creation
5580 of unused private variables title_label and separator.
5581 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5582 to ensure correct visualization of the touch selector inside the dialog.
5583 * src/hildon-touch-selector.c
5584 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5585 ensure a concrete height of the widget.
5587 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5590 * tests/Makefile.am:
5592 Remove spurious whitespaces.
5594 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5596 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5597 compilation warning after the cancel button removal.
5599 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5601 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5603 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5604 Makefile.am, that way we can choose not to compile some examples
5605 and tests of the deprecated widgets.
5607 * examples/Makefile.am: Divided the sources in deprecated and
5610 * src/Makefile.am: Added undef statement of the deprecated
5611 symbol to the enums file generation process.
5613 * src/hildon-color-chooser-dialog.c
5614 * src/hildon-color-chooser-dialog.h
5615 * src/hildon-color-button.c
5616 * src/hildon-color-button.h
5617 * src/hildon-color-chooser.c
5618 * src/hildon-color-chooser.h
5619 * src/hildon-controlbar.c
5620 * src/hildon-controlbar.h
5621 * src/hildon-date-editor.c
5622 * src/hildon-date-editor.h
5623 * src/hildon-hvolumebar.c
5624 * src/hildon-hvolumebar.h
5625 * src/hildon-private.c
5626 * src/hildon-private.h
5627 * src/hildon-range-editor.c
5628 * src/hildon-range-editor.h
5629 * src/hildon-seekbar.c
5630 * src/hildon-seekbar.h
5631 * src/hildon-time-editor.c
5632 * src/hildon-time-editor.h
5633 * src/hildon-time-picker.c
5634 * src/hildon-time-picker.h
5635 * src/hildon-volumebar.c
5636 * src/hildon-volumebar.h
5637 * src/hildon-vvolumebar.c
5638 * src/hildon-vvolumebar.h
5639 * src/hildon-bread-crumb-trail.h
5640 * src/hildon-bread-crumb-trail.c
5641 * src/hildon-calendar-popup.c
5642 * src/hildon-calendar-popup.h
5643 * src/hildon-weekday-picker.c:
5644 * src/hildon-weekday-picker.h:
5645 * src/hildon-bread-crumb-widget.c:
5646 * src/hildon-bread-crumb-widget.h:
5647 * src/hildon-bread-crumb.c:
5648 * src/hildon-bread-crumb.h:
5649 * src/hildon-calendar.c:
5650 * src/hildon-calendar.h:
5651 * src/hildon-caption.c:
5652 * src/hildon-code-dialog.c:
5653 * src/hildon-code-dialog.h:
5654 * src/hildon-font-selection-dialog.c:
5655 * src/hildon-font-selection-dialog.h:
5656 * src/hildon-get-password-dialog.c:
5657 * src/hildon-get-password-dialog.h:
5658 * src/hildon-login-dialog.c:
5659 * src/hildon-login-dialog.h:
5660 * src/hildon-number-editor.c:
5661 * src/hildon-number-editor.h:
5662 * src/hildon-set-password-dialog.c:
5663 * src/hildon-set-password-dialog.h:
5664 * src/hildon-sort-dialog.c:
5665 * src/hildon-sort-dialog.h: This is the list of deprecated
5668 * src/hildon-touch-selector.c:
5669 * src/hildon-window.c: Added undef statement to avoid compilation
5672 * tests/Makefile.am: Divided the sources in deprecated and
5675 * tests/check_test.c,
5676 (configure_tests): Marked the deprecated code that was adding
5677 suites with deprecated tests.
5679 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5681 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5683 * src/hildon-touch-selector.c: (_default_print_func): Do not
5684 duplicate a string returned by gtk_tree_model_get(), it is already
5687 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5690 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5692 * src/hildon-pannable-area.c
5693 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5694 method, it had problems when adding a widget with viewport the
5695 second time. Now checks if it already has a viewport and uses it.
5697 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5700 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5702 * src/hildon-pannable-area.c,
5703 (hildon_pannable_area_scroll_to),
5704 (hildon_pannable_area_jump_to),
5705 (hildon_pannable_area_scroll_to_child),
5706 (hildon_pannable_area_jump_to_child): Added a precondition to the
5707 scroll and jump to functions: the widget must be mapped before we
5708 can safely call these functions. We have also added documentation
5709 to the functions to explain how to use them in this situation.
5712 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5714 Reviewed the threading handling of the pannable widget, we have
5715 used the gdk_threads_add_timeout function instead of the usual
5716 glib handlers. This avoids some problems with the threads.
5718 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5719 (hildon_pannable_area_initial_effect),
5720 (hildon_pannable_area_scroll_indicator_fade),
5721 (hildon_pannable_area_button_press_cb),
5722 (hildon_pannable_area_timeout),
5723 (hildon_pannable_area_motion_notify_cb),
5724 (hildon_pannable_area_button_release_cb),
5725 (hildon_pannable_area_scroll_cb),
5726 (hildon_pannable_area_scroll_to): Removed the
5727 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5728 gdk_threads_add_timeout.
5730 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5732 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5737 * configure.ac: bump version
5738 * debian/changelog: updates
5740 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5742 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5743 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5744 * src/hildon-color-chooser-dialog.c:
5745 (hildon_color_chooser_dialog_init):
5746 * src/hildon-font-selection-dialog.c:
5747 (hildon_font_selection_dialog_init):
5748 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5750 Remove all cancel/close-like dialogs, as these are not going to be
5753 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5755 * src/hildon-note.c: (hildon_note_rebuild),
5756 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5759 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5761 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5763 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5764 sure all buttons are shown, even the Cancel/Close-like ones.
5766 Fixes: NB#90861 (Custom Confirmation dialogs should be
5767 protected from cancel button removal)
5769 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5771 * debian/control: Change libhildon1-examples dependency from libhildon1
5773 * debian/libhildon1-examples.install
5775 * Makefile.am: Modified the final install directory for the examples on
5776 package libhildon1-examples
5777 * Makefile.static: Update clean target in order to remove all the binary
5780 Changes suggested by Claudio after review new libhildon1-examples package
5782 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5784 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5785 * src/hildon-touch-selector.c: Ditto.
5787 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5789 * debian/control: Added new package libhildon1-examples, in order to pack
5790 the current hildon examples as documentation
5791 * debian/rules: Not to compress .c files, modify some includes on the
5792 examples (as normally are compiled locally, but when installed it will
5793 require to include the installed libhildon1 library), and rename
5795 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5796 install all the example files on the new example package
5797 * examples/Makefile.static: Added static makefile that can be used to
5798 compile the examples, once installed the new example package
5799 * examples: Most of the examples were modified in order to grant that
5800 all use only '#include "hildon.h"', in order to be easy to prepare
5801 it on the example package
5803 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5806 * debian/libhildon1-dev.install
5807 * debian/libhildon1-doc.install:
5808 Move all gtk-doc files to a separate libhildon1-doc package.
5810 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5812 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5814 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5816 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5818 * debian/rules: Fixed a error in order to avoid unnecessary calls
5819 to autogen.sh on package building
5821 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5823 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5825 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5827 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5830 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5832 * src/hildon-picker-button.c
5833 (hildon_picker_button_finalize):
5834 Free priv->done_button_text
5836 * src/hildon-time-button.c
5837 (hildon_time_button_set_time)
5838 * src/hildon-picker-button.c
5839 (hildon_picker_button_clicked)
5840 (hildon_picker_button_selector_selection_changed)
5841 (hildon_picker_button_set_selector)
5842 * src/hildon-date-button.c
5843 (hildon_date_button_set_date):
5844 Free strings returned by hildon_touch_selector_get_current_text()
5846 * src/hildon-button.c (hildon_button_construct_child):
5847 Fix leaks in priv->image and priv->label_box
5849 Fixes: NB#90535 (Memory leak in picker button)
5851 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5853 * src/hildon-button.c: (hildon_button_get_property): Do not access
5854 private elements directly, use getters instead.
5856 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5858 * src/hildon-app-menu-private.h
5859 * src/hildon-app-menu.c
5860 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5861 Store the menu's parent window.
5863 * src/hildon-stackable-window.c
5864 (hildon_stackable_window_toggle_menu)
5865 (hildon_stackable_window_finalize):
5866 Set the menu's parent window when the menu is shown, unset it when
5869 * src/hildon-app-menu.c
5870 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5871 (hildon_app_menu_class_init):
5872 Send unhandled keyboard accelerators to the parent window.
5874 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5876 * src/hildon-stackable-window.c
5877 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5879 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5881 * configure.ac: post release version bump
5883 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5886 * configure.ac: Bump version
5887 * debian/changelog: Updates
5888 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5891 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5893 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5896 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5897 GtkMenu with Hildon style.
5899 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5901 * src/hildon-picker-button.c:
5902 (hildon_picker_button_set_done_button_text): Set the dialog's
5903 done button text here as well.
5905 Fixes: NB#90232 (Picker button does not set the label on done button
5906 for the second time)
5908 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5910 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5913 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5915 * src/hildon-app-menu.c (hildon_app_menu_insert)
5916 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5917 the HildonAppMenu to be activatable using keyboard accelerators
5918 when the menu is not being shown.
5920 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5922 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5924 * src/hildon-stackable-window.c
5925 (hildon_stackable_window_show):
5926 Don't hide old windows automatically when new windows are shown:
5927 this is now a task for the window manager.
5928 (hildon_stackable_window_class_init)
5929 (hildon_stackable_window_hide):
5930 Remove windows from the stack everytime they're hidden.
5931 (hildon_stackable_window_realize):
5932 Don't change the _NET_WM_WINDOW_TYPE property. Use
5933 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5934 it as a stackable window.
5936 * src/hildon-program.c
5937 (hildon_program_pop_window_stack):
5938 Just hide the window to remove it from the stack.
5939 (hildon_program_go_to_root_window):
5940 Don't call gtk_widget_show(), this is now a task for the window
5943 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5945 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5947 * src/hildon-button.c
5948 (hildon_button_construct_child):
5949 Don't pack anything in the button until text or image are
5950 set. This allows adding a custom child after creating the button
5951 with hildon_button_new().
5952 (hildon_button_finalize, hildon_button_class_init)
5953 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5954 alignment and the label box even when they're not packed in the
5957 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5959 * src/hildon-touch-selector.h:
5960 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5961 currently the type definition was using GTK_TYPE_VBOX
5962 * src/hildon-touch-selector.c:
5963 Added some implementation notes in order to clarify that any other widget
5964 added without the column related API will not be included on the
5965 selection logic, and how the widget is freed, as some people ask about
5967 (hildon_touch_selector_remove): Reimplemented in order to free properly
5968 the column related data when you remove the private hbox.
5969 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5970 to get a proper HildonTouchSelectorColumn documentation
5972 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5974 * src/hildon-touch-selector-entry.c:
5975 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5976 text in the GtkEntry and there is no item selected. Fixes a
5979 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5981 * src/hildon-app-menu-private.h
5982 * src/hildon-app-menu.[ch]
5983 * src/hildon-button.[ch]
5984 * src/hildon-check-button.[ch]
5985 * src/hildon-entry.[ch]
5986 * src/hildon-pannable-area.[ch]
5987 * src/hildon-text-view.[ch]:
5988 Added private field to the object's structure.
5990 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5992 * configure.ac: post-release version bump
5994 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5998 * configure.ac: pre-release version bump
6000 * debian/changelog: updates.
6002 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6004 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6005 Disconnect the handler for HildonTouchSelector::changed.
6007 (hildon_picker_button_selector_selection_changed): Update the button
6008 value if the selection change was not triggered by the
6011 (hildon_picker_button_set_selector): connect to
6012 HildonTouchSelector::changed.
6014 Fixes: NB#89650 (Picker button is not updated, when selection in
6015 selector has changed)
6017 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6019 * src/hildon-picker-dialog.c
6020 (hildon_picker_dialog_realize): Removed as not required
6021 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6022 * src/hildon-picker-button.c
6023 (_current_selector_empty): New function, checks if the selector is empty
6024 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6025 if the current selector is empty, in order to avoid to show the dialog
6026 close the dialog in this case (and shows a g_warning).
6028 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6030 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6032 * src/hildon-pannable-area.c,
6033 (hildon_pannable_area_scroll): Added clause to stop movement when
6034 the child of pannable is smaller than one page.
6035 (hildon_pannable_area_scroll_to): Added conditions to avoid
6036 starting the scrolling movement if the child is smaller than one
6037 page, the complete child is in the screen, we do not have to move.
6039 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6041 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6043 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6044 this is managed automatically by the widget when the size of the
6047 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-picker-button.c
6050 (hildon_picker_button_set_done_button_text): Make a copy of the
6051 text, and free the previous value.
6053 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6055 * src/hildon-touch-selector-entry.c:
6056 (hildon_touch_selector_entry_print_func): Return the selected row's
6057 text if the entry is empty.
6059 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6062 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6064 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6066 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6069 * src/hildon-check-button.h
6070 * src/hildon-check-button.c
6071 * examples/hildon-check-button-example.c:
6072 HildonCheckButton is now a new widget. 'toggled' signal added.
6074 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6076 * src/hildon-program-private.h
6077 * src/hildon-program.c (hildon_program_init)
6078 (hildon_program_finalize): Removed unused variables group_leader
6079 and name from HildonProgramPrivate.
6081 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6083 * src/hildon-check-button.c (hildon_check_button_set_active)
6084 (hildon_check_button_get_active, hildon_check_button_new): Use
6085 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6087 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6089 * src/hildon-touch-selector.h
6090 (hildon_touch_selector_set_column_attributes): added deprecation
6091 guard HILDON_DISABLE_DEPRECATED
6092 * src/hildon-time-selector.c
6093 (hildon_time_selector_set_time)
6094 (hildon_time_selector_get_time): Fixed a typo on documentation
6095 * src/hildon-touch-selector.c: update HildonTouchSelector and
6096 HildonTouchSelectorColumn documentation
6097 * src/hildon-touch-selector-entry.c: update "text-column" property
6099 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6100 to be added to the general documentation.
6102 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6104 * examples/hildon-pannable-area-example-4.c,
6106 * examples/hildon-pannable-area-example.c,
6107 (main): Modified the code in order to use the container add, with
6108 viewport treeviews could have problems if they are really big.
6110 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6112 * src/hildon-weekday-picker.c,
6113 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6114 the agreement regarding deprecation in the library.
6116 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6118 * examples/hildon-picker-button-multicolumn-example.c:
6119 (main): Use custom "done" button text.
6121 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6122 (hildon_picker_button_set_property),
6123 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6124 (hildon_picker_button_init),
6125 (+hildon_picker_button_get_done_button_text),
6126 (+hildon_picker_button_set_done_button_text): New methods to customize
6127 the "done" button label in the launched HildonPickerDialog. Also,
6130 * src/hildon-picker-button.h: add the public API.
6132 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6134 * src/hildon-date-selector.h:
6135 * src/hildon-picker-dialog.h:
6136 * src/hildon-time-selector.h:
6137 * src/hildon-touch-selector-column.h:
6138 * src/hildon-touch-selector.h:
6140 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6141 declarations. Fixes gtk-doc warnings.
6143 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6145 * src/hildon-picker-dialog.h
6146 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6147 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6149 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6150 long text is set as label for done button)
6152 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6154 * src/hildon-dialog.c (hildon_dialog_add_button):
6155 Set fixed width to all buttons in the HildonDialog.
6157 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6159 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6161 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6162 Set widget name using class name plus "-finger" or "-thumb".
6164 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6166 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6167 'clicked' when the state of the button is manually changed.
6169 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6171 * src/hildon-app-menu.c (hildon_app_menu_realize)
6172 (hildon_app_menu_unrealize, hildon_app_menu_init)
6173 (hildon_app_menu_class_init, item_visibility_changed):
6174 Change the menu layout when the size of the screen changes.
6175 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6176 Show warning only when changing the number of colums using the
6179 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6181 * debian/compat: Set to 5
6182 * debian/control: Update dependencies.
6183 * debian/libhildon1-dbg.install: Remove.
6184 * debian/libhildon1-dev.install: Update according to cdbs paths.
6185 * debian/libhildon1.install: Update according to cdbs paths.
6186 * debian/rules: Switch to cdbs.
6188 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6190 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6191 'item' variable renamed to 'filter'
6193 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6195 * src/hildon-app-menu.c (hildon_app_menu_insert)
6196 (hildon_app_menu_add_filter, remove_item_from_list)
6197 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6198 Don't leak hidden items when the menu is destroyed.
6200 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6202 * src/hildon-app-menu.c (hildon_app_menu_insert)
6203 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6204 (hildon_app_menu_set_columns, item_visibility_changed)
6205 (filter_visibility_changed, hildon_app_menu_repack_filters)
6206 (hildon_app_menu_repack_items):
6207 Repack items and filters separately.
6209 Don't repack all items, change only the ones that are needed to
6212 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6214 * src/Makefile.am: added hildon-touch-selector-column.h
6216 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6218 * src/hildon-touch-selector.c: added the property "text-column" to the
6219 class HildonTouchSelectorColumn, and related get/set functions
6220 (_default_printf_func): updated to use "text-column" property
6221 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6222 "text-column" in his documentation, as this is now included on
6223 HildonTouchSelectorColumn. The get/set_property can still be used,
6224 working as a wrapper to the concrete column "text-column" property
6225 (_text_column_modified): callback added in order to handle the signal
6226 "notify::text-column" of the concrete HildonTouchSelectorColumn
6227 (hildon_touch_selector_entry_get_text_column)
6228 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6229 modified in order to use the HildonTouchSelectorColumn "text-column"
6231 * src/hildon-time-selector.c:
6232 * src/hildon-date-selector.c:
6233 * examples/hildon-touch-selector-example.c
6234 * examples/hildon-touch-selector-multi-cells-example.c
6235 * examples/hildon-picker-button-multicolumn-example.c
6236 Set the right value to "text-column" property on the creation of a new
6237 column using hildon_touch_selector_append_column()
6239 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6241 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6243 * src/hildon-app-menu.c
6244 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6245 updating the layout of the menu, don't create all widgets again,
6246 just repack the items in their new places.
6248 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6250 * src/hildon-time-selector.c
6251 (hildon_time_selector_get_time)
6252 (hildon_time_selector_set_time)
6253 Added documentation of these public methods
6255 * src/hildon-date-button.h
6256 * src/hildon-touch-selector-column.h
6257 * src/hildon-time-button.h
6258 * src/hildon-picker-dialog.h
6259 * src/hildon-time-selector.h
6260 * src/hildon-picker-button.h
6261 * src/hildon-touch-selector.h
6262 * src/hildon-time-picker.h
6263 * src/hildon-date-selector.h
6264 * src/hildon-touch-selector-entry.h
6265 Modified in order to use hildon-widgets code style
6267 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6269 Added deprecated support to the compilation process using
6270 HILDON_DISABLE_DEPRECATED
6272 * configure.ac: Added the --disable-deprecated to the configure
6275 * src/hildon-weekday-picker.c:
6276 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6277 to use the deprecated support. We will update the other deprecated
6278 widgets status in a new patch.
6280 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6282 * configure.ac: Fixed typo with fatal warnings support, the
6283 variable name was not correct
6285 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6287 * src/hildon-app-menu.c
6288 * src/hildon-program.c: Update documentation.
6290 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6292 * configure.ac: Post-release version bump.
6294 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6299 * configure.ac: Pre-release version bump.
6300 * debian/changelog: Updates.
6302 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6304 * NEWS: Update news for previous releases.
6306 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6308 * examples/hildon-touch-selector-multi-cells-example.c:
6309 (create_selector): Update the example to use
6310 hildon_touch_selector_append_column() with a NULL renderer and set
6311 the renderers later.
6312 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6313 passed a NULL renderer. This is documented behavior now.
6315 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6316 This must be used if the developer wants full control on the layout of
6317 the renderers to be added to the column.
6319 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6321 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6323 * src/hildon-touch-selector.c: Documentation fixes.
6325 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6327 * src/hildon-wizard-dialog-private.h: Remove image and box.
6328 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6329 (hildon_wizard_dialog_set_property), (response): Completely remove
6330 image/icon support, and the containers required for the layout.
6332 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6334 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6336 * src/hildon-app-menu.c: Updated documentation.
6338 * src/hildon-stackable-window.c
6339 (hildon_stackable_window_set_main_menu): Unref the old menu after
6340 ref'ing the new one.
6342 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6344 * src/hildon-stackable-window.c
6345 (hildon_stackable_window_set_main_menu): Unref the previous menu
6346 instead of destroying it.
6348 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6349 floating reference and set has_user_ref_count to FALSE to make
6350 HildonAppMenu act like a normal ref-counted widget and not a
6353 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6356 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6358 * src/hildon-touch-selector-column.h: new file
6359 * src/hildon-touch-selector.h
6360 * src/hildon-touch-selector.c
6361 Implemented GtkCellLayout interface, in order to allow to configure
6362 the cell layout on each individual selector column
6363 (hildon_touch_selector_set_column_attributes): marked as deprecated
6364 * examples/hildon-touch-selector-multi-cells-example.c
6365 Example of how to use the GtkCellLayout interface on the selector
6367 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6369 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6371 * src/hildon-app-menu.h
6372 * src/hildon-app-menu.c
6373 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6374 (hildon_app_menu_append, hildon_app_menu_prepend):
6375 New methods to prepend, insert and move items in the menu.
6377 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6379 * src/hildon-wizard-dialog.c:
6381 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6383 (create_title): Update logical IDs and related code.
6384 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6386 * src/hildon-wizard-dialog.h: Note that
6387 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6388 point, as it is not used anymore.
6390 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6392 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6394 * src/hildon-note.c:
6395 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6396 shown. Do not display an icon in confirmation notes nor information
6398 (hildon_note_set_button_text): Update logical ID for cancel button.
6400 Fixes: NB#88850 (Update HildonNote button strings + signals)
6402 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6404 * src/hildon-stackable-window.c
6405 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6407 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6409 * src/hildon-app-menu-private.h
6410 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6411 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6412 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6413 temporary property 'columns' to change the number of columns.
6415 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6417 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6419 * examples/hildon-note-example.c: (on_information_clicked),
6420 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6421 debugging information.
6422 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6424 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6425 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6426 in order to close: this will be handled by the WM from now on.
6428 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6430 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6432 * src/hildon-app-menu-private.h
6433 * src/hildon-app-menu.c
6434 (hildon_app_menu_append, hildon_app_menu_add_filter)
6435 (button_visibility_changed, hildon_app_menu_apply_style)
6436 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6437 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6438 layout everytime a button (item or filter) is shown or hidden.
6440 * src/hildon-stackable-window.c
6441 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6444 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6446 * src/hildon-touch-selector.c:
6447 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6448 that the treeview inside the touch selector is in fremantle hildon mode
6449 * examples/hildon-date-button-example.c
6450 * examples/hildon-picker-button-multicolumn-example.c
6451 * examples/hildon-touch-selector-entry-example.c
6452 * examples/hildon-touch-selector-example.c
6453 * examples/hildon-time-button-example.c
6454 * examples/hildon-picker-button-example.c:
6455 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6457 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6459 * examples/hildon-text-view-example.c: (main): Remove the
6460 gtkrc bits, now handled by the theme.
6462 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6464 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6467 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6469 * po/Makefile.am: Install properly the mo files.
6470 * po/en_GB.po: Update translation, to ease testing purposes.
6472 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6474 * examples/hildon-picker-button-example.c: (main): Select an item
6475 in the selector before setting it to the button.
6477 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6479 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6480 Update button's value if the selector has an item active.
6482 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6483 'value' with the selector)
6485 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6487 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6488 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6489 (hildon_picker_button_class_init): Plug the finalize method.
6490 (hildon_picker_button_set_selector): If there's a previously set
6491 selector, unref'it before setting a new one.
6493 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6494 HildonTouchSelector)
6496 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6498 * src/hildon-touch-selector-entry.c:
6499 (hildon_touch_selector_entry_changed): Check if there is no text
6500 selected before setting the entry text.
6503 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6505 * src/hildon-touch-selector.h
6506 * src/hildon-touch-selector.c
6507 (hildon_touch_selector_get_active)
6508 (hildon_touch_selector_set_active): New methods to set/get the
6509 index of the selected item.
6511 * src/hildon-picker-button.h
6512 * src/hildon-picker-button.c
6513 (hildon_picker_button_get_active)
6514 (hildon_picker_button_set_active): New methods to set/get the
6515 index of the selected item.
6517 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6519 * configure.ac: post-release version bump.
6521 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6525 * configure.ac: Pre-release version bump.
6526 * debian/changelog: Updates.
6527 * debian/control: Add myself as maintainer and depend on l10n
6530 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6532 * src/hildon-window.c
6533 (hildon_window_set_main_menu)
6534 * src/hildon-stackable-window.c
6535 (hildon_stackable_window_set_main_menu):
6536 Updated documentation.
6538 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6540 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6541 Don't free selector->priv manually.
6544 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6547 (hildon_gtk_window_set_progress_indicator):
6548 * src/hildon-gtk.h: Added the new API
6549 hildon_gtk_window_set_progress_indicator, it changes the state of
6550 the window progress hint.
6552 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6554 * src/hildon-button.c
6555 * src/hildon-stackable-window.c: Minor documentation updates.
6557 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6559 * src/hildon-stackable-window.c: Updated documentation.
6561 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6563 * src/hildon-defines.h: Update margins definitions
6564 to the Fremantle sizes.
6567 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6569 * src/hildon-touch-selector.c,
6570 (_hildon_touch_selector_set_model): Cleaning the code after
6571 review, removed g_print and #if 0 from the code.
6573 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6575 * src/hildon-edit-toolbar.c: Update documentation.
6577 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6579 * src/hildon-check-button.h
6580 * src/hildon-check-button.c
6581 (hildon_check_button_set_label, hildon_check_button_get_label)
6582 * examples/hildon-check-button-example.c
6583 (button_clicked_cb):
6584 Removed deprecated methods.
6586 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6588 * src/hildon-text-view.c:
6589 Add sample code to the documentation.
6591 * src/hildon-entry.h
6592 * src/hildon-text-view.h:
6593 Minor cosmetic changes.
6595 * src/hildon-entry.c:
6596 Add sample code to the documentation.
6597 (hildon_entry_init, hildon_entry_refresh_contents):
6598 Don't allow NULL values in the placeholder.
6600 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6602 * doc/hildon-docs.sgml
6604 * examples/Makefile.am
6605 * examples/hildon-text-view-example.c
6607 * src/hildon-text-view.c
6608 * src/hildon-text-view.h
6610 New HildonTextView widget, with example.
6612 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6614 * po/POTFILES.in: Add missing files with translatable strings.
6615 Partially fixes NB#88287.
6617 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6619 * examples/hildon-pannable-area-example-2.c: (main): No need to
6620 set the cellrenderer height inside hildon touch lists, the theme does
6623 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6625 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6626 they are integrated in the theme.
6628 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6630 * examples/hildon-entry-example.c: Update the example adding
6631 widgets to modify the text and the placeholder of the HildonEntry.
6633 * src/hildon-entry.c: Show the placeholder everytime the widget
6634 is empty and loses the focus.
6636 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6638 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6640 * src/hildon-pannable-area.c,
6641 (hildon_pannable_area_size_request): Fixed bug in height
6642 requisition, avoid increasing size and add border twice.
6644 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6646 * configure.ac: postrelease version bump.
6648 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6652 * configure.ac: Prerelease version bump.
6653 * debian/changelog: update.
6654 * debian/rules: make -dbg package contain useful debugging symbols.
6656 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6658 * src/hildon-dialog.h
6659 * src/hildon-dialog.c
6660 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6661 New methods to add buttons with finger size.
6662 (hildon_dialog_new_with_buttons):
6663 Create buttons with finger size.
6665 * examples/hildon-dialog-example.c (main): Use HildonDialog
6666 methods to add buttons.
6668 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6670 * src/hildon-entry.c: Updated HildonButton documentation.
6672 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6674 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6675 button value label with (FALSE, FALSE) to prevent NB#88126 from
6678 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6680 * examples/hildon-pannable-area-example.c,
6681 (main): Removed examples panning a vbox inside a pannable
6682 area. Check bug NB#87965
6684 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6686 Patch contributed by Kris Rietveld (kris@imendio.com)
6688 * src/hildon-pannable-area.c,
6689 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6690 get_size and get_position, this saves an X server roundtrip.
6692 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6694 * doc/hildon-docs.sgml
6696 * examples/Makefile.am
6697 * examples/hildon-entry-example.c
6699 * src/hildon-entry.c
6700 * src/hildon-entry.h
6702 New HildonEntry widget, with example.
6704 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6706 * src/hildon-button.c (hildon_button_construct_child): Pack the
6707 image with expand == fill == FALSE. This is a workaround for a bug
6710 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6712 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6713 labels for the text column, to make it more look more dynamic.
6715 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6717 * src/hildon-time-selector.c
6718 Define gettext auxiliar macro N_
6719 (_create_minutes_model)
6720 (_create_hours_model)
6721 (_create_ampm_model): use of strftime in order to fill the model
6722 * src/hildon-date-selector.c
6723 (hildon_date_selector_finalize):
6724 (_locales_init): remove the logic related to get the name of the months
6725 using nl_langinfo, as it is not required anymore
6727 (_create_year_model)
6728 (_create_month_model)
6729 (_update_day_model): use of strftime in order to fill the model properly
6732 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6734 * src/hildon-button.h
6735 * src/hildon-button.c (hildon_button_get_image): New method to
6738 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6740 * src/hildon-touch-selector.c:
6741 (hildon_touch_selector_remove_column): Remove from the correct parent
6742 and also remove the list element and free it.
6745 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6747 * src/hildon-time-selector.c
6748 (_create_hours_model): change the range on 12h ampm format in order to use
6749 a 12-11 range instead of previous 01-12 range
6750 (hildon_time_selector_set_time): change the way to select the current time
6751 on 12h ampm format, due the change on the range
6752 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6755 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6757 * src/hildon-touch-selector.c
6758 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6759 in order to allow use this function on multiple row selection mode if
6760 the column is different that the first one
6763 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6765 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6766 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6768 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6770 * src/hildon-date-selector.h: clean some comments, now on the .c
6771 * src/hildon-date-selector.c
6772 (hildon_date_selector_select_month): first implementation
6773 (hildon_date_selector_select_day): added documentation, reimplemented
6774 using hildon_date_selector_select_current_date to avoid repeat code
6777 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6779 Reviewed interaction logic based on device experiences, refactored
6782 * src/hildon-pannable-area.c,
6783 (hildon_pannable_area_class_init): Updated default vmax speed.
6784 (hildon_pannable_area_calculate_velocity): Added this function, it
6785 avoids duplicate valocity calculation. Adjusted calculation to
6786 avoid problems with zero dist events.
6788 (hildon_pannable_area_motion_notify_cb): Now we use the
6789 calculate_velocity function.
6791 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6793 * src/hildon-date-selector.c
6794 (hildon_date_selector_select_current_date): fix the day range check
6795 as it failed using the last day of the current month
6798 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6800 * src/hildon-touch-selector.c
6801 (hildon_touch_selector_get_num_columns): added a parameter validation
6804 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6806 * examples/Makefile.am
6807 * examples/hildon-edit-toolbar-example.c: Example of the
6808 HildonEditToolbar widget.
6810 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6812 * configure.ac: postrelease version bump.
6814 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6818 * configure.ac: prerelease version bump.
6819 * debian/changelog: update.
6821 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6823 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6824 renderer to display stock icons in the touch list. Also, set the sizes
6825 to the recommended in the style guide.
6827 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6828 * src/hildon-touch-selector.h
6829 (hildon_touch_selector_set_active_iter): renamed, now is
6830 hildon_touch_selector_select_iter
6831 (hildon_touch_selector_get_active_iter): renamed, now is
6832 hildon_touch_selector_get_selected
6833 (hildon_touch_selector_unselect_iter): added
6834 * src/hildon-touch-selector.c
6835 Update after API modification (methods renamed)
6836 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6837 order to avoid problems selecting multiple elements on the column
6838 (hildon_touch_selector_unselect_iter): added the implementation
6839 * src/hildon-time-selector.c
6840 * src/hildon-date-selector.c
6841 * src/hildon-touch-selector-entry.c
6842 Update methods calls after hildon-touch-selector.h API modification (methods
6845 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6847 * src/hildon-stackable-window.c
6848 (hildon_stackable_window_finalize): Call the parent class's finalize.
6850 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6852 * examples/hildon-touch-selector-example.c: (create_selector): Use
6853 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6856 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6858 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6859 set a cell background color, to respect theming.
6861 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6863 * doc/hildon-docs.sgml
6866 * src/hildon-edit-toolbar.c
6867 * src/hildon-edit-toolbar.h
6868 * src/hildon.h: New HildonEditToolbar widget.
6870 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6872 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6875 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6876 * src/hildon-touch-selector.c
6877 (_create_new_column): use g_object_set instead of two g_object_set_property
6879 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6880 * src/hildon-touch-selector.c
6881 (_create_new_column): use of hildon_gtk_tree_view_new to create
6882 the treeview, instead of use directly g_object_new
6883 (_create_new_column): update the property name "vindicator-mode" for the
6884 new one "vscrollbar-policy"
6885 * examples/hildon-date-button-example.c
6886 * examples/hildon-picker-button-multicolumn-example.c
6887 * examples/hildon-touch-selector-entry-example.c
6888 * examples/hildon-touch-selector-example.c
6889 * examples/hildon-time-button-example.c
6890 * examples/hildon-picker-button-example.c
6891 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6892 to all the treeviews inside a pannable area.
6894 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6896 * src/hildon-button.h
6897 * src/hildon-button.c (hildon_button_init)
6898 (hildon_button_set_arrangement, hildon_button_set_alignment)
6899 (hildon_button_set_title_alignment)
6900 (hildon_button_set_value_alignment)
6901 (hildon_button_set_image_alignment)
6902 (hildon_button_construct_child): New methods to set the alignment
6903 of the individual components of the button (title, value,
6904 image). Also, new method to alter the xscale and yscale properties
6905 of the GtkAlignment inside the button, so more complex layouts can
6908 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6910 * src/hildon-button.c (hildon_button_style_set)
6911 (hildon_button_class_init, hildon_button_set_arrangement)
6912 (hildon_button_construct_child): Apply style properties
6913 correctly. Use the 'image-spacing' style property too.
6915 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6917 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6918 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6921 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6923 * src/hildon-pannable-area.c,
6924 (hildon_pannable_area_size_request): Fixed problem with
6925 pannable-area size_request.
6927 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6929 Added management for the grab-focus to a child widget, like a
6930 range, we need to fade out the scrollbar when releasing.
6932 * src/hildon-pannable-area.c,
6933 (hildon_pannable_area_init): Connected the grab-focus signal to
6935 (hildon_pannable_area_grab_notify): Added this function in order
6936 to manage the situation when the grab-focus ends. We have to
6937 fade-out the scrollbar.
6939 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6941 * src/hildon-app-menu.c: Minor documentation update.
6943 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6945 * src/hildon-app-menu.c
6946 * examples/hildon-app-menu-example.c (create_menu): Update
6947 examples and documentation to explain how to connect callbacks.
6949 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6951 * examples/hildon-button-example.c
6952 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6953 hildon_stackable_window_new instead of gtk_window_new
6955 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6957 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6958 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6959 (hildon_pannable_area_set_property),
6960 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6961 (hildon_pannable_area_unrealize),
6962 (hildon_pannable_area_size_request),
6963 (hildon_pannable_area_size_allocate),
6964 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6965 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6966 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6967 (hildon_pannable_area_initial_effect),
6968 (hildon_pannable_area_redraw),
6969 (hildon_pannable_area_scroll_indicator_fade),
6970 (hildon_pannable_area_expose_event),
6971 (hildon_pannable_area_get_topmost), (synth_crossing),
6972 (hildon_pannable_area_button_press_cb),
6973 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6974 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6975 (hildon_pannable_area_motion_notify_cb),
6976 (hildon_pannable_area_button_release_cb),
6977 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6978 (hildon_pannable_area_remove),
6979 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6980 chage the code layout to a more GtkWidget like. Review the use of
6983 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6985 * examples/hildon-pannable-area-example-4.c,
6986 (main): Modified the name of the hindicator_mode to
6989 * src/hildon-pannable-area.c,
6990 (hildon_pannable_area_class_init),
6991 (hildon_pannable_area_motion_notify_cb),
6992 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6993 we have reduced the amount of signals and managed reviewed its
6994 rationale. Changed the default decelerate value.
6996 (hildon_pannable_area_add),
6997 (hildon_pannable_area_redraw): Refactored functions.
6999 (hildon_pannable_area_init),
7000 (hildon_pannable_area_get_property),
7001 (hildon_pannable_area_set_property):
7002 (hildon_pannable_draw_vscroll),
7003 (hildon_pannable_draw_hscroll),
7004 (hildon_pannable_area_initial_effect),
7005 (hildon_pannable_area_expose_event),
7006 (hildon_pannable_area_scroll),
7007 (hildon_pannable_area_button_press_cb),
7008 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7009 and vindicator_mode with hscrollbar_policy and
7010 vscrollbar_policy. Replaced hscroll and vscroll with
7011 hscroll_visible and vscroll_visible.
7013 (hildon_pannable_area_refresh): Refactor the function, remove
7014 variables and check the calls to this function, added resize
7015 conditions in case the children change their layout.
7017 (hildon_pannable_area_size_request): Added more detailed
7018 size_request calculation.
7021 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7023 * src/hildon-color-chooser.c
7024 (init_borders): use the correct gtk_border_free instead of g_free, to
7025 avoid a crash when this widget is used (ie: the three color selection
7028 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7030 * src/hildon-check-button.c,
7031 (hildon_check_button_set_active): Fixed problem when setting the
7032 active value, the widget was not redrawn.
7034 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7036 * src/hildon-pannable-area.c,
7037 (hildon_pannable_area_refresh),
7038 (hildon_pannable_area_scroll),
7039 (hildon_pannable_area_motion_notify_cb): Small code style change.
7041 (hildon_pannable_area_class_init): Default initial_hint set to
7042 FALSE, it is not in the specs.
7044 (hildon_pannable_area_initial_effect),
7045 (hildon_pannable_area_expose_event),
7046 (hildon_pannable_area_map),
7047 (hildon_pannable_area_init): Moved the launching point of the
7048 initial effect, it was in map but the sizes where not correct in
7049 that method so we do not know if we have the reproduce it. Now it
7050 is placed in the expose_event method and uses a variable to
7051 reproduce it just once.
7053 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7055 * src/hildon-pannable-area.c,
7056 (hildon_pannable_draw_vscroll),
7057 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7058 position allowed for the scrollbars.
7060 (hildon_pannable_area_size_allocate): Small style change.
7062 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7064 * src/hildon-pannable-area.c,
7065 (hildon_pannable_area_scroll_indicator_fade),
7066 (hildon_pannable_area_button_press_cb),
7067 (hildon_pannable_area_button_release_cb),
7068 (hildon_pannable_area_scroll_cb),
7069 (hildon_pannable_area_expose_event),
7070 (hildon_pannable_area_init): Added the define parameter
7071 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7072 and refactor the fade variable.
7074 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7076 * src/hildon-pannable-area.c,
7077 (hildon_pannable_area_redraw),
7078 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7079 lines, we were reimplemeting the redraw code.
7081 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7083 * src/hildon-pannable-area.c,
7084 (hildon_pannable_area_scroll_cb),
7085 (hildon_pannable_area_realize),
7086 (hildon_pannable_area_class_init): Added scroll_event management
7087 for pannable area, now we can scroll the usual desktop method.
7089 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7090 initialization of the parameters should depend on idle_id.
7092 (hildon_pannable_area_init),
7093 (hildon_pannable_area_map): Small code style modifications
7095 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7097 * src/hildon-pannable-area.c
7098 (hildon_pannable_area_button_press_cb),
7099 (hildon_pannable_area_motion_notify_cb),
7100 (hildon_pannable_area_button_release_cb),
7101 (hildon_pannable_area_size_allocate),
7102 (hildon_pannable_area_scroll_to): Improved the timeouts
7103 management, we avoid creating them each time.
7105 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7107 * src/hildon-pannable-area.c:
7108 (hildon_pannable_area_refresh),
7109 (hildon_pannable_area_motion_notify_cb),
7110 (hildon_pannable_area_class_init):
7111 * src/hildon-pannable-area.h:
7112 * src/hildon-touch-selector.c
7113 (_create_new_column):
7114 * examples/hildon-pannable-area-example-4.c:
7115 (horizontal_movement),
7116 (vertical_movement),
7118 Replaced the names of enums in the HildonPannableArea:
7119 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7120 HILDON_MOVEMENT_MODE_*
7121 - HILDON_PANNABLE_AREA_MOV_* ->
7123 - Removed HildonPannableAreaIndicatorMode, now we
7126 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7128 * examples/hildon-pannable-area-touch-grid-example.c
7129 * examples/hildon-pannable-area-touch-list-example.c: Fix
7130 compilation warnings.
7132 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7134 * src/hildon-gtk.c (hildon_gtk_button_new)
7135 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7136 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7137 images overriding the value of the "gtk-button-images" setting.
7139 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7141 * src/hildon-check-button.c (hildon_check_button_new):
7142 Instead of using a custom container, display the label and the
7143 checkbox using the standard GtkButton API.
7145 * examples/hildon-check-button-example.c (main): Don't use
7146 hildon_check_button_set_label() anymore
7148 * src/hildon-check-button.h
7149 * src/hildon-check-button.c
7150 (hildon_check_button_set_label, hildon_check_button_get_label):
7151 Set as deprecated, now we're using gtk_button_{get,set}_label()
7153 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7155 * src/hildon-pannable-area.c,
7156 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7157 GtkTreeview first line we detected it after the inclusion of the
7158 GtkWindowImpl in gtk+. We now check if the window is visible, not
7159 just if the pointer is over the window.
7160 (hildon_pannable_axis_scroll),
7161 (hildon_pannable_area_expose_event): Small style changes.
7163 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7165 * src/hildon-button.c: Update documentation.
7167 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7169 * examples/hildon-button-example.c: Add a switch to show images in
7172 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7174 * doc/hildon-docs.sgml: Some docs reorganization.
7176 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7178 * examples/hildon-pannable-area-touch-list-example.c
7180 * examples/hildon-pannable-area-touch-grid-example.c
7181 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7182 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7183 Fix memory leak when setting the tree model.
7185 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7189 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7191 * doc/hildon.types: Remove duplicated hildon_window_get_type
7192 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7193 documentation comment.
7195 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7197 * doc/Makefile.am: Complete list of private headers.
7199 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7201 * doc/hildon-docs.sgml
7202 * src/hildon-app-menu.c
7203 * src/hildon-bread-crumb.c
7204 * src/hildon-button.c
7206 * src/hildon-program.c
7207 * src/hildon-stackable-window.c
7208 * src/hildon-window.c: Lots of documentation updates.
7210 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7212 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7214 * configure.ac: Require Gtk+ 2.12.9 at least
7216 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7218 * src/hildon-pannable-area.c
7219 (hildon_pannable_area_scroll_indicator_fade),
7220 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7221 to protect the return of this timeout callbacks, avoiding deadlocks.
7223 2008-08-12 Christian Dywan <christian@imendio.com>
7226 * src/hildon-*.h: Ensure a consistent include order,
7227 include <gtk/gtk.h> instead of particular files and
7228 only include the topmost header in the gtk stack. See NB #39857
7230 2008-08-12 Christian Dywan <christian@imendio.com>
7232 * src/hildon-picker-dialog.c
7233 * src/hildon-touch-selector.c: Fix warnings about unused and
7234 uninitialized variables.
7236 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7238 * examples/Makefile.am
7239 * examples/hildon-check-button-example.c: Example of the hildon
7242 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7244 * src/hildon-window.h
7245 * src/hildon-window.c (hildon_window_class_init)
7246 (hildon_window_unset_program): Don't make
7247 hildon_window_unset_program a virtual function anymore.
7249 * src/hildon-stackable-window.c: Update documentation
7251 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7254 * doc/hildon-docs.sgml
7255 * doc/visual_index.xml
7256 * src/hildon-defines.c
7258 * src/hildon-helper.c
7259 * src/hildon-range-editor.c: Lots of documentation fixes.
7261 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7263 * examples/hildon-picker-button-multicolumn-example.c
7264 (create_touch_selector): Fix compilation warning.
7266 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7268 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7269 (hildon_pannable_area_button_release_cb)
7270 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7272 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7274 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7277 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7279 * src/hildon-bread-crumb-trail.h
7280 * src/hildon-date-editor.c
7281 * src/hildon-date-selector.c
7282 * src/hildon-pannable-area.c
7283 * src/hildon-picker-dialog.c
7284 * src/hildon-time-selector.c
7285 * src/hildon-touch-selector-entry.c
7286 * src/hildon-touch-selector.c
7287 * src/hildon-touch-selector.h: Misc documentation fixes
7289 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7291 * examples/hildon-date-editor-example.c (main): Updated date
7294 * examples/hildon-note-example.c (on_confirmation_clicked):
7295 Updated confirmation note example.
7297 * src/hildon-date-editor.c
7298 * src/hildon-note.c: Updated sample programs in documentation.
7301 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7303 * src/hildon-date-button.h:
7304 * src/hildon-picker-button.h:
7305 * src/hildon-time-button.c:
7306 * src/hildon-time-button.h:
7308 Some declarations changes to allow gtk-doc to document the widgets
7311 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7313 * src/hildon-date-button.c: Document the widget.
7314 * src/hildon-time-button.c: Document the widget.
7316 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7318 * src/hildon-picker-button.c: Document the widget.
7319 * src/hildon-touch-selector-entry.c: Document the widget.
7321 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7323 * doc/hildon-docs.sgml
7326 * src/hildon-check-button.h
7327 * src/hildon-check-button.c: New functions to create the Hildon
7331 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7333 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7335 * src/hildon-button.h
7336 * src/hildon-button.c
7337 (hildon_button_add_title_size_group)
7338 (hildon_button_add_value_size_group)
7339 (hildon_button_add_image_size_group)
7340 (hildon_button_add_size_groups): New functions to set size groups
7341 for the button labels and image.
7342 (hildon_button_new_full): Removed
7344 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7346 * src/hildon-time-selector.c
7347 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7348 in order to avoid a crash if gconf is not available
7350 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7352 * src/hildon-button.c (hildon_button_set_arrangement)
7353 (hildon_button_construct_child): Don't construct the button child
7354 before setting the arrangement.
7356 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7358 * src/hildon-program-private.h
7359 * src/hildon-program.c
7360 * src/hildon-program.h
7361 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7362 (hildon_program_peek_window_stack)
7363 (hildon_program_pop_window_stack)
7364 (hildon_program_go_to_root_window): HildonProgram now has a
7365 separate list for stackable windows. Functions are provided to
7366 manage that list with a stack-like API.
7368 * src/hildon-stackable-window.c: Stackable window management is
7369 now much simpler with the new HildonProgram API. Windows no
7370 longer need to be manually added to the program, they're
7371 automatically pushed to the top of the stack when shown.
7373 * examples/hildon-stackable-window-example.c: Updated example to
7374 reflect the API changes.
7376 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7378 * src/hildon-touch-selector.c: Comment out unimplemented
7379 hildon_touch_selector_insert_column() to avoid a compile warning.
7381 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7383 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7384 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7385 (hildon_touch_selector_set_column_selection_mode),
7386 (_hildon_touch_selector_set_model),
7387 (hildon_touch_selector_set_model):
7389 Complete review of HildonTouchSelector documentation.
7391 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7393 * doc/hildon-docs.sgml
7397 * src/hildon-gtk.c: Convenience functions for standard Gtk
7398 widgets, used to easily perform frequent operations.
7400 * src/hildon-button-helpers.h
7401 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7403 * src/hildon-helper.h
7404 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7405 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7407 * src/hildon-button.h
7408 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7410 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7412 * src/hildon-button.c (hildon_button_init)
7413 (hildon_button_set_arrangement, hildon_button_construct_child):
7414 Pack the image and the labels inside the same GtkAlignment so
7415 gtk_button_set_alignment() can be used
7417 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7419 * src/hildon-button.h
7420 * src/hildon-button.c
7421 (hildon_button_init, hildon_button_set_image)
7422 (hildon_button_set_image_position)
7423 (hildon_button_construct_child): New functions to add an image to
7426 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7428 * src/hildon-date-button.c
7429 * src/hildon-picker-button.c
7430 * src/hildon-time-button.c
7431 * src/hildon-button.c:
7432 (hildon_button_class_init): "size-flags" renamed to "size"
7433 (hildon_button_set_title): Hide the title label if set to NULL.
7435 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7437 HildonButtonFlags split into HildonButtonArrangement (to set the
7438 button layout) and HildonSizeType (which can be used for any
7441 * src/hildon-button.h
7442 * src/hildon-button.c
7443 (hildon_button_class_init)
7444 (hildon_button_set_arrangement)
7445 (hildon_button_set_property): New "size-flags"
7446 property. "arrangement-flags" renamed to "arrangement".
7447 (hildon_button_new, hildon_button_new_with_text)
7448 (hildon_button_new_full): Constructors updated to reflect type changes.
7450 * src/hildon-helper.h
7451 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7452 to set the size of a widget.
7456 * src/hildon-button-helpers.c
7457 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7459 * src/hildon-date-button.c
7460 * src/hildon-date-button.h
7461 * src/hildon-picker-button.c
7462 * src/hildon-picker-button.h
7463 * src/hildon-time-button.c
7464 * src/hildon-time-button.h: Updated widgets to reflect
7465 HildonButton API changes.
7467 * examples/hildon-button-example.c
7468 * examples/hildon-date-button-example.c
7469 * examples/hildon-picker-button-example.c
7470 * examples/hildon-picker-button-multicolumn-example.c
7471 * examples/hildon-time-button-example.c
7472 * examples/hildon-touch-selector-entry-example.c
7473 * examples/hildon-touch-selector-example.c: Updated examples to
7474 reflect HildonButton API changes.
7476 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7478 * doc/hildon-docs.sgml:
7480 * examples/Makefile.am:
7481 * examples/hildon-touch-selector-entry-example.c:
7483 * src/hildon-touch-selector-entry.c:
7484 * src/hildon-touch-selector-entry.h:
7487 Moved HildonTouchSelectorEntry from sandbox. Added its
7488 documentation and examples.
7490 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7492 * src/hildon-touch-selector.h:
7493 * examples/hildon-picker-button-multicolumn-example.c:
7494 (hildon_touch_selector_append_text_column): Add a gboolean
7495 parameter to determine if text must be centered in the column.
7497 * src/hildon-date-selector.c: (hildon_date_selector_init):
7498 * src/hildon-time-selector.c: (hildon_time_selector_init):
7499 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7500 (create_touch_selector): Update widgets and example to reflect
7503 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7505 * src/hildon-touch-selector.c:
7506 (hildon_touch_selector_set_active_iter): Set also the cursor in
7509 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7511 * doc/hildon-docs.sgml
7514 * src/hildon-toggle-button.c
7515 * src/hildon-toggle-button.h
7516 * src/hildon.h: Removed HildonToggleButton widget, a derived
7517 class is not necessary for this.
7519 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7521 * src/hildon-pannable-area.c,
7522 (hildon_pannable_area_realize),
7523 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7526 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7528 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7529 "done" button the default widget for the dialog.
7531 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7533 * src/hildon-touch-selector.c:
7534 (hildon_touch_selector_class_init),
7535 (hildon_touch_selector_get_property),
7536 (_hildon_touch_selector_set_model),
7537 (_hildon_touch_selector_has_multiple_selection),
7538 (hildon_touch_selector_has_multiple_selection):
7539 Add a "has-multiple-selection" property with a virtual
7540 has_multiple_selection() method to allow derived classes to
7541 override the default value for it. See the method and property
7542 documentation for details.
7544 * src/hildon-touch-selector.h: Add the new API.
7546 * src/hildon-picker-dialog.c: (requires_done_button): Call
7547 hildon_touch_selector_has_multiple_selection() instead of
7548 determining the need for a button itself.
7550 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7552 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7553 (_hildon_touch_selector_set_model),
7554 (hildon_touch_selector_set_model): Move working code to
7555 _hildon_touch_selector_set_mode(). Call the class method instead.
7557 * src/hildon-touch-selector.h: Add (*set_model) to
7558 HildonTouchSelectorClass.
7560 Make hildon_touch_selector_set_model() a virtual method, so that
7561 derived classes can extend it and do fancy stuff with the model.
7563 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7565 * configure.ac: Set back the tarname in AC_INIT to hildon.
7567 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7571 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7572 instead of libesd (NB#86876). Volume handling is still an open issue.
7574 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7577 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7579 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7580 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7581 derived class to ease placement of an entry widget in
7582 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7583 end, where the selector columns are packed now.
7585 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7587 * src/hildon-picker-button.c: Removed the simple _text() API.
7588 * src/hildon-picker-button.h: Likewise.
7590 * src/hildon-touch-selector.h:
7591 * src/hildon-touch-selector.c:
7592 (hildon_touch_selector_new_text),
7593 (hildon_touch_selector_append_text),
7594 (hildon_touch_selector_prepend_text),
7595 (hildon_touch_selector_insert_text):
7597 Moved the simple _text() API from HildonPickerButton to
7598 HildonTouchPicker, to provide better escalability and not to tie
7599 that API to HildonPickerButton.
7601 * examples/hildon-picker-button-example.c: (main): Example updated.
7603 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7605 * src/hildon-button.c: Updated documentation.
7607 * examples/hildon-button-example.c: Add the posibility to create
7608 the buttons using horizontal layout for title and value.
7610 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7612 * src/hildon-app-menu-private.h
7613 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7614 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7615 GtkSizeGroup for the filters, use the 'homogeneous' property of
7618 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7620 * examples/hildon-button-example.c: Updated example.
7622 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7624 * doc/hildon-docs.sgml:
7627 Update documentation.
7629 * examples/Makefile.am: Update renamed examples.
7631 * examples/hildon-picker-button-multicolumn-example.c:
7632 (create_touch_selector), (main): Update after the rename.
7634 * examples/hildon-touch-picker-example.c: Removed.
7635 * examples/hildon-touch-selector-example.c: (value_changed),
7636 (create_selector), (get_visible_content), (main): Renamed from
7637 hildon-touch-picker-example.c
7639 * src/Makefile.am: Updated renamed files.
7641 * src/hildon-date-button.c: (hildon_date_button_init),
7642 (hildon_date_button_get_date), (hildon_date_button_set_date):
7643 * src/hildon-date-selector.c: (hildon_date_selector_init),
7644 (_custom_print_func), (_update_day_model),
7645 (_manage_selector_change_cb),
7646 (hildon_date_selector_select_current_date),
7647 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7648 * src/hildon-date-selector.h:
7649 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7650 (hildon_picker_button_set_property),
7651 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7652 (hildon_picker_button_init), (hildon_picker_button_new_text),
7653 (hildon_picker_button_append_text),
7654 (hildon_picker_button_prepend_text),
7655 (hildon_picker_button_insert_text),
7656 (hildon_picker_button_set_selector),
7657 (hildon_picker_button_get_selector):
7658 * src/hildon-picker-button.h:
7659 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7660 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7661 (_update_title_on_selector_changed_cb), (requires_done_button),
7662 (_hildon_picker_dialog_set_selector),
7663 (hildon_picker_dialog_set_selector),
7664 (hildon_picker_dialog_get_selector):
7665 * src/hildon-picker-dialog.h:
7666 * src/hildon-time-button.c: (hildon_time_button_init),
7667 (hildon_time_button_get_time), (hildon_time_button_set_time):
7668 * src/hildon-time-selector.c: (hildon_time_selector_init),
7669 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7670 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7671 * src/hildon-time-selector.h:
7674 Massive code updates after the rename.
7676 * src/hildon-touch-picker.c: Removed.
7677 * src/hildon-touch-picker.h: Removed.
7679 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7680 (hildon_touch_selector_init), (hildon_touch_selector_map),
7681 (hildon_touch_selector_remove), (_default_print_func),
7682 (_selection_changed_cb), (_create_new_column),
7683 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7684 (hildon_touch_selector_append_text_column),
7685 (hildon_touch_selector_remove_column),
7686 (hildon_touch_selector_set_column_attributes),
7687 (hildon_touch_selector_insert_column),
7688 (hildon_touch_selector_get_num_columns),
7689 (hildon_touch_selector_get_column_selection_mode),
7690 (hildon_touch_selector_set_column_selection_mode),
7691 (hildon_touch_selector_set_print_func),
7692 (hildon_touch_selector_get_print_func),
7693 (hildon_touch_selector_get_active_iter),
7694 (hildon_touch_selector_set_active_iter),
7695 (hildon_touch_selector_get_selected_rows),
7696 (hildon_touch_selector_get_model),
7697 (hildon_touch_selector_set_model),
7698 (hildon_touch_selector_get_current_text),
7699 (_hildon_touch_selector_center_on_selected_items):
7700 * src/hildon-touch-selector.h: Renamed from
7701 hildon-touch-picker.[ch]
7703 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7704 references, code examples, and related documentation.
7706 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7708 * doc/hildon-docs.sgml
7711 * src/hildon-toggle-button.c
7712 * src/hildon-toggle-button.h
7713 * src/hildon.h: New HildonToggleButton widget.
7715 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7717 * src/hildon-button.c: Add API documentation.
7718 (hildon_button_set_size_groups): Check input parameters
7720 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7722 * src/hildon-pannable-area.c
7723 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7724 effect after reaching the movement thredshold. This way we start
7725 using the distance after passing the thredshold.
7727 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7729 * src/hildon-button.c: (hildon_button_set_property): Use the
7730 appropriate g_value_get_flags() method.
7732 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7734 * doc/hildon-docs.sgml:
7737 Add the touch pickers, picker dialogs, and picker button widgets
7738 to the documentation.
7740 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7742 * src/hildon-button.c: (hildon_button_set_property),
7743 (hildon_button_class_init): Make "arrangement-flags" a proper
7744 G_TYPE_FLAGS derived property.
7746 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7748 * examples/Makefile.am: Add below examples.
7749 * examples/hildon-date-button-example.c:
7750 * examples/hildon-picker-button-example.c:
7751 * examples/hildon-picker-button-multicolumn-example.c:
7752 * examples/hildon-time-button-example.c:
7753 * examples/hildon-touch-picker-example.c:
7755 Add examples for the recently added touch pickers,
7756 picker dialogs, and picker button widgets.
7758 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7760 * src/hildon-button.c: Add some API documentation
7762 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7764 * src/hildon-button.h
7765 * src/hildon-button.c
7767 (hildon_button_new_with_text): New constructor to create a button
7768 with no text at all.
7769 (hildon_button_init, hildon_button_set_arrangement)
7770 (hildon_button_set_title, hildon_button_set_value)
7771 (hildon_button_set_text)
7772 (hildon_button_construct_child): Hide the value when it's not used
7773 so the rest of the text is properly aligned.
7774 Allow creating buttons with arbitrary widgets inside (not just
7775 title/value labels).
7777 * examples/hildon-button-example.c (vertical_buttons_window)
7778 (horizontal_buttons_window): Update example to use new API.
7780 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7782 * src/Makefile.am: Added HildonTimeButton.
7783 * src/hildon-time-button.c: Added missing LGPL header.
7784 * src/hildon-time-button.h: Added missing LGPL header.
7785 * src/hildon.h: Add hildon-time-button.h
7787 Copied HildonTimeButton from sandbox to trunk. Future work on this
7788 widget must take place in trunk.
7790 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7792 * src/Makefile.am: Added HildonDateButton.
7793 * src/hildon-date-button.c: Update includes.
7794 * src/hildon.h: Add hildon-date-button.h
7796 Copied HildonDateButton from sandbox to trunk. Future work on this
7797 widget must take place in trunk.
7799 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7801 * src/Makefile.am: Added HildonPickerButton.
7802 * src/hildon-picker-button.h: Update includes.
7803 * src/hildon.h: Add hildon-picker-button.h
7805 Copied HildonPickerButton from sandbox to trunk. Future work on
7806 this widget must take place in trunk.
7808 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7810 * src/Makefile.am: Added HildonPickerDialog.
7811 * src/hildon-picker-dialog.c: Update includes.
7812 * src/hildon.h: Add hildon-picker-dialog.h
7814 Copied HildonPickerDialog from sandbox to trunk. Future work
7815 on this widget must take place in trunk.
7817 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7819 * src/Makefile.am: Added HildonTimeSelector.
7820 * src/hildon.h: Add hildon-time-selector.h
7822 Copied HildonTimeSelector widget from sandbox to trunk. Future
7823 work on this widget must happen in trunk.
7825 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7827 * src/Makefile.am: Added HildonDateSelector.
7828 * src/hildon.h: Add hildon-date-selector.h
7830 Copied HildonDateSelector widget from sandbox to trunk. Future
7831 work on this widget must happen in trunk.
7833 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7835 * src/Makefile.am: Added HildonTouchPicker.
7836 * src/hildon-touch-picker.c: Update includes.
7837 * src/hildon.h: Add hildon-touch-picker.h
7839 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7840 on this widget must happen in trunk.
7842 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7844 * src/hildon-pannable-area.c:
7845 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7847 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7849 * examples/hildon-app-menu-example.c (main): Let the window
7852 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7854 * src/hildon-pannable-area.c
7855 (hildon_pannable_area_class_init): Set the min value of the
7856 overshoot properties to zero, which points out that not
7857 overshooting allowed.
7859 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7861 Modified the procedure to get the widget at a point inside the
7862 pannable area when using the movement type signals. Now the user
7863 has to call a function to get the child, that way we just
7864 calculate the child in case the user really want to use it and not
7867 * src/hildon-marshalers.list: Modified the marshallers, now we do
7868 not have the widget as a parameter.
7870 * src/hildon-pannable-area.c
7871 (hildon_pannable_area_motion_notify_cb),
7872 (hildon_pannable_area_class_init),
7873 (hildon_pannable_get_child_widget_at): Removed the widget
7874 parameter from the signal callback. We have also refactored the
7875 emission of the signals.
7877 * src/hildon-pannable-area.h: Added a new method to the API to
7878 calculate a widget at a point inside the pannable area,
7879 hildon_pannable_get_child_widget_at.
7881 * examples/hildon-pannable-area-example-4.c
7882 (horizontal_movement): Modified the example to use the new API,
7883 added condition to control which widget is under the event. This
7884 way we can avoid scrolling laterally over other widgets.
7886 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7888 * src/hildon-pannable-area.c
7889 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7890 modes, we stop getting the pointer events due to returning the
7891 callback without properly calling the get pointer again. Fixed
7892 also an error using the hscroll and vscroll.
7894 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7896 * src/hildon-app-menu-private.h
7897 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7898 (hildon_app_menu_button_release, hildon_app_menu_init)
7899 (hildon_app_menu_class_init): Don't hide the menu on button
7900 release if the user didn't press outside first.
7902 * src/hildon-window.h
7903 * src/hildon-window.c (hildon_window_toggle_menu)
7904 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7905 hildon_window_toggle_menu a virtual function for the stackable
7906 window to override it.
7908 * src/hildon-stackable-window.h
7909 * src/hildon-stackable-window-private.h
7910 * src/hildon-stackable-window.c
7911 (hildon_stackable_window_realize)
7912 (hildon_stackable_window_finalize)
7913 (hildon_stackable_window_class_init)
7914 (hildon_stackable_window_init)
7915 (hildon_stackable_window_set_main_menu): New function to set the
7916 app menu of a HildonStackableWindow.
7918 * examples/hildon-app-menu-example.c: Remove the button to show
7919 the app menu, now it'll be shown when clicking on the title bar
7922 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7924 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7925 set the widget name if the arrangement flags do not specify
7928 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7930 * src/hildon-button.c: (hildon_button_set_property),
7931 (hildon_button_class_init), (hildon_button_new_full),
7932 (hildon_button_set_arrangement): Added "arrangement-flags"
7935 Make the HildonButtonFlags a construction-only property, to allow
7936 subclasses to set them properly.
7938 2008-07-21 Tim Janik <timj@imendio.com>
7940 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7941 insertion position after backspace, so additional digits are appended,
7944 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7946 * src/hildon-pannable-area.c,
7947 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7948 TODO list, it was complete and removed the g_debug and g_print
7951 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7953 Added the movement modes to the hildon-pannable-area, with this
7954 modes the developers can control in which directions the widget
7955 can scroll. They can also connect to signals in order to do
7956 something when that happens, allowing applications scroll. There
7957 is an example uploaded showing how to use it.
7959 * examples/Makefile.am:
7960 * examples/hildon-pannable-area-example-4.c: Added this example of
7961 an application using the modes.
7963 * src/hildon-marshalers.list: Added a new marshaller for the new
7966 * src/hildon-pannable-area.h: Added new enumerations and flags in
7967 order to control the movement modes and the new signals to warn
7968 about the movements in the area.
7970 * src/hildon-pannable-area.c:
7971 (hildon_pannable_axis_scroll),
7972 (hildon_pannable_area_scroll),
7973 (hildon_pannable_area_motion_notify_cb),
7974 (hildon_pannable_area_get_property),
7975 (hildon_pannable_area_set_property),
7976 (hildon_pannable_area_map),
7977 (hildon_pannable_area_class_init),
7978 (hildon_pannable_area_init),
7979 (hildon_pannable_area_jump_to): Added the modes to control the
7980 movement in the widget. We have added properties to control it,
7981 signals to warn about the movements and refactored some code.
7983 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7985 Changes required in order to allow vfast_factor set to zero to
7988 * src/hildon-pannable-area.c:
7989 (hildon_pannable_area_button_press_cb): Changed the condition, it
7990 is required for not allowing click when vfast_factor is zero.
7991 (hildon_pannable_area_timeout): Initialized velocity variables
7992 when we stop moving, it was less than 1 but not zero and we need
7993 to check zero in some situations.
7994 (hildon_pannable_area_class_init): Changed the default value of
7995 the speed factor, now the button_press is just sent in case the
7996 speed is 2 per cent of the max speed.
7997 (hildon_pannable_area_init): Initialization with 0.
7999 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8001 * src/hildon-pannable-area.c,
8002 (hildon_pannable_area_get_topmost): replaced
8003 gdk_window_get_children with gdk_window_peek_children, this way we
8004 do not have to free the list because it is not a copy.
8006 (hildon_pannable_axis_scroll),
8007 (hildon_pannable_area_scroll),
8008 (hildon_pannable_area_timeout),
8009 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8010 two parameters that were only used inside the
8011 hildon_pannable_area_scroll function.
8013 * examples/hildon-pannable-area-example.c,
8014 (get_sawtooth_label): Fixed small memory leak.
8016 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8018 More checks for the case where the overshoot is bigger than the
8021 * src/hildon-pannable-area.c:
8022 (hildon_pannable_draw_vscroll),
8023 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8024 to draw the slider of the scrollbar under the other scrollbar.
8025 (hildon_pannable_area_expose_event): added new checks to control
8026 the drawing of the overshooting area rectangle, in case it is too
8027 big for the area of the widget.
8028 (hildon_pannable_area_size_allocate): add more checks to avoid
8029 setting a position to the child widget outside the area.
8031 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8033 * src/hildon-pannable-area.c
8034 (hildon_pannable_area_size_allocate): Added conditions to control
8035 when overshooting is bigger than the allocated space for the
8036 children, this avoids negative allocations.
8038 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8040 * doc/hildon-docs.sgml
8042 * examples/Makefile.am
8043 * examples/hildon-button-example.c
8045 * src/hildon-button.c
8046 * src/hildon-button.h
8047 * src/hildon.h: Initial version of the new HildonButton widget,
8050 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8052 * src/hildon-pannable-area.c:
8053 (hildon_pannable_area_button_press_cb),
8054 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8055 (hildon_pannable_area_motion_notify_cb),
8056 (hildon_pannable_area_button_release_cb),
8057 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8058 (hildon_pannable_area_jump_to_child):
8060 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8062 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8064 * examples/Makefile.am
8065 * examples/hildon-pannable-area-touch-grid-example.c
8066 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8067 the Hildon Touch List and Hildon Touch Grid using the
8068 HildonPannableArea widget.
8070 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8072 * src/hildon-pannable-area.c,
8073 (hildon_pannable_area_button_press_cb),
8074 (hildon_pannable_area_refresh),
8075 (hildon_pannable_area_scroll),
8076 (hildon_pannable_area_motion_notify_cb),
8077 (hildon_pannable_area_button_release_cb),
8078 (hildon_pannable_area_expose_event),
8079 (hildon_pannable_area_add),
8080 (hildon_pannable_area_remove),
8081 (hildon_pannable_area_realize),
8082 (hildon_pannable_area_size_allocate),
8083 (hildon_pannable_area_class_init),
8084 (hildon_pannable_area_init),
8085 (hildon_pannable_area_scroll_to_child),
8086 (hildon_pannable_area_jump_to_child): Fixed the problem of
8087 removing the child from the GtkBin, we have rearranged the widget
8088 hierarchy, now there is no GtkAlignment which was not doing
8089 anything interesting but breaking some of the assumptions of
8090 GtkContainer. Now developers if they want to add a GtkAlignment
8091 they could, but it is not inside the area.
8093 We had to review the whole allocation/expose process, now it is
8094 improved and we save at least three signals which would be saving
8095 some time when rendering the widget. The allocation of the
8096 scrollbars is now made in the allocate method as usual.
8098 We have also added some conditions in order to control when there
8099 is no child of the pannable area. Maybe we will need more work
8102 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8104 * src/hildon-pannable-area.c,
8105 (hildon_pannable_area_dispose): Released the fade-out timeout when
8106 disposing the widget.
8108 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8110 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8111 zero, we are going to use that property in order to deactivate the
8113 (hildon_pannable_axis_scroll),
8114 (hildon_pannable_area_size_allocate): Added conditions to control
8115 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8116 call, now it is called in all situations and we can remove calls
8117 in the allocate method.
8118 (hildon_pannable_area_map): Control the situation when
8119 overshoot_max is zero, we do not need the timeout.
8120 (hildon_pannable_area_class_init): Added documentation in order to
8121 point out that setting zero to overshoot_max means deactivate
8124 NOTE: removed trailing whitespaces from my previous comments of
8127 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8129 * src/hildon-pannable-area.c
8130 (hildon_pannable_area_get_property),
8131 (hildon_pannable_area_set_property),
8132 (hildon_pannable_area_map),
8133 (hildon_pannable_area_class_init),
8134 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8135 to cause the widget give a hint about its panning abilities upon
8138 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8140 * src/hildon-pannable-area.c: Several documentation improvements.
8142 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8144 * src/hildon-program.c
8145 * src/hildon-stackable-window.c: Update documentation.
8147 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8149 * src/hildon-stackable-window.c (get_previous_window_if_last):
8150 Renamed get_last_window()
8151 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8152 (hildon_stackable_window_unset_program):
8154 (get_previous_window_if_last):
8155 Detect if the window hasn't been added to a HildonProgram.
8157 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8159 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8161 * src/hildon-pannable-area.c
8162 (hildon_pannable_area_button_press_cb),
8163 (hildon_pannable_axis_scroll),
8164 (hildon_pannable_area_scroll),
8165 (hildon_pannable_area_timeout),
8166 (hildon_pannable_calculate_vel_factor),
8167 (hildon_pannable_area_get_property),
8168 (hildon_pannable_area_set_property),
8169 (hildon_pannable_area_class_init),
8170 (hildon_pannable_area_init),
8171 (hildon_pannable_area_scroll_to),
8172 (hildon_pannable_area_jump_to),
8173 (hildon_pannable_area_scroll_to_child),
8174 (hildon_pannable_area_jump_to_child):
8175 * src/hildon-pannable-area.h: Added the new API functions:
8176 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8177 hildon_pannable_area_scroll_to_child,
8178 hildon_pannable_area_jump_to_child
8181 * examples/Makefile.am
8182 * examples/hildon-pannable-area-example-2.c
8183 * examples/hildon-pannable-area-example-3.c: Added these two new
8184 examples in order to test and show how the new APIs work.
8186 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8188 * examples/hildon-stackable-window-example.c (new_window):
8189 * src/Makefile.am (noinst_HEADERS):
8190 * src/hildon-program.c (hildon_program_go_to_root_window):
8191 * src/hildon-program.h:
8192 * src/hildon-stackable-window-private.h:
8193 * src/hildon-stackable-window.c:
8194 * src/hildon-stackable-window.h:
8195 Create hildon-stackable-window-private.h
8196 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8198 * examples/hildon-app-menu-example.c (create_menu):
8199 * examples/hildon-hvolumebar-insensitive-example.c (main):
8200 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8201 * examples/hildon-toolbar-seekbar-example.c (main):
8202 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8203 * src/hildon-banner.c (hildon_banner_set_property):
8204 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8205 Fix compilation warnings
8207 * src/hildon-window.c:
8210 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8212 * src/hildon-stackable-window.c
8213 (hildon_stackable_window_unset_program):
8214 Calculate correctly whether to show the previous window if the
8215 last one is removed from the stack.
8216 (hildon_stackable_window_go_to_root_window):
8217 Send delete events starting from the topmost window.
8218 Stop if one of the windows is not destroyed.
8220 (hildon_stackable_window_delete_event)
8221 (hildon_stackable_window_class_init):
8222 Ignore the delete event if the window is not the topmost one.
8224 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8226 * src/hildon-pannable-area.c
8227 (hildon_pannable_area_expose_event): Fixed a problem when
8228 selecting the background color of the scrollbars.
8230 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8232 * examples/hildon-stackable-window-example.c
8233 * src/hildon-stackable-window.c
8234 * src/hildon-stackable-window.h
8235 hildon_stackable_window_go_home() renamed to
8236 hildon_stackable_window_go_to_root_window()
8237 Send delete events to windows rather than closing them with
8238 gtk_widget_destroy()
8240 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8242 * src/hildon-pannable-area.c
8243 (hildon_pannable_area_button_release_cb): Fix overshooting in
8246 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8248 * src/hildon-pannable-area.c
8249 (hildon_pannable_area_init): Initially show the scroll indicators.
8250 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8252 Add initial effect showing the widget is pannable.
8254 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8256 * src/hildon-pannable-area.c
8257 (hildon_pannable_area_class_init)
8258 (hildon_pannable_area_set_property)
8259 (hildon_pannable_area_get_property)
8260 (hildon_pannable_area_button_press_cb):
8261 New 'velocity_fast_factor' property to decide which velocity is
8264 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8266 * src/hildon-pannable-area.c
8267 (hildon_pannable_draw_hscroll)
8268 (hildon_pannable_draw_vscroll):
8269 Use float variables to calculate the size of the scrollbars to
8270 avoid error propagation and resizing during scrolling.
8272 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8274 * src/hildon-pannable-area.c
8275 (hildon_pannable_draw_vscroll)
8276 (hildon_pannable_draw_hscroll):
8277 Define a minimum size for the scroll bars
8279 * src/hildon-stackable-window.c
8280 (hildon_stackable_window_go_home): Fix compilation warning
8281 (get_last_window): Minor optimizations
8282 (hildon_stackable_window_class_init): Fix initialization of
8285 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8287 * src/hildon-stackable-window.c: Fixed typos in doc
8289 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8291 * src/hildon-pannable-area.c
8292 (hildon_pannable_area_scroll):
8293 Calculate here whether we need to scroll instead of using the booleans
8294 that tell us whether to /draw/ the scrolling bars.
8296 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8298 * src/hildon-app-menu.h
8300 * src/hildon-app-menu.c
8301 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8302 multiple filter groups related code and API. Now we support only
8304 * examples/hildon-app-menu-example.c:
8306 Update to reflect API changes.
8308 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8310 * src/hildon-stackable-window.c
8311 (hildon_stackable_window_class_init):
8312 Add hildon_stackable_window_realize.
8313 (hildon_stackable_window_realize):
8314 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8315 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8316 to apply theming and behavior specific to HildonStackableWindow
8319 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8321 * src/hildon-note.c (hildon_note_button_release):
8322 Close information notes also when tapping on them
8324 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8326 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8327 ELASTICITY, refactor and review, fix some issues with drawing
8330 * src/hildon-pannable-area.c:
8331 (hildon_pannable_area_button_press_cb): removed the conditions to
8332 avoid clicks when overshooting. It is not required
8334 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8335 define. Refatored and reviewed the code, now we do not need to
8336 manage velocity in motion_notify.
8338 (hildon_pannable_area_motion_notify_cb): We have moved the code
8339 that controls the area_scroll to the axis_scroll function and get
8340 rid of duplicated code.
8342 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8344 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8346 (hildon_pannable_draw_vscroll),
8347 (hildon_pannable_draw_hscroll): Fixed the problems with the
8348 scrollbar drawing, now we do not use two surfaces, it is easier
8349 and saves resources.
8351 (hildon_pannable_area_get_property): Style modification.
8353 (hildon_pannable_area_class_init): Changed some default values.
8355 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8357 * src/hildon-stackable-window.c: Fix some typos in the
8360 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8362 * src/hildon-dialog.c:
8363 Change indentation style
8366 (hildon_note_button_release):
8367 Use root coordinates to check if the release event happened
8370 * src/hildon-app-menu.c
8371 (hildon_app_menu_button_release):
8372 Remove unnecessary check
8374 * examples/hildon-app-menu-example.c
8376 Add cast to fix warning
8378 * src/hildon-app-menu.c
8379 (hildon_app_menu_class_init):
8380 New inner-border style property.
8381 Set all default spacings to 16
8382 (hildon_app_menu_init):
8383 Use vertical-spacing to set the space between filter buttons and
8384 regular menu buttons.
8385 Set the default container border using the inner-border value.
8387 * examples/hildon-app-menu-example.c
8389 Don't set the menu border explicitly, now we have the inner-border
8390 style property for that.
8392 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8394 * src/hildon-app-menu.c (hildon_app_menu_init):
8395 Make the window modal
8397 * src/hildon-note.c (hildon_note_map)
8398 * src/hildon-app-menu.c (hildon_app_menu_map):
8399 Destroy the grab window if we're unable to grab the pointer
8401 * src/hildon-app-menu-private.h
8402 * src/hildon-app-menu.c
8403 (hildon_app_menu_init, hildon_app_menu_finalize)
8404 (hildon_app_menu_map, hildon_app_menu_unmap)
8405 (hildon_app_menu_button_release)
8406 (grab_transfer_window_get):
8407 Bring back the grab window
8408 (hildon_app_menu_realize):
8409 Decorate the window, set WM hint for Matchbox
8411 * src/hildon-note.c (hildon_note_realize):
8412 * src/hildon-banner.c (hildon_banner_realize):
8413 Add WM hints for Matchbox
8415 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8417 * src/hildon-app-menu-private.h
8418 * src/hildon-app-menu.c
8419 (hildon_app_menu_init, hildon_app_menu_finalize)
8420 (hildon_app_menu_map, hildon_app_menu_unmap)
8421 (hildon_app_menu_button_release):
8422 Remove the grab window, it's not needed anymore
8424 * src/hildon-program.c
8425 Fixed typo in documentation
8427 * src/hildon-app-menu.h
8428 * src/hildon-app-menu.c
8429 * examples/hildon-app-menu-example.c
8430 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8432 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8435 Added new transfer_window and close_if_pressed_outside private
8437 (hildon_note_rebuild):
8438 Don't add a cancel button to the information note. It will be
8439 closed when tapping outside
8440 Remove the comment about the OK button in the documentation
8441 (hildon_note_realize):
8442 Set the notification type hint
8443 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8444 Grab/ungrab pointer and keyboard if the note has to be closed when
8446 (hildon_note_button_release):
8447 Close the note when tapping outside (if applicable)
8449 * src/hildon-app-menu.c
8450 Grab/ungrab pointer and keyboard on map/unmap
8451 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8452 Close the menu on button release, not button press
8454 * src/hildon-banner.c
8455 (hildon_banner_set_property)
8456 (hildon_banner_check_position):
8457 Make the banner use the full width of the screen
8458 (hildon_banner_show_information)
8459 (hildon_banner_show_information_with_markup):
8460 Don't display an icon by default
8462 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8464 Added fading scrollbars and adapted all the overshooting code to
8465 horizontal scrolling. We have also fixed bugs with overshooting
8466 and current fading implementation.
8468 * src/hildon-pannable-area.c
8469 (hildon_pannable_area_scroll_indicator_fade): Time out function
8470 used to change the transparency of the scrollbars.
8472 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8473 control and fixed a problem with fading, we now remove the fade
8474 timeout before adding a new one.
8476 (hildon_pannable_axis_scroll):
8477 (hildon_pannable_area_scroll):
8478 (hildon_pannable_area_timeout): Added this functions so we can use
8479 the scroll code both for vertical and horizontal.
8481 (hildon_pannable_area_motion_notify_cb):
8482 (hildon_pannable_area_button_release_cb): Added the horizontal
8483 scrolling control, fixed a problem with the overshooting timeout.
8485 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8486 painting of the scrolls.
8488 (hildon_pannable_draw_vscroll):
8489 (hildon_pannable_draw_hscroll):
8490 (hildon_pannable_area_expose_event):
8491 Draw both scrollbars and rectangles in the overshooting area.
8493 (hildon_pannable_area_get_property):
8494 (hildon_pannable_area_set_property):
8495 Modified the overshoot property to overshoot_max
8497 (hildon_pannable_area_map):
8498 Replaced the comments symbols.
8500 (hildon_pannable_area_size_allocate):
8501 (hildon_pannable_area_class_init):
8502 (hildon_pannable_area_init): Added horizontal scroll, fading
8503 effect properties, fixed a problem when overshooting in the bottom
8506 * examples/hildon-pannable-area-example.c:
8507 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8508 looks better in the example.
8510 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8512 * src/hildon-window.c
8513 * src/hildon-window.h
8514 (hildon_window_class_init)
8515 (hildon_window_unset_program)
8516 (hildon_window_unset_program_real):
8517 Make unset_program a virtual function
8519 * src/hildon-stackable-window.c
8520 * src/hildon-stackable-window.h
8521 Added hildon_stackable_window_go_home()
8523 * examples/Makefile.am
8524 * examples/hildon-stackable-window-example.c
8525 HildonStackableWindow example
8527 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8529 * hildon-pannable-area.c: Added the overshoot property and removed
8530 the OVERSHOOT define. Fixed an indent style error.
8531 (hildon_pannable_area_motion_notify_cb):
8532 (hildon_pannable_area_get_property):
8533 (hildon_pannable_area_set_property): Add overshoot property.
8535 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8538 (hildon_pannable_area_class_init): Installed the new property.
8540 * hildon-pannable-area-example.c: Added a sawtooth function, this
8541 way it is easier to check the movement in the pannable.
8542 (get_sawtooth_label): Added this function.
8543 (main): Now we get the labels from the new get_sawtooth_label
8546 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8548 * src/hildon-app-menu.h
8549 * src/hildon-app-menu.c
8550 Renamed API variables for consistency
8552 (hildon_app_menu_popup): Use also the default window size to
8553 decide where to place the menu
8555 (hildon_app_menu_init, hildon_app_menu_class_init): New
8556 external-border style property
8558 2008-05-26 Michael Natterer <mitch@imendio.com>
8560 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8561 widget_class->tap_and_hold_setup signal slot doesn't exist any
8562 longer, stop overriding it.
8564 (hildon_time_editor_init): g_signal_connect() to the
8565 tap-and-hold-setup signal instead.
8567 (hildon_time_editor_entry_keypress): add cast to fix warning.
8569 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8571 * doc/hildon-docs.sgml
8573 * examples/Makefile.am
8574 * examples/hildon-app-menu-example.c
8576 * src/hildon-app-menu-private.h
8577 * src/hildon-app-menu.c
8578 * src/hildon-app-menu.h
8580 New HildonAppMenu widget
8582 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8584 Rearranged the inheritance of the pannable area, now it inherits
8585 from GtkBin. This will allow us to control the event_window and
8586 the allocation process of the widget, required for some effects.
8588 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8589 GtkBin structures. * src/hildon-pannable-area.c: Added the
8590 event_window variable.
8591 (hildon_pannable_area_button_press_cb):
8592 (hildon_pannable_area_button_release_cb):
8593 (hildon_pannable_area_motion_notify_cb):
8594 Changed the signature of the method, now we override the event
8595 callback instead of connecting to the signal.
8597 (hildon_pannable_area_realize):
8598 (hildon_pannable_area_unrealize):
8599 (hildon_pannable_area_map):
8600 (hildon_pannable_area_unmap):
8601 (hildon_pannable_area_size_allocate):
8602 Added functions to control the widget construction. We add a
8603 INPUT_ONLY window and we put it over the widgets inside the
8604 container, this event_window handles the events.
8606 (hildon_pannable_area_class_init):
8607 Replaced the signal connections with overrides of the event
8610 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8612 Bouncing effect added when touching the borders, you can change
8613 the elasticity of the border changing the ELASTICITY define.
8615 * src/hildon-pannable-area.c: Added ELASTICITY define.
8616 (hildon_pannable_area_timeout): Added inverse velocity when
8617 touching the border of the child widget, that causes a bounce.
8619 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8621 Improved performance, we now do not go to the X server in order to
8622 get the list of window children. Apparently the effect is the
8623 same, we have to be careful and check if this breaks something in
8626 * src/hildon-pannable-area.c:
8627 (get_ordered_children): Removed this function.
8628 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8629 the children windows function with gdk_window_get_children.
8631 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8633 * src/hildon-pannable-area.c:
8634 (hildon_pannable_area_dispose): Fixed a crash when closing the
8635 window and kinetics is activated.
8637 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8639 * src/hildon-pannable-area.h
8640 * src/hildon-pannable-area.c
8641 Changed indentation style to meet the one used in Hildon
8643 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8645 Reviewed the interaction of the AUTO mode, now we use the time
8646 attribute of the events and calculate the velocity in the motion,
8647 doing a gimp like calculation. The velocity is calculated in each
8648 motion event using the last velocity and the current one, the
8649 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8651 * src/hildon-pannable-area.c: Replaced the time based algorithm
8653 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8654 timeout for the AUTO mode when we are still moving the cursor. We
8655 added also the velocity calculation in this function.
8656 (hildon_pannable_area_button_release_cb): launch the timeout in
8657 case we are in AUTO mode. There are still some constants here that
8658 come from the old implementation that should be reviewed and
8661 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8663 * doc/hildon-docs.sgml
8666 * src/hildon-stackable-window.c
8667 * src/hildon-stackable-window.h
8669 New HildonStackableWindow widget
8671 * examples/hildon-dialog-example.c
8672 * examples/hildon-pannable-area-example.c
8675 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8677 * src/hildon-dialog.c
8678 (hildon_dialog_new_with_buttons): New constructor.
8680 * examples/hildon-dialog-example.c
8681 (main): Update the example to use the new
8682 hildon_dialog_new_with_buttons().
8684 * examples/hildon-pannable-area-example.c
8685 (main): Update example.
8687 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8689 * doc/hildon-docs.sgml
8691 Added HildonPannableArea to the documentation.
8693 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8695 * doc/visual_index.xml
8696 Fix reference to HildonLoginDialog in documentation
8698 * doc/hildon-docs.sgml
8700 * examples/Makefile.am
8701 * examples/hildon-dialog-example.c
8703 * src/hildon-dialog.c
8704 * src/hildon-dialog.h
8706 New HildonDialog widget.
8708 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8710 * src/hildon-pannable-area.c
8711 Merge latest changes (r4318, r4342) from libmokoui trunk
8713 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8715 * examples/Makefile.am
8716 * examples/hildon-pannable-area-example.c
8718 * src/hildon-pannable-area.c
8719 * src/hildon-pannable-area.h
8721 New HildonPannableArea widget.
8723 2008-04-15 18:05:19 <timj@imendio.com>
8725 * src/hildon-banner.c: revert the recent change, that introduced
8726 gtk_window_present() calls. this reopens:
8727 Bug 78481 - [freetest] information banners are hidden under browser menu
8728 But resolves another variant of:
8729 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8731 2008-04-15 13:21:13 <timj@imendio.com>
8733 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8734 recreated its layout, spotted by Kris. this fixes all remaining
8735 artefacts and stability issues with the banner code. in particular:
8736 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8738 2008-04-14 16:52:59 <timj@imendio.com>
8740 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8741 operating on unrealized widgets, fixes:
8742 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8744 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8746 2008-04-09 Kristian Rietveld <kris@imendio.com>
8748 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8749 makes banner disappear.
8750 Fixes: NB#79182: info banner flickering with certain message lengts.
8752 * src/hildon-banner.c (hildon_banner_constructor),
8753 (hildon_banner_init), (hildon_banner_set_text),
8754 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8755 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8756 FALSE, reset size requests of label and banner,
8757 (force_to_wrap_truncated): when the text is too wide, always enforce
8758 the maximum possible width instead of recalculating it from the
8759 layout; enforce the maximum banner height of 3 lines,
8760 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8761 nicer wrapping and no truncated chars if space gets tight.
8763 * src/hildon-banner-private.h: add has_been_wrapped and
8764 has_been_truncated fields.
8766 2008-04-07 Sven Herzberg <sven@imendio.com>
8768 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8769 local values in hildon_date_editor_size_allocate
8771 * src/hildon-date-editor.c: moved the real allocation code into the
8774 2008-04-07 Sven Herzberg <sven@imendio.com>
8776 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8777 local values in hildon_date_editor_size_allocate
8779 * src/hildon-date-editor.c: merged the two if() branches together
8781 2008-04-07 Sven Herzberg <sven@imendio.com>
8783 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8784 local values in hildon_date_editor_size_allocate
8786 * src/hildon-date-editor.c: changed the arguments of the if()
8789 2008-04-07 Sven Herzberg <sven@imendio.com>
8791 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8792 local values in hildon_date_editor_size_allocate
8794 * src/hildon-date-editor.c: split the calculation of the allocation
8795 from the real allocation
8797 2008-03-27 Michael Natterer <mitch@imendio.com>
8799 Fixes: NB#81696: The passcode is not overwritten even after
8802 * src/hildon-code-dialog.c
8803 (hildon_code_dialog_button_clicked)
8804 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8805 because that doesn't overwrite selected text. Instead, emit the
8806 "commit" signal on the entry's im_context so the entry's normal
8807 insert logic is triggered. Set the cursor to the end of the entry
8808 after each insert operation so that we *only* insert in the middle
8809 of the text if something was selected.
8811 2008-03-27 Michael Natterer <mitch@imendio.com>
8813 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8814 selector cannot be opened
8816 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8817 when the popup color selector is created. Please connect to this
8818 signal in order to set the dialog's help ID.
8820 2008-03-25 Sven Herzberg <sven@imendio.com>
8822 Fixes: MB#1212: Hide info banners (infoprints) on click
8824 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8825 extracted the close event simulation into an extra function
8826 (hildon_banner_button_press_event): simulate a close event and destroy
8827 the widget if the event wasn't handled
8828 (hildon_banner_class_init): added the button_press_event handler
8829 (hildon_banner_init): added button-press events to the widget
8831 2008-03-25 Sven Herzberg <sven@imendio.com>
8833 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8834 Patch from: Mohammad Anwari <mdamt@maemo.org>
8836 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8837 instead of the right in RTL mode
8838 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8839 breadcrumb button list in RTL mode
8840 * src/hildon-caption.c: mirror the appearance of the caption widget in
8842 * src/hildon-date-editor.c: mirror appearance of the date editor in
8844 * src/hildon-time-editor.c: mirror appearance of the time editor in
8846 * src/hildon-window.c: fix the position of the popup in RTL mode
8848 2008-03-25 Sven Herzberg <sven@imendio.com>
8850 Amendment to the fix of NB#22072. Fix compilation.
8852 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8854 2008-03-19 Sven Herzberg <sven@imendio.com>
8856 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8859 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8860 timeout id properly when the timeout will disappear this leaves no
8861 artifacts around in the destroy(); there will only be the timeout
8862 created by hildon_banner_ensure_timeout() and adding a new timeout
8863 will also work if the timeout gets removed because the timeout_handler
8866 2008-03-19 Michael Natterer <mitch@imendio.com>
8868 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8870 * src/hildon-volumebar.c
8871 * src/hildon-vvolumebar.c
8872 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8873 the widget becomes focussable at all.
8875 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8876 set the focus to wither the mute button or the volumebar.
8878 Remove own "can-focus" property and instead listen to
8879 notify::can-focus in order to update the widget's state.
8881 Implement GtkWidget::focus() and make sure we can also *leave* the
8882 widget, not only enter it, depending on volumebar orientation and
8883 requested focus direction.
8885 Clean up set_mute() to cooperate nicely with all the above.
8887 2008-03-04 Michael Natterer <mitch@imendio.com>
8889 Fixes: NB#78481: information banners are hidden under browser menu
8891 * src/hildon-banner.c: call gtk_window_present() on the banners so
8892 they are risen if they are already visible.
8894 2008-03-03 Sven Herzberg <sven@imendio.com>
8896 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8898 * examples/hildon-window-menu-example.c: (main): extended the window
8899 menu example to serve as a testcase for automatically added
8900 accelerator groups, too
8901 * src/hildon-window.c: (hildon_window_add_accel_group),
8902 (hildon_window_set_menu): added patch by Tommi Komulainen
8904 2008-03-03 Sven Herzberg <sven@imendio.com>
8906 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8908 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8909 knowledge about the border allocators used within GTK+
8911 2008-02-26 Sven Herzberg <sven@imendio.com>
8913 Fixes: MB#2981: Build with asserts broken
8915 * src/hildon-date-editor.c,
8916 * src/hildon-number-editor.c,
8917 * src/hildon-time-editor.c,
8918 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8919 the proper GType instance check
8921 2008-02-25 Sven Herzberg <sven@imendio.com>
8923 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8925 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8926 * examples/hildon-window-menu-example.c: (main): explicitly show
8928 * src/hildon-window.c:
8929 (hildon_window_set_main_menu): moved most of the code from set_menu()
8930 to this place; skipped the call to gtk_widget_show_all(); also didn't
8931 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8932 (hildon_window_set_menu): removed most of the code, just keep the
8933 questionable gtk_widget_show_all()
8934 * src/hildon-window.h: added the new function and deprecate the old
8937 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8943 * debian/changelog: Updating.
8945 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8948 * pkgconfig/Makefile.am:
8949 * pkgconfig/hildon.pc.in:
8952 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8953 use newly created API_MAJOR_VERSION.
8955 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8961 * debian/changelog: Updating.
8963 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8965 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8967 Add outer_border style property, we use it but don't define it (!).
8971 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8973 * examples/hildon-bread-crumb-trail-example.c (main):
8977 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8979 Fix logic for the bread crumb trail node removal.
8983 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * debian/changelog: Updating.
8991 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8993 Patch by Alejandro to get/set passwords dialogs accesibility.
8995 * hildon-1/src/hildon-get-password-dialog.c:
8996 * hildon-1/src/hildon-set-password-dialog.c:
8997 Set atk_set_name to the passwd entries in order to allow
8998 accessibility by name on this entries.
9000 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * debian/control: Updating gtk dep.
9007 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9009 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9010 USE_MAEMO_GTK is enabled.
9012 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9014 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9015 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9017 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * debian/changelog: Updating.
9025 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * examples/Makefile.am:
9028 * examples/hildon-logical-color-example.c:
9029 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9030 applied + adding a test case. Fixes: NB#71660.
9032 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9034 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9035 to be visible, fixes warning on map for windows without toolbars.
9037 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9039 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9040 2.11.0, add a check for that besides the MAEMO_GTK check.
9042 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9048 * debian/changelog: Updating.
9050 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9053 visibility. Fixes: NB#70842 and MB#615.
9055 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9057 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9058 set the separator as no-show-all so it doesn't unintentionally appear when
9059 someone does a show_all.
9061 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9063 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9064 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9065 toplevel item. Fixes: NB#62031
9067 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9069 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9070 fix the name of the function in the docs.
9072 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9078 * debian/changelog: Updating.
9080 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9082 * examples/hildon-banner-long-example.c: Adding a test-case for long
9085 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9087 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9089 * src/hildon-color-chooser-dialog.c:
9090 * src/hildon-color-chooser.c:
9091 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9092 memory leaks in font selector and color selector. Fixes: NB#70499 and
9095 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9097 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9099 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9102 little bit bigger. Fixes: #NB63694.
9104 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * debian/changelog: Updating.
9112 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9115 * doc/hildon-docs.sgml:
9116 * doc/images/bread-crumb-trail.png:
9117 * doc/images/calendar-popup.png:
9118 * doc/images/caption.png:
9119 * doc/images/code-dialog.png:
9120 * doc/images/color-button.png:
9121 * doc/images/color-chooser-dialog.png:
9122 * doc/images/color-chooser.png:
9123 * doc/images/controlbar.png:
9124 * doc/images/date-editor.png:
9125 * doc/images/font-selection-dialog.png:
9126 * doc/images/get-password-dialog.png:
9127 * doc/images/hvolumebar.png:
9128 * doc/images/login-dialog.png:
9129 * doc/images/note.png:
9130 * doc/images/number-editor.png:
9131 * doc/images/range-editor.png:
9132 * doc/images/seekbar.png:
9133 * doc/images/set-password-dialog.png:
9134 * doc/images/sort-dialog.png:
9135 * doc/images/time-editor.png:
9136 * doc/images/time-picker.png:
9137 * doc/images/vvolumebar.png:
9138 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9139 Adding the bread-crumb-trial and helpers to the documentation.
9141 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * examples/hildon-find-toolbar-example.c:
9144 * src/hildon-find-toolbar.c:
9145 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9146 actually continue firing the other handlers if connected. Adding a new
9148 hildon_find_toolbar_get_last_index that gets the index of the most
9149 recently added (last) item. Fixes: NB#52301.
9151 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9153 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9154 behaviour. Fixes: NB#68610.
9156 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9158 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9161 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9163 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9164 when realizing the banner. Should make the infonbanner effect a bit more
9167 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9169 * src/hildon-volumebar.c:
9170 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9171 hildon_volumebar_set_range_insensitive_message and
9172 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9174 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9176 * src/hildon-window.c: Fixing the border freeing on destroy.
9178 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9180 * src/hildon-code-dialog-private.h:
9181 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9182 kw keyboard support in HildonCodeDialog.
9184 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * debian/changelog: Updating.
9192 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9194 * src/hildon-date-editor.c:
9195 * src/hildon-number-editor.c:
9196 * src/hildon-private.c:
9197 * src/hildon-private.h:
9198 * src/hildon-time-editor.c:
9199 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9200 handling in subclassed composite widgets. Fixes: NB#66628.
9202 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9204 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9205 from destroy_ callback as it introduces problems in async dbus signal
9206 handlers. Fixes NB#66673.
9208 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * examples/hildon-hvolumebar-example.c:
9211 * src/hildon-volumebar.c: Improving the focus handling in the
9212 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9213 set_property accessor so that "mute" property can be actually set. I'm
9214 scared that nobody noticed it's totally broken.
9216 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9218 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9221 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9223 * src/hildon-calendar.c:
9224 * src/hildon-number-editor.c:
9225 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9226 matches the spec of 6 chars per second. Fixes: NB#60489.
9228 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9230 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9231 gtk_style_lookup_color sometime returns FALSE even though color was
9232 found and values were filled properly. Weird. Removing the warning for the
9235 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9237 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9238 expand vertically. Adding some extra space to the find toolbar buttons to
9239 make them thumbable. Fixes NB#66060.
9241 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9243 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9244 popup with "Ok" and "Cancel". Fixes NB#59299.
9246 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9248 * src/hildon-calendar.c: Process all window updates before executing next
9249 timeout. Fixes: NB#54146.
9251 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * debian/changelog: Updating.
9259 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9261 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9262 the client event and ignore it, since we use the delete event to close
9265 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9267 * src/hildon-helper.c: Remove the bogus warning about color not being
9268 found. Fixes NB#58352.
9270 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9272 * examples/Makefile.am:
9273 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9274 HildonSeekbar widget inside a toolbar.
9276 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9278 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9279 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9280 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9281 don't want to be closed by non-temporary windows on map.
9283 Also use G_DEFINE_TYPE instead of manually typed code.
9285 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9292 * debian/rules: Updating.
9294 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9296 * examples/Makefile.am:
9297 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9298 bug NB#61128. Strangely it works.
9300 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9302 * src/hildon-date-editor.c: When the date editor entry has been changed
9303 but the numbers of characters < max, turn off the skip validation flag.
9304 Prevents a situation when we enter first a valid year and later re-write
9305 it with an invalid one. Fixes NB#60154.
9307 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9309 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9310 code dialog. Fixes NB#64355.
9312 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9314 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9315 switching the page. Fixes NB#49374.
9317 * examples/Makefile.am:
9318 * examples/hildon-wizard-dialog-example.c: Adding an example for
9319 HildonWizardDialog that shows how to handle manual sensitivity setting on
9322 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9326 * src/hildon-version.h.in:
9327 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9329 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9331 * src/hildon-volumebar.c: Updating the docs.
9333 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9339 * debian/changelog: Updating.
9341 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9343 * src/hildon-find-toolbar.c:
9344 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9345 selected item: hildon_find_toolbar_set_active,
9346 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9347 hildon_find_toolbar_get_active_iter . They correspond to respective
9348 GtkComboBox functions.
9350 * examples/Makefile.am:
9351 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9354 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9356 * examples/Makefile.am:
9357 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9360 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9361 when font size > 32 and we pack a focusable widget inside. Actually using
9362 the default response would work too, but since we don't show default
9363 response state in any way (no theming) it would not be visible to the
9364 user. Fixes NB#63430.
9366 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9368 * src/hildon-date-editor.c: Adding the missing variable setter in the
9369 set_property handler. Fixes NB#54182.
9371 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9373 * src/hildon-window.h: Changing the long key press time from 1500ms to
9374 800ms as requested in NB#63700. I have a bad feeling about this, let's
9375 see... Fixes NB#63700.
9377 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9379 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9380 hildon_time_picker_map, hildon_time_picker_realize,
9381 hildon_time_picker_style_set): Split the contents of map to more
9382 appropriate functions; set window decorations on realize and update
9383 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9385 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9390 * debian/changelog: Updating.
9392 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9394 * src/Makefile.am: fixed installation of the header files
9396 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9402 * debian/changelog: Updating.
9404 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9406 * configure.ac: Removing some remaining of --enable-xan.
9408 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9410 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9411 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9413 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9414 2.10.12-osso6 because the move-focus signal needs to be available in
9417 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9419 * examples/Makefile.am:
9420 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9421 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9422 fine. Prolly NB#61128 is fixed now.
9424 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9426 * src/hildon-volumebar.c:
9427 * src/hildon-volumebar.h: Adding the
9428 hildon_volumebar_set_range_insensitive_message and
9429 hildon_volumebar_set_range_insensitive_messagef functions to set
9430 insensitive message on the slider of the volumebar. Fixes NB#61129.
9432 * examples/Makefile.am:
9433 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9434 test the new insensitive messsage functionality on HildonVolumebar.
9436 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9438 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9441 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9443 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9444 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9445 button on after clearing the trail.
9447 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9449 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9451 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9453 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9454 by splitting the installed headers in generated and non-generated groups. Use
9455 only the non-generated headers to create the hildon-enum-types.h file.
9457 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9459 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9461 * src/hildon-window.c: Hide the window before performing the destroy.
9462 Should make the app closing a little tiny bit more snappy.
9464 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9466 * src/hildon-seekbar.c: add gtkrange.h header
9467 * src/hildon-caption.c: remove unused variable
9469 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9471 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9474 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9480 * debian/changelog: Updating.
9482 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9484 * src/hildon-window.c (hildon_window_window_state_event,
9485 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9486 escape timeout on focus-out-event rather than notify::is-topmost; the
9487 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9489 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9491 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9492 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9494 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9496 * src/hildon-window: actually, you need to use the macro always, there's
9497 no private pointer in the instance structure. We should have cleaned this up
9498 when we had the chance...
9500 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9502 * src/hildon-window.c: do not get the private date from HildonWindow before
9503 it passes the g_return_if_fail check. Once it's passed the test, there's no
9504 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9505 if you are only going to access the data once. Whitespace cleanups.
9507 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9509 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9510 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9512 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9518 * debian/changelog: Updating.
9520 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9522 * src/hildon-window.c: When destroying the window, remove (if exists) the
9523 escape timeout handler. Fixes #NB59276.
9525 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9527 * src/hildon-banner.c: When realizing the widget, set the window
9528 transiency. Setting the transiency in the gobject constructor is not
9529 good, as the widget is not realized at that point. Fixes: #NB56624.
9531 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9533 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9534 Add padding for future expansions.
9536 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9538 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9539 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9540 will fake an activation on the previous to the last item of the trail, so
9541 the effect can be overrided by the developer as usual.
9542 Also change the callback for the back button to do the same thing, so its
9543 effect can be overrided too. Fixes: NB#58982
9545 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9547 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9548 HildonCaption. Fixes NB#52379.
9550 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9552 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9553 the internal state of the trail after the user has had the chance of executing
9554 his handler for the signal. Specifically, it may happen that the activated button
9555 is removed and the user still lets the default handler run. This would segfault
9558 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9560 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9561 scrollbar to the preview dialog. Fixes NB#54147.
9563 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9565 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9566 max/min year properties can be altered, so the client can modify it
9567 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9569 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9571 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9572 hildonlike by default. Fixing a problem with disappearing arrows when
9573 scrolling through months and years. Fixes NB#54127.
9575 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9577 * examples/hildon-date-editor-example.c: Adding error callback to the date
9580 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9586 * configure.ac: Updating.
9588 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9590 * configure.ac: Adding a special '--enable-xan' configure option that
9591 turns off the -Werror compilation setting. Usefull for development.
9593 * src/hildon-calendar.c:
9594 * src/hildon-number-editor.c:
9595 * src/hildon-time-picker.c: Adding the 5* multiplier to
9598 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9600 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9601 instead of g_object_ref + gtk_object_sink.
9603 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9609 * debian/changelog: Updating.
9611 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9613 * src/hildon-color-chooser-dialog.c:
9614 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9615 straight from Tommi labs.
9617 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9619 * examples/hildon-finger-example.c: Correcting the header file path.
9621 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9622 the changed signal. Fixes a small memory leak.
9624 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9628 * src/hildon-banner.c: Importing several usefull fixes from the
9629 ubuntu-mobile branch.
9631 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9633 * examples/Makefile.am:
9634 * examples/hildon-finger-example.c: Adding a finger-checking code
9637 * src/hildon-font-selection-dialog.c: Do not allocate the color
9638 structure using the g_new. Fixes NB#54061.
9640 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9642 * src/hildon-helper.c: Correcting tabs in file.
9644 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9646 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9647 control the visibility of the children.
9649 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9651 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9657 * debian/changelog: Updating.
9659 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9661 * src/hildon-bread-crumb-trail.c:
9662 (hildon_bread_crumb_trail_size_allocate):
9664 Make the back button always a square.
9666 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9668 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9669 from the .c file as it's a private file.
9671 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9673 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9674 uses slightly bigger height.
9676 * src/hildon-font-selection-dialog.c: Adding some checks before
9677 freeing memory in the font selection dialog.
9679 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9681 * src/hildon-font-selection-dialog.c: Adding a small check when
9684 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9685 buttons sensitivity on page switching.
9687 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9689 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9690 internal details of adding a bread crumb to the trail.
9692 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9698 * debian/changelog: Updating.
9700 * src/hildon-bread-crumb-trail.h:
9701 * src/hildon-bread-crumb.h: Changing the API guard to
9702 HILDON_ENABLE_UNSTABLE_API.
9704 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9712 * src/hildon-helper.h: Updating.
9714 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9722 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9726 * src/hildon-helper.h: Small fix to make the package actually compile.
9728 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9730 * src/hildon-bread-crumb-trail.h:
9731 * src/hildon-bread-crumb.h:
9733 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9734 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9736 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9738 * examples/hildon-bread-crumb-trail-example.c:
9740 * src/hildon-bread-crumb-trail.c:
9741 * src/hildon-bread-crumb-trail.h:
9742 * src/hildon-bread-crumb.c:
9743 * src/hildon-bread-crumb.h:
9744 * src/hildon-marshalers.list:
9745 * src/hildon-bread-crumb-widget.c:
9746 * src/hildon-bread-crumb-widget.h:
9748 Slight change in the widget design. The bread crumb trail API is
9749 unchanged, but HildonBreadCrumb is now an interface. A *private*
9750 implementation, hildon-bread-crumb-widget, is provided and used
9751 internally by the trail for the push_text/push_icon functions.
9753 The generic push API is still available, so anyone can implement
9754 and use its own bread crumb widget.
9756 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9758 * debian/rules: Fixing the shlibs.
9760 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9762 * src/hildon-banner.c: Fixing a problem with timed banners having
9763 their parrent destroyed before they are.
9765 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9767 * src/hildon-bread-crumb.c:
9768 * src/hildon-bread-crumb.h:
9770 Make the get_natural_size function a vfunc.
9772 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9774 * src/hildon-bread-crumb.c:
9775 * src/hildon-bread-crumb-trail.c:
9779 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9786 * debian/changelog: Updating for release.
9788 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9790 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9791 don't leak the pango layout.
9793 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9796 * examples/hildon-bread-crumb-trail-example.c:
9800 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9802 * debian/changelog: Removing the bug-fixed entries that were actually
9803 resolved as WONTFIX.
9805 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9808 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9810 * src/hildon-bread-crumb-trail.c:
9811 * src/hildon-bread-crumb-trail.h:
9812 * src/hildon-bread-crumb.c:
9813 * src/hildon-bread-crumb.h:
9817 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9819 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9820 until it's passed the type check.
9822 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9824 * examples/hildon-bread-crumb-trail-example.c
9828 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9830 * examples/Makefile.am
9831 * examples/hildon-bread-crumb-trail-example.c
9833 * src/hildon-bread-crumb-trail.c
9834 * src/hildon-bread-crumb-trail.h
9835 * src/hildon-bread-crumb.c
9836 * src/hildon-bread-crumb.h
9838 New HildonBreadCrumbTrail widget.
9840 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9842 * src/hildon-range-editor.c (hildon_range_editor_init),
9843 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9844 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9845 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9846 hildon_time_editor_class_init, hildon_time_editor_init),
9847 src/hildon-get-password-dialog.c (invalid_input,
9848 hildon_get_password_set_property, hildon_get_password_get_property,
9849 create_contents, hildon_get_password_dialog_set_max_characters),
9850 src/hildon-set-password-dialog.c (create_contents),
9851 src/hildon-date-editor.c (hildon_date_editor_init),
9852 src/hildon-login-dialog.c (hildon_login_dialog_init),
9853 src/hildon-number-editor.c (hildon_number_editor_init),
9854 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9855 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9856 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9857 configure option and adding the respective checks in the code.
9858 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9859 hildon_calendar_drag_data_received): fixed some build warnings.
9861 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9863 * debian/changelog: A 1.0.0 release notes.