1 2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
3 Do not return gboolean in GtkButton:clicked signal handlers
5 * examples/hildon-banner-example.c:
6 (on_information_clicked), (on_animation_clicked),
7 (on_progress_clicked): GtkButton:clicked handlers do not return
10 2009-09-17 Alberto Garcia <agarcia@igalia.com>
12 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
13 Use the Xlib API to take window screenshots, since the GDK API
14 doesn't allow us to set the event mask.
16 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
19 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
21 [2.2.0 Release Candidate 6]
23 * debian/changelog: bump and updates.
25 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
27 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
28 free a GList and avoid potential memory corruption.
30 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
32 [2.2.0 Release Candidate 5]
35 * debian/changelog: bump and updates
37 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
39 Do not set any flag for empty legacy menus
41 * hildon/hildon-program.c: (hildon_program_set_common_menu):
42 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
43 This will probably not work fine with empty legacy menus added to
44 programs or windows and populated later, but so it's life.
46 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
48 Update the application menu flag for application-wise windows
50 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
51 (hildon_program_set_common_app_menu): Also take into account the visibility
54 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
56 Emit HildonAppMenu::changed when menu items change visibility
58 * hildon/hildon-app-menu.c: (item_visibility_changed),
59 (filter_visibility_changed): Also emit ::changed on
60 visibility of items changed.
62 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
64 Do not set the menu flag in a window when a menu is empty
66 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
67 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
68 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
69 changes by using the HildonAppMenu::changed signal.
71 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
73 Add HildonAppMenu::changed signal
75 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
76 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
77 Emit a new HildonAppMenu:changed signal when there are changes in
80 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
82 Add hildon_app_menu_has_visible_children() private method
84 * hildon/hildon-app-menu-private.h: Add below private method.
85 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
86 New method to check the visibility of a HildonAppMenu children.
88 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
90 Set the window menu flag for application-common menus
92 * hildon/hildon-program.c:
93 (+hildon_program_window_set_common_menu_flag): Set or remove the
94 menu flag from a window only this doesn't have its own menu.
95 (+hildon_program_set_common_menu_flag): adjust menu flag for
96 all windows in the program.
97 (hildon_program_add_window),
98 (hildon_program_remove_window): add/remove the menu flag when
99 a window is added to the program.
101 Fixes: NB#137814 (Indicator for view menu in app title area)
103 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
105 Set a special window property for windows with menus
107 * hildon/hildon-window-private.h: Add private
108 hildon_window_set_menu_flag()
109 * hildon/hildon-window.c: (+do_set_has_menu),
110 (+hildon_window_set_menu_flag): set
111 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
112 or remove the property.
113 (hildon_window_set_main_menu),
114 (hildon_window_set_app_menu): call above methods to set or remove
115 the property when a menu is added or removed from the window.
117 Partially fixes: NB#137814 (Indicator for view menu in app title area)
119 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
121 Rename and move the methods to set flags to hildon-private.h
123 * hildon/hildon-gtk.c: (do_set_progress_indicator),
124 (do_set_do_not_disturb), (do_set_portrait_flags): call
125 the new private method hildon_gtk_window_set_clear_window_flag()
126 (hildon_gtk_window_set_progress_indicator),
127 (hildon_gtk_window_set_do_not_disturb),
128 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
129 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
130 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
132 * hildon/hildon-private.h: Add the two new private methds.
134 2009-09-11 Alejandro G. Castro <alex@igalia.com>
136 * hildon/hildon-pannable-area.c,
137 (hildon_pannable_area_init),
138 (hildon_pannable_area_size_allocate),
139 (hildon_pannable_area_button_release_cb): More tuning of the
140 speed, adding a way to calculate the acceleration and fast-panning
141 based on the child size.
143 2009-09-10 Alberto Garcia <agarcia@igalia.com>
145 * hildon/hildon-touch-selector.c
146 (hildon_touch_selector_class_init):
147 Documentation updates
151 2009-09-10 Alberto Garcia <agarcia@igalia.com>
153 * hildon/hildon-touch-selector.c:
154 Documentation updates
156 Fixes: MB#5104 (HildonTouchSelector docs should say no
157 HildonPannableArea is necessary)
159 2009-09-08 Alejandro G. Castro <alex@igalia.com>
161 * hildon/hildon-pannable-area.c,
162 (hildon_pannable_area_timeout): Fixed problem with the timeout
163 function, we need to move before decelerating the first time or we
164 are loosing the first jump.
166 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
168 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
170 [2.2.0 Release Candidate 3]
172 * debian/changelog: updates
174 2009-09-07 Alejandro G. Castro <alex@igalia.com>
176 * hildon/hildon-pannable-area.c,
177 (hildon_pannable_area_class_init): Increased max speed.
179 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
181 [2.2.0 Release Candidate 2]
184 * debian/changelog: bump version, updates
186 2009-09-07 Alejandro G. Castro <alex@igalia.com>
188 * hildon/hildon-pannable-area.c,
189 (hildon_pannable_area_class_init),
190 (hildon_pannable_area_button_release_cb): More tuning for the
193 2009-09-07 Alejandro G. Castro <alex@igalia.com>
195 * hildon/hildon-pannable-area.c,
196 (hildon_pannable_area_class_init):
197 Change the default value of the scrollbar_fade_delay.
199 Fixes: NB#127018 (Panning indicator fades out too slowly)
201 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
203 [2.2.0 Release Candidate 1]
206 * configure.ac: Bump version
207 * debian/changelog: updates
209 2009-09-04 Alejandro G. Castro <alex@igalia.com>
211 * hildon/hildon-pannable-area.c,
212 (hildon_pannable_area_init),
213 (hildon_pannable_area_button_press_cb),
214 (hildon_pannable_area_button_release_cb): Added a new acceleration
215 system to help traversing big lists, tuned the stop threshold.
217 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
219 2009-09-04 Alberto Garcia <agarcia@igalia.com>
221 * hildon/hildon-window.h:
222 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
224 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
226 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
230 * configure.ac: bump version
232 * debian/changelog: updates
234 2009-09-04 Alberto Garcia <agarcia@igalia.com>
236 * hildon/hildon-entry.c
237 * hildon/hildon-text-view.c:
238 Documentation updates
240 2009-09-04 Alberto Garcia <agarcia@igalia.com>
242 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
243 Redraw menu when the number of items change.
245 Fixes: NB#131911 (Appmenu does not resize properly, when number of
248 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
250 * hildon/hildon-pannable-area.c:
251 (hildon_pannable_area_launch_fade_timeout),
252 (hildon_pannable_area_motion_event_scroll),
253 (hildon_pannable_area_check_move),
254 (hildon_pannable_area_button_release_cb),
255 (hildon_pannable_area_scroll_to):
257 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
258 area drawing operations, since this is the recommended for drawing
261 Fixes: NB#110894 (In event view containing very large description
262 field, application menu is displayed blank while panning)
263 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
266 2009-09-03 Alberto Garcia <agarcia@igalia.com>
268 * doc/hildon-sections.txt
269 * hildon/hildon-button.c
270 * hildon/hildon-edit-toolbar.c
271 * hildon/hildon-gtk.[ch]
272 * hildon/hildon-main.c
273 * hildon/hildon-program.c
274 * hildon/hildon-stackable-window.c:
275 Documentation updates
277 2009-08-28 Alberto Garcia <agarcia@igalia.com>
279 * hildon/hildon-app-menu.c
280 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
281 Close the menu if it receives a grab-notify signal.
283 Fixes: NB#134533 (UI freezes if we show a dialog with
284 gtk_dialog_run() while a menu is opened)
286 2009-08-27 Alejandro G. Castro <alex@igalia.com>
288 * hildon/hildon-pannable-area.c,
289 (hildon_pannable_area_class_init): Reverted tuning modifications:
290 "Pannign needs to be faster" and "Pannable kinetics in large lists
293 2009-08-26 Alberto Garcia <agarcia@igalia.com>
295 * hildon/hildon-sound.c (hildon_play_system_sound):
296 Set "module-stream-restore.id" to "x-maemo-system-sound" when
297 playing system sounds
299 Fixes: NB#133767 (Information and confirmation note sound should
300 follow system profile setting)
302 2009-08-26 Alejandro G. Castro <alex@igalia.com>
304 * hildon/hildon-pannable-area.c,
305 (hildon_pannable_area_class_init): Added more force and increased
306 the max speed threshold.
308 Fixes: NB#135344 (Pannign needs to be faster)
310 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
312 [Release 2.1.96, this time for real]
315 * debian/changelog: updates
317 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
319 * hildon/hildon-pannable-area.c
320 (hildon_pannable_area_get_topmost): change the computation of the
321 co-ordinates transformed when no one of the children is a topmost
323 Fixes: NB#133252 (Opening any feed item from RSS always opens the
324 first feed item in browser)
326 2009-08-26 Alejandro G. Castro <alex@igalia.com>
328 * hildon/hildon-pannable-area.c,
329 (hildon_pannable_area_remove_timeouts): Adding this new function
330 with the code that removes the timeouts of the widget.
331 (hildon_pannable_area_dispose),
332 (hildon_pannable_area_unrealize): Use the new remove function to
333 stop timeouts when unrealizing and disposing.
334 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
335 calculation to avoid negative values in some cases.
337 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
339 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
341 * examples/hildon-check-button-example.c: (button_toggled_cb):
342 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
343 (hildon_check_button_set_active), (hildon_check_button_new),
344 (hildon_check_button_clicked), (hildon_check_button_class_init):
345 * hildon/hildon-check-button.h:
346 * hildon/hildon-set-password-dialog.c: (create_contents),
347 (hildon_set_password_response_change), (hildon_checkbox_toggled):
349 Revert "Make HildonCheckButton derive from GtkToggleButton"
351 2009-08-21 Alberto Garcia <agarcia@igalia.com>
355 * configure.ac: bump version
357 * debian/changelog: updates
359 2009-08-21 Alberto Garcia <agarcia@igalia.com>
361 * hildon/hildon-check-button.h
362 * hildon/hildon-check-button.c
363 (hildon_check_button_clicked, hildon_check_button_class_init):
364 Make HildonCheckButton derive from GtkToggleButton
365 (hildon_check_button_toggled, hildon_check_button_set_active)
366 (hildon_check_button_get_active):
367 Deprecate unnecessary HildonCheckButton API and use the
368 one from GtkToggleButton instead.
370 * hildon/hildon-set-password-dialog.c (create_contents)
371 (hildon_set_password_response_change, hildon_checkbox_toggled)
372 * examples/hildon-check-button-example.c (button_toggled_cb):
373 Update to use the GtkToggleButton API
375 Fixes: MB#4739 (HildonCheckButton should inherit from
378 Fixes: NB#132661 (HildonCheckButton should inherit from
381 2009-08-20 Alberto Garcia <agarcia@igalia.com>
383 * hildon/hildon-pannable-area.c
384 (hildon_pannable_area_class_init):
385 Increase default value of HildonPannableArea:velocity_max to 2000
387 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
389 2009-08-18 Alberto Garcia <agarcia@igalia.com>
393 * configure.ac: bump version
395 * debian/changelog: updates
397 2009-08-11 Alejandro G. Castro <alex@igalia.com>
399 * hildon/hildon-pannable-area.c
400 (hildon_pannable_area_size_allocate): Checked the scrollbars
401 before the first try when defining the layout, avoids two
402 allocations in some situations.
404 Fixes: NB#131794 (pannable area produces unnecessary allocations
405 causing performance problems)
407 2009-08-11 Alejandro G. Castro <alex@igalia.com>
409 * hildon/hildon-pannable-area.c
410 (hildon_pannable_area_button_press_cb),
411 (hildon_pannable_area_motion_notify_cb),
412 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
413 the spurious ref added in the copy, fixes leak of window.
415 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
416 if it's realized without showing and then deleted)
418 2009-08-10 Alberto Garcia <agarcia@igalia.com>
422 * configure.ac: bump version
424 * debian/changelog: updates
426 2009-08-06 Alberto Garcia <agarcia@igalia.com>
428 * examples/hildon-hvolumebar-timer-example.c
430 * hildon/hildon-banner.c
431 (hildon_banner_timeout, hildon_banner_ensure_timeout)
432 * hildon/hildon-calendar.c
433 (calendar_timer, start_spinning)
434 * hildon/hildon-color-chooser.c
435 (inline_limited_expose)
436 * hildon/hildon-date-editor.c
437 (hildon_date_editor_entry_focus_in)
438 (hildon_date_editor_entry_validate)
439 (hildon_date_editor_entry_select_all)
440 * hildon/hildon-note.c
442 * hildon/hildon-number-editor.c
443 (hildon_number_editor_button_pressed)
444 (hildon_number_editor_start_timer, do_mouse_timeout),
445 (add_select_all_idle, hildon_number_editor_select_all)
446 * hildon/hildon-time-editor.c
447 (hildon_time_editor_entry_focus_in)
448 (highlight_callback, hildon_time_editor_validate)
449 (hildon_time_editor_entry_select_all)
450 * hildon/hildon-time-picker.c
451 (hildon_time_picker_arrow_press)
452 (hildon_time_picker_key_repeat_timeout)
453 * hildon/hildon-window.c
454 (hildon_window_key_press_event)
455 (hildon_window_escape_timeout):
456 Replace all calls to g_idle_add/g_timeout_add with their
457 gdk_threads counterparts.
459 Fixes: NB#126198 (gdk-threads API should be used to install idle
460 and timeout handlers)
462 2009-08-06 Alejandro G. Castro <alex@igalia.com>
464 * hildon/hildon-pannable-area.c,
465 (hildon_pannable_area_class_init): Increased the overshooting max
466 speed to get a faster effect.
467 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
468 deceleration of the overshooting
469 (hildon_pannable_area_button_release_cb): Calculate initial
470 overshooting speed when finger on the screen using the distance to
471 launch the effect faster.
473 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
474 lists with slow row renderers)
476 2009-08-05 Alberto Garcia <agarcia@igalia.com>
478 * doc/hildon-sections.txt: Add new functions
480 2009-08-05 Alberto Garcia <agarcia@igalia.com>
482 * hildon/hildon-text-view.[ch]
483 * hildon/hildon-entry.[ch]:
484 Add deprecation guards around deprecated functions.
486 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
488 * hildon/hildon-app-menu.c: Remove leftover function declaration.
490 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
492 Remove the grab from HildonAppMenu
494 * hildon/hildon-app-menu.c:
495 Now hildon-desktop places a blocker window behind the menu to handle
496 its closing, so the grab is no longer needed. This simplifies its
497 implementation and allows the system blanking to succeed.
499 Fixes: NB#130910 (Screen gets unlocked when menu is open)
501 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
505 * configure.ac: bump version
507 * debian/changelog: updates
508 * debian/control: raise debian dependency on GTK+
510 2009-08-04 Alberto Garcia <agarcia@igalia.com>
512 * hildon/hildon-text-view.c
513 * hildon/hildon-entry.c:
514 Remove all placeholder code from HildonEntry and HildonTextView
515 and use the API in GtkEntry and GtkTextView instead.
517 * examples/hildon-entry-example.c
518 * examples/hildon-text-view-example.c
519 * examples/hildon-wizard-dialog-example.c
520 * hildon/hildon-get-password-dialog.c
521 * hildon/hildon-login-dialog.c
522 * hildon/hildon-picker-dialog.c
523 * hildon/hildon-set-password-dialog.c
524 * hildon/hildon-touch-selector-entry.c:
525 Replace all deprecated calls to HildonEntry and HildonTextView
526 with their Gtk counterparts.
528 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
531 2009-08-03 Alejandro G. Castro <alex@igalia.com>
533 * hildon/hildon-pannable-area.c,
534 (hildon_pannable_area_check_move),
535 (hildon_pannable_area_button_release_cb),
536 (hildon_pannable_area_scroll_to): Reverted the priority change of
537 the timeout, in some situations, slow renderers, the click do not
538 make it to the mainloop on time.
540 Fixes NB#131013 (unable to stop panning file manager by tapping on
543 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
545 * configure.ac: bump version
547 * debian/changelog: updates
549 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
551 * hildon/hildon-touch-selector.[ch]
552 (hildon_touch_selector_center_on_index): New method that allows to center
553 on a item not selected
555 Fixes NB#130291 (New HildonTouchSelector API is required to center on
558 2009-07-29 Alberto Garcia <agarcia@igalia.com>
560 * hildon/hildon-text-view.c
561 (+set_logical_color, +hildon_text_view_style_set)
562 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
563 (hildon_text_view_init)
564 * hildon/hildon-entry.c
565 (+set_logical_color, +hildon_entry_style_set)
566 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
567 (hildon_entry_class_init, hildon_entry_init)
568 * hildon/hildon-button.c
569 (+set_logical_font, +set_logical_color)
570 (hildon_button_style_set, hildon_button_init)
571 (hildon_button_set_arrangement, hildon_button_set_style):
572 Remove all calls to hildon_helper_set_logical_font() and
573 hildon_helper_set_logical_color(), which are recursive, from
576 Fixes: NB#123409 (Showing dialog consumes significant amount of
579 2009-07-29 Alejandro G. Castro <alex@igalia.com>
581 * hildon/hildon-pannable-area.c,
582 (hildon_pannable_area_timeout): Added the process updates of the
583 scrollbars window in the pannable.
585 Fixes: NB#130043 (scrollindicator not smooth while panning)
587 2009-07-23 Alejandro G. Castro <alex@igalia.com>
589 * hildon/hildon-pannable-area.c,
590 (hildon_pannable_area_check_move),
591 (hildon_pannable_area_button_release_cb),
592 (hildon_pannable_area_scroll_to): Increased the priority of the
593 timeout this way it is going to be handled before the events.
595 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
599 * configure.ac: bump version
600 * debian/changelog: updates
602 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
604 * hildon/hildon-entry.c: (set_property): Do not allow to set
605 automatic height and use finger height instead, to prevent an to
606 have a smaller size than than its theme pixbuf.
608 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
610 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
612 * configure.ac: postrelease version bump.
613 * debian/changelog: post release version bump
615 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
620 * configure.ac: Bump version.
621 * debian/changelog: Updates.
623 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
625 * hildon/hildon-note.c: (label_size_request): Take the note
626 padding into account when setting the size request.
628 Fixes: NB#127896 (Information notes text truncated)
630 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
632 * configure.ac: postrelease version bump.
633 * debian/changelog: post release version bump
635 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
640 * configure.ac: Bump version.
641 * debian/changelog: Updates.
643 2009-07-16 Alejandro G. Castro <alex@igalia.com>
646 * hildon/hildon-text-view.c,
647 (hildon_text_view_button_press_event): Grabbed the focus in button
648 press, this way we are sure the widget has the focus in the
649 release event, required for HIM.
651 Fixes: NB#121445 (Virtual keyboard opening is not working in same
652 way for each text entry field)
654 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
656 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
657 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
658 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
659 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
660 (hildon_pannable_area_[gs]et_center_on_child_focus)
661 Redefined GtkContainer set-focus-child signal, in order to center
662 properly on a child when it receives the focus. Defined a new property
663 "center-on-child-focus" in order to activate this feature (deactivated
664 by default). Public get/set methods defined to manage the property.
666 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
668 2009-07-14 László Pere <lpere@blumsoft.eu>
670 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
671 the new size is applied.
673 Fixes: NB#124510 (The Application Menu is distorted when switched
674 between portrait and landscape mode)
675 Fixes: NB#115388 (Power key menu does not resize itself)
677 2009-07-01 Alberto Garcia <agarcia@igalia.com>
679 * hildon/hildon-banner.c (hildon_banner_map):
680 Set banner position after mapping.
682 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
684 * configure.ac: postrelease version bump.
685 * debian/changelog: post release version bump
687 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
692 * configure.ac: Bump version.
693 * debian/changelog: Updates.
695 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
697 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
700 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
702 * tests/check-hildon-banner.c
704 * tests/test_suites.h
705 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
706 were testing deprecated functions.
707 * examples/hildon-banner-example.c: typo on button3 type, that causes
708 a fail compiling with --with-examples but without --disable-deprecated
710 Missed commit in order to fix compilation using '--enable-fatal' and
711 '--disable-deprecated' (see previous commit)
713 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
715 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
716 functions with #ifndef HILDON_DISABLE_DEPRECATED
717 * examples/hildon-find-toolbar.c: Protect deprecated
718 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
719 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
720 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
721 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
723 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
724 to allow proper compilation of deprecated functions defined on the header
726 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
728 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
730 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
731 Cache the panning indicator color.,
732 (hildon_pannable_area_style_set): Query the color on style changes.
733 (hildon_pannable_draw_vscroll),
734 (hildon_pannable_draw_hscroll),
735 (hildon_pannable_area_expose_event): Use the cached panning indicator
736 color instead of looking it up on every expose and more.
738 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
740 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
741 (hildon_pannable_draw_hscroll),
742 (hildon_pannable_area_expose_event): Fix the panning indicator color,
743 so that it's "SecondaryTextColor", as desired.
745 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
747 * hildon/hildon-picker-dialog.c:
748 (selection_completed): take into account HILDON_UI_MODE_NORMAL
749 * hildon/hildon-touch-selector.c
750 (hildon_touch_selector_init): Initialize hildon-ui-mode
751 (hildon_touch_selector_row_activated): new callback for the
752 "row-activated" signal, in order to save the last activated
753 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
754 if the current hildon-ui-mode is coherent with the touch selector
755 (hildon_touch_selector_class_init)
756 (hildon_touch_selector_get_property)
757 (hildon_touch_selector_set_property)
758 Added "hildon-ui-mode" property
759 (disconnect_model_handlers): renamed to clean_column
760 (hildon_touch_selector_remove): use clean_column function
761 (_create_new_column): use the hildon-ui-mode to create the treeview, and
762 only select the first element on HILDON_UI_MODE_EDIT
763 (hildon_touch_selector_column_init): Initialize last_activate
764 (hildon_touch_selector_append_column): check that the touch selector
765 is coherent with the current hildon-ui-mode
766 (hildon_touch_selector_get_hildon_ui_mode)
767 (hildon_touch_selector_set_hildon_ui_mode)
768 Added a getter/setter for the hildon-ui-mode property
769 (hildon_touch_selector_get_last_activated_row): Added this method in
770 order to get the last activated row.
771 * examples/hildon-touch-selector-normal-mode-example.c
772 New example, that shows how to use the HildonTouchSelector in
773 HILDON_UI_MODE_NORMAL
775 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
776 Kristian Rietveld <kris@lanedo.com> advices
778 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
780 * hildon/hildon-time-selector.c: (update_format_policy): Do
781 not call update_format_dependant_columns() if not necessary.
782 (update_format_dependant_columns): Remove unnecessary check for
783 the number of columns.
785 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
787 * hildon/hildon-note.c (+hildon_note_constructor),
788 (hildon_note_class_init), (+hildon_note_set_padding),
789 (hildon_note_rebuild): Install a constructor where to set the
790 padding properties in the note, so that it actually works fine.
791 Use hildon_note_set_padding() for this, and also to set it during
794 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
796 * configure.ac: Bump GTK+ requirement to 2.14.3.
797 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
798 when using maemo-gtk to define proper margins for the notes.
800 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
801 with the dialog edge)
803 2009-06-24 Alberto Garcia <agarcia@igalia.com>
805 * hildon/hildon-banner.c
806 (hildon_banner_class_init):
808 (+hildon_banner_size_request):
809 Request always the full width of the screen.
810 (hildon_banner_realize)
811 (-hildon_banner_check_position, hildon_banner_map):
812 hildon_banner_check_position() is not needed in Hildon 2.2.
813 (-hildon_banner_reset_wrap_state)
814 (hildon_banner_constructor, hildon_banner_init):
815 Remove unnecessary calls to hildon_banner_reset_wrap_state()
816 (+banner_do_set_text)
817 (force_to_wrap_truncated):
818 Remove has_been_wrapped and has_been_truncated attributes.
819 (+reshow_banner, hildon_banner_real_show_information)
820 (hildon_banner_show_information_with_markup)
821 (hildon_banner_show_animation, hildon_banner_show_progress)
822 (hildon_banner_set_text, hildon_banner_set_markup):
823 Refactor code. Shrink banner vertically to use the minimum space
824 necessary everytime the text of the label is updated.
825 (screen_size_changed):
826 Call force_to_wrap_truncated() when the size of the screen
829 Fixes: NB#120500 (only device memory connect mmc in use info
830 banner is left aligned)
832 Fixes: NB#120613 (Size of HildonBanner varies depending on
833 previously opened banners)
835 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
837 * hildon/hildon-color-chooser.c
838 (hildon_color_chooser_pointer_motion): Take the widget allocation
841 Fixes: NB#124385 (Unable to select exact point in color mixing box
842 in color palette dialog)
844 2009-06-23 Alejandro G. Castro <alex@igalia.com>
846 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
847 (hildon_pannable_area_dispose)
848 (hildon_pannable_area_button_press_cb)
849 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
850 (hildon_pannable_area_button_release_cb)
851 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
852 New 'panning-started' and 'panning-finished' signals.
854 Fixes: NB#121732 (New feature request: Signal to pannable area
855 that informs when panning is stopped.)
857 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
859 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
860 instead of hardcoded colon.
862 Fixes: NB#124090 (New calendar wizard title is not using
863 ecdg_ti_caption_separator)
865 2009-06-22 David King <davidk@openismus.com>
867 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
868 constants and functions, as well as correct many typos throughout the
871 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
874 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
876 * configure.ac: postrelease version bump.
877 * debian/changelog: post release version bump
879 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
884 * configure.ac: Bump version.
885 * debian/changelog: Updates.
887 2009-06-18 Alberto Garcia <agarcia@igalia.com>
889 * hildon/hildon-window-stack.c
890 (hildon_window_stack_pop_and_push_list):
891 Prevent windows from having the same stack index
893 2009-06-18 Alberto Garcia <agarcia@igalia.com>
895 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
896 Use the index of the previous window rather than the stack length
897 to calculate the new index.
901 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
903 * hildon/hildon-date-selector.c
904 (hildon_date_selector_select_current_date)
905 (hildon_date_selector_get_date)
906 (hildon_date_selector_select_day):
907 Update the documentation: uses always the range (1-31), as it is obvious
908 that the final one will depend on the month and the year, but globally
909 the range is this, in a similar GtkCalendar approach
910 (hildon_date_selector_get_date):
911 Update the documentation: add NULL as a valid value for the day, month
914 Fix some details, after talk with David King on bug MB#4698
916 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
918 * hildon/hildon-touch-selector-entry.c
919 * hildon/hildon-touch-selector.c
920 Update the documentation of the "text-column" property
922 2009-06-18 David King <davidk@openismus.com>
924 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
925 several typos and errors throughout the documentation.
927 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
930 2009-06-18 Alberto Garcia <agarcia@igalia.com>
932 * hildon/hildon-note.c (hildon_note_realize):
933 Make HildonNote support portrait mode.
935 Fixes: NB#123448 (HildonNote is not portrait-friendly)
937 2009-06-17 Alberto Garcia <agarcia@igalia.com>
939 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
940 Document this function
942 2009-06-17 David King <davidk@openismus.com>
944 * hildon/hildon-date-selector.c
945 (hildon_date_selector_select_current_date)
946 (hildon_date_selector_get_date): Update documentation regarding days,
947 as the day of the month is dependent on both the month and the year.
948 (hildon_date_selector_get_date): Fix documentation of output arguments.
950 Fixes: MB#4698 (DateSelector documentation has bad output argument
951 description, and the day depends on both the month and the year)
953 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
955 * hildon/hildon-caption.c: Other documentation fixes to
958 2009-06-17 David King <davidk@openismus.com>
960 * hildon/hildon-caption.c: Minor documentation updates for
961 HildonCaption. Fixes MB#4697.
963 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
965 * doc/hildon-docs.sgml: Add hildon-version section.
966 * doc/hildon-sections.txt:
967 * hildon/hildon-version.h.in: Document versioning macros and
970 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
972 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
973 from HildonPickerDialog section.
975 2009-06-16 Alberto Garcia <agarcia@igalia.com>
977 * hildon/hildon-banner.c (hildon_banner_bind_style)
978 (screen_size_changed, hildon_banner_init)
979 (hildon_banner_real_show_information)
980 (hildon_banner_show_information_with_markup)
981 (hildon_banner_show_animation, hildon_banner_show_progress):
982 Set a different widget name to banners in portrait mode, for them
983 to be themed correctly.
985 2009-06-16 Alberto Garcia <agarcia@igalia.com>
987 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
988 Set a different widget name to notes in portrait mode, for them to
991 Partially fixes: NB#118401 (HildonNote causes unnecessary
994 2009-06-16 Alberto Garcia <agarcia@igalia.com>
996 * hildon/hildon-note.c (hildon_note_class_init)
997 (+hildon_note_size_request, screen_size_changed):
998 Always request the full width of the screen.
1000 Fixes: NB#118375 (unnecessary rescaling of images)
1002 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1004 * hildon/hildon-pannable-area.c,
1005 (hildon_pannable_area_init),
1006 (hildon_pannable_area_realize): Replaced old code adding flags in
1007 the object init, now we add it with the other flags in the realize
1010 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1012 * hildon/hildon-note.c: (hildon_note_class_init): Several
1013 documentation improvements to the HildonNote widget.
1015 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1017 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1019 Fixes: MB#4556 (HildonNoteType is undocumented)
1021 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1023 * hildon/hildon-picker-button.c:
1024 Explain how HildonPickerButton sets the title of its dialog
1026 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1027 the title of its dialog)
1029 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1031 * hildon/hildon-check-button.c:
1032 Documentation updates
1034 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1037 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1039 * hildon/Makefile.am
1040 * hildon/hildon-edit-toolbar-private.h
1041 * hildon/hildon-edit-toolbar.c
1042 (+hildon_edit_toolbar_set_progress_indicator)
1043 (hildon_edit_toolbar_init): Add progress indicator to the
1046 * hildon/hildon-gtk.c
1047 (hildon_gtk_window_set_progress_indicator):
1048 If the window contains a HildonEditToolbar, enable the progress
1049 indicator there too.
1051 * hildon/hildon-private.h
1052 * hildon/hildon-private.c
1053 (+hildon_private_create_animation)
1054 * hildon/hildon-banner.c
1055 (-hildon_banner_create_animation):
1056 Moved to hildon-private.c
1058 Fixes: NB#102373 (Progress indicator also for the Edit mode
1061 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1063 * hildon/hildon-app-menu-private.h
1064 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1065 (hildon_app_menu_add_filter, +menu_item_button_event)
1066 (hildon_app_menu_button_release, hildon_app_menu_init):
1067 Make sure that buttons receive 'button-release-event' in spite of
1068 the grab held by HildonAppMenu
1070 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1072 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1074 * hildon/hildon-app-menu.c
1075 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1076 New style property to set the size of the group of filter buttons.
1078 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1080 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1085 * configure.ac: Bump version.
1086 * debian/changelog: Updates.
1088 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1090 * hildon/hildon-main.c: Minor documentation fixes.
1092 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1094 * doc/hildon-sections.txt:
1095 * hildon/hildon-defines.h: Document the defines, organize them,
1096 and mark deprecations as such.
1098 Fixes: MB#4463 (Hildon size #defines are undocumented)
1100 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1102 * hildon/hildon-animation-actor.c:
1103 * hildon/hildon-app-menu.c:
1104 * hildon/hildon-button.c:
1105 * hildon/hildon-date-editor.c:
1106 * hildon/hildon-dialog.c:
1107 * hildon/hildon-edit-toolbar.c:
1108 * hildon/hildon-entry.c:
1109 * hildon/hildon-program.c:
1110 * hildon/hildon-remote-texture.c:
1111 * hildon/hildon-stackable-window.c:
1112 * hildon/hildon-text-view.c:
1113 * hildon/hildon-touch-selector.c:
1114 * hildon/hildon-window-stack.c:
1115 * hildon/hildon-window.c:
1117 Remove redundant "represents" wording from most of the documentation.
1119 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1121 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1125 * hildon/Makefile.am
1126 * hildon/hildon-banner-private.h
1127 * hildon/hildon-banner.c:
1128 Move HildonBannerPrivate to hildon-banner.c and remove
1129 hildon-banner-private.h
1130 Use a bit field to store private booleans.
1132 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1134 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1135 Don't install a new idle function if there's already one
1140 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1142 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1143 (+legacy_menu_realized, +legacy_menu_unmapped)
1144 (+set_legacy_menu_type):
1145 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1146 they can be identified by the window manager.
1148 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1149 displayed in wrong location)
1151 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1154 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1156 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1158 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1159 use gtk-doc support)
1161 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1163 * hildon/hildon-code-dialog.c
1164 * hildon/hildon-date-editor.c
1165 * hildon/hildon-number-editor.c
1166 * hildon/hildon-seekbar.c
1167 * hildon/hildon-stackable-window.c
1168 * hildon/hildon-window.c:
1169 Misc documentation updates
1171 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1173 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1174 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1176 Fixes: NB#117931 (Theming issues in accounts dialogs)
1178 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1180 * hildon/hildon-pannable-area.c,
1181 (hildon_pannable_area_button_release_cb): Changed the coordinates
1182 of the original release in case we want to discard the release,
1183 some widgets in Fremantle do not handle the leave-notify.
1185 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1187 * hildon/hildon-pannable-area.c,
1188 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1189 the release using the last refactored functions and avoiding the
1190 movement if an element was selected.
1192 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1194 * hildon/hildon-pannable-area.c,
1195 (hildon_pannable_area_check_move),
1196 (hildon_pannable_area_handle_move),
1197 (hildon_pannable_area_motion_notify_cb): Refactored the
1198 motion_notify method using a couple of new functions.
1200 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1202 * hildon/hildon-date-selector.c:
1203 (hildon_date_selector_construct_ui):
1204 * hildon/hildon-time-selector.c:
1205 (hildon_time_selector_constructor):
1206 * hildon/hildon-touch-selector-entry.c:
1207 (hildon_touch_selector_entry_set_text_column),
1208 (hildon_touch_selector_entry_get_text_column):
1209 * hildon/hildon-touch-selector.c: (_default_print_func),
1210 (hildon_touch_selector_new_text): Use
1211 hildon_touch_selector_set/get_text_column() instead of
1212 setting/getting the "text-column" property.
1214 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1216 * doc/hildon-sections.txt: Add the new public methods below.
1218 * examples/hildon-picker-button-multicolumn-example.c:
1219 (create_touch_selector):
1220 * examples/hildon-touch-selector-example.c: (create_selector):
1221 * examples/hildon-touch-selector-multi-cells-example.c:
1223 Use hildon_touch_selector_column_set_text_column()
1225 * hildon/hildon-touch-selector-column.h:
1226 * hildon/hildon-touch-selector.c:
1227 (hildon_touch_selector_column_set_text_column),
1228 (hildon_touch_selector_column_get_text_column):
1229 Make hildon_touch_selector_column_set/get_column() public, use
1230 them in the inline example, document them, and reference to them
1233 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1235 * hildon/hildon-time-selector.c: Fix the docs for
1236 hildon_time_selector_new_step().
1238 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1240 * hildon/hildon-touch-selector.c: Improve the documentation for
1241 hildon_touch_selector_append_column().
1243 Fixes MB#4641 (Documentation:
1244 hildon_touch_selector_append_column() ref-counting)
1246 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1248 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1249 Comment out test 5, since the hildon_controlbar_set_range() range
1250 check is broken and fixing it would have side effects. Also,
1251 this finally fixes make distcheck.
1253 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1255 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1257 * tests/TEST-CASES.txt: Remove other bogus test.
1258 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1259 Remove bogus test that was setting/retrieving a valid value.
1261 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1263 * tests/TEST-CASES.txt: Remove bogus tests.
1264 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1265 Remove three bogus tests that were actually setting valid colors.
1267 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1269 * configure.ac: post release version bump
1270 * debian/changelog: post release version bump
1272 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1277 * configure.ac: Bump version.
1278 * debian/changelog: Updates.
1280 2009-06-08 Christian Dywan <christian@lanedo.com>
1284 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1285 Correct errors in hildon_format_file-size_for_display and use
1286 translations from the hildon-fm package instead of osso-filemanager.
1288 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1290 * hildon/hildon-pannable-area.c,
1291 (hildon_pannable_area_init): Initialized new values to handle the
1292 adjustment position.
1293 (hildon_pannable_area_adjust_value_changed): Check if the values
1294 changed before even call the redraw function.
1295 (hildon_pannable_area_size_allocate),
1296 (hildon_pannable_axis_scroll),
1297 (hildon_pannable_area_scroll),
1298 (hildon_pannable_area_jump_to): Improved the diagonal movement
1301 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1304 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1306 * examples/hildon-banner-example.c:
1307 Several style updates
1308 (on_animation_clicked, on_animation_idle)
1309 (on_progress_clicked, on_progress_idle):
1310 Add additional reference for the cases when the parent window is
1313 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1315 * doc/hildon-sections.txt
1316 * hildon/hildon-pannable-area.c
1317 * hildon/hildon-banner.h
1318 * hildon/hildon-banner.c: Documentation updates.
1320 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1323 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1325 * hildon/hildon-calendar-popup.h:
1326 * hildon/hildon-caption.h:
1327 * hildon/hildon-code-dialog.h:
1328 * hildon/hildon-controlbar.h:
1329 * hildon/hildon-date-editor.h:
1330 * hildon/hildon-dialog.h:
1331 * hildon/hildon-get-password-dialog.h:
1332 * hildon/hildon-hvolumebar.h:
1333 * hildon/hildon-login-dialog.h:
1334 * hildon/hildon-note.h:
1335 * hildon/hildon-number-editor.h:
1336 * hildon/hildon-range-editor.h:
1337 * hildon/hildon-seekbar.h:
1338 * hildon/hildon-set-password-dialog.h:
1339 * hildon/hildon-sort-dialog.h:
1340 * hildon/hildon-time-editor.h:
1341 * hildon/hildon-time-picker.h:
1342 * hildon/hildon-volumebar-range.h:
1343 * hildon/hildon-volumebar.h:
1344 * hildon/hildon-vvolumebar.h:
1345 * hildon/hildon-weekday-picker.h:
1346 * hildon/hildon-window.h:
1347 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1348 macros with the current replacements
1350 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1352 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1354 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1355 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1356 itself, to make it fit better with Fremantle style.
1358 Fixes: NB#109878 (height and width of focus on color icon is not
1359 consistent with other item in the application tool bar)
1361 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1363 * hildon/hildon-touch-selector.c:
1364 (hildon_touch_selector_optimal_size_request): use the current requisition
1365 as the base, in order to include any possible extra widget, like the
1366 hildon entry on HildonTouchSelectorEntry
1368 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1370 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1372 * configure.ac: post release version bump
1373 * debian/changelog: post release version bump
1375 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1380 * configure.ac: Bump version.
1381 * debian/changelog: Updates.
1383 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1385 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1387 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1388 to ensure the banner contents are centered, instead of relying on
1389 the expand and fill properties in GtkHBox.
1390 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1392 Fixes: NB#108265 (Animation banner not properly centered)
1394 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1396 * hildon/hildon-pannable-area.c
1397 (hildon_pannable_area_initial_effect): Remove the initial_effect
1398 management, check initial_hint
1399 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1400 set initial_effect to FALSE
1401 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1402 by launching the fade_timeout if the scrollbars state has changed and are
1404 * examples/hildon-pannable-area-initial-hint-example.c
1405 Modified to allow to remove rows too. Add and remove rows one by one.
1407 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1409 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1410 Don't close the menu if there's an animation actor below it.
1412 Fixes: NB#117927 (Application menu not usable with animation
1415 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1417 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1418 "focus-on-click" from the dialog button, to avoid stealing the
1419 focus from the entry.
1421 Fixes: NB#118903 (Account setup wizard: Text in Search field
1422 should be focused when "Region" touch list picker is reopened
1425 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1427 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1428 (prepare_action_area): Completely hide the dialog separator.
1430 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1432 * hildon/hildon-touch-selector-entry.c
1433 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1434 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1435 now that the entry is exposed.
1437 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1439 * hildon/hildon-touch-selector-entry.c
1440 (hildon_touch_selector_entry_init): Change the entry's size
1441 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1443 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1445 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1446 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1447 avoid unnecessary scaling.
1449 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1451 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1452 Create grab transfer window before calling parent's map function.
1454 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1455 "crushed" button(s) in the top left corner)
1457 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1459 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1460 Check if the window is already realized when pushing it.
1462 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1464 * configure.ac: post release version bump
1465 * debian/changelog: post release version bump
1467 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1472 * configure.ac: Bump version.
1473 * debian/changelog: Updates.
1475 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1477 * hildon/hildon-app-menu.c: Doc updates.
1479 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1481 * hildon/hildon-banner.c: Remove leftover macro.
1483 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1485 * hildon/hildon-pannable-area.c,
1486 (hildon_pannable_area_scroll_indicator_fade),
1487 (hildon_pannable_area_button_release_cb): Reviewed vmin
1488 conditions, it could cause problems in the fadeout procedure.
1490 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1492 * hildon/hildon-pannable-area.c
1493 (hildon_pannable_area_button_release_cb): Added a threshold to
1494 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1496 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1498 * hildon/hildon-pannable-area.c,
1499 (hildon_pannable_area_set_property): Added code to sync the gtk
1500 dnd threshold with the panning threshold.
1502 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1504 * hildon/hildon-pannable-area.c,
1505 (hildon_pannable_area_class_init): Changed some of the default
1506 values, now it should be less responsive and more accurate.
1508 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1510 * hildon/hildon-pannable-area.c,
1511 (hildon_pannable_area_init),
1512 (hildon_pannable_area_scroll_indicator_fade),
1513 (hildon_pannable_area_button_press_cb),
1514 (hildon_pannable_axis_scroll),
1515 (hildon_pannable_area_timeout),
1516 (hildon_pannable_area_motion_notify_cb),
1517 (hildon_pannable_area_button_release_cb): Changed the name of the
1518 clicked attribute to button_pressed, it is more clear about its use.
1520 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1522 * src/hildon-pannable-area.c
1523 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1525 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1526 vertical scrollbar visibility, and use the data on private section instead,
1527 remove the initial_hint check
1528 (hildon_pannable_area_expose_event): add the initial_hint check here
1530 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1532 * src/hildon-pannable-area.c
1533 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1534 if the fadeout effect was used
1535 (hildon_pannable_area_expose_event): check if it is required to
1536 manage the initial effect on the begining of the function. Previously
1537 it was made at the end, but this doesn't ensure that the scrollbars
1538 will be painted on the first show. Do not set to FALSE initial_effect,
1539 to ensure that the initial hint is showed the first time the pannable
1541 * examples/Makefile.am
1542 * examples/hildon-pannable-area-initial-hint-example.c:
1543 New example, to show that the initial-hint is showed when the widget
1546 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1547 initially if the application can be scrolled)
1549 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1551 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1552 Resize table before adding new items to make sure that
1553 gtk_table_resize() is called just once.
1555 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1557 * hildon/hildon-app-menu-private.h
1558 * hildon/hildon-app-menu.c (item_visibility_changed)
1559 (filter_visibility_changed, hildon_app_menu_show_all)
1560 (hildon_app_menu_hide_all, hildon_app_menu_init):
1561 Rearrange items just once when gtk_widget_show_all()/hide_all()
1564 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1566 * hildon/hildon-app-menu.c
1567 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1568 Don't call gtk_widget_show() on added items.
1570 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1571 automatically when they're added)
1573 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1575 * hildon/hildon-banner.c
1576 (hildon_banner_realize, +hildon_banner_unrealize)
1577 (+screen_size_changed, hildon_banner_class_init):
1578 Redisplay the banner if the screen is rotated.
1580 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1581 on transition from landscape to portrait)
1583 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1585 * hildon/hildon-banner.[ch]:
1586 (hildon_banner_show_information_override_dnd): remove icon_name from the
1587 method definition as it is ignored.
1588 * examples/hildon-banner-dnd-example.c: updated with the change on
1591 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1593 * hildon/hildon-banner-private.h: new require_override_dnd and
1594 overrides_dnd variables
1595 * hildon/hildon-banner.h:
1596 (hildon_banner_show_information_override_dnd): new method, that shows
1597 the information but sets the override flag, in order to show important
1599 * hildon/hildon-banner.c
1600 (hildon_banner_show_information_override_dnd): new method
1601 (hildon_banner_set_override_flag): new utility function
1602 (hildon_banner_real_show_information): new utility function, in order to
1603 generalize the current hildon_banner_show_information_override_dnd and
1604 hildon_banner_show_information_override_dnd
1605 * examples/Makefile.am
1606 * examples/hildon-banner-dnd-example.c: New example that show how to
1607 use the new hildon_banner_show_information_override_dnd
1609 Fixes: NB#114874 (There is no possibility to show hildon banners with
1612 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1614 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1615 behind hildon_pannable_calculate_vel_factor().
1617 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1619 * hildon/hildon-pannable-area.c
1620 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1621 deceleration factors.
1623 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1625 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1626 Reduce the default value for 'scroll_time' to 1 second, since the
1627 current initial scrolling takes too much time.
1629 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1631 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1632 calculate velocity factor during initialization, since the properties
1635 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1637 * hildon/hildon-pannable-area.c
1638 (hildon_pannable_area_set_property): Calculate the velocity factor
1639 after setting the deceleration property and not after.
1641 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1643 * hildon/hildon-entry.c
1644 (hildon_entry_class_init, +set_property, hildon_entry_new)
1645 * hildon/hildon-check-button.c
1646 (hildon_check_button_class_init)
1647 (+set_property, hildon_check_button_new):
1648 Make the theme size a property.
1650 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1651 others) do too much in the _new function)
1653 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1655 * configure.ac: post release version bump
1656 * debian/changelog: post release version bump
1658 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1663 * configure.ac: Bump version.
1664 * debian/changelog: Updates.
1666 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1668 * hildon/hildon-gtk.h
1669 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1670 New API function to take a screenshot of a window
1672 Fixes: NB#106374 (Need API to take a loading screenshot)
1674 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1676 * hildon/hildon-time-selector.c
1677 (update_format_policy): prevent to use hours and minutes unitialized
1679 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1681 * hildon/hildon-window.c (hildon_window_size_request):
1682 Always request the full size of the screen (minus the title bar if
1683 not in fullscreen mode).
1685 Fixes: NB#107486 (HildonWindow should size itself properly)
1687 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1689 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1690 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1691 (on_show_cb), (sound_handling): Disconnect the idle handler for
1692 the sound when the note is finalized to avoid possible crashes.
1694 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1697 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1699 * src/hildon-animation-actor.c,
1700 * src/hildon-remote-texture.c:
1701 Added proper object cleanup to remove signal handler and object
1702 references as HildonAnimationActor and HildonRemoteTexture
1703 objects get destroyed.
1705 Fixes: NB#116682 (Destroying parented animation actors when
1706 parent in unmapped leads to crash)
1708 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1710 Based on a patch by Christian Dywan (christian@imendio.com)
1712 * doc/hildon-sections.txt:
1713 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1714 * hildon/hildon-helper.h: New file size formatting method.
1716 * debian/control: Depend on osso-filemanager l10n package for
1717 proper localization strings.
1719 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1721 * tests/Makefile.am: Include top_srcdir to make possible to build
1722 tests in a different builddir.
1723 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1724 on a different builddir.
1726 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1728 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1729 (hildon_touch_selector_remove): Disconnect model's signal handler
1732 Fixes: NB#116289 (Hildon home crashes while adding task
1735 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1737 * hildon/hildon-button.c
1738 (hildon_button_set_title, hildon_button_set_value):
1739 Hide labels containing an empty string.
1741 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1743 * configure.ac: post release version bump
1744 * debian/changelog: post release version bump
1746 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1751 * configure.ac: Bump version.
1752 * debian/changelog: Updates.
1754 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1756 * hildon/hildon-note-private.h: Removed sound_signal_handler
1757 * hildon/hildon-note.c
1758 (on_show_cb): new callback on note "show" event, this simply adds
1759 a idle, with the function sound_handling
1760 (sound_handling): removed the sound_signal_handler management
1761 (hildon_note_init): connect note "show" event to on_show_cb
1762 (hildon_note_realize): remove the connection to "expose-event"
1764 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1765 device?' confirmation note)
1767 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1769 * hildon/hildon-note.c
1770 (hildon_note_new_information_with_icon_name)
1771 (hildon_note_new_confirmation_with_icon_name):
1772 Terminate the list of parameters in g_object_set() calls
1774 Fixes: NB#115166 (Formatting memory card is not taking place)
1776 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1778 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1779 "dialog-information" role for the sound being played.
1781 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1783 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1784 Don't make the menu a modal window, it causes strange interactions
1785 with the pointer grab and it's not really needed.
1787 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1789 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1791 * hildon/hildon-touch-selector.[ch]
1792 (hildon_touch_selector_optimal_size_request): function added to get a
1793 optimal size request from the touch selector, when you want a dialog to
1794 show as much of the selector
1795 * hildon/hildon-picker-dialog.c:
1796 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1797 (hildon_app_menu_class_init):
1798 New "max-height-landscape" and "max-height-portrait" style properties
1799 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1800 (hildon_picker_dialog_get_max_height): returns the maximum height using
1801 the style properties defined and checking the current portrait/landscape
1803 (_hildon_picker_dialog_set_selector): removed the set_size_request
1805 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1807 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1809 * hildon/hildon-bread-crumb-trail.c:
1810 * hildon/hildon-bread-crumb.c:
1811 * hildon/hildon-seekbar.c:
1812 Add reference to replacements for these deprecated widgets.
1814 Fixes: MB#4461 (Documentation: All deprecations should mention
1817 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1819 * examples/hildon-remote-texture-example.c
1821 Change the include to the hildon-remote-texture in order to compile
1822 properly the examples on the installed libhildon1-examples package
1824 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1826 * tests/Makefile.am: Add check for HildonPickerButton.
1827 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1828 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1829 checks for the HildonPickerButton.
1830 * tests/check_test.c (configure_tests): Add the test suite.
1831 * tests/test_suites.h: likewise.
1833 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1835 * hildon/hildon-touch-selector.c
1836 (+on_row_changed): Emit HildonTouchSelector:changed when the
1837 contents of a selected row change.
1838 (_create_new_column), (_hildon_touch_selector_set_model): connect
1839 to GtkTreeModel:row-changed on a newly set model.
1841 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1843 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1845 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1847 * hildon/hildon-banner.c (hildon_banner_destroy)
1848 (hildon_banner_show_progress, hildon_banner_set_fraction):
1849 Remove the progress bar from HildonBanner and use a progress
1852 Fixes: NB#113761 (Update progress banner to use progress
1855 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1857 * hildon/hildon-banner.c:
1858 Calculate size of the banner label using the actual screen width
1859 rather than using a fixed value.
1861 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1864 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1866 * hildon/hildon-pannable-area.c,
1867 (hildon_pannable_area_class_init): Fixed signals documentation
1870 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1872 * configure.ac: post release version bump
1873 * debian/changelog: post release version bump
1875 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1880 * configure.ac: Bump version.
1881 * debian/changelog: Updates.
1883 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1885 * hildon/hildon-edit-toolbar.c
1886 (hildon_edit_toolbar_init):
1887 Don't let buttons in HildonEditToolbar receive focus.
1889 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1890 typing on an HW arrows key)
1892 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1894 * doc/Makefile.am: Fix build.
1896 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1898 * doc/Makefile.am: Do not redefine content_files.
1900 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1908 Renamed src/ to hildon/
1913 Include <hildon/hildon.h> directly in all examples.
1915 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1917 * src/hildon-sort-dialog.c
1918 (hildon_sort_dialog_add_sort_key_with_sorting)
1922 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1924 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1925 make distcheck passes.
1927 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1929 * Makefile.am: Enable gtk-doc during distcheck.
1931 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1933 * Makefile.am: Do not distribute the debian/ directory.
1935 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1937 * doc/Makefile.am: Add the extra SGML files to content_files,
1938 so that they are distributed properly.
1940 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1942 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1945 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1948 (hildon_note_new_information_with_icon_name): Set the "icon" property
1949 to preserve soundness.
1951 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-font-selection-dialog.c
1954 (hildon_font_selection_dialog_set_property): Fail when the "family"
1955 property is set to NULL.
1957 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1959 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1962 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1964 * src/hildon-time-selector.h:
1965 Added HildonTimeSelectorFormatPolicy
1966 * src/hildon-time-selector.c:
1967 Added PROP_TIME_FORMAT_POLICY
1968 (_check_ampm_format): renamed to check_automatic_ampm_format
1969 (update_format_policy), (update_format_dependant_columns): new functions
1970 (hildon_time_selector_class_init)
1971 (hildon_time_selector_contructor)
1972 (hildon_time_selector_init)
1973 (hildon_time_selector_get_property)
1974 (hildon_time_selector_set_property)
1975 (hildon_time_selector_get_time)
1976 (hildon_time_selector_set_time)
1977 * src/hildon-touch-selector.h: new file
1978 * src/hildon-touch-selector.c
1979 (hildon_touch_selector_emit_changed)
1980 (hildon_touch_selector_block_changed)
1981 (hildon_touch_selector_unblock_changed)
1982 Added functions to allow to block the emission of the "changed" signal
1983 * src/hildon-picker-dialog.c
1984 (hildon_picker_dialog_show): call the parent show before the custom code
1985 * examples/hildon-time-button-example.c
1986 Modified, so now you can configure the time format using the new property
1988 Added a new property "time-format-policy" that allow to choose the time
1989 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1990 case it uses gconf in order to check if the time selector must use
1993 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1996 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1998 * src/hildon-note.c (hildon_note_init):
1999 Label in HildonNote must be left aligned, not centered. This
2000 reverts the last commit in HildonNote.
2002 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2003 is connectivity dialog)
2005 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2010 * doc/hildon-sections.txt:
2011 Added hildon_gtk_window_set_do_not_disturb()
2013 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2015 * src/hildon-note.c (hildon_note_init): Center label.
2017 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2020 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: Bump version.
2026 * debian/changelog: Updates.
2028 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2030 * src/hildon-note-private.h: Add button-width to the private data.
2031 * src/hildon-note.c (+resize_button),
2032 (+hildon_note_orientation_update): methods to repack widgets on orientation
2034 (screen_size_changed): Call above method for confirmation notes.
2035 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2036 (hildon_note_rebuild): Store the original width request from buttons.
2038 Fixes: NB#109635 (Confirmation notes do not support portrait)
2040 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2042 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2043 when it is a progress note.
2045 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2047 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2048 in the note, since there are no horizontally arranged contents.
2050 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2052 * src/hildon-gtk.c (+set_flag): new generic method to
2053 set/delay a flag setting in a window.
2054 (hildon_gtk_window_set_progress_indicator):
2055 (hildon_gtk_window_set_do_not_disturb),
2056 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2057 avoid code redundance.
2059 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2061 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2063 * src/hildon-gtk.c (set_clear_window_flag),
2064 (do_set_progress_indicator), (do_set_do_not_disturb),
2065 (do_set_portrait_flags),
2066 (hildon_gtk_window_set_progress_indicator),
2067 (hildon_gtk_window_set_do_not_disturb),
2068 (hildon_gtk_window_set_portrait_flags):
2069 Allow setting dnd-flag, progress indicator, and portrait flags
2070 when the window is not realized.
2072 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2074 * src/hildon-pannable-area.c,
2075 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2076 the size request policy function and defines.
2078 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2080 * doc/hildon-sections.txt: Add the new API.
2081 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2082 method to set the portrait flags.
2083 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2085 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2087 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2090 to allow using this method with other flags.
2091 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2092 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2094 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-touch-selector.c
2097 (hildon_touch_selector_append_text_column):
2098 Make the cell renderer use the smallest width possible.
2100 Fixes: NB#108470 (Selected items in multiple selection are either
2101 having a tick that is cut or not visible at all.)
2103 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2105 * src/hildon-touch-selector.c
2106 (hildon_touch_selector_append_text_column):
2109 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2111 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2112 Use g_strdup_printf() instead of a fixed size buffer.
2114 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2116 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2117 Close banners when a HildonAppMenu is popped up.
2119 Fixes: NB#111027 (Title menu closed immediately if activated when
2120 "Invalid e-mail address" banner is shown)
2122 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2127 * configure.ac: Bump version.
2128 * debian/changelog: Updates.
2130 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-banner.c (hildon_banner_realize):
2133 Mark HildonBanner as supporting portrait mode.
2134 Use GDK to set window properties insetad of direct Xlib calls.
2136 Fixes: NB#111830 (HildonBanner should be marked as supporting
2139 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2141 * src/hildon-note.c (hildon_note_rebuild):
2142 Hide action area in information notes. Prevents text from being
2143 slightly aligned to the left.
2145 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2148 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2150 Patch by Mox Soini (ext-mox.soini@nokia.com)
2152 * src/hildon-banner.c (hildon_banner_create_animation):
2153 Use stylus-sized icons in animation banner.
2155 Fixes: NB#111206 (stylus sized icon for animation banner)
2157 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2161 (+hildon_gtk_window_set_do_not_disturb):
2162 New API to set the do-not-disturb flag.
2164 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2166 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2168 * examples/hildon-progress-indicator-example.c: Fix example
2170 * src/hildon-gtk.c (set_clear_window_flag)
2171 (hildon_gtk_window_set_progress_indicator):
2172 Create a generic function for setting flags to a window.
2173 Use GDK instead of direct Xlib calls.
2175 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2177 * src/hildon-button.c (hildon_button_set_arrangement):
2178 Due to NB#88126, if one of the labels is too long it will be
2179 painted outside the button. The 'value' label is more likely to be
2180 the longest one, so we change its packing options in order to
2181 truncate it if necessary. As a side effect, the 'title' label will
2182 no longer be truncated.
2184 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2186 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2191 * configure.ac: Bump version.
2192 * debian/changelog: Updates.
2194 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2196 Deprecation of the hildon_pannable_area_set_size_request_policy
2197 API, the only policy properly supported in gtk+ nowadays is the
2200 * src/hildon-pannable-area.c,
2201 (hildon_pannable_area_size_request): Added a workaround for the
2202 size_request to avoid the problems of huge pixmaps in case someone
2203 is still using the function.
2204 * src/hildon-pannable-area.h: Deprecated the enum with the
2207 Fixes: NB#110244 (Problems with the
2208 hildon_pannable_area_set_size_request_policy API)
2210 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2212 * src/hildon-pannable-area.c,
2213 (hildon_pannable_area_init),
2214 (hildon_pannable_area_size_request),
2215 (hildon_pannable_area_style_set),
2216 (hildon_pannable_draw_vscroll),
2217 (hildon_pannable_draw_hscroll),
2218 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2219 indicator_width to clarify the use of the attribute.
2221 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2226 * configure.ac: Bump version.
2227 * debian/changelog: Updates.
2229 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2231 * src/hildon-picker-dialog.c
2232 * src/hildon-touch-selector.c
2233 Reverting the change that tried to avoid the hardcoded height on
2234 the picker dialog, as causes problems on the hildon-touch-selector
2237 Fixes: NB#110029 (selectors not scrolling to selected value)
2239 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2241 * src/hildon-touch-selector.c: Fix typos
2243 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2245 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2246 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2247 request more motions after using it.
2249 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2251 * src/hildon-calendar.c (hildon_calendar_expose),
2252 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2253 Remove unused variables.
2255 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2257 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2258 variable assignment.
2260 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2263 Check the return value of gtk_tree_selection_get_selected()
2266 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2268 * src/hildon-animation-actor.c
2269 * src/hildon-button.c
2271 * src/hildon-pannable-area.c
2272 * src/hildon-picker-button.c
2273 * src/hildon-program.c
2274 * src/hildon-remote-texture.c
2275 * src/hildon-text-view.c
2276 * src/hildon-touch-selector.c
2277 * src/hildon-window-stack.c
2278 * src/hildon-window.c:
2279 Add missing 'Since: 2.2' tags.
2281 * doc/hildon-sections.txt:
2282 Add some missing symbols.
2284 * doc/hildon-docs.sgml:
2285 New 'Other' section for HildonAnimationActor and
2288 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2290 Patch by Iván Gómez (igomez@igalia.com)
2293 * doc/compiling.sgml
2294 * doc/hildon-docs.sgml
2295 * doc/hildon-sections.txt
2296 * doc/migration.sgml
2297 * doc/resources.sgml
2299 New chapters on using the Hildon library.
2300 Updated the general structure of the reference manual.
2301 Other minor documentation fixes.
2303 * src/hildon-calendar-popup.c
2304 * src/hildon-calendar.c
2305 * src/hildon-controlbar.c
2306 * src/hildon-date-editor.c
2307 * src/hildon-dialog.c
2308 * src/hildon-hvolumebar.c
2309 * src/hildon-number-editor.c
2310 * src/hildon-range-editor.c
2311 * src/hildon-sort-dialog.c
2312 * src/hildon-time-editor.c
2313 * src/hildon-time-picker.c
2314 * src/hildon-volumebar-range.c
2315 * src/hildon-volumebar.c
2316 * src/hildon-vvolumebar.c
2317 * src/hildon-weekday-picker.c:
2318 Add deprecation notes
2320 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2321 Document 'horizontal-movement' and 'vertical-movement' signals.
2323 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2328 * configure.ac: Bump version.
2329 * debian/changelog: Updates.
2331 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2333 * src/hildon-pannable-area.c,
2334 (hildon_pannable_area_class_init): increased the minimum velocity.
2335 (hildon_pannable_area_button_release_cb): Updated the
2336 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2337 setup. Review the code to control that last event.
2339 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2342 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2344 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2346 * src/hildon-get-password-dialog.c
2347 (hildon_get_password_set_property),
2348 (hildon_get_password_get_property), (create_contents):
2349 * src/hildon-login-dialog-private.h:
2350 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2351 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2352 (hildon_login_dialog_get_password):
2353 * src/hildon-set-password-dialog-private.h:
2354 * src/hildon-set-password-dialog.c
2355 (hildon_set_password_set_property),
2356 (hildon_set_password_get_property), (create_contents),
2357 (hildon_set_password_response_change),
2358 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2360 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2361 instead and look more Fremantle style.
2363 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2365 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2367 * doc/hildon-sections.txt
2368 * src/hildon-window-stack.h
2369 * src/hildon-window-stack.c
2370 (+hildon_window_stack_get_windows):
2371 New API to obtain the list of windows on a stack.
2373 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-app-menu.c (hildon_app_menu_popup)
2376 (hildon_app_menu_class_init, -hildon_app_menu_show):
2377 Remove hildon_app_menu_show() and move all its checks to
2378 hildon_app_menu_popup()
2380 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2382 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2383 (_hildon_picker_dialog_set_selector): removed call to
2384 gtk_widget_set_size_request
2385 * src/hildon-touch-selector.c
2386 (_create_new_column): change the pannable size request policy
2388 Avoid to use a hardcoded height for the hildon picker dialog. In order
2389 to get that, we needed to change the hildon pannable size request
2391 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2393 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2396 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2399 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2401 * debian/control: Depend on osso-system-lock localization package.
2402 * src/hildon-code-dialog.c: Obtain the secu_application_title
2403 translation from osso-system-lock.
2404 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2405 for translation the atk related strings, that's not necessary.
2406 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2407 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2408 cancel button, it is not required.
2410 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2412 * src/hildon-pannable-area.c,
2413 (hildon_pannable_area_class_init): Modified the default value of
2414 the overshooting max speed, we have reduced it.
2416 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2418 * doc/hildon-sections.txt
2419 * src/hildon-window-private.h
2420 * src/hildon-window.h
2421 * src/hildon-window.c (hildon_window_class_init)
2422 (hildon_window_init, hildon_window_finalize)
2423 (hildon_window_realize, hildon_window_get_property)
2424 (hildon_window_set_property, hildon_window_update_markup)
2425 (hildon_window_get_markup, hildon_window_set_markup):
2426 New "markup" property and hildon_window_{get,set}_markup() methods.
2428 * examples/hildon-stackable-window-example.c (new_window):
2429 Update example to use hildon_window_set_markup()
2431 Fixes: NB#106375 (Need API to retitle a window with a title
2434 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2436 * src/hildon-pannable-area.c,
2437 (hildon_pannable_area_class_init): Changed the default value of
2438 the initial_hint to TRUE.
2439 (hildon_pannable_area_initial_effect): Changed the initial effect,
2440 not the effect is just the fade-out of the scrollbars.
2442 Fixes: NB#107775 (No scrollbars can be seen when several items are
2443 available in a dialog)
2445 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2447 * src/hildon-program.c (hildon_program_update_top_most):
2450 Fixes: NB#109179 (Memory leak in Hildon program)
2452 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-banner.c (-get_current_app_window):
2455 Remove unused function.
2457 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2459 * src/hildon-pannable-area.c: Modified the documentation of the
2460 get adjustments functions to explain the problem of using the
2461 adjustment directly.
2462 (hildon_pannable_area_class_init): Improved the explanation about
2465 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2467 * src/hildon-app-menu-private.h
2468 * src/hildon-app-menu.c
2469 (hildon_app_menu_class_init):
2470 Bring back the 'external-border' style property
2471 (hildon_app_menu_class_init, hildon_app_menu_init)
2472 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2473 Set a fixed width-request for the menu, independent of the number
2476 Fixes: NB#94957 (Smoothly opened application menu)
2478 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2480 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2482 * src/hildon-banner.c
2483 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2485 Make sure that the banner is correctly placed the first time it's
2487 (hildon_banner_check_position, -check_fullscreen_state):
2488 Show the banner in the same place no matter if the window is in
2489 fullscreen mode or not.
2491 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2493 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-touch-selector.c (_default_print_func): reorder
2496 concatenation for clarity.
2498 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2500 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2501 for multicolumn selectors.
2503 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2505 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2510 * configure.ac: Bump version.
2511 * debian/changelog: Updates.
2513 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2515 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2518 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2520 * configure.ac: removed libcangerra-gtk dependency
2521 * debian/control: removed libcanberra-gtk dependency
2522 * src/Makefile.am: removed libcanberra gtk related flags
2523 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2524 context, and manage a global canberra context instead
2526 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2528 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2530 Patch by Daniel Borgmann (danielb@openismus.com)
2532 * src/hildon-edit-toolbar.c:
2533 Adjust the left padding.
2534 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2535 Paint background of the edit toolbar.
2537 Fixes: NB#107897 (Patch to make editmodetoolbar background
2538 themeable and adjust margin)
2540 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2542 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2544 * src/hildon-program.c (hildon_program_update_top_most):
2545 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2547 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2548 change when the user tasks in/out of an application)
2550 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2552 * configure.ac: added libcangerra-gtk dependency
2553 * debian/control: added libcanberra-gtk dependency
2554 * src/Makefile.am: added libcanberra gtk related flags
2555 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2558 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2560 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2562 * src/hildon-program.c (hildon_program_remove_window)
2563 (hildon_program_add_window): Add checks for the window
2564 parameter. Don't decrease the window counter if the window is not
2567 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2569 * src/hildon-pannable-area.c,
2570 (hildon_pannable_area_realize): Fixed position of the event_window
2571 in the realize method.
2573 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2575 * src/hildon-app-menu-private.h
2576 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2577 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2578 (hildon_app_menu_key_press, hildon_app_menu_init)
2579 (hildon_app_menu_finalize):
2580 Make sure that all idle functions are removed when the widget is
2583 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2585 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2590 * configure.ac: Bump version.
2591 * debian/changelog: Updates.
2593 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2595 * src/hildon-entry.c
2596 (+hildon_entry_show_placeholder),
2597 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2598 that replace hildon_entry_update_contents().
2599 (hildon_entry_set_text),
2600 (hildon_entry_set_placeholder),
2601 (hildon_entry_focus_in_event),
2602 (hildon_entry_focus_out_event): Determine when it is needed
2603 either to show or hide the placeholder and call the above methods.
2605 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2606 when the placeholder text is already set)
2608 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2610 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2611 simple GdkPixbufAnim using the new icons for the banner.
2612 (hildon_banner_show_animation): Use the above mentioned method to
2613 create the animation widget.
2615 Fixes: NB#103564 (Make hildon animation banner use individual
2616 image files as the animation)
2618 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2620 * src/hildon-pannable-area.c,
2621 (hildon_pannable_leave_notify_event): Check if the child is NULL
2622 to avoid sending the leave.
2624 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2626 * src/hildon-pannable-area.c,
2627 (hildon_pannable_area_class_init),
2628 (hildon_pannable_leave_notify_event): Added a handler of the
2629 leave-notify-signal to consider when no motion notify before
2632 Fixes: NB#107494 (Items stay selected when clicking and moving
2633 away when inside pannable area)
2635 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2640 * configure.ac: Bump version.
2641 * debian/changelog: Updates.
2643 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2645 Patch by Alberto Garcia (agarcia@igalia.com)
2647 * src/hildon-date-button.c,
2648 (hildon_date_button_class_init),
2649 (hildon_date_button_init): Removed the construct property handling
2650 and created a default selector in the init method.
2651 * src/hildon-picker-button.c,
2652 (hildon_picker_button_class_init): Removed the construct flag of the
2655 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2657 * src/hildon-main.c (hildon_init):
2658 Don't allow hildon_init() to be called more than once.
2660 Fixes: NB#106607 (hildon_init should issue error message upon
2663 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2665 * examples/hildon-pannable-area-touch-list-example.c
2666 * examples/hildon-pannagle-area-touch-grid-example.c
2667 * examples/hildon-edit-toolbar-example.c
2668 * examples/hildon-touch-selector-multi-cells-example.c
2669 Removed the call to gtk_rc_parse_string, as it is not required since
2672 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2674 * src/hildon-pannable-area.c,
2675 (hildon_pannable_area_class_init): Modified the default panning
2676 threshold of the widget to 6px.
2678 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2679 than the threshold value ) within the button is not sending the
2682 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2685 for the treeview in the new column. This way, the touch list will never
2688 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2689 be selected manually for the HW keys to work)
2691 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2693 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2694 comparison instead of using strcmp(). Fixes a compiler warning as well.
2696 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2698 * doc/hildon-docs.sgml: Do not set the library version in the
2699 document title, use the releaseinfo tag for that purpose instead.
2701 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2703 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2704 Do not jump to the first item if the text in the entry is removed.
2706 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2711 * configure.ac: Bump version.
2712 * debian/changelog: Updates.
2714 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2716 * src/hildon-entry.c (hildon_entry_refresh_contents):
2717 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2718 Use "ReversedSecondaryTextColor" for the placeholder text.
2720 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2722 * src/hildon-text-view.c: Fix compilation warning.
2724 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-button.c (hildon_button_class_init): Don't make
2727 "title" and "value" construction properties, to prevent them from
2728 overwriting labels set from derived classes.
2730 * src/hildon-picker-button.c
2731 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2732 (hildon_picker_button_class_init): Make touch-selector a
2733 construction property.
2735 * src/hildon-date-button.c (hildon_date_button_class_init)
2736 (+hildon_date_button_constructed): Add a default date selector if
2739 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2741 * src/hildon-touch-selector.c: Small documentation fixes.
2743 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2745 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2747 * src/hildon-entry.c (hildon_entry_refresh_contents),
2748 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2749 widget name, set the logical color directly instead and a boolean
2750 showing_placeholder instead.
2751 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2752 use the widget name here either.
2754 Fixes: NB#105678 (HildonTextView should use logical colours
2755 instead of setting widget name)
2757 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2759 Patch by Daniel Elster (danielk@openismus.com)
2761 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2762 Add user_data parameter.
2763 (hildon_touch_selector_set_print_func_full): New function akin
2764 hildon_touch_selector_set_print_func() but with support for user
2765 data and a destroy callback.
2766 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2767 to clean up the print function user data.
2768 (hildon_touch_selector_class_init): Install dispose function.
2769 (HildonTouchSelectorPrivate::print_user_data),
2770 (HildonTouchSelectorPrivate::print_destroy_func): New private
2772 (hildon_touch_selector_init): Initialize new private members.
2773 (hildon_touch_selector_get_current_text): Pass along user data
2774 to the print function.
2775 (_default_print_func): Add dummy user_data to parameter list.
2776 * hildon-date-selector.c (_custom_print_func): ditto,
2777 * hildon-time-selector.c (_custom_print_func): ditto,
2778 * hildon-touch-selector-entry.c
2779 (hildon_touch_selector_entry_print_func): ditto.
2781 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2783 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2785 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2787 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2789 * src/hildon-pannable-area.c,
2790 (hildon_pannable_area_init),
2791 (hildon_pannable_area_button_press_cb),
2792 (hildon_pannable_area_motion_notify_cb): We have added code to
2793 handle the leave and enter events when using the motion events.
2795 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2797 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2799 * src/hildon-date-button.c (hildon_date_button_get_date)
2800 (hildon_date_button_set_date): Make sure that the button has a
2803 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2805 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2807 * src/hildon-pannable-area.c,
2808 (hildon_pannable_area_class_init),
2809 (hildon_pannable_area_calculate_velocity): Modify the use of the
2810 force and adapt the value.
2812 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2814 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2815 (hildon_app_menu_class_init): Hide the menu if it receives a
2816 delete-event, but don't destroy it
2818 Fixes: NB#104485 (Not able to address the call when application
2819 menu is opened at background)
2821 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2823 * src/hildon-app-menu.c
2824 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2825 Remove the "external-border" style property, let the menu take its
2826 natural size (or the one set by the window manager)
2827 (hildon_app_menu_repack_items):
2828 Don't reshow the menu, avoid flickers.
2830 Partially fixes NB#94957 (Smoothly opened application menu)
2832 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2837 * configure.ac: Bump version.
2838 * debian/changelog: Updates.
2840 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2842 * src/hildon-pannable-area.c,
2843 (hildon_pannable_area_motion_notify_cb): We control that the
2844 direction error margin is used just in case the movement is
2845 allowed in the other direction.
2847 Fixes: NB#105012 (buttons inside a pannable area not getting
2848 release event when dragging/releasing)
2850 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2852 * src/hildon-pannable-area.c,
2853 (hildon_pannable_area_class_init),
2854 (hildon_pannable_area_get_property),
2855 (hildon_pannable_area_set_property),
2856 (hildon_pannable_area_initial_effect),
2857 (hildon_pannable_axis_scroll),
2858 (hildon_pannable_area_button_release_cb): Reviewed the
2859 overshooting effect, now it has its own max
2860 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2861 speed when bouncing.
2863 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2868 * configure.ac: Bump version.
2869 * debian/changelog: Updates.
2871 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2873 * src/hildon-pannable-area.c,
2874 (hildon_pannable_area_class_init): Changed the max speed, now
2875 users can launch the widget very fast. Reduced the default force,
2876 that way it is easier to control the launch speed.
2878 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2880 * src/hildon-pannable-area.c,
2881 (hildon_pannable_area_button_release_cb): Removed this check
2882 because it causes problems when the device is overloaded.
2884 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2887 add a current_text field to store the text entered in the
2888 touch selector entry.
2889 (_clean_current_selection): clean up the current text as well.
2890 (_save_current_selection), (_restore_current_selection):
2891 Save/restore the text in the entry if the selector is a
2892 HildonTouchSelectorEntry.
2894 Fixes: NB#102541 (value entered in the touch selector entry is not
2895 shown when opened for second time)
2897 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2899 * doc/hildon-sections.txt:
2900 * src/hildon-touch-selector-entry.c
2901 (+hildon_touch_selector_entry_get_entry):
2902 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2904 Fixes: NB#104815 (I need accessor to the entry inside
2905 HildonTouchSelectorEntry)
2907 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2909 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2910 (hildon_app_menu_class_init):
2911 New "filter-vertical-spacing" style property.
2913 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2915 * src/hildon-find-toolbar.c
2916 (hildon_find_toolbar_emit_close)
2917 (hildon_find_toolbar_emit_invalid_input)
2918 (hildon_find_toolbar_entry_activate):
2919 Use g_signal_emit() instead of g_signal_emit_by_name()
2921 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2923 Patch by Mox Soini (ext-mox.soini@nokia.com)
2925 * tests/TEST-CASES.txt
2926 * tests/check-hildon-banner.c
2927 * tests/check-hildon-note.c
2928 * src/hildon-banner.c
2929 * src/hildon-code-dialog.c
2930 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2931 * src/hildon-time-editor.c
2932 * examples/hildon-lookup-example.c (main):
2933 Replace obsolete icon names with new ones.
2935 * src/hildon-find-toolbar-private.h:
2936 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2937 (-hildon_find_toolbar_emit_search):
2938 Remove find button and change icon of close button.
2940 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2942 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2944 * src/hildon-time-button.c (hildon_time_button_new_step):
2945 Use the "touch-selector" property to set the selector directly
2946 when creating the object.
2948 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2950 Added a new example application that allows tuning the pannable
2951 area and replaced defines with properties in order to simplify the
2952 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2953 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2954 PROP_DIRECTION_ERROR_MARGIN.
2956 * examples/hildon-pannable-area-tuning-example.c: New example
2958 * src/hildon-pannable-area.c,
2959 (hildon_pannable_area_class_init),
2960 (hildon_pannable_area_init),
2961 (hildon_pannable_area_get_property),
2962 (hildon_pannable_area_set_property),
2963 (hildon_pannable_area_launch_fade_timeout),
2964 (hildon_pannable_area_adjust_value_changed),
2965 (hildon_pannable_axis_scroll),
2966 (hildon_pannable_area_motion_notify_cb),
2967 (hildon_pannable_area_scroll_cb),
2968 (hildon_pannable_area_button_release_cb): We have converted some
2969 of the defines that control the widget to properties to simplify
2972 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2974 * src/hildon-app-menu.c (hildon_app_menu_map)
2975 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2976 so it's closed if a new window appears.
2978 Fixes: NB#104485 (Not able to address the call when application
2979 menu is opened at background)
2981 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2984 missing 'break' statement in in 'case' construct to avoid
2987 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2989 * src/hildon-touch-selector-entry.c
2990 (hildon_touch_selector_entry_get_property),
2991 (hildon_touch_selector_entry_set_property): Add missing 'break'
2992 statements in in 'case' constructs to avoid incorrect warnings.
2994 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-time-editor.c
2997 (hildon_time_editor_get_time_separators): Do not crash if
2998 the first label is NULL.
3000 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-date-selector.c (_month_days): Check for month to be
3003 strictly less than 12, since otherwise we may overrun the array.
3005 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-date-button.c (+hildon_date_button_new_full)
3008 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3009 (hildon_date_button_init): Set the date selector using a
3010 construction property, to make it happen after HildonButton's
3011 "value" property is set.
3013 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3014 current date by default)
3016 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3018 * doc/hildon-sections.txt
3019 * src/hildon-program.c
3020 * src/hildon-stackable-window.c
3021 * src/hildon-window.c:
3022 Documentation updates
3024 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3026 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3027 (hildon_window_stack_new, +hildon_window_stack_set_property)
3028 (+hildon_window_stack_get_property)
3029 (hildon_window_stack_class_init)
3030 (+hildon_window_stack_set_window_group)
3031 (+hildon_window_stack_get_window_group):
3032 Make the window group a construction property.
3034 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3036 * doc/hildon-sections.txt
3037 * src/hildon-stackable-window-private.h
3038 * src/hildon-stackable-window.h
3039 * src/hildon-stackable-window.c
3040 (-hildon_stackable_window_set_app_menu)
3041 (-hildon_stackable_window_get_app_menu)
3042 (-hildon_stackable_window_toggle_menu)
3043 (-hildon_stackable_window_finalize)
3044 (hildon_stackable_window_class_init)
3045 (hildon_stackable_window_init)
3046 * src/hildon-window-private.h
3047 * src/hildon-window.h
3048 * src/hildon-window.c (hildon_window_init)
3049 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3050 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3051 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3052 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3053 Moved all HildonAppMenu code to HildonWindow. The menu does not
3054 require a HildonStackableWindow anymore.
3056 * src/hildon-app-menu.c
3057 * src/hildon-program.c
3058 * examples/hildon-app-menu-example.c (main):
3059 Update examples and documentation to reflect HildonAppMenu
3062 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3064 * src/hildon-remote-texture.c
3065 * src/hildon-animation-actor.c:
3066 Don't include unused private headers.
3068 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3070 * src/hildon-program-private.h
3071 * src/hildon-program.c
3072 (hildon_program_set_common_menu)
3073 (hildon_program_get_common_menu)
3074 (hildon_program_set_common_app_menu)
3075 (hildon_program_get_common_app_menu):
3076 Change common menu pointers from GtkWidget* to GtkMenu* and
3077 HildonAppMenu* to avoid unnecessary casts.
3079 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3081 * src/hildon-window.c (hildon_window_set_main_menu):
3082 Removed incorrect 'Since:' tag
3084 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3086 * src/hildon-pannable-area.c,
3087 (hildon_pannable_area_calculate_velocity): We use now the
3088 RATIO_TOLERANCE here to check the distance, fixed typo in the
3090 (hildon_pannable_area_motion_notify_cb): We have to set the type
3091 and time even if we are not sending the motion.
3093 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3095 * doc/hildon-sections.txt
3096 * src/hildon-app-menu.h
3097 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3098 (+hildon_app_menu_get_filters): New methods to get the contents of
3101 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3104 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3106 * src/hildon-app-menu.c (hildon_app_menu_popup):
3109 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3111 * src/hildon-window.h
3112 * src/hildon-window.c (+hildon_window_get_main_menu)
3113 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3114 and deprecated hildon_window_get_menu().
3116 * src/hildon-stackable-window.h
3117 * src/hildon-stackable-window.c
3118 (+hildon_stackable_window_set_app_menu)
3119 (+hildon_stackable_window_get_app_menu)
3120 (hildon_stackable_window_set_main_menu): Created
3121 hildon_stackable_window_{get,set}_app_menu() and deprecated
3122 hildon_stackable_window_set_main_menu().
3124 * doc/hildon-sections.txt
3125 * examples/hildon-app-menu-example.c (main)
3126 * src/hildon-app-menu.c
3127 * src/hildon-program.c:
3128 Updated examples and documentation.
3130 Fixes: NB#103758 (No way to obtain a menu from a
3131 HildonStackableWindow)
3133 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3138 * configure.ac: Bump version.
3139 * debian/changelog: Updates.
3141 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3143 * examples/hildon-remote-texture-example.c: Include
3144 hildon-remote-texture.h explicitely.
3145 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3146 applications not defining _XOPEN_SOURCE which don't require this header.
3148 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3150 * doc/hildon-sections.txt
3151 * src/hildon-app-menu.h
3152 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3153 New function to pop up a HildonAppMenu
3155 * src/hildon-stackable-window.c
3156 (hildon_stackable_window_toggle_menu):
3157 Use hildon_app_menu_popup() to show the menu.
3159 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-app-menu.c (hildon_app_menu_show)
3162 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3163 menu if there's another window between it and its parent window.
3165 Fixes: NB#100468 (Application menu window is launched even when a
3166 new secondary-window/dialog is pending to be shown/realized)
3168 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3170 * src/hildon-window-stack.c (hildon_window_stack_push)
3171 (hildon_window_stack_pop_and_push):
3172 Don't forget to push/pop the first window.
3173 Reverse the window list before calling _push_list()
3175 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-picker-button.h
3178 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3179 Remove "value_changed" slot to avoid ABI breakage
3181 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3183 * src/hildon-pannable-area.c,
3184 (hildon_pannable_area_realize),
3185 (hildon_pannable_area_unrealize),
3186 (hildon_pannable_draw_vscroll),
3187 (hildon_pannable_draw_hscroll): Changed the method to handle the
3188 GC used to draw the transparent scrollbar, this way we avoid
3189 creating the GC all the time when drawing the scrollbars.
3191 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3193 * src/hildon-pannable-area.c,
3194 (hildon_pannable_area_init),
3195 (hildon_pannable_area_remove): Removed some unnecessary casts.
3196 (hildon_pannable_area_dispose): Disconnected some signals before
3197 releasing the adjustments.
3199 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3201 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3202 Make sure that all widgets contained in the toolbar are shown.
3204 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3206 * doc/hildon-sections.txt
3207 * src/hildon-picker-button.h
3208 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3209 (_selection_changed, hildon_picker_button_on_dialog_response)
3210 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3211 New hildon_picker_button_value_changed() method.
3214 * src/hildon-picker-button-private.h
3215 * src/hildon-picker-button.c (hildon_picker_button_init)
3216 (+hildon_picker_button_disable_value_changed): Add protected
3217 function for disabling the "value-changed" signal.
3219 * src/hildon-date-button.c (hildon_date_button_set_date):
3220 Don't emit "value-changed" for each one of the three columns.
3222 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3223 before actual change of values)
3225 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3227 * src/hildon-pannable-area.c,
3228 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3229 for the treeview overshooting.
3231 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3233 * src/hildon-banner.c (+hildon_banner_bind_style):
3234 Renamed from hildon_banner_bind_label_style(), now naming the
3235 banner itself as well.
3236 (hildon_banner_show_information),
3237 (hildon_banner_show_information_with_markup),
3238 (hildon_banner_show_animation), (hildon_banner_show_progress):
3239 Name the widgets and labels, based on their type.
3241 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3244 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3246 * src/hildon-note.c (hildon_note_set_property): call
3247 hildon_note_rename() on HildonNote:note-type set.
3248 (hildon_note_rename): Name the note and its label, based on the
3249 HildonNote:note-type property.
3251 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3254 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3256 * src/hildon-pannable-area.c,
3257 (hildon_pannable_area_class_init),
3258 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3259 panning parameters, increased SPS and deceleration factor. Added
3260 also a margin to control fake directions.
3262 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3264 Patch by Sven Herzberg (sven@imendio.com)
3266 * configure.ac: Add missing AM_PROG_CC_C_0
3267 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3269 See NB#101420 (Update unit tests and fix make check)
3271 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3273 This patch was applied before but reverted because it caused
3274 problems, we have changed the main condition and tested the
3275 regressions we detected before and they work ok. We have done a
3276 complete review of the topmost algorithm in order to get a more
3279 * src/hildon-pannable-area.c,
3280 (hildon_pannable_area_get_topmost): Added a new parameter to
3281 filter the the windows that do not include those events.
3282 (hildon_pannable_area_button_press_cb),
3283 (hildon_pannable_area_button_release_cb),
3284 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3285 topmost function, we have added the new parameter.
3287 Fixes: NB#97458 (Pannable area prevents propagation of button
3290 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3292 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3293 if all columns in the selector have an item selected.
3294 (_on_dialog_response): Stop "response" signal emission if there is
3295 any selector column without selected items.
3297 Fixes: NB#101889 (Picker dialog should not close when nothing is
3298 selected in multiple selection list)
3300 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3302 * src/hildon-font-selection-dialog.c
3303 (hildon_font_selection_dialog_class_init),
3304 (hildon_font_selection_dialog_init): Remove the preview
3305 button and dialog, since previewing with default theming is likely
3306 to be overcomplicated. The :preview property has now no effect.
3307 Update documentation blurbs to inform about this.
3309 Fixes: NB#92297 (Preview content is not clearly visible for
3310 default colour text)
3312 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3314 Reviewed the geometry that handles the children size and
3315 scrollbar, now it tries a size and reviews the results depending
3316 on the scrollbars visibility.
3318 * src/hildon-pannable-area.c,
3319 (hildon_pannable_area_realize): Fixed a typo.
3320 (hildon_pannable_area_child_allocate_calculate): Added this
3321 function to calculate the child allocation.
3322 (hildon_pannable_area_size_allocate): Reviewed the allocation
3324 (hildon_pannable_area_check_scrollbars),
3325 (hildon_pannable_area_refresh): Refactored refresh function, this
3326 way we can call the code handling the scrollbars without causing a
3327 size_request, it is interesting in the allocate.
3328 (hildon_pannable_area_init): Replace the callbacks of the
3329 value_changed and changed signals to propertly deal with the
3331 (hildon_pannable_area_grab_notify),
3332 (hildon_pannable_area_initial_effect),
3333 (hildon_pannable_area_launch_fade_timeout),
3334 (hildon_pannable_area_adjust_changed),
3335 (hildon_pannable_area_adjust_value_changed),
3336 (hildon_pannable_area_redraw),
3337 (hildon_pannable_area_button_press_cb),
3338 (hildon_pannable_area_button_release_cb),
3339 (hildon_pannable_area_scroll_cb),
3340 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3341 code and use the new functions adjust_changed and
3342 adjust_value_changed.
3344 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3345 Contact editor dialog)
3347 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3352 * configure.ac: Bump version.
3353 * debian/changelog: Updates.
3355 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3357 * src/hildon-pannable-area.c,
3358 (hildon_pannable_area_get_topmost),
3359 (hildon_pannable_area_button_press_cb),
3360 (hildon_pannable_area_button_release_cb),
3361 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3362 topmost function adding the event mask. We have to try a
3363 differente approach because it is still causing problems (NB#9745,
3366 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3368 * src/hildon-banner.c:
3369 Update the maximum width of timed banners.
3370 (force_to_wrap_truncated): Enforce the maximum text width if the
3373 Fixes: NB#102413 (The text margins (wrapping) in information
3374 banner should be HILDON_MARGIN_TRIPLE)
3376 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3378 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3380 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3381 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3382 bound when calculating the scroll indicator position.
3384 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3385 treat ->lower correctly)
3387 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3389 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3390 expose event handling, since it is not necessary to draw the focus
3393 Fixes: NB#102467 (Do not show highlight on the text in
3396 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3398 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3399 full height of the toolbar for the button and the label.
3401 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3404 padding before the label and after the button.
3406 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3408 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3410 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3411 Add a GtkVSeparator between the button and the back arrow.
3412 Let the button have automatic size.
3413 Set a name to the widget for theming handling.
3415 Fixes: NB#101793 (Make edit toolbar the same height as window
3416 title bar (use title area theming))
3418 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3420 * src/hildon-helper.c (attach_new_color_element): Fix memory
3423 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3425 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3427 * examples/hildon-button-example.c (common_buttons_window): Don't
3430 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3432 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3433 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3435 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3437 * src/hildon-gtk.c: Check that the window is realized.
3439 Fixes: NB#102225 (Crash setting the progress indicator to a non
3442 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3444 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3445 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3446 instead of modifying the one in the widget style.
3448 Fixes: NB#101043 (Second row of all the command button are
3449 displayed in transparent mode.)
3451 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3453 * src/hildon-date-button.c
3454 * src/hildon-time-button.c: Add gettext macros
3456 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3458 * src/hildon-date-button.c (hildon_date_button_new):
3459 * src/hildon-time-button.c (hildon_time_button_new_step):
3460 Use new logical strings to set the button default title.
3462 Fixes: NB#99915 (Date and Time options are not localised in Date
3465 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3467 * src/hildon-pannable-area.c
3468 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3469 the PANNING_THRESHOLD.
3471 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3473 * src/hildon-pannable-area.c,
3474 (hildon_pannable_area_class_init): Increased the maximum speed.
3475 (hildon_pannable_area_get_property),
3476 (hildon_pannable_area_set_property),
3477 (hildon_pannable_area_timeout): Added a new low friction mode, it
3478 allows the user avoid friction when launching the widget fast
3479 enough. It is interesting to traverse long lists.
3481 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3483 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3484 (+hildon_stackable_window_delete_event): Ignore delete events if
3485 the window is not the topmost one.
3487 Fixes: NB#101698 (Back button long press and delete-event handling)
3489 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3491 * src/hildon-pannable-area.c,
3492 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3493 gtk-dnd-drag-threshold, it was too big. We have defined our own
3494 dnd define and set a smaller value: PANNIG_THRESHOLD.
3496 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3498 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3499 user-defined icons, use always the default one.
3501 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3503 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3505 This patch was applied before but reverted because it caused
3506 problems, we have changed the main condition and tested the
3507 regressions we detected before and they work ok.
3509 * src/hildon-pannable-area.c,
3510 (hildon_pannable_area_get_topmost): Added a new parameter to
3511 filter the the windows that do not include those events. Added
3512 also a condition when finding the window to filter windows that do
3513 not ask for those events.
3514 (hildon_pannable_area_button_press_cb),
3515 (hildon_pannable_area_button_release_cb),
3516 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3517 topmost function, we have added the new parameter.
3519 Fixes: NB#97458 (Pannable area prevents propagation of button
3522 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3524 * tests/check-hildon-color-button.c (START_TEST): do not leak
3527 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3529 * src/hildon-font-selection-dialog.c
3530 (hildon_font_selection_dialog_get_preview_text): Return NULL
3531 instead of FALSE on the g_return_val_if_fail().
3533 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3536 * src/hildon-date-selector.c
3537 (hildon_date_selector_select_current_date):
3538 Do not compare unsigned integers to be greater than or equal 0,
3539 because it's always TRUE.
3541 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3543 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3544 (hildon_date_selector_constructor): Do not select the current
3545 date until we are handle the "changed" signal, to avoid having bogus
3546 elements in the days model.
3548 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3550 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3551 for num_days, since _month_days() can return a negative value.
3553 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3555 * src/hildon-caption.c (hildon_caption_size_allocate):
3556 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3557 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3559 Initialize allocation variables to 0, to avoid eventually using
3560 unitialized variables.
3562 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3564 * src/hildon-bread-crumb-trail.c
3565 (hildon_bread_crumb_trail_size_allocate):
3566 * src/hildon-calendar.c (hildon_calendar_set_background):
3567 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3568 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3569 * src/hildon-seekbar.c (hildon_seekbar_init):
3570 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3571 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3572 * src/hildon-touch-selector-entry.c
3573 (hildon_touch_selector_get_text_from_model):
3574 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3575 * src/hildon-window.c (hildon_window_finalize):
3577 Remove many unused variables.
3579 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3581 * src/hildon-seekbar.c: (hildon_seekbar_init),
3582 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3584 Remove unnecessary g_assert() calls.
3586 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3588 * src/hildon-caption.c: (hildon_caption_expose),
3589 (hildon_caption_set_property), (hildon_caption_init),
3590 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3591 (hildon_caption_size_request), (hildon_caption_size_allocate),
3592 (hildon_caption_forall), (hildon_caption_set_separator),
3593 (hildon_caption_activate), (hildon_caption_set_child_expand),
3594 (hildon_caption_set_label_text),
3595 (hildon_caption_get_label_alignment):
3597 Remove unnecessary g_assert() calls.
3599 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3601 * src/hildon-banner.c
3602 (hildon_banner_map, hildon_banner_init): Make banner temporary
3603 before mapping it to avoid closing other temporary windows, but
3604 make it non-temporary afterwards to avoid being closed by other
3605 non-temporary windows.
3606 (-hildon_banner_client_event, hildon_banner_init):
3607 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3609 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3612 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3614 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3617 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3619 * src/hildon-remote-texture.c
3620 * src/hildon-remote-texture.h
3621 * src/hildon-remote-texture-private.h
3622 * examples/hildon-remote-texture-example.c:
3623 Updates/fixes to remote-texture and its example.
3625 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3627 Patch by Mox Soini (ext-mox.soini@nokia.com)
3629 * src/hildon-code-dialog.c: Update logical id.
3630 * src/hildon-set-password-dialog.c: Update logical id.
3632 Fixes: NB#100646 (Logical strings is shown for ok in set
3633 password,Password needed dialogs)
3635 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3638 * src/hildon-remote-texture.c
3639 * src/hildon-remote-texture.h
3640 * src/hildon-remote-texture-private.h
3642 Added remote texture widget (for Clutter shared memory textures)
3644 * examples/hildon-remote-texture-example.c
3645 * examples/Makefile.am
3646 Added example file for remote texture usage
3648 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3650 * configure.ac: post release version bump.
3651 * debian/changelog: version bump.
3653 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3658 * configure.ac: Bump version.
3659 * debian/changelog: Updates.
3661 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3663 * src/hildon-date-selector.c (hildon_date_selector_init)
3664 (hildon_date_selector_constructor): Don't connect to the "changed"
3665 signal until the selector is completely constructed.
3667 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3669 * src/hildon-touch-selector.c: (_create_new_column),
3670 (hildon_touch_selector_append_column),
3671 (hildon_touch_selector_set_column_selection_mode),
3672 (hildon_touch_selector_set_active),
3673 (hildon_touch_selector_select_iter):
3674 Emit the HildonTouchSelector::changed signal every time selection
3675 is changed in any of the methods above. This behavior was already
3676 documented but not fully functional.
3678 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3679 selection is programmatically changed)
3681 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3683 * doc/hildon-sections.txt: Remove obsolete icon
3684 sizes from here as well.
3686 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3688 * examples/hildon-stackable-window-example.c (add_window): Remove
3691 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3693 * src/hildon-app-menu.c
3694 (hildon_app_menu_show): Check whether the parent window of a menu
3695 is topmost before popping it up.
3697 Fixes: NB#100468 (Application menu window is launched even when a
3698 new secondary-window/dialog is pending to be shown/realized.)
3700 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3702 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3705 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3707 Patch by Mox Soini (ext-mox.soini@nokia.com)
3709 * src/hildon-banner.c: (hildon_banner_show_animation):
3710 use stylus size instead of obsolete note size.
3711 * src/hildon-defines.h: Update icon sizes.
3713 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3715 * src/hildon-touch-selector-entry.c:
3716 (hildon_touch_selector_entry_init): Disable unsupported
3718 (hildon_touch_selector_entry_get_text_column): Emit a warning
3719 if an unsupported input modes is used and explicitile state
3720 these modes in the documentation.
3722 Fixes: NB#99802 (Hildon touch selector entry not working properly
3723 for some of the input modes)
3725 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3727 * src/hildon-pannable-area.c,
3728 (hildon_pannable_area_init): Added the changed signal handlers of
3731 Fixes: NB#100320 (HildonPannableArea does not listen to
3732 GtkAdjustment "change" signals)
3734 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3736 * doc/hildon-sections.txt
3737 * src/hildon-window-private.h
3738 * src/hildon-window.h
3739 * src/hildon-window.c (hildon_window_init)
3740 (hildon_window_realize, hildon_window_unrealize)
3741 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3742 (hildon_window_size_request, hildon_window_size_allocate)
3743 (hildon_window_forall, hildon_window_show_all)
3744 (hildon_window_destroy, +paint_edit_toolbar)
3745 (+hildon_window_set_edit_toolbar):
3746 New hildon_window_set_edit_toolbar() method, to add a
3747 HildonEditToolbar to a window without having to pack it manually.
3749 Reorganize hildon_window_size_allocate()
3751 * src/hildon-edit-toolbar.c: Update documentation.
3753 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3754 example to use the new API.
3756 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3758 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3760 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3761 Remove from stack before calling parent's hide.
3763 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3765 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3766 window is removed from the middle of the stack, update the
3767 transiency of the previous one.
3769 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3772 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3774 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3775 block/unblock the signal handler if it's not actually being used.
3776 Fixes some critical warnings.
3778 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3780 Based on a patch by Iván Gómez (igomez@igalia.com)
3782 * src/hildon-banner.c
3786 * src/hildon-pannable-area.c
3787 * src/hildon-picker-dialog.c
3788 * src/hildon-wizard-dialog.h
3789 * src/hildon-wizard-dialog.c: Documentation updates.
3791 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3792 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3794 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3796 * configure.ac: post release version bump.
3797 * debian/changelog: version bump.
3799 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3804 * configure.ac: Bump version.
3805 * debian/changelog: Updates.
3807 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3809 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3810 a stock icon nor change the relief of the back arrow.
3812 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3813 graphics from theme)
3815 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3817 * src/hildon-button.c (hildon_button_set_alignment): Use
3818 priv->alignment if the button has no child yet.
3820 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3822 * src/hildon-button.c: (hildon_button_init): Set the
3823 button style during initialization to give it the proper
3826 Fixes: NB#99713 (HildonButton value label color is wrong)
3828 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/hildon-touch-selector.c: Document
3831 hildon_touch_selector_center_on_selected()
3833 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3835 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3836 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3837 all menu items, but not the menu itself.
3838 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3839 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3840 items after adding them to the menu so keyboard accelerators work.
3841 (hildon_app_menu_show): Don't show the menu if it contains items
3842 but none of them are visible.
3844 * examples/hildon-app-menu-example.c (create_menu): Use
3845 gtk_widget_show_all() to show all menu items.
3847 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3849 * src/hildon-picker-dialog.c:
3850 (-_update_title_on_selector_changed_cb),
3851 (-_dialog_update_title): Removed.
3852 (_select_on_selector_changed_cb), (_on_dialog_response),
3853 (on_selector_columns_changed): Do not update the dialog title.
3854 (setup_interaction_mode): Do not connect to
3855 HildonTouchSelector::changed signal if there's a "done" button, as
3856 the dialog title doesn't need to be updated.
3858 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3861 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3863 Patch by Kristian Rietveld (kris@imendio.com)
3865 * src/hildon-touch-selector.c: (_create_new_column): Use new
3866 GtkTreeView::hildon-row-tapped signal to react to user interactions
3867 instead of ::changed.
3869 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3870 with some dynamic tree model)
3872 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3874 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3875 (+screen_size_changed, +label_size_request)
3876 (hildon_note_class_init): Make the Hildon information note have a
3877 minimum height, and make its text hvae a maximum width.
3879 Fixes: NB#98614 (Hildon information note (background) should have
3880 minimum height and maximum text width)
3882 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3884 * src/hildon-banner.h
3885 * src/hildon-banner.c (hildon_banner_show_information)
3886 (hildon_banner_show_informationf)
3887 (hildon_banner_show_information_with_markup): Update documentation
3888 to reflect that the icon_name parameter is not used anymore.
3889 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3890 Remove all code from these functions and mark them as deprecated.
3891 (hildon_banner_show_progress): Mark as deprecated.
3893 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3895 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3897 * src/hildon-pannable-area.c,
3898 (hildon_pannable_area_class_init),
3899 (tranparency_color),
3900 (hildon_pannable_draw_vscroll),
3901 (hildon_pannable_draw_hscroll),
3902 (hildon_pannable_area_expose_event): Added a new way to render the
3903 scrollbars of the pannable area avoiding using cairo at all. This
3904 way we improve the performance of the pannable area rendering. The
3905 cairo rendering procedure is still in the code, we can control
3906 which one to use changing the value of the define
3907 USE_CAIRO_SCROLLBARS.
3909 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3911 * configure.ac: post release version bump.
3912 * debian/changelog: version bump.
3914 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3919 * configure.ac: Bump version.
3920 * debian/changelog: Updates.
3922 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3924 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3925 banners instead of destroying them when they receive a button
3928 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3930 Reverted commit 34028, it was causing regressions, probably the
3931 topmost condition is not correct, we have to check it in more
3932 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3933 propagation of button press events)
3935 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3937 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3938 that the selection is not empty before attempting to retrieve the
3939 current ampm selection.
3941 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3943 * src/hildon-picker-button.c:
3944 (hildon_picker_button_on_dialog_response): Directly update the
3945 button contents when required instead of calling _selection_changed.
3947 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3949 * src/hildon-program.c (hildon_program_update_top_most): Update
3950 'is-topmost' property also when wm_hints is not set.
3952 Fixes: NB#98383 (is-topmost signal is not emitted when task
3953 switcher is clicked.)
3955 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3957 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3961 * src/hildon-animation-actor.c,
3962 * src/hildon-animation-actor.h: Added the animation actor class,
3963 this widget represents an animation actor for WM-assisted
3964 animation effects in the Hildon framework.
3966 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3968 * src/hildon-window-stack-private.h
3969 * src/hildon-window-stack.c
3970 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3971 Avoid calling gtk_widget_show() again indirectly from
3972 hildon_stackable_window_show()
3974 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3976 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3979 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3981 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3982 (hildon_time_selector_init): Move the construction of the hours and
3983 ampm columns to the constructor to preserve the order the columns
3986 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3988 * src/hildon-picker-dialog.c:
3989 (hildon_picker_dialog_class_init): Connect a realize method.
3990 (+hildon_picker_dialog_realize): Setup the interaction mode here
3992 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3993 yet, do it during the realize instead.
3994 (_on_dialog_response):
3995 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3996 if the widget is not realized, to avoid the dialog response before it
3999 Avoid premature responses in the HildonPickerDialog that can cause it
4000 to be hidden before it's even shown.
4002 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4004 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4005 (on_selector_columns_changed), (requires_done_button),
4006 (+prepare_action_area), (setup_interaction_mode),
4007 (_hildon_picker_dialog_set_selector):
4009 Split the interaction mode setup into preparation of the
4010 action area (prepare_action_area()) and the connection of
4011 the signals in setup_interaction_mode() and update the code to
4014 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4016 * src/hildon-pannable-area.c,
4017 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4018 per second to 15, we will check if this is ok regarding
4021 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4023 * src/hildon-pannable-area.c,
4024 (hildon_pannable_axis_scroll): Avoid resize if we already have
4025 reached overshoot_max.
4027 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4029 * src/hildon-pannable-area.c,
4030 (hildon_pannable_area_init),
4031 (hildon_pannable_area_realize),
4032 (hildon_pannable_area_size_allocate),
4033 (hildon_pannable_area_map),
4034 (hildon_pannable_area_unmap),
4035 (hildon_pannable_draw_vscroll),
4036 (hildon_pannable_draw_hscroll),
4037 (hildon_pannable_area_expose_event),
4038 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4039 pannable are to avoid the expose events go to the window and
4040 redraw the window. We save this way that part of the stack and the
4041 paint_boxes. We had to change the positions of the elements when
4044 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4046 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4047 * src/hildon-color-chooser-dialog.c:
4048 (hildon_color_chooser_dialog_init):
4049 * src/hildon-font-selection-dialog.c:
4050 (hildon_font_selection_dialog_init),
4051 (hildon_font_selection_dialog_show_preview):
4052 * src/hildon-get-password-dialog.c:
4053 * src/hildon-login-dialog.c:
4054 * src/hildon-set-password-dialog.c:
4055 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4056 * src/hildon-time-picker.c: (hildon_time_picker_init):
4058 Remove obsolete logical string IDs and update to the appropriate ones.
4060 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4062 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4064 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4065 that happens if the window hasn't been realized yet.
4067 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4068 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4070 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4072 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4073 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4076 Fixes: NB#98537 (Device hangs in account settings dialog)
4078 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4080 * configure.ac: post release version bump.
4081 * debian/changelog: version bump
4083 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4088 * configure.ac: Bump version.
4089 * debian/changelog: Updates.
4091 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4093 Added a new function to the HildonTimeButton widget that allows to
4094 change the step of the minutes in the selector associated with the
4095 button: hildon_time_button_new_step
4097 * src/hildon-time-button.c,
4098 (hildon_time_button_init),
4099 (hildon_time_button_new),
4100 (hildon_time_button_new_step):
4101 * src/hildon-time-button.h: Added the new function and refactored
4103 * examples/hildon-time-button-example.c,
4104 (main): We have replaced the function without parameters with the
4105 function with the steps set to 5
4107 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4109 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4111 * src/hildon-time-selector.c,
4112 (hildon_time_selector_class_init),
4113 (hildon_time_selector_constructor),
4114 (hildon_time_selector_get_property),
4115 (hildon_time_selector_set_property),
4116 (_create_minutes_model),
4117 (hildon_time_selector_new_step),
4118 (hildon_time_selector_set_time),
4119 * src/hildon-time-selector.h: Added a new property to the
4120 HildonTimeSelector (minutes-step), we use that property to control
4121 the steps between the minutes in the list of the selector. We have
4122 added a new function to the API to create a widget changing the
4123 step: hildon_time_selector_new_step.
4125 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4127 * src/hildon-time-selector.c,
4128 (hildon_time_selector_class_init),
4129 (hildon_time_selector_constructor),
4130 (hildon_time_selector_init): Overrided the construct function when
4131 creating the time selector object. We have moved the minutes model
4132 handling code from the init to the new construction function:
4133 hildon_time_selector_constructor.
4135 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4137 * examples/hildon-date-button-example.c: (main): Use the new
4138 hildon_date_button_new_with_year_range() method in the example.
4139 * src/hildon-date-button.c:
4140 (+hildon_date_button_new_with_year_range): New public method
4141 to conveniently create a HildonDateButton with a custom year range
4142 in its HildonDateSelector.
4143 * src/hildon-date-button.h: Add the new public method definition.
4145 Fixes: NB#97908 (Not possible to change the year range in
4146 HildonDateSelector/HildonDateButton)
4148 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4150 * src/hildon-date-selector.c:
4151 (+hildon_date_selector_set_property),
4152 (+hildon_date_selector_get_property),
4153 (hildon_date_selector_class_init): Install new properties "min-year"
4154 and "max-year" to define boundaries for the year column.
4155 (_create_year_model): Use the boundary properties to populate the model.
4156 (+hildon_date_selector_new_with_year_range): New public method to
4157 create a HildonDateSelector with a user defined year range.
4158 (hildon_date_selector_select_current_date): Use the new boundaries to
4159 calculate the iterator of current year.
4160 * src/hildon-date-selector.h: Add the new public method definition.
4162 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4164 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4165 Install a constructor method.
4166 (+hildon_date_selector_construct_ui): construct the widget.
4167 (+hildon_date_selector_constructor): new constructor.
4168 (+hildon_date_selector_init): move out widget construction code to
4169 the new constructor.
4171 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4173 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4174 that there's actually a month or year selected before obtaining them.
4175 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4176 of the HildonTouchSelector::changed signal, as it was emitted on every
4177 single item selection.
4179 Fix some warnings and possible crashers due to the selection restoring.
4181 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4183 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4184 the signal handlers only after creating the dialog instead of on every
4187 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4189 * src/hildon-button.c (hildon_button_init)
4190 * src/hildon-check-button.c (hildon_check_button_init)
4191 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4192 focus when clicked by default.
4194 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4196 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4199 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4201 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4202 Alejandro G. Castro (alex@igalia.com)
4204 * src/hildon-picker-dialog.c:
4205 (hildon_picker_dialog_class_init): install new "center-on-show"
4207 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4208 (hildon_picker_dialog_set_property): add setter code for the new
4210 (hildon_picker_dialog_get_property): add getter code for the new
4212 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4213 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4216 Fixes: NB#92849 (Selected item is not always visible when
4217 HildonTouchSelector is shown)
4219 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4221 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4222 Alejandro G. Castro (alex@igalia.com)
4224 * src/hildon-touch-selector.c:
4225 (_create_new_column): Do not connect to the "realize" signal of the
4227 (hildon_touch_selector_append_column): center on the selected items
4228 when a new column is appended.
4229 (hildon_touch_selector_select_iter): Factor out the code to select a
4230 column to hildon_touch_selector_scroll_to().
4231 (+search_nearest_element): Method to retrieve the nearest selected
4232 element to the visible area of the pannable area in a column.
4233 (+on_realize_cb): scroll to the initially selected item.
4234 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4235 the pannable area is realized, otherwise delay this until it is.
4236 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4237 selected items of a given column.
4238 (+hildon_touch_selector_center_on_selected): Public method to center
4239 all columns on the nearest selected item.
4240 * src/hildon-touch-selector.h: Add definition for
4241 hildon_touch_selector_center_on_selected().
4243 Implement public API to ensure visibility of all selected items in
4244 a HildonTouchSelector.
4246 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4248 Fixed a problem in the fading when calling the scroll_to API, and
4249 improve scrollbar fading handling.
4251 * src/hildon-pannable-area.c,
4252 (hildon_pannable_area_grab_notify): avoid the timeout when the
4254 (hildon_pannable_area_button_press_cb),
4255 (hildon_pannable_area_motion_notify_cb): Code style changes.
4256 (hildon_pannable_area_button_release_cb): Review the conditions
4257 when releasing the mouse button to avoid unrequired fading
4259 (hildon_pannable_area_scroll_to): Do not calculate and set the
4260 velocity if the scroll is not required.
4262 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4264 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4265 Don't check whether the new selector is NULL: it cannot be.
4266 Hold a reference to the selector while doing the replacement.
4268 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4270 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4271 unnecessary size_request in a removed widget.
4273 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4275 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4276 an unnecessary reference tracking that was leaking.
4278 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4280 Added delayed motion notify event handling, this way we can
4281 discard redrawing if more than 25 events arrive per second.
4283 * src/hildon-pannable-area.c,
4284 (hildon_pannable_area_init): Initialized the new private atributes
4285 controlling this timeout
4286 (hildon_pannable_area_dispose): Remove the timeout that controls
4287 the motion notify events.
4288 (hildon_pannable_area_scroll): Added a condition to control the
4289 use of the acceleration.
4290 (hildon_pannable_area_motion_event_scroll_timeout),
4291 (hildon_pannable_area_motion_event_scroll): Added this two
4292 functions, they handle the motion notify events inside the
4294 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4295 to the scroll method with the new function.
4296 (hildon_pannable_area_button_release_cb): We have to remove the
4297 timeout handler and move to the last position if the last motion
4298 events were not handled.
4300 Fixes: NB#97028 (Pannable area updates on every motion event)
4302 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4304 * src/hildon-pannable-area.c,
4305 (hildon_pannable_area_get_topmost): Added a new parameter to
4306 filter the the windows that do not include those events. Added
4307 also a condition when finding the window to filter windows that do
4308 not ask for those events.
4309 (hildon_pannable_area_button_press_cb),
4310 (hildon_pannable_area_button_release_cb),
4311 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4312 topmost function, we have added the new parameter.
4314 Fixes: NB#97458 (Pannable area prevents propagation of button
4317 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4319 * src/hildon-pannable-area.c,
4320 (hildon_pannable_area_initial_effect): Added controls before
4321 launching the timeout and the idle functions.
4322 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4323 of the method, in some situations it can return with TRUE and 0 in
4325 (hildon_pannable_area_button_press_cb): We do not need to set
4326 DELAY for fading out here.
4328 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4330 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4332 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4333 post-cleaning if the selection is not NULL.
4335 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4337 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4338 all items before restoring the selection.
4340 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4342 * src/hildon-touch-selector.c:
4343 (+hildon_touch_selector_unselect_all):
4344 * src/hildon-touch-selector.h: New API to unselect all items in a
4345 column of the touch selector.
4347 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4349 * src/hildon-pannable-area.c,
4350 (hildon_pannable_area_redraw): Added a call to the refresh
4351 function inside the redraw because apparently in some cases the
4352 change in the adjustment does not imply a size allocate.
4354 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4355 despite the view not being scrollable)
4357 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4359 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4360 leak. Check for NULL before attempting to set the window title.
4362 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4364 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4365 whether to show or not the 'Done' button each time the dialog is
4366 shown, as it depends on the HildonTouchSelector selection mode.
4368 Fixes: NB#96226 (In multiple selection mode Done button is shown
4369 sometimes in listpicker)
4371 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4373 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4374 for the number of columns in the HildonTouchSelector more than once.
4376 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-touch-selector.c: Minor documentation fixes.
4380 * src/hildon-picker-dialog.c (+_dialog_update_title)
4381 (_select_on_selector_changed_cb)
4382 (_update_title_on_selector_changed_cb)
4383 (on_selector_columns_changed): Update dialog title when there's no
4384 'Done' button and also when the number of columns in the selector
4388 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4389 (+_selection_changed, hildon_picker_button_on_dialog_response)
4390 (hildon_picker_button_selector_selection_changed)
4391 (+hildon_picker_button_selector_columns_changed)
4392 (hildon_picker_button_set_selector): Update button value and emit
4393 'value-changed' when the number of columns in the selector
4397 Fixes: NB#96225 (Dialog titles are not shown according to the
4398 values selected in the list picker)
4400 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4402 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4403 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4404 New "arrow-width" and "arrow-height" style properties to set the
4405 size of the arrow button.
4406 Set name of arrow button ("hildon-edit-toolbar-arrow").
4408 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4409 graphics from theme)
4411 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4413 * src/hildon-picker-button.c:
4414 (hildon_picker_button_selector_selection_changed): Use
4415 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4416 the dialog is present.
4418 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4419 the selection is accepted in the dialog)
4421 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-color-chooser.h
4424 * src/hildon-color-chooser-dialog.h:
4425 Added G_BEGIN_DECLS and G_END_DECLS
4427 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4429 (_clean_current_selection): plug a leak in the list.
4431 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4433 * src/hildon-picker-dialog.c:
4434 (+free_path_list): Method to free a GList of GtkTreePaths.
4435 (_clean_current_selection), (_save_current_selection),
4436 (_restore_current_selection): Save the current selection in
4437 as a list of lists, to support multiple selection properly.
4439 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4441 patch by Claudio Saavedra (csaavedra@igalia.com)
4443 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4444 Store the press position.
4445 (+hildon_text_view_button_release_event): If the release position is
4446 close enough to the press position, move the cursor here. Otherwise,
4448 (hildon_text_view_class_init): Override GtkTextView press, release, and
4449 motion event handlers, disabling this way text selection through
4450 pointer interaction, and allowing the container widget to handle the
4453 Fixes: NB#95828 (HildonTextView functionality)
4455 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4457 Based on a patch by Iván Gómez (igomez@igalia.com)
4459 * src/hildon-button.[ch]
4460 * src/hildon-calendar.c
4461 * src/hildon-check-button.c
4462 * src/hildon-date-editor.c
4463 * src/hildon-date-selector.c
4464 * src/hildon-picker-button.c
4465 * src/hildon-time-editor.c
4466 * src/hildon-time-selector.c
4467 * src/hildon-touch-selector.[ch]:
4468 Documentation updates
4470 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4472 * src/hildon-pannable-area.c,
4473 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4474 threshold, it was required due to X events handling.
4476 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4478 * src/hildon-pannable-area.c,
4479 (hildon_pannable_area_grab_notify),
4480 (hildon_pannable_area_initial_effect),
4481 (hildon_pannable_area_button_press_cb),
4482 (hildon_pannable_area_button_release_cb),
4483 (hildon_pannable_area_scroll_cb),
4484 (hildon_pannable_area_scroll_to): Review the timeout management of
4485 the scrollbar, the frecuency was incorrectly set.
4487 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4489 * src/hildon-picker-button.c:
4490 (+hildon_picker_button_on_dialog_response),
4491 (hildon_picker_button_clicked): Present the dialog instead of
4492 running it with gtk_dialog_run().
4494 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4497 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4499 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4500 (hildon_app_menu_finalize): When a window is hidden it doesn't
4501 emit notify::is-topmost, so make sure than the menu also
4502 disappears in that case.
4503 (parent_window_topmost_notify): Renamed from parent_window_hidden
4505 Fixes: NB#94460 (stackable window's menu is not closed when its
4508 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4510 * src/hildon-touch-selector-entry.c:
4511 (+hildon_touch_selector_entry_set_input_mode),
4512 (+hildon_touch_selector_entry_get_input_mode):
4513 * src/hildon-touch-selector-entry.h: New methods to access the input
4514 mode in the selector's entry.
4516 Fixes: NB#93410 (API required for setting IM mode in
4517 HildonTouchSelectorEntry)
4519 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4521 * configure.ac: post release version bump.
4522 * debian/changelog: version bump
4524 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4529 * configure.ac: Bump version.
4530 * debian/changelog: Updates.
4532 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4534 * src/hildon-touch-selector.c:
4535 (_hildon_touch_selector_has_multiple_selection): No need
4536 to initialize the variables here.
4538 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4540 * src/hildon-note-private.h
4541 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4542 (hildon_note_finalize, hildon_note_rebuild): Close information
4543 notes when they receive a button press.
4545 Fixes: NB#89890 (Information notes does not get disappeared after
4548 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4550 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4551 mark from the wizard title, as it's not really necessary. Also,
4552 do not display the page title if not set.
4554 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4556 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4557 (parent_window_hidden): Use the window's "is-topmost" property to
4558 detect when to hide the menu.
4560 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4562 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4563 (hildon_app_menu_finalize): If the parent window of the menu is
4564 hidden, hide the menu too.
4566 Fixes: NB#94460 (stackable window's menu is not closed when its
4569 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4572 * debian/libhildon1-examples.install
4574 * examples/Makefile.am:
4575 Use dh_install to install all examples.
4576 Use DEB_SRCDIR instead of defining SOURCE_DIR
4578 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4580 * configure.ac: post release version bump.
4581 * debian/changelog: version bump
4583 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4588 * configure.ac: bump version
4589 * debian/changelog: updates
4590 * debian/control: bump gtk+ dependency
4592 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4594 patch by Christian Dywan (christian@imendio.com)
4596 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4597 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4599 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4601 * src/hildon-check-button.c (hildon_check_button_init)
4602 (hildon_check_button_class_init, hildon_check_button_style_set)
4603 (hildon_check_button_apply_style):
4604 New "checkbox-size" style property.
4606 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4607 larger / configurable size)
4609 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4611 * configure.ac: post release version bump.
4612 * debian/changelog: version bump
4614 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4619 * configure.ac: bump version
4620 * debian/changelog: updates
4622 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4624 * doc/hildon-sections.txt
4625 * src/hildon-pannable-area.c
4626 * src/hildon-program.c
4627 * src/hildon-time-editor.c
4628 * src/hildon-touch-selector-entry.c:
4630 More documentation updates.
4632 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4634 * doc/hildon-sections.txt
4635 * src/hildon-caption.c
4636 * src/hildon-code-dialog.c
4637 * src/hildon-color-button.c
4638 * src/hildon-controlbar.c
4639 * src/hildon-date-editor.c
4640 * src/hildon-date-selector.c
4641 * src/hildon-edit-toolbar.c
4642 * src/hildon-find-toolbar.c
4643 * src/hildon-font-selection-dialog.c
4645 * src/hildon-program.c
4646 * src/hildon-range-editor.c
4647 * src/hildon-seekbar.c
4648 * src/hildon-time-editor.c
4649 * src/hildon-time-selector.c
4650 * src/hildon-volumebar-range.c
4651 * src/hildon-volumebar.c
4652 * src/hildon-vvolumebar.c
4653 * src/hildon-weekday-picker.c
4654 * src/hildon-window.c
4655 * src/hildon-wizard-dialog.c:
4657 Lots of documentation fixes.
4659 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4661 Patch contributed by Iván Gómez (igomez@igalia.com)
4663 * src/hildon-check-button.c:
4664 * src/hildon-date-button.c:
4665 * src/hildon-date-selector.c:
4666 * src/hildon-dialog.c:
4667 * src/hildon-edit-toolbar.c:
4668 * src/hildon-entry.c:
4669 * src/hildon-picker-button.c:
4670 * src/hildon-program.c:
4671 * src/hildon-text-view.c:
4672 * src/hildon-time-button.c:
4673 * src/hildon-touch-selector-entry.c:
4674 * src/hildon-window-stack.c:
4676 Add more "since" tags to the new API.
4678 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4680 * doc/hildon-sections.txt: Add below method.
4681 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4682 version for the hildonized scale.
4683 * src/hildon-gtk.h: Add the definition.
4685 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4687 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4689 * doc/hildon-sections.txt: Add missing entries for new methods.
4691 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4693 Added API to pannable are in order to get its adjustments. We
4694 added two properties to manage the values we had in the private
4697 * src/hildon-pannable-area.c:
4698 (hildon_pannable_area_class_init): Added hadjustment and
4699 vadjustment properties in order to expose horizontal and vertical
4701 (hildon_pannable_area_get_property),
4702 (hildon_pannable_area_set_property): Added code to handle the new
4704 (hildon_pannable_area_get_hadjustment),
4705 (hildon_pannable_area_get_vadjustment): API functions to get the
4707 * src/hildon-pannable-area.h:
4708 (hildon_pannable_area_get_hadjustment),
4709 (hildon_pannable_area_get_vadjustment): API functions to get the
4712 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4714 Fixed some leaks, after valgrinding.
4716 * src/hildon-touch-selector.c:
4717 (_default_print_func): Fixed a leak.
4718 (hildon_touch_selector_append_column): Fixed a leak.
4719 * src/hildon-date-button.c:
4720 (hildon_date_button_init): Fixed a leak.
4721 * src/hildon-date-selector.c
4722 (hildon_date_selector_finalize): Fixed a leak.
4724 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4726 Based on a patch by Christian Dywan (christian@imendio.com)
4728 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4730 * src/hildon-gtk.h: Add definition.
4732 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4734 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4736 * src/hildon-picker-button.c: (hildon_picker_button_init),
4737 (hildon_picker_button_new): Set the HildonButton::style property
4738 in the init method, to propagate the value to the derived classes.
4740 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4742 * src/hildon-button.c: (hildon_button_class_init): Do not make
4743 the "style" property a construct property.
4745 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4747 * src/hildon-wizard-dialog.h
4748 * src/hildon-wizard-dialog.c
4749 (hildon_wizard_dialog_set_forward_page_func)
4750 * src/hildon-pannable-area.h
4751 * src/hildon-pannable-area.c
4752 (hildon_pannable_area_set_size_request_policy):
4753 Documentation fixes.
4755 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4757 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4759 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4761 * doc/hildon-sections.txt: Added sections file.
4763 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4766 * src/*.[ch]: Updates.
4768 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4770 * examples/hildon-progress-indicator-example.c: new file
4771 * examples/Makefile.am: include the new example program
4773 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4775 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4777 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4779 * configure.ac: post release version bump
4780 * debian/changelog: version bump
4782 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4787 * configure.ac: bump version
4788 * debian/changelog: updates
4789 * debian/control: bump gtk+ dependency
4791 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4793 * src/hildon-dialog.c: Mark as deprecated.
4794 * src/hildon-dialog.h: Mark as deprecated.
4795 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4796 from HildonDialog and still work, even if
4797 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4798 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4800 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4801 maemo changes) instead)
4803 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4805 * src/hildon-pannable_area.h:
4806 * src/hildon-pannable_area.c:
4807 (hildon_pannable_area_class_init),
4808 (hildon_pannable_area_set_property),
4809 (hildon_pannable_area_get_property),
4810 (hildon_pannable_area_size_request),
4811 (hildon_pannable_area_get_size_request_policy),
4812 (hildon_pannable_area_set_size_request_policy): Added new API
4813 allowing applications to control the request policy. Now they can
4814 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4815 children allocation (HILDON_MOVEMENT_CHILDREN).
4817 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4821 (hildon_gtk_tree_view_set_ui_mode)
4822 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4823 mode of treeviews and iconviews.
4825 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4827 * src/hildon-touch-selector-entry.c:
4828 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4829 of a GtkEntry to get proper theming.
4831 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4832 widget, not GtkEntry)
4834 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4837 no HildonWizardDialogPageFunc.
4839 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4841 Patch contributed by Iván Gómez (igomez@igalia.com)
4843 * src/hildon-app-menu.c:
4844 * src/hildon-button.c:
4845 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4846 * src/hildon-stackable-window.c:
4847 * src/hildon-time-selector.c:
4848 * src/hildon-touch-selector.c:
4849 * src/hildon-window.c:
4851 Add more "since" tags to the new API in hildon 2.2.
4853 2008-12-05 Tim Janik <timj@imendio.com>
4855 Patch contributed by Christian Dywan (christian@imendio.com)
4857 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4858 HildonSizeType, which are supplied by Gtk+ now.
4860 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4862 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4863 (with maemo changes) instead)
4865 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4867 Patch contributed by Iván Gómez (igomez@igalia.com)
4869 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4872 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4874 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4875 (some_page_func), (main): Update the example to use a
4876 HildonWizardDialogPageFunc function.
4878 * src/hildon-wizard-dialog-private.h: Add private data for
4879 the HildonWizardDialogPageFunc function usage.
4881 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4882 (destroy), (hildon_wizard_dialog_init), (response),
4883 (hildon_wizard_dialog_set_forward_page_func):
4884 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4885 that applications can use to stop a HildonWizardDialog to jump to
4888 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4891 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4893 * src/hildon-program.h
4894 * src/hildon-program-private.h
4895 * src/hildon-program.c (hildon_program_init)
4896 (hildon_program_set_common_app_menu)
4897 (hildon_program_get_common_app_menu):
4898 New API for setting a common HildonAppMenu for all
4899 HildonStackableWindows registered with the HildonProgram.
4901 * src/hildon-stackable-window.c
4902 (hildon_stackable_window_toggle_menu):
4903 Use the common HildonAppMenu if a window doesn't have a specific
4906 * src/hildon-app-menu-private.h
4907 * src/hildon-app-menu.c
4908 (hildon_app_menu_get_parent_window):
4909 Function to obtain the window a HildonAppMenu is attached to.
4910 (hildon_app_menu_set_parent_window):
4911 Hide the menu if the parent window is set to NULL.
4913 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4915 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4916 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4917 search widget to popup.
4919 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4921 * configure.ac: post release version bump
4922 * debian/changelog: version bump
4924 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4929 * configure.ac: bump version
4930 * debian/changelog: updates
4932 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4934 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4936 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4937 (hildon_window_stack_window_realized)
4938 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4939 Set the leader GdkWindow when a window is stacked and realized,
4940 unset it when it's unstacked.
4941 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4943 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4945 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4947 * src/hildon-stackable-window.h
4948 * src/hildon-window-stack.h:
4949 Protect definition of HildonWindowStack using the preprocessor.
4951 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4953 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4954 Fix warning if all menu items are hidden.
4956 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4958 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4960 * src/hildon-controlbar.c:
4961 * src/hildon-hvolumebar.c:
4962 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4963 Multiple scale size defines updates.
4965 Fixes: NB#94322 (Scale Updates)
4967 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4969 * examples/hildon-app-menu-example.c (create_menu)
4970 Show items after adding them to the menu, as in the future the
4971 menu will no longer call gtk_widget_show() on the added items.
4973 * src/hildon-app-menu.c:
4974 Update example as explained above.
4976 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4978 * src/hildon-app-menu.c
4979 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4980 Make sure that all menu items have finger height.
4982 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4984 * src/hildon-picker-dialog.c:
4985 (_on_dialog_response), (_save_current_selection),
4986 (_restore_current_selection), (_clean_current_selection),
4987 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4988 Defined new functions in order to save the current internal selector
4989 selection previous open the dialog, in case that the use cancel the
4990 interaction, so the widget restores the previous selection.
4992 Fixes: NB#92032 (In calendar application, date values in 'new event'
4995 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4997 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4999 * src/hildon-button.c: Add a reference to the button examples in
5000 hildon-button-example.c
5002 * examples/hildon-button-example.c: Added examples of the most
5003 common button layouts.
5005 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5007 * src/hildon-app-menu.c (hildon_app_menu_show)
5008 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5010 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5012 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5014 * src/hildon-picker-dialog.c:
5015 (hildon_picker_dialog_init): Initialize the signal id for
5016 HildonTouchSelector::columns-changed.
5017 (+on_selector_columns_changed): Set up the interaction mode everytime a
5018 column is added or removed from the HildonTouchSelector.
5019 (_hildon_picker_dialog_set_selector): Connect to
5020 HildonTouchSelector::columns-changed and keep track of it.
5022 Make sure to update the interaction mode of the dialog everytime a
5023 column is added or removed in the HildonTouchSelector.
5025 Fixes: NB#93228 (Done button is not shown always in listpicker)
5027 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5029 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5030 a new ::columns-changed signal.
5031 (hildon_touch_selector_append_column): Emit ::columns-changed.
5032 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5034 Add a ::columns-changed signal, emitted when the number of columns in a
5035 HildonTouchSelector changes.
5037 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5039 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5040 (_hildon_picker_dialog_set_selector): Factor out the code
5041 to set up the dialog interaction mode.
5043 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5045 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5046 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5047 to signal_changed_id.
5049 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5051 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5054 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5056 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5057 Updated the logical ids related to ampm format, as now it is required to
5058 show it correctly localized even on languages with no default
5059 abbreviations for am or pm
5060 (_check_am_pm_format): check correctly the 24h format gconf property
5062 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5064 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5066 * src/hildon-button.c: Documentation updates.
5068 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5070 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5071 * src/hildon-caption.c: (hildon_caption_class_init):
5072 * src/hildon-color-button.c: (hildon_color_button_class_init):
5073 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5074 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5075 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5076 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5078 Remove deprecated GTK+ marshalers and replace them with the ones
5079 provided by GLib, for those available, add a marshaler for
5080 BOOLEAN:VOID, which is not available in GLib, and use it.
5082 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5084 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5085 the text from the previous column if there is no
5086 HildonTouchSelectorColumn::text-property set.
5088 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5090 * src/hildon-button.h
5091 * src/hildon-button.c (hildon_button_set_property)
5092 (hildon_button_get_property, hildon_button_class_init)
5093 (hildon_button_set_style, hildon_button_get_style):
5094 New "style" property to change the visual appearance of the
5097 * src/hildon-picker-button.c (hildon_picker_button_new):
5098 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5100 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5101 HildonButton look like PickerButton)
5103 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5105 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5106 column while building the default string.
5108 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5110 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5111 scroll indicator by default.
5113 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5115 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5117 * src/hildon-main.c: Fix the documentation for hildon_init()
5119 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5121 * doc/hildon-docs.sgml
5125 * src/hildon-window-stack-private.h
5126 * src/hildon-window-stack.h
5127 * src/hildon-window-stack.c:
5128 New HildonWindowStack object, that adds support for multiple
5129 stacks of windows per process.
5131 * src/hildon-stackable-window-private.h
5132 * src/hildon-stackable-window.h
5133 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5134 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5135 (hildon_stackable_window_show, hildon_stackable_window_hide)
5136 (hildon_stackable_window_class_init)
5137 (hildon_stackable_window_init):
5138 Use HildonWindowStack for stack management.
5140 * src/hildon-program.c (hildon_program_pop_window_stack)
5141 (hildon_program_peek_window_stack)
5142 (hildon_program_go_to_root_window):
5143 Add a fallback implementation to the deprecated functions using
5146 * examples/hildon-stackable-window-example.c:
5147 Use the new HildonWindowStack API.
5149 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5151 * src/hildon-stackable-window-private.h
5152 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5153 (hildon_stackable_window_hide, hildon_stackable_window_init):
5154 Remove all window stack management.
5156 * src/hildon-program-private.h
5157 * src/hildon-program.h
5158 * src/hildon-program.c (hildon_program_init)
5159 (hildon_program_pop_window_stack)
5160 (hildon_program_peek_window_stack)
5161 (hildon_program_go_to_root_window):
5162 Remove all window stack management and mark functions as
5165 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5167 * src/hildon-app-menu.c (hildon_app_menu_realize):
5168 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5170 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5172 * configure.ac: post release version bump
5173 * debian/changelog: version bump
5175 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5180 * configure.ac: bump version
5181 * debian/changelog: updates
5183 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5185 Based on initial code by Christian Dywan (christian@imendio.com)
5187 * doc/hildon-docs.sgml: Add section for hildon-main.
5188 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5189 * src/Makefile.am: Add new hildon-main.[ch]
5190 * src/hildon-defines.h: Update the icon sizes.
5191 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5192 new library initialization files and register icon sizes.
5193 * src/hildon-main.h: New declarations.
5194 * src/hildon.h: Include hildon-main.h
5196 Add new initialization functions to the library. These methods
5197 will register the hildon specific icon sizes and can be used in the
5198 future for other hildon specific bits.
5200 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5202 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5204 * src/hildon-window.c: (hildon_window_realize),
5205 (hildon_window_notify), (-hildon_window_update_title): Do not set
5206 the application name in the window title.
5208 Fixes: NB#89754 (Applications shouldn't display their names in the
5211 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5213 * src/hildon-note-private.h:
5214 * src/hildon-note.c: (hildon_note_set_property),
5215 (hildon_note_get_property), (hildon_note_class_init),
5216 (hildon_note_init), (hildon_note_finalize),
5217 (hildon_note_new_confirmation_with_icon_name),
5218 (hildon_note_new_information_with_icon_name):
5220 No need to mark as deprecated the actual code. Revert
5221 to avoid missing symbols in widgets using deprecated API.
5223 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5225 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5227 * src/hildon-volumebar.h
5228 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5229 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5231 * src/hildon-helper.h
5232 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5233 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5235 * examples/Makefile.am:
5236 Deprecate hildon-insensitive-example
5238 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5240 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5242 * examples/hildon-pannable-area-buttons-scroll-example.c:
5243 Make all buttons finger height
5245 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5247 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5249 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5250 update the day model only if it is really required, and to avoid the
5251 full-reconstruction aproach. Now it only add or remove the required days.
5253 The purpose of this is avoid superfluous HildonTouchSelector::changed
5256 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5257 with strange parameters)
5259 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5261 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5263 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5264 the WINDOW_TYPE property.
5266 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5268 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5271 Fix dependency to allow parallel compilation with make -jX
5273 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5275 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5276 color frame and some minor tweaks to make it more consistent with
5279 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5280 highlighted but not visible)
5282 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5284 * examples/Makefile.am: Fixed typo in the Makefile.am.
5286 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5288 Reviewed the use of MAEMO_GTK define, now we add the define in the
5289 compilation line, and we also add it to the pc file.
5291 * configure.ac: Added MAEMO_GTK define to the compilation command
5292 and removed it from the config.h.
5294 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5295 do not have to take care about this define if the library was
5299 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5301 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5303 * examples/Makefile.am,
5304 * examples/hildon-pannable-area-buttons-scroll-example.c,
5305 * examples/hildon-pannable-area-gesture-signals-example.c,
5306 * examples/hildon-pannable-area-scroll-jump-example.c,
5307 * examples/hildon-pannable-area-tree-view-example.c:
5308 Renamed the pannable area examples, now they have more meaningful
5311 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5313 * src/hildon-touch-selector.c:
5314 (hildon_touch_selector_set_column_selection_mode): Used of
5315 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5316 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5317 to avoid re-seting the same selection mode.
5319 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5320 breaks HildonPickerDialog)
5322 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5324 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5325 conditional in the Makefile.am
5327 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5329 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5330 Remove unused methods.
5332 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5334 * src/hildon-button.c (hildon_button_init):
5335 Make button images center-aligned by default
5337 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5340 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5341 activated, we have to think about how to deal with both defines
5342 MAEMO_GTK and MAEMO_CHANGES.
5344 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5346 * examples/hildon-app-menu-example.c (create_menu): Make all
5347 buttons finger size.
5349 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5351 Fixed the compilation without maemo gtk adding ifdefs with
5352 MAEMO_GTK define to the code, we have to check this version more
5355 * examples/Makefile.am: Added control to avoid some examples that
5356 just make sense with maemo gtk.
5359 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5360 hildon modes with the define.
5362 * examples/hildon-edit-toolbar-example.c,
5363 (create_icon_view): Create the icon view without hildon-gtk
5364 helpers if we are not using maemo gtk.
5366 * src/hildon-touch-selector.c,
5367 (_create_new_column): Create the treeview without hildon-gtk
5368 helpers if we are not using maemo gtk.
5370 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5372 * src/hildon-pnnable-area.c,
5373 (hildon_pannable_area_dispose),
5374 (hildon_pannable_area_button_press_cb),
5375 (hildon_pannable_area_child_mapped),
5376 (hildon_pannable_area_add),
5377 (hildon_pannable_area_remove): Added code to control the position
5378 of the event_window when adding and removing children from the
5379 pannable. We have to raise the event window when the child is
5382 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5383 selection mode using custom widget inside pannable)
5385 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5387 * configure.ac: post release version bump
5388 * debian/changelog: version bump
5390 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5395 * configure.ac: bump version
5396 * debian/changelog: updates
5398 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5400 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5401 search mode, in order to avoid lose the focus on the treeview when
5402 a hw key (like enter) is pressed.
5404 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5405 in HildonDateSelector dialog)
5407 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5409 * debian/rules: Added --enable-maintainer-mode
5410 * Makefile.am: Added ACLOCAL_AMFLAGS
5412 This allows to properly regenerate the Makefiles if you modify the
5413 configure.ac or any Makefile.am.
5415 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5417 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5418 properties, not needed at all.
5420 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5422 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5424 * src/hildon-note.c: (hildon_note_set_property),
5425 (hildon_note_get_property), (hildon_note_class_init),
5426 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5427 (hildon_note_new_confirmation_add_buttons): Remove icons.
5428 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5429 (hildon_note_new_information_with_icon_name): Deprecate.
5430 (hildon_note_new_confirmation): Act directly, without calling
5431 the deprecated constructor.
5432 (hildon_note_new_information): Act directly, without calling
5433 the deprecated constructor.
5434 * src/hildon-note.h: Mark deprecate methods as such.
5435 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5436 not run tests on the deprecated methods if built with deprecation
5439 Fixes: NB#91688 (Never show icons in information notes/confirmation
5442 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5444 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5445 (hildon_app_menu_key_press): Remove leftover usage of the
5446 private structure in HildonAppMenu struct.
5447 * src/hildon-app-menu.h: Remove leftover private structure
5448 from the HildonAppMenu struct.
5450 Fixes a crasher when using the HildonAppMenu.
5452 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5454 * src/hildon-picker-dialog.c: Use appropriate logical id
5455 for the default "Done" text.
5457 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5459 * configure.ac: post release version bump
5460 * debian/changelog: version bump
5462 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5464 Modified the way to scroll to the current selection just when the touch
5465 selector is shown on the screen, avoiding a g_idle. Added too a property
5466 to configure this behaviour. See hildon_pannable_area_jump_to_child
5467 documentation for more information.
5469 * src/hildon-touch-selector.c
5470 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5471 Added 'initial-scroll' property
5472 (hildon_touch_selector_set_property): Added
5473 (hildon_touch_selector_map): Removed as not required anymore
5474 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5475 only a concrete column, instead of iterate along all the columns
5477 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5482 * configure.ac: bump version
5483 * debian/changelog: updates
5485 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5488 compilation time warnings.
5490 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5492 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5493 the default value for HildonPannableArea::mov-mode to
5494 HILDON_PANNABLE_AREA_MODE_VERT.
5496 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5498 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5500 Reverting following commit:
5502 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5504 * src/hildon-app-menu-private.h
5505 * src/hildon-app-menu.[ch]
5506 * src/hildon-button.[ch]
5507 * src/hildon-check-button.[ch]
5508 * src/hildon-entry.[ch]
5509 * src/hildon-pannable-area.[ch]
5510 * src/hildon-text-view.[ch]:
5511 Added private field to the object's structure.
5513 because it causes an ABI breakage. We will need to introduce these
5514 changes later at some point. See NB#91636 for an extensive
5515 explanation and status.
5517 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5519 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5521 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5522 remove special cases that are no longer necessary.
5524 Fixes: NB#91016 (Change toolbar sizes, simplification)
5526 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5528 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5529 is shown in the cancel note.
5531 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5533 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5534 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5535 (hildon_seekbar_init): Remove steppers, remove expose event.
5536 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5538 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5540 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5542 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5543 label font to "SmallSystemFont" for vertically arranged buttons.
5545 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5548 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5550 * src/hildon-check-button.c
5551 (hildon_check_button_set_active, hildon_check_button_clicked):
5552 Don't access private parts directly, use getters instead.
5554 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5556 * src/hildon-check-button.c (hildon_check_button_new):
5557 Align the contents of the check button to the left.
5559 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5561 * src/hildon-pannable-area.c,
5562 (hildon_pannable_area_scroll_to),
5563 (hildon_pannable_area_jump_to),
5564 (hildon_pannable_area_scroll_to_child),
5565 (hildon_pannable_area_jump_to_child): Replace the mapped
5566 precondition of these functions with the realized, it is the
5567 correct state of the widget in this case. Changed the
5568 documentation according to this modification.
5570 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5572 Added a new EXTRA_CFLAGS option to add the deprecated define to
5573 the compilation command. This way we can avoid using the define in
5574 the documentation compilation.
5576 * configure.ac: Defined EXTRA_CFLAGS.
5578 * examples/Makefile.am:
5580 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5582 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5584 * src/hildon-picker-dialog.c:
5585 Defined a utility macro with the desired touch selector height
5586 Removed currently unused separator, and title_label variables from
5588 (hildon_picker_dialog_init): Removed code related to the creation
5589 of unused private variables title_label and separator.
5590 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5591 to ensure correct visualization of the touch selector inside the dialog.
5592 * src/hildon-touch-selector.c
5593 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5594 ensure a concrete height of the widget.
5596 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5599 * tests/Makefile.am:
5601 Remove spurious whitespaces.
5603 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5605 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5606 compilation warning after the cancel button removal.
5608 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5610 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5612 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5613 Makefile.am, that way we can choose not to compile some examples
5614 and tests of the deprecated widgets.
5616 * examples/Makefile.am: Divided the sources in deprecated and
5619 * src/Makefile.am: Added undef statement of the deprecated
5620 symbol to the enums file generation process.
5622 * src/hildon-color-chooser-dialog.c
5623 * src/hildon-color-chooser-dialog.h
5624 * src/hildon-color-button.c
5625 * src/hildon-color-button.h
5626 * src/hildon-color-chooser.c
5627 * src/hildon-color-chooser.h
5628 * src/hildon-controlbar.c
5629 * src/hildon-controlbar.h
5630 * src/hildon-date-editor.c
5631 * src/hildon-date-editor.h
5632 * src/hildon-hvolumebar.c
5633 * src/hildon-hvolumebar.h
5634 * src/hildon-private.c
5635 * src/hildon-private.h
5636 * src/hildon-range-editor.c
5637 * src/hildon-range-editor.h
5638 * src/hildon-seekbar.c
5639 * src/hildon-seekbar.h
5640 * src/hildon-time-editor.c
5641 * src/hildon-time-editor.h
5642 * src/hildon-time-picker.c
5643 * src/hildon-time-picker.h
5644 * src/hildon-volumebar.c
5645 * src/hildon-volumebar.h
5646 * src/hildon-vvolumebar.c
5647 * src/hildon-vvolumebar.h
5648 * src/hildon-bread-crumb-trail.h
5649 * src/hildon-bread-crumb-trail.c
5650 * src/hildon-calendar-popup.c
5651 * src/hildon-calendar-popup.h
5652 * src/hildon-weekday-picker.c:
5653 * src/hildon-weekday-picker.h:
5654 * src/hildon-bread-crumb-widget.c:
5655 * src/hildon-bread-crumb-widget.h:
5656 * src/hildon-bread-crumb.c:
5657 * src/hildon-bread-crumb.h:
5658 * src/hildon-calendar.c:
5659 * src/hildon-calendar.h:
5660 * src/hildon-caption.c:
5661 * src/hildon-code-dialog.c:
5662 * src/hildon-code-dialog.h:
5663 * src/hildon-font-selection-dialog.c:
5664 * src/hildon-font-selection-dialog.h:
5665 * src/hildon-get-password-dialog.c:
5666 * src/hildon-get-password-dialog.h:
5667 * src/hildon-login-dialog.c:
5668 * src/hildon-login-dialog.h:
5669 * src/hildon-number-editor.c:
5670 * src/hildon-number-editor.h:
5671 * src/hildon-set-password-dialog.c:
5672 * src/hildon-set-password-dialog.h:
5673 * src/hildon-sort-dialog.c:
5674 * src/hildon-sort-dialog.h: This is the list of deprecated
5677 * src/hildon-touch-selector.c:
5678 * src/hildon-window.c: Added undef statement to avoid compilation
5681 * tests/Makefile.am: Divided the sources in deprecated and
5684 * tests/check_test.c,
5685 (configure_tests): Marked the deprecated code that was adding
5686 suites with deprecated tests.
5688 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5690 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5692 * src/hildon-touch-selector.c: (_default_print_func): Do not
5693 duplicate a string returned by gtk_tree_model_get(), it is already
5696 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5699 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5701 * src/hildon-pannable-area.c
5702 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5703 method, it had problems when adding a widget with viewport the
5704 second time. Now checks if it already has a viewport and uses it.
5706 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5709 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5711 * src/hildon-pannable-area.c,
5712 (hildon_pannable_area_scroll_to),
5713 (hildon_pannable_area_jump_to),
5714 (hildon_pannable_area_scroll_to_child),
5715 (hildon_pannable_area_jump_to_child): Added a precondition to the
5716 scroll and jump to functions: the widget must be mapped before we
5717 can safely call these functions. We have also added documentation
5718 to the functions to explain how to use them in this situation.
5721 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5723 Reviewed the threading handling of the pannable widget, we have
5724 used the gdk_threads_add_timeout function instead of the usual
5725 glib handlers. This avoids some problems with the threads.
5727 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5728 (hildon_pannable_area_initial_effect),
5729 (hildon_pannable_area_scroll_indicator_fade),
5730 (hildon_pannable_area_button_press_cb),
5731 (hildon_pannable_area_timeout),
5732 (hildon_pannable_area_motion_notify_cb),
5733 (hildon_pannable_area_button_release_cb),
5734 (hildon_pannable_area_scroll_cb),
5735 (hildon_pannable_area_scroll_to): Removed the
5736 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5737 gdk_threads_add_timeout.
5739 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5741 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5746 * configure.ac: bump version
5747 * debian/changelog: updates
5749 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5751 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5752 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5753 * src/hildon-color-chooser-dialog.c:
5754 (hildon_color_chooser_dialog_init):
5755 * src/hildon-font-selection-dialog.c:
5756 (hildon_font_selection_dialog_init):
5757 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5759 Remove all cancel/close-like dialogs, as these are not going to be
5762 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5764 * src/hildon-note.c: (hildon_note_rebuild),
5765 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5768 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5770 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5772 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5773 sure all buttons are shown, even the Cancel/Close-like ones.
5775 Fixes: NB#90861 (Custom Confirmation dialogs should be
5776 protected from cancel button removal)
5778 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5780 * debian/control: Change libhildon1-examples dependency from libhildon1
5782 * debian/libhildon1-examples.install
5784 * Makefile.am: Modified the final install directory for the examples on
5785 package libhildon1-examples
5786 * Makefile.static: Update clean target in order to remove all the binary
5789 Changes suggested by Claudio after review new libhildon1-examples package
5791 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5793 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5794 * src/hildon-touch-selector.c: Ditto.
5796 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5798 * debian/control: Added new package libhildon1-examples, in order to pack
5799 the current hildon examples as documentation
5800 * debian/rules: Not to compress .c files, modify some includes on the
5801 examples (as normally are compiled locally, but when installed it will
5802 require to include the installed libhildon1 library), and rename
5804 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5805 install all the example files on the new example package
5806 * examples/Makefile.static: Added static makefile that can be used to
5807 compile the examples, once installed the new example package
5808 * examples: Most of the examples were modified in order to grant that
5809 all use only '#include "hildon.h"', in order to be easy to prepare
5810 it on the example package
5812 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5815 * debian/libhildon1-dev.install
5816 * debian/libhildon1-doc.install:
5817 Move all gtk-doc files to a separate libhildon1-doc package.
5819 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5821 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5823 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5825 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5827 * debian/rules: Fixed a error in order to avoid unnecessary calls
5828 to autogen.sh on package building
5830 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5832 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5834 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5836 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5839 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5841 * src/hildon-picker-button.c
5842 (hildon_picker_button_finalize):
5843 Free priv->done_button_text
5845 * src/hildon-time-button.c
5846 (hildon_time_button_set_time)
5847 * src/hildon-picker-button.c
5848 (hildon_picker_button_clicked)
5849 (hildon_picker_button_selector_selection_changed)
5850 (hildon_picker_button_set_selector)
5851 * src/hildon-date-button.c
5852 (hildon_date_button_set_date):
5853 Free strings returned by hildon_touch_selector_get_current_text()
5855 * src/hildon-button.c (hildon_button_construct_child):
5856 Fix leaks in priv->image and priv->label_box
5858 Fixes: NB#90535 (Memory leak in picker button)
5860 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5862 * src/hildon-button.c: (hildon_button_get_property): Do not access
5863 private elements directly, use getters instead.
5865 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5867 * src/hildon-app-menu-private.h
5868 * src/hildon-app-menu.c
5869 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5870 Store the menu's parent window.
5872 * src/hildon-stackable-window.c
5873 (hildon_stackable_window_toggle_menu)
5874 (hildon_stackable_window_finalize):
5875 Set the menu's parent window when the menu is shown, unset it when
5878 * src/hildon-app-menu.c
5879 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5880 (hildon_app_menu_class_init):
5881 Send unhandled keyboard accelerators to the parent window.
5883 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5885 * src/hildon-stackable-window.c
5886 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5888 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5890 * configure.ac: post release version bump
5892 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5895 * configure.ac: Bump version
5896 * debian/changelog: Updates
5897 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5900 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5902 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5905 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5906 GtkMenu with Hildon style.
5908 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5910 * src/hildon-picker-button.c:
5911 (hildon_picker_button_set_done_button_text): Set the dialog's
5912 done button text here as well.
5914 Fixes: NB#90232 (Picker button does not set the label on done button
5915 for the second time)
5917 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5919 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5922 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5924 * src/hildon-app-menu.c (hildon_app_menu_insert)
5925 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5926 the HildonAppMenu to be activatable using keyboard accelerators
5927 when the menu is not being shown.
5929 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5931 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5933 * src/hildon-stackable-window.c
5934 (hildon_stackable_window_show):
5935 Don't hide old windows automatically when new windows are shown:
5936 this is now a task for the window manager.
5937 (hildon_stackable_window_class_init)
5938 (hildon_stackable_window_hide):
5939 Remove windows from the stack everytime they're hidden.
5940 (hildon_stackable_window_realize):
5941 Don't change the _NET_WM_WINDOW_TYPE property. Use
5942 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5943 it as a stackable window.
5945 * src/hildon-program.c
5946 (hildon_program_pop_window_stack):
5947 Just hide the window to remove it from the stack.
5948 (hildon_program_go_to_root_window):
5949 Don't call gtk_widget_show(), this is now a task for the window
5952 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5954 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5956 * src/hildon-button.c
5957 (hildon_button_construct_child):
5958 Don't pack anything in the button until text or image are
5959 set. This allows adding a custom child after creating the button
5960 with hildon_button_new().
5961 (hildon_button_finalize, hildon_button_class_init)
5962 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5963 alignment and the label box even when they're not packed in the
5966 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5968 * src/hildon-touch-selector.h:
5969 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5970 currently the type definition was using GTK_TYPE_VBOX
5971 * src/hildon-touch-selector.c:
5972 Added some implementation notes in order to clarify that any other widget
5973 added without the column related API will not be included on the
5974 selection logic, and how the widget is freed, as some people ask about
5976 (hildon_touch_selector_remove): Reimplemented in order to free properly
5977 the column related data when you remove the private hbox.
5978 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5979 to get a proper HildonTouchSelectorColumn documentation
5981 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5983 * src/hildon-touch-selector-entry.c:
5984 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5985 text in the GtkEntry and there is no item selected. Fixes a
5988 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-app-menu-private.h
5991 * src/hildon-app-menu.[ch]
5992 * src/hildon-button.[ch]
5993 * src/hildon-check-button.[ch]
5994 * src/hildon-entry.[ch]
5995 * src/hildon-pannable-area.[ch]
5996 * src/hildon-text-view.[ch]:
5997 Added private field to the object's structure.
5999 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6001 * configure.ac: post-release version bump
6003 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6007 * configure.ac: pre-release version bump
6009 * debian/changelog: updates.
6011 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6013 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6014 Disconnect the handler for HildonTouchSelector::changed.
6016 (hildon_picker_button_selector_selection_changed): Update the button
6017 value if the selection change was not triggered by the
6020 (hildon_picker_button_set_selector): connect to
6021 HildonTouchSelector::changed.
6023 Fixes: NB#89650 (Picker button is not updated, when selection in
6024 selector has changed)
6026 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6028 * src/hildon-picker-dialog.c
6029 (hildon_picker_dialog_realize): Removed as not required
6030 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6031 * src/hildon-picker-button.c
6032 (_current_selector_empty): New function, checks if the selector is empty
6033 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6034 if the current selector is empty, in order to avoid to show the dialog
6035 close the dialog in this case (and shows a g_warning).
6037 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6039 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6041 * src/hildon-pannable-area.c,
6042 (hildon_pannable_area_scroll): Added clause to stop movement when
6043 the child of pannable is smaller than one page.
6044 (hildon_pannable_area_scroll_to): Added conditions to avoid
6045 starting the scrolling movement if the child is smaller than one
6046 page, the complete child is in the screen, we do not have to move.
6048 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6050 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6052 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6053 this is managed automatically by the widget when the size of the
6056 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6058 * src/hildon-picker-button.c
6059 (hildon_picker_button_set_done_button_text): Make a copy of the
6060 text, and free the previous value.
6062 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6064 * src/hildon-touch-selector-entry.c:
6065 (hildon_touch_selector_entry_print_func): Return the selected row's
6066 text if the entry is empty.
6068 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6071 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6073 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6075 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6078 * src/hildon-check-button.h
6079 * src/hildon-check-button.c
6080 * examples/hildon-check-button-example.c:
6081 HildonCheckButton is now a new widget. 'toggled' signal added.
6083 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6085 * src/hildon-program-private.h
6086 * src/hildon-program.c (hildon_program_init)
6087 (hildon_program_finalize): Removed unused variables group_leader
6088 and name from HildonProgramPrivate.
6090 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6092 * src/hildon-check-button.c (hildon_check_button_set_active)
6093 (hildon_check_button_get_active, hildon_check_button_new): Use
6094 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6096 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6098 * src/hildon-touch-selector.h
6099 (hildon_touch_selector_set_column_attributes): added deprecation
6100 guard HILDON_DISABLE_DEPRECATED
6101 * src/hildon-time-selector.c
6102 (hildon_time_selector_set_time)
6103 (hildon_time_selector_get_time): Fixed a typo on documentation
6104 * src/hildon-touch-selector.c: update HildonTouchSelector and
6105 HildonTouchSelectorColumn documentation
6106 * src/hildon-touch-selector-entry.c: update "text-column" property
6108 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6109 to be added to the general documentation.
6111 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6113 * examples/hildon-pannable-area-example-4.c,
6115 * examples/hildon-pannable-area-example.c,
6116 (main): Modified the code in order to use the container add, with
6117 viewport treeviews could have problems if they are really big.
6119 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6121 * src/hildon-weekday-picker.c,
6122 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6123 the agreement regarding deprecation in the library.
6125 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6127 * examples/hildon-picker-button-multicolumn-example.c:
6128 (main): Use custom "done" button text.
6130 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6131 (hildon_picker_button_set_property),
6132 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6133 (hildon_picker_button_init),
6134 (+hildon_picker_button_get_done_button_text),
6135 (+hildon_picker_button_set_done_button_text): New methods to customize
6136 the "done" button label in the launched HildonPickerDialog. Also,
6139 * src/hildon-picker-button.h: add the public API.
6141 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6143 * src/hildon-date-selector.h:
6144 * src/hildon-picker-dialog.h:
6145 * src/hildon-time-selector.h:
6146 * src/hildon-touch-selector-column.h:
6147 * src/hildon-touch-selector.h:
6149 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6150 declarations. Fixes gtk-doc warnings.
6152 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6154 * src/hildon-picker-dialog.h
6155 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6156 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6158 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6159 long text is set as label for done button)
6161 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6163 * src/hildon-dialog.c (hildon_dialog_add_button):
6164 Set fixed width to all buttons in the HildonDialog.
6166 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6168 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6170 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6171 Set widget name using class name plus "-finger" or "-thumb".
6173 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6176 'clicked' when the state of the button is manually changed.
6178 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6180 * src/hildon-app-menu.c (hildon_app_menu_realize)
6181 (hildon_app_menu_unrealize, hildon_app_menu_init)
6182 (hildon_app_menu_class_init, item_visibility_changed):
6183 Change the menu layout when the size of the screen changes.
6184 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6185 Show warning only when changing the number of colums using the
6188 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6190 * debian/compat: Set to 5
6191 * debian/control: Update dependencies.
6192 * debian/libhildon1-dbg.install: Remove.
6193 * debian/libhildon1-dev.install: Update according to cdbs paths.
6194 * debian/libhildon1.install: Update according to cdbs paths.
6195 * debian/rules: Switch to cdbs.
6197 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6199 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6200 'item' variable renamed to 'filter'
6202 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6204 * src/hildon-app-menu.c (hildon_app_menu_insert)
6205 (hildon_app_menu_add_filter, remove_item_from_list)
6206 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6207 Don't leak hidden items when the menu is destroyed.
6209 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6211 * src/hildon-app-menu.c (hildon_app_menu_insert)
6212 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6213 (hildon_app_menu_set_columns, item_visibility_changed)
6214 (filter_visibility_changed, hildon_app_menu_repack_filters)
6215 (hildon_app_menu_repack_items):
6216 Repack items and filters separately.
6218 Don't repack all items, change only the ones that are needed to
6221 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6223 * src/Makefile.am: added hildon-touch-selector-column.h
6225 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6227 * src/hildon-touch-selector.c: added the property "text-column" to the
6228 class HildonTouchSelectorColumn, and related get/set functions
6229 (_default_printf_func): updated to use "text-column" property
6230 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6231 "text-column" in his documentation, as this is now included on
6232 HildonTouchSelectorColumn. The get/set_property can still be used,
6233 working as a wrapper to the concrete column "text-column" property
6234 (_text_column_modified): callback added in order to handle the signal
6235 "notify::text-column" of the concrete HildonTouchSelectorColumn
6236 (hildon_touch_selector_entry_get_text_column)
6237 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6238 modified in order to use the HildonTouchSelectorColumn "text-column"
6240 * src/hildon-time-selector.c:
6241 * src/hildon-date-selector.c:
6242 * examples/hildon-touch-selector-example.c
6243 * examples/hildon-touch-selector-multi-cells-example.c
6244 * examples/hildon-picker-button-multicolumn-example.c
6245 Set the right value to "text-column" property on the creation of a new
6246 column using hildon_touch_selector_append_column()
6248 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6250 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6252 * src/hildon-app-menu.c
6253 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6254 updating the layout of the menu, don't create all widgets again,
6255 just repack the items in their new places.
6257 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6259 * src/hildon-time-selector.c
6260 (hildon_time_selector_get_time)
6261 (hildon_time_selector_set_time)
6262 Added documentation of these public methods
6264 * src/hildon-date-button.h
6265 * src/hildon-touch-selector-column.h
6266 * src/hildon-time-button.h
6267 * src/hildon-picker-dialog.h
6268 * src/hildon-time-selector.h
6269 * src/hildon-picker-button.h
6270 * src/hildon-touch-selector.h
6271 * src/hildon-time-picker.h
6272 * src/hildon-date-selector.h
6273 * src/hildon-touch-selector-entry.h
6274 Modified in order to use hildon-widgets code style
6276 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6278 Added deprecated support to the compilation process using
6279 HILDON_DISABLE_DEPRECATED
6281 * configure.ac: Added the --disable-deprecated to the configure
6284 * src/hildon-weekday-picker.c:
6285 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6286 to use the deprecated support. We will update the other deprecated
6287 widgets status in a new patch.
6289 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6291 * configure.ac: Fixed typo with fatal warnings support, the
6292 variable name was not correct
6294 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6296 * src/hildon-app-menu.c
6297 * src/hildon-program.c: Update documentation.
6299 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6301 * configure.ac: Post-release version bump.
6303 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6308 * configure.ac: Pre-release version bump.
6309 * debian/changelog: Updates.
6311 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6313 * NEWS: Update news for previous releases.
6315 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6317 * examples/hildon-touch-selector-multi-cells-example.c:
6318 (create_selector): Update the example to use
6319 hildon_touch_selector_append_column() with a NULL renderer and set
6320 the renderers later.
6321 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6322 passed a NULL renderer. This is documented behavior now.
6324 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6325 This must be used if the developer wants full control on the layout of
6326 the renderers to be added to the column.
6328 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6330 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6332 * src/hildon-touch-selector.c: Documentation fixes.
6334 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6336 * src/hildon-wizard-dialog-private.h: Remove image and box.
6337 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6338 (hildon_wizard_dialog_set_property), (response): Completely remove
6339 image/icon support, and the containers required for the layout.
6341 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6343 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6345 * src/hildon-app-menu.c: Updated documentation.
6347 * src/hildon-stackable-window.c
6348 (hildon_stackable_window_set_main_menu): Unref the old menu after
6349 ref'ing the new one.
6351 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6353 * src/hildon-stackable-window.c
6354 (hildon_stackable_window_set_main_menu): Unref the previous menu
6355 instead of destroying it.
6357 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6358 floating reference and set has_user_ref_count to FALSE to make
6359 HildonAppMenu act like a normal ref-counted widget and not a
6362 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6365 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6367 * src/hildon-touch-selector-column.h: new file
6368 * src/hildon-touch-selector.h
6369 * src/hildon-touch-selector.c
6370 Implemented GtkCellLayout interface, in order to allow to configure
6371 the cell layout on each individual selector column
6372 (hildon_touch_selector_set_column_attributes): marked as deprecated
6373 * examples/hildon-touch-selector-multi-cells-example.c
6374 Example of how to use the GtkCellLayout interface on the selector
6376 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6378 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6380 * src/hildon-app-menu.h
6381 * src/hildon-app-menu.c
6382 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6383 (hildon_app_menu_append, hildon_app_menu_prepend):
6384 New methods to prepend, insert and move items in the menu.
6386 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6388 * src/hildon-wizard-dialog.c:
6390 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6392 (create_title): Update logical IDs and related code.
6393 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6395 * src/hildon-wizard-dialog.h: Note that
6396 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6397 point, as it is not used anymore.
6399 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6401 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6403 * src/hildon-note.c:
6404 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6405 shown. Do not display an icon in confirmation notes nor information
6407 (hildon_note_set_button_text): Update logical ID for cancel button.
6409 Fixes: NB#88850 (Update HildonNote button strings + signals)
6411 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6413 * src/hildon-stackable-window.c
6414 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6416 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6418 * src/hildon-app-menu-private.h
6419 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6420 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6421 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6422 temporary property 'columns' to change the number of columns.
6424 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6426 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6428 * examples/hildon-note-example.c: (on_information_clicked),
6429 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6430 debugging information.
6431 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6433 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6434 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6435 in order to close: this will be handled by the WM from now on.
6437 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6439 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6441 * src/hildon-app-menu-private.h
6442 * src/hildon-app-menu.c
6443 (hildon_app_menu_append, hildon_app_menu_add_filter)
6444 (button_visibility_changed, hildon_app_menu_apply_style)
6445 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6446 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6447 layout everytime a button (item or filter) is shown or hidden.
6449 * src/hildon-stackable-window.c
6450 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6453 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6455 * src/hildon-touch-selector.c:
6456 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6457 that the treeview inside the touch selector is in fremantle hildon mode
6458 * examples/hildon-date-button-example.c
6459 * examples/hildon-picker-button-multicolumn-example.c
6460 * examples/hildon-touch-selector-entry-example.c
6461 * examples/hildon-touch-selector-example.c
6462 * examples/hildon-time-button-example.c
6463 * examples/hildon-picker-button-example.c:
6464 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6466 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6468 * examples/hildon-text-view-example.c: (main): Remove the
6469 gtkrc bits, now handled by the theme.
6471 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6473 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6476 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6478 * po/Makefile.am: Install properly the mo files.
6479 * po/en_GB.po: Update translation, to ease testing purposes.
6481 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6483 * examples/hildon-picker-button-example.c: (main): Select an item
6484 in the selector before setting it to the button.
6486 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6488 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6489 Update button's value if the selector has an item active.
6491 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6492 'value' with the selector)
6494 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6496 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6497 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6498 (hildon_picker_button_class_init): Plug the finalize method.
6499 (hildon_picker_button_set_selector): If there's a previously set
6500 selector, unref'it before setting a new one.
6502 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6503 HildonTouchSelector)
6505 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6507 * src/hildon-touch-selector-entry.c:
6508 (hildon_touch_selector_entry_changed): Check if there is no text
6509 selected before setting the entry text.
6512 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6514 * src/hildon-touch-selector.h
6515 * src/hildon-touch-selector.c
6516 (hildon_touch_selector_get_active)
6517 (hildon_touch_selector_set_active): New methods to set/get the
6518 index of the selected item.
6520 * src/hildon-picker-button.h
6521 * src/hildon-picker-button.c
6522 (hildon_picker_button_get_active)
6523 (hildon_picker_button_set_active): New methods to set/get the
6524 index of the selected item.
6526 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6528 * configure.ac: post-release version bump.
6530 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6534 * configure.ac: Pre-release version bump.
6535 * debian/changelog: Updates.
6536 * debian/control: Add myself as maintainer and depend on l10n
6539 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6541 * src/hildon-window.c
6542 (hildon_window_set_main_menu)
6543 * src/hildon-stackable-window.c
6544 (hildon_stackable_window_set_main_menu):
6545 Updated documentation.
6547 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6549 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6550 Don't free selector->priv manually.
6553 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6556 (hildon_gtk_window_set_progress_indicator):
6557 * src/hildon-gtk.h: Added the new API
6558 hildon_gtk_window_set_progress_indicator, it changes the state of
6559 the window progress hint.
6561 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6563 * src/hildon-button.c
6564 * src/hildon-stackable-window.c: Minor documentation updates.
6566 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6568 * src/hildon-stackable-window.c: Updated documentation.
6570 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6572 * src/hildon-defines.h: Update margins definitions
6573 to the Fremantle sizes.
6576 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6578 * src/hildon-touch-selector.c,
6579 (_hildon_touch_selector_set_model): Cleaning the code after
6580 review, removed g_print and #if 0 from the code.
6582 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6584 * src/hildon-edit-toolbar.c: Update documentation.
6586 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6588 * src/hildon-check-button.h
6589 * src/hildon-check-button.c
6590 (hildon_check_button_set_label, hildon_check_button_get_label)
6591 * examples/hildon-check-button-example.c
6592 (button_clicked_cb):
6593 Removed deprecated methods.
6595 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6597 * src/hildon-text-view.c:
6598 Add sample code to the documentation.
6600 * src/hildon-entry.h
6601 * src/hildon-text-view.h:
6602 Minor cosmetic changes.
6604 * src/hildon-entry.c:
6605 Add sample code to the documentation.
6606 (hildon_entry_init, hildon_entry_refresh_contents):
6607 Don't allow NULL values in the placeholder.
6609 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6611 * doc/hildon-docs.sgml
6613 * examples/Makefile.am
6614 * examples/hildon-text-view-example.c
6616 * src/hildon-text-view.c
6617 * src/hildon-text-view.h
6619 New HildonTextView widget, with example.
6621 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6623 * po/POTFILES.in: Add missing files with translatable strings.
6624 Partially fixes NB#88287.
6626 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6628 * examples/hildon-pannable-area-example-2.c: (main): No need to
6629 set the cellrenderer height inside hildon touch lists, the theme does
6632 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6634 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6635 they are integrated in the theme.
6637 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6639 * examples/hildon-entry-example.c: Update the example adding
6640 widgets to modify the text and the placeholder of the HildonEntry.
6642 * src/hildon-entry.c: Show the placeholder everytime the widget
6643 is empty and loses the focus.
6645 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6647 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6649 * src/hildon-pannable-area.c,
6650 (hildon_pannable_area_size_request): Fixed bug in height
6651 requisition, avoid increasing size and add border twice.
6653 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6655 * configure.ac: postrelease version bump.
6657 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6661 * configure.ac: Prerelease version bump.
6662 * debian/changelog: update.
6663 * debian/rules: make -dbg package contain useful debugging symbols.
6665 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6667 * src/hildon-dialog.h
6668 * src/hildon-dialog.c
6669 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6670 New methods to add buttons with finger size.
6671 (hildon_dialog_new_with_buttons):
6672 Create buttons with finger size.
6674 * examples/hildon-dialog-example.c (main): Use HildonDialog
6675 methods to add buttons.
6677 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6679 * src/hildon-entry.c: Updated HildonButton documentation.
6681 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6683 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6684 button value label with (FALSE, FALSE) to prevent NB#88126 from
6687 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6689 * examples/hildon-pannable-area-example.c,
6690 (main): Removed examples panning a vbox inside a pannable
6691 area. Check bug NB#87965
6693 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6695 Patch contributed by Kris Rietveld (kris@imendio.com)
6697 * src/hildon-pannable-area.c,
6698 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6699 get_size and get_position, this saves an X server roundtrip.
6701 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6703 * doc/hildon-docs.sgml
6705 * examples/Makefile.am
6706 * examples/hildon-entry-example.c
6708 * src/hildon-entry.c
6709 * src/hildon-entry.h
6711 New HildonEntry widget, with example.
6713 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6715 * src/hildon-button.c (hildon_button_construct_child): Pack the
6716 image with expand == fill == FALSE. This is a workaround for a bug
6719 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6721 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6722 labels for the text column, to make it more look more dynamic.
6724 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6726 * src/hildon-time-selector.c
6727 Define gettext auxiliar macro N_
6728 (_create_minutes_model)
6729 (_create_hours_model)
6730 (_create_ampm_model): use of strftime in order to fill the model
6731 * src/hildon-date-selector.c
6732 (hildon_date_selector_finalize):
6733 (_locales_init): remove the logic related to get the name of the months
6734 using nl_langinfo, as it is not required anymore
6736 (_create_year_model)
6737 (_create_month_model)
6738 (_update_day_model): use of strftime in order to fill the model properly
6741 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6743 * src/hildon-button.h
6744 * src/hildon-button.c (hildon_button_get_image): New method to
6747 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6749 * src/hildon-touch-selector.c:
6750 (hildon_touch_selector_remove_column): Remove from the correct parent
6751 and also remove the list element and free it.
6754 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6756 * src/hildon-time-selector.c
6757 (_create_hours_model): change the range on 12h ampm format in order to use
6758 a 12-11 range instead of previous 01-12 range
6759 (hildon_time_selector_set_time): change the way to select the current time
6760 on 12h ampm format, due the change on the range
6761 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6764 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6766 * src/hildon-touch-selector.c
6767 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6768 in order to allow use this function on multiple row selection mode if
6769 the column is different that the first one
6772 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6774 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6775 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6777 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6779 * src/hildon-date-selector.h: clean some comments, now on the .c
6780 * src/hildon-date-selector.c
6781 (hildon_date_selector_select_month): first implementation
6782 (hildon_date_selector_select_day): added documentation, reimplemented
6783 using hildon_date_selector_select_current_date to avoid repeat code
6786 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6788 Reviewed interaction logic based on device experiences, refactored
6791 * src/hildon-pannable-area.c,
6792 (hildon_pannable_area_class_init): Updated default vmax speed.
6793 (hildon_pannable_area_calculate_velocity): Added this function, it
6794 avoids duplicate valocity calculation. Adjusted calculation to
6795 avoid problems with zero dist events.
6797 (hildon_pannable_area_motion_notify_cb): Now we use the
6798 calculate_velocity function.
6800 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6802 * src/hildon-date-selector.c
6803 (hildon_date_selector_select_current_date): fix the day range check
6804 as it failed using the last day of the current month
6807 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6809 * src/hildon-touch-selector.c
6810 (hildon_touch_selector_get_num_columns): added a parameter validation
6813 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6815 * examples/Makefile.am
6816 * examples/hildon-edit-toolbar-example.c: Example of the
6817 HildonEditToolbar widget.
6819 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6821 * configure.ac: postrelease version bump.
6823 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6827 * configure.ac: prerelease version bump.
6828 * debian/changelog: update.
6830 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6832 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6833 renderer to display stock icons in the touch list. Also, set the sizes
6834 to the recommended in the style guide.
6836 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6837 * src/hildon-touch-selector.h
6838 (hildon_touch_selector_set_active_iter): renamed, now is
6839 hildon_touch_selector_select_iter
6840 (hildon_touch_selector_get_active_iter): renamed, now is
6841 hildon_touch_selector_get_selected
6842 (hildon_touch_selector_unselect_iter): added
6843 * src/hildon-touch-selector.c
6844 Update after API modification (methods renamed)
6845 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6846 order to avoid problems selecting multiple elements on the column
6847 (hildon_touch_selector_unselect_iter): added the implementation
6848 * src/hildon-time-selector.c
6849 * src/hildon-date-selector.c
6850 * src/hildon-touch-selector-entry.c
6851 Update methods calls after hildon-touch-selector.h API modification (methods
6854 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6856 * src/hildon-stackable-window.c
6857 (hildon_stackable_window_finalize): Call the parent class's finalize.
6859 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6861 * examples/hildon-touch-selector-example.c: (create_selector): Use
6862 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6865 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6867 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6868 set a cell background color, to respect theming.
6870 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6872 * doc/hildon-docs.sgml
6875 * src/hildon-edit-toolbar.c
6876 * src/hildon-edit-toolbar.h
6877 * src/hildon.h: New HildonEditToolbar widget.
6879 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6881 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6884 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6885 * src/hildon-touch-selector.c
6886 (_create_new_column): use g_object_set instead of two g_object_set_property
6888 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6889 * src/hildon-touch-selector.c
6890 (_create_new_column): use of hildon_gtk_tree_view_new to create
6891 the treeview, instead of use directly g_object_new
6892 (_create_new_column): update the property name "vindicator-mode" for the
6893 new one "vscrollbar-policy"
6894 * examples/hildon-date-button-example.c
6895 * examples/hildon-picker-button-multicolumn-example.c
6896 * examples/hildon-touch-selector-entry-example.c
6897 * examples/hildon-touch-selector-example.c
6898 * examples/hildon-time-button-example.c
6899 * examples/hildon-picker-button-example.c
6900 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6901 to all the treeviews inside a pannable area.
6903 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6905 * src/hildon-button.h
6906 * src/hildon-button.c (hildon_button_init)
6907 (hildon_button_set_arrangement, hildon_button_set_alignment)
6908 (hildon_button_set_title_alignment)
6909 (hildon_button_set_value_alignment)
6910 (hildon_button_set_image_alignment)
6911 (hildon_button_construct_child): New methods to set the alignment
6912 of the individual components of the button (title, value,
6913 image). Also, new method to alter the xscale and yscale properties
6914 of the GtkAlignment inside the button, so more complex layouts can
6917 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6919 * src/hildon-button.c (hildon_button_style_set)
6920 (hildon_button_class_init, hildon_button_set_arrangement)
6921 (hildon_button_construct_child): Apply style properties
6922 correctly. Use the 'image-spacing' style property too.
6924 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6926 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6927 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6930 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6932 * src/hildon-pannable-area.c,
6933 (hildon_pannable_area_size_request): Fixed problem with
6934 pannable-area size_request.
6936 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6938 Added management for the grab-focus to a child widget, like a
6939 range, we need to fade out the scrollbar when releasing.
6941 * src/hildon-pannable-area.c,
6942 (hildon_pannable_area_init): Connected the grab-focus signal to
6944 (hildon_pannable_area_grab_notify): Added this function in order
6945 to manage the situation when the grab-focus ends. We have to
6946 fade-out the scrollbar.
6948 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6950 * src/hildon-app-menu.c: Minor documentation update.
6952 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6954 * src/hildon-app-menu.c
6955 * examples/hildon-app-menu-example.c (create_menu): Update
6956 examples and documentation to explain how to connect callbacks.
6958 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6960 * examples/hildon-button-example.c
6961 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6962 hildon_stackable_window_new instead of gtk_window_new
6964 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6966 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6967 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6968 (hildon_pannable_area_set_property),
6969 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6970 (hildon_pannable_area_unrealize),
6971 (hildon_pannable_area_size_request),
6972 (hildon_pannable_area_size_allocate),
6973 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6974 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6975 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6976 (hildon_pannable_area_initial_effect),
6977 (hildon_pannable_area_redraw),
6978 (hildon_pannable_area_scroll_indicator_fade),
6979 (hildon_pannable_area_expose_event),
6980 (hildon_pannable_area_get_topmost), (synth_crossing),
6981 (hildon_pannable_area_button_press_cb),
6982 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6983 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6984 (hildon_pannable_area_motion_notify_cb),
6985 (hildon_pannable_area_button_release_cb),
6986 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6987 (hildon_pannable_area_remove),
6988 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6989 chage the code layout to a more GtkWidget like. Review the use of
6992 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6994 * examples/hildon-pannable-area-example-4.c,
6995 (main): Modified the name of the hindicator_mode to
6998 * src/hildon-pannable-area.c,
6999 (hildon_pannable_area_class_init),
7000 (hildon_pannable_area_motion_notify_cb),
7001 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7002 we have reduced the amount of signals and managed reviewed its
7003 rationale. Changed the default decelerate value.
7005 (hildon_pannable_area_add),
7006 (hildon_pannable_area_redraw): Refactored functions.
7008 (hildon_pannable_area_init),
7009 (hildon_pannable_area_get_property),
7010 (hildon_pannable_area_set_property):
7011 (hildon_pannable_draw_vscroll),
7012 (hildon_pannable_draw_hscroll),
7013 (hildon_pannable_area_initial_effect),
7014 (hildon_pannable_area_expose_event),
7015 (hildon_pannable_area_scroll),
7016 (hildon_pannable_area_button_press_cb),
7017 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7018 and vindicator_mode with hscrollbar_policy and
7019 vscrollbar_policy. Replaced hscroll and vscroll with
7020 hscroll_visible and vscroll_visible.
7022 (hildon_pannable_area_refresh): Refactor the function, remove
7023 variables and check the calls to this function, added resize
7024 conditions in case the children change their layout.
7026 (hildon_pannable_area_size_request): Added more detailed
7027 size_request calculation.
7030 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7032 * src/hildon-color-chooser.c
7033 (init_borders): use the correct gtk_border_free instead of g_free, to
7034 avoid a crash when this widget is used (ie: the three color selection
7037 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7039 * src/hildon-check-button.c,
7040 (hildon_check_button_set_active): Fixed problem when setting the
7041 active value, the widget was not redrawn.
7043 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7045 * src/hildon-pannable-area.c,
7046 (hildon_pannable_area_refresh),
7047 (hildon_pannable_area_scroll),
7048 (hildon_pannable_area_motion_notify_cb): Small code style change.
7050 (hildon_pannable_area_class_init): Default initial_hint set to
7051 FALSE, it is not in the specs.
7053 (hildon_pannable_area_initial_effect),
7054 (hildon_pannable_area_expose_event),
7055 (hildon_pannable_area_map),
7056 (hildon_pannable_area_init): Moved the launching point of the
7057 initial effect, it was in map but the sizes where not correct in
7058 that method so we do not know if we have the reproduce it. Now it
7059 is placed in the expose_event method and uses a variable to
7060 reproduce it just once.
7062 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7064 * src/hildon-pannable-area.c,
7065 (hildon_pannable_draw_vscroll),
7066 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7067 position allowed for the scrollbars.
7069 (hildon_pannable_area_size_allocate): Small style change.
7071 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7073 * src/hildon-pannable-area.c,
7074 (hildon_pannable_area_scroll_indicator_fade),
7075 (hildon_pannable_area_button_press_cb),
7076 (hildon_pannable_area_button_release_cb),
7077 (hildon_pannable_area_scroll_cb),
7078 (hildon_pannable_area_expose_event),
7079 (hildon_pannable_area_init): Added the define parameter
7080 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7081 and refactor the fade variable.
7083 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7085 * src/hildon-pannable-area.c,
7086 (hildon_pannable_area_redraw),
7087 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7088 lines, we were reimplemeting the redraw code.
7090 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7092 * src/hildon-pannable-area.c,
7093 (hildon_pannable_area_scroll_cb),
7094 (hildon_pannable_area_realize),
7095 (hildon_pannable_area_class_init): Added scroll_event management
7096 for pannable area, now we can scroll the usual desktop method.
7098 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7099 initialization of the parameters should depend on idle_id.
7101 (hildon_pannable_area_init),
7102 (hildon_pannable_area_map): Small code style modifications
7104 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7106 * src/hildon-pannable-area.c
7107 (hildon_pannable_area_button_press_cb),
7108 (hildon_pannable_area_motion_notify_cb),
7109 (hildon_pannable_area_button_release_cb),
7110 (hildon_pannable_area_size_allocate),
7111 (hildon_pannable_area_scroll_to): Improved the timeouts
7112 management, we avoid creating them each time.
7114 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7116 * src/hildon-pannable-area.c:
7117 (hildon_pannable_area_refresh),
7118 (hildon_pannable_area_motion_notify_cb),
7119 (hildon_pannable_area_class_init):
7120 * src/hildon-pannable-area.h:
7121 * src/hildon-touch-selector.c
7122 (_create_new_column):
7123 * examples/hildon-pannable-area-example-4.c:
7124 (horizontal_movement),
7125 (vertical_movement),
7127 Replaced the names of enums in the HildonPannableArea:
7128 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7129 HILDON_MOVEMENT_MODE_*
7130 - HILDON_PANNABLE_AREA_MOV_* ->
7132 - Removed HildonPannableAreaIndicatorMode, now we
7135 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7137 * examples/hildon-pannable-area-touch-grid-example.c
7138 * examples/hildon-pannable-area-touch-list-example.c: Fix
7139 compilation warnings.
7141 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7143 * src/hildon-gtk.c (hildon_gtk_button_new)
7144 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7145 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7146 images overriding the value of the "gtk-button-images" setting.
7148 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7150 * src/hildon-check-button.c (hildon_check_button_new):
7151 Instead of using a custom container, display the label and the
7152 checkbox using the standard GtkButton API.
7154 * examples/hildon-check-button-example.c (main): Don't use
7155 hildon_check_button_set_label() anymore
7157 * src/hildon-check-button.h
7158 * src/hildon-check-button.c
7159 (hildon_check_button_set_label, hildon_check_button_get_label):
7160 Set as deprecated, now we're using gtk_button_{get,set}_label()
7162 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7164 * src/hildon-pannable-area.c,
7165 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7166 GtkTreeview first line we detected it after the inclusion of the
7167 GtkWindowImpl in gtk+. We now check if the window is visible, not
7168 just if the pointer is over the window.
7169 (hildon_pannable_axis_scroll),
7170 (hildon_pannable_area_expose_event): Small style changes.
7172 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7174 * src/hildon-button.c: Update documentation.
7176 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7178 * examples/hildon-button-example.c: Add a switch to show images in
7181 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7183 * doc/hildon-docs.sgml: Some docs reorganization.
7185 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7187 * examples/hildon-pannable-area-touch-list-example.c
7189 * examples/hildon-pannable-area-touch-grid-example.c
7190 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7191 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7192 Fix memory leak when setting the tree model.
7194 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7198 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7200 * doc/hildon.types: Remove duplicated hildon_window_get_type
7201 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7202 documentation comment.
7204 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7206 * doc/Makefile.am: Complete list of private headers.
7208 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7210 * doc/hildon-docs.sgml
7211 * src/hildon-app-menu.c
7212 * src/hildon-bread-crumb.c
7213 * src/hildon-button.c
7215 * src/hildon-program.c
7216 * src/hildon-stackable-window.c
7217 * src/hildon-window.c: Lots of documentation updates.
7219 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7221 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7223 * configure.ac: Require Gtk+ 2.12.9 at least
7225 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7227 * src/hildon-pannable-area.c
7228 (hildon_pannable_area_scroll_indicator_fade),
7229 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7230 to protect the return of this timeout callbacks, avoiding deadlocks.
7232 2008-08-12 Christian Dywan <christian@imendio.com>
7235 * src/hildon-*.h: Ensure a consistent include order,
7236 include <gtk/gtk.h> instead of particular files and
7237 only include the topmost header in the gtk stack. See NB #39857
7239 2008-08-12 Christian Dywan <christian@imendio.com>
7241 * src/hildon-picker-dialog.c
7242 * src/hildon-touch-selector.c: Fix warnings about unused and
7243 uninitialized variables.
7245 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7247 * examples/Makefile.am
7248 * examples/hildon-check-button-example.c: Example of the hildon
7251 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7253 * src/hildon-window.h
7254 * src/hildon-window.c (hildon_window_class_init)
7255 (hildon_window_unset_program): Don't make
7256 hildon_window_unset_program a virtual function anymore.
7258 * src/hildon-stackable-window.c: Update documentation
7260 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7263 * doc/hildon-docs.sgml
7264 * doc/visual_index.xml
7265 * src/hildon-defines.c
7267 * src/hildon-helper.c
7268 * src/hildon-range-editor.c: Lots of documentation fixes.
7270 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7272 * examples/hildon-picker-button-multicolumn-example.c
7273 (create_touch_selector): Fix compilation warning.
7275 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7277 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7278 (hildon_pannable_area_button_release_cb)
7279 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7281 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7283 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7286 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7288 * src/hildon-bread-crumb-trail.h
7289 * src/hildon-date-editor.c
7290 * src/hildon-date-selector.c
7291 * src/hildon-pannable-area.c
7292 * src/hildon-picker-dialog.c
7293 * src/hildon-time-selector.c
7294 * src/hildon-touch-selector-entry.c
7295 * src/hildon-touch-selector.c
7296 * src/hildon-touch-selector.h: Misc documentation fixes
7298 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7300 * examples/hildon-date-editor-example.c (main): Updated date
7303 * examples/hildon-note-example.c (on_confirmation_clicked):
7304 Updated confirmation note example.
7306 * src/hildon-date-editor.c
7307 * src/hildon-note.c: Updated sample programs in documentation.
7310 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7312 * src/hildon-date-button.h:
7313 * src/hildon-picker-button.h:
7314 * src/hildon-time-button.c:
7315 * src/hildon-time-button.h:
7317 Some declarations changes to allow gtk-doc to document the widgets
7320 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7322 * src/hildon-date-button.c: Document the widget.
7323 * src/hildon-time-button.c: Document the widget.
7325 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7327 * src/hildon-picker-button.c: Document the widget.
7328 * src/hildon-touch-selector-entry.c: Document the widget.
7330 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7332 * doc/hildon-docs.sgml
7335 * src/hildon-check-button.h
7336 * src/hildon-check-button.c: New functions to create the Hildon
7340 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7342 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7344 * src/hildon-button.h
7345 * src/hildon-button.c
7346 (hildon_button_add_title_size_group)
7347 (hildon_button_add_value_size_group)
7348 (hildon_button_add_image_size_group)
7349 (hildon_button_add_size_groups): New functions to set size groups
7350 for the button labels and image.
7351 (hildon_button_new_full): Removed
7353 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7355 * src/hildon-time-selector.c
7356 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7357 in order to avoid a crash if gconf is not available
7359 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7361 * src/hildon-button.c (hildon_button_set_arrangement)
7362 (hildon_button_construct_child): Don't construct the button child
7363 before setting the arrangement.
7365 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7367 * src/hildon-program-private.h
7368 * src/hildon-program.c
7369 * src/hildon-program.h
7370 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7371 (hildon_program_peek_window_stack)
7372 (hildon_program_pop_window_stack)
7373 (hildon_program_go_to_root_window): HildonProgram now has a
7374 separate list for stackable windows. Functions are provided to
7375 manage that list with a stack-like API.
7377 * src/hildon-stackable-window.c: Stackable window management is
7378 now much simpler with the new HildonProgram API. Windows no
7379 longer need to be manually added to the program, they're
7380 automatically pushed to the top of the stack when shown.
7382 * examples/hildon-stackable-window-example.c: Updated example to
7383 reflect the API changes.
7385 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7387 * src/hildon-touch-selector.c: Comment out unimplemented
7388 hildon_touch_selector_insert_column() to avoid a compile warning.
7390 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7392 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7393 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7394 (hildon_touch_selector_set_column_selection_mode),
7395 (_hildon_touch_selector_set_model),
7396 (hildon_touch_selector_set_model):
7398 Complete review of HildonTouchSelector documentation.
7400 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7402 * doc/hildon-docs.sgml
7406 * src/hildon-gtk.c: Convenience functions for standard Gtk
7407 widgets, used to easily perform frequent operations.
7409 * src/hildon-button-helpers.h
7410 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7412 * src/hildon-helper.h
7413 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7414 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7416 * src/hildon-button.h
7417 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7419 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7421 * src/hildon-button.c (hildon_button_init)
7422 (hildon_button_set_arrangement, hildon_button_construct_child):
7423 Pack the image and the labels inside the same GtkAlignment so
7424 gtk_button_set_alignment() can be used
7426 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7428 * src/hildon-button.h
7429 * src/hildon-button.c
7430 (hildon_button_init, hildon_button_set_image)
7431 (hildon_button_set_image_position)
7432 (hildon_button_construct_child): New functions to add an image to
7435 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7437 * src/hildon-date-button.c
7438 * src/hildon-picker-button.c
7439 * src/hildon-time-button.c
7440 * src/hildon-button.c:
7441 (hildon_button_class_init): "size-flags" renamed to "size"
7442 (hildon_button_set_title): Hide the title label if set to NULL.
7444 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7446 HildonButtonFlags split into HildonButtonArrangement (to set the
7447 button layout) and HildonSizeType (which can be used for any
7450 * src/hildon-button.h
7451 * src/hildon-button.c
7452 (hildon_button_class_init)
7453 (hildon_button_set_arrangement)
7454 (hildon_button_set_property): New "size-flags"
7455 property. "arrangement-flags" renamed to "arrangement".
7456 (hildon_button_new, hildon_button_new_with_text)
7457 (hildon_button_new_full): Constructors updated to reflect type changes.
7459 * src/hildon-helper.h
7460 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7461 to set the size of a widget.
7465 * src/hildon-button-helpers.c
7466 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7468 * src/hildon-date-button.c
7469 * src/hildon-date-button.h
7470 * src/hildon-picker-button.c
7471 * src/hildon-picker-button.h
7472 * src/hildon-time-button.c
7473 * src/hildon-time-button.h: Updated widgets to reflect
7474 HildonButton API changes.
7476 * examples/hildon-button-example.c
7477 * examples/hildon-date-button-example.c
7478 * examples/hildon-picker-button-example.c
7479 * examples/hildon-picker-button-multicolumn-example.c
7480 * examples/hildon-time-button-example.c
7481 * examples/hildon-touch-selector-entry-example.c
7482 * examples/hildon-touch-selector-example.c: Updated examples to
7483 reflect HildonButton API changes.
7485 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7487 * doc/hildon-docs.sgml:
7489 * examples/Makefile.am:
7490 * examples/hildon-touch-selector-entry-example.c:
7492 * src/hildon-touch-selector-entry.c:
7493 * src/hildon-touch-selector-entry.h:
7496 Moved HildonTouchSelectorEntry from sandbox. Added its
7497 documentation and examples.
7499 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7501 * src/hildon-touch-selector.h:
7502 * examples/hildon-picker-button-multicolumn-example.c:
7503 (hildon_touch_selector_append_text_column): Add a gboolean
7504 parameter to determine if text must be centered in the column.
7506 * src/hildon-date-selector.c: (hildon_date_selector_init):
7507 * src/hildon-time-selector.c: (hildon_time_selector_init):
7508 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7509 (create_touch_selector): Update widgets and example to reflect
7512 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7514 * src/hildon-touch-selector.c:
7515 (hildon_touch_selector_set_active_iter): Set also the cursor in
7518 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7520 * doc/hildon-docs.sgml
7523 * src/hildon-toggle-button.c
7524 * src/hildon-toggle-button.h
7525 * src/hildon.h: Removed HildonToggleButton widget, a derived
7526 class is not necessary for this.
7528 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7530 * src/hildon-pannable-area.c,
7531 (hildon_pannable_area_realize),
7532 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7535 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7537 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7538 "done" button the default widget for the dialog.
7540 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7542 * src/hildon-touch-selector.c:
7543 (hildon_touch_selector_class_init),
7544 (hildon_touch_selector_get_property),
7545 (_hildon_touch_selector_set_model),
7546 (_hildon_touch_selector_has_multiple_selection),
7547 (hildon_touch_selector_has_multiple_selection):
7548 Add a "has-multiple-selection" property with a virtual
7549 has_multiple_selection() method to allow derived classes to
7550 override the default value for it. See the method and property
7551 documentation for details.
7553 * src/hildon-touch-selector.h: Add the new API.
7555 * src/hildon-picker-dialog.c: (requires_done_button): Call
7556 hildon_touch_selector_has_multiple_selection() instead of
7557 determining the need for a button itself.
7559 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7561 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7562 (_hildon_touch_selector_set_model),
7563 (hildon_touch_selector_set_model): Move working code to
7564 _hildon_touch_selector_set_mode(). Call the class method instead.
7566 * src/hildon-touch-selector.h: Add (*set_model) to
7567 HildonTouchSelectorClass.
7569 Make hildon_touch_selector_set_model() a virtual method, so that
7570 derived classes can extend it and do fancy stuff with the model.
7572 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7574 * configure.ac: Set back the tarname in AC_INIT to hildon.
7576 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7580 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7581 instead of libesd (NB#86876). Volume handling is still an open issue.
7583 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7586 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7588 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7589 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7590 derived class to ease placement of an entry widget in
7591 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7592 end, where the selector columns are packed now.
7594 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7596 * src/hildon-picker-button.c: Removed the simple _text() API.
7597 * src/hildon-picker-button.h: Likewise.
7599 * src/hildon-touch-selector.h:
7600 * src/hildon-touch-selector.c:
7601 (hildon_touch_selector_new_text),
7602 (hildon_touch_selector_append_text),
7603 (hildon_touch_selector_prepend_text),
7604 (hildon_touch_selector_insert_text):
7606 Moved the simple _text() API from HildonPickerButton to
7607 HildonTouchPicker, to provide better escalability and not to tie
7608 that API to HildonPickerButton.
7610 * examples/hildon-picker-button-example.c: (main): Example updated.
7612 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7614 * src/hildon-button.c: Updated documentation.
7616 * examples/hildon-button-example.c: Add the posibility to create
7617 the buttons using horizontal layout for title and value.
7619 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7621 * src/hildon-app-menu-private.h
7622 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7623 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7624 GtkSizeGroup for the filters, use the 'homogeneous' property of
7627 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7629 * examples/hildon-button-example.c: Updated example.
7631 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7633 * doc/hildon-docs.sgml:
7636 Update documentation.
7638 * examples/Makefile.am: Update renamed examples.
7640 * examples/hildon-picker-button-multicolumn-example.c:
7641 (create_touch_selector), (main): Update after the rename.
7643 * examples/hildon-touch-picker-example.c: Removed.
7644 * examples/hildon-touch-selector-example.c: (value_changed),
7645 (create_selector), (get_visible_content), (main): Renamed from
7646 hildon-touch-picker-example.c
7648 * src/Makefile.am: Updated renamed files.
7650 * src/hildon-date-button.c: (hildon_date_button_init),
7651 (hildon_date_button_get_date), (hildon_date_button_set_date):
7652 * src/hildon-date-selector.c: (hildon_date_selector_init),
7653 (_custom_print_func), (_update_day_model),
7654 (_manage_selector_change_cb),
7655 (hildon_date_selector_select_current_date),
7656 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7657 * src/hildon-date-selector.h:
7658 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7659 (hildon_picker_button_set_property),
7660 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7661 (hildon_picker_button_init), (hildon_picker_button_new_text),
7662 (hildon_picker_button_append_text),
7663 (hildon_picker_button_prepend_text),
7664 (hildon_picker_button_insert_text),
7665 (hildon_picker_button_set_selector),
7666 (hildon_picker_button_get_selector):
7667 * src/hildon-picker-button.h:
7668 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7669 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7670 (_update_title_on_selector_changed_cb), (requires_done_button),
7671 (_hildon_picker_dialog_set_selector),
7672 (hildon_picker_dialog_set_selector),
7673 (hildon_picker_dialog_get_selector):
7674 * src/hildon-picker-dialog.h:
7675 * src/hildon-time-button.c: (hildon_time_button_init),
7676 (hildon_time_button_get_time), (hildon_time_button_set_time):
7677 * src/hildon-time-selector.c: (hildon_time_selector_init),
7678 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7679 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7680 * src/hildon-time-selector.h:
7683 Massive code updates after the rename.
7685 * src/hildon-touch-picker.c: Removed.
7686 * src/hildon-touch-picker.h: Removed.
7688 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7689 (hildon_touch_selector_init), (hildon_touch_selector_map),
7690 (hildon_touch_selector_remove), (_default_print_func),
7691 (_selection_changed_cb), (_create_new_column),
7692 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7693 (hildon_touch_selector_append_text_column),
7694 (hildon_touch_selector_remove_column),
7695 (hildon_touch_selector_set_column_attributes),
7696 (hildon_touch_selector_insert_column),
7697 (hildon_touch_selector_get_num_columns),
7698 (hildon_touch_selector_get_column_selection_mode),
7699 (hildon_touch_selector_set_column_selection_mode),
7700 (hildon_touch_selector_set_print_func),
7701 (hildon_touch_selector_get_print_func),
7702 (hildon_touch_selector_get_active_iter),
7703 (hildon_touch_selector_set_active_iter),
7704 (hildon_touch_selector_get_selected_rows),
7705 (hildon_touch_selector_get_model),
7706 (hildon_touch_selector_set_model),
7707 (hildon_touch_selector_get_current_text),
7708 (_hildon_touch_selector_center_on_selected_items):
7709 * src/hildon-touch-selector.h: Renamed from
7710 hildon-touch-picker.[ch]
7712 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7713 references, code examples, and related documentation.
7715 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7717 * doc/hildon-docs.sgml
7720 * src/hildon-toggle-button.c
7721 * src/hildon-toggle-button.h
7722 * src/hildon.h: New HildonToggleButton widget.
7724 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7726 * src/hildon-button.c: Add API documentation.
7727 (hildon_button_set_size_groups): Check input parameters
7729 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7731 * src/hildon-pannable-area.c
7732 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7733 effect after reaching the movement thredshold. This way we start
7734 using the distance after passing the thredshold.
7736 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7738 * src/hildon-button.c: (hildon_button_set_property): Use the
7739 appropriate g_value_get_flags() method.
7741 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7743 * doc/hildon-docs.sgml:
7746 Add the touch pickers, picker dialogs, and picker button widgets
7747 to the documentation.
7749 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7751 * src/hildon-button.c: (hildon_button_set_property),
7752 (hildon_button_class_init): Make "arrangement-flags" a proper
7753 G_TYPE_FLAGS derived property.
7755 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7757 * examples/Makefile.am: Add below examples.
7758 * examples/hildon-date-button-example.c:
7759 * examples/hildon-picker-button-example.c:
7760 * examples/hildon-picker-button-multicolumn-example.c:
7761 * examples/hildon-time-button-example.c:
7762 * examples/hildon-touch-picker-example.c:
7764 Add examples for the recently added touch pickers,
7765 picker dialogs, and picker button widgets.
7767 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7769 * src/hildon-button.c: Add some API documentation
7771 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7773 * src/hildon-button.h
7774 * src/hildon-button.c
7776 (hildon_button_new_with_text): New constructor to create a button
7777 with no text at all.
7778 (hildon_button_init, hildon_button_set_arrangement)
7779 (hildon_button_set_title, hildon_button_set_value)
7780 (hildon_button_set_text)
7781 (hildon_button_construct_child): Hide the value when it's not used
7782 so the rest of the text is properly aligned.
7783 Allow creating buttons with arbitrary widgets inside (not just
7784 title/value labels).
7786 * examples/hildon-button-example.c (vertical_buttons_window)
7787 (horizontal_buttons_window): Update example to use new API.
7789 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7791 * src/Makefile.am: Added HildonTimeButton.
7792 * src/hildon-time-button.c: Added missing LGPL header.
7793 * src/hildon-time-button.h: Added missing LGPL header.
7794 * src/hildon.h: Add hildon-time-button.h
7796 Copied HildonTimeButton 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 HildonDateButton.
7802 * src/hildon-date-button.c: Update includes.
7803 * src/hildon.h: Add hildon-date-button.h
7805 Copied HildonDateButton from sandbox to trunk. Future work on this
7806 widget must take place in trunk.
7808 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7810 * src/Makefile.am: Added HildonPickerButton.
7811 * src/hildon-picker-button.h: Update includes.
7812 * src/hildon.h: Add hildon-picker-button.h
7814 Copied HildonPickerButton from sandbox to trunk. Future work on
7815 this widget must take place in trunk.
7817 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7819 * src/Makefile.am: Added HildonPickerDialog.
7820 * src/hildon-picker-dialog.c: Update includes.
7821 * src/hildon.h: Add hildon-picker-dialog.h
7823 Copied HildonPickerDialog from sandbox to trunk. Future work
7824 on this widget must take place in trunk.
7826 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7828 * src/Makefile.am: Added HildonTimeSelector.
7829 * src/hildon.h: Add hildon-time-selector.h
7831 Copied HildonTimeSelector widget from sandbox to trunk. Future
7832 work on this widget must happen in trunk.
7834 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7836 * src/Makefile.am: Added HildonDateSelector.
7837 * src/hildon.h: Add hildon-date-selector.h
7839 Copied HildonDateSelector widget from sandbox to trunk. Future
7840 work on this widget must happen in trunk.
7842 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7844 * src/Makefile.am: Added HildonTouchPicker.
7845 * src/hildon-touch-picker.c: Update includes.
7846 * src/hildon.h: Add hildon-touch-picker.h
7848 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7849 on this widget must happen in trunk.
7851 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7853 * src/hildon-pannable-area.c:
7854 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7856 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7858 * examples/hildon-app-menu-example.c (main): Let the window
7861 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7863 * src/hildon-pannable-area.c
7864 (hildon_pannable_area_class_init): Set the min value of the
7865 overshoot properties to zero, which points out that not
7866 overshooting allowed.
7868 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7870 Modified the procedure to get the widget at a point inside the
7871 pannable area when using the movement type signals. Now the user
7872 has to call a function to get the child, that way we just
7873 calculate the child in case the user really want to use it and not
7876 * src/hildon-marshalers.list: Modified the marshallers, now we do
7877 not have the widget as a parameter.
7879 * src/hildon-pannable-area.c
7880 (hildon_pannable_area_motion_notify_cb),
7881 (hildon_pannable_area_class_init),
7882 (hildon_pannable_get_child_widget_at): Removed the widget
7883 parameter from the signal callback. We have also refactored the
7884 emission of the signals.
7886 * src/hildon-pannable-area.h: Added a new method to the API to
7887 calculate a widget at a point inside the pannable area,
7888 hildon_pannable_get_child_widget_at.
7890 * examples/hildon-pannable-area-example-4.c
7891 (horizontal_movement): Modified the example to use the new API,
7892 added condition to control which widget is under the event. This
7893 way we can avoid scrolling laterally over other widgets.
7895 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7897 * src/hildon-pannable-area.c
7898 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7899 modes, we stop getting the pointer events due to returning the
7900 callback without properly calling the get pointer again. Fixed
7901 also an error using the hscroll and vscroll.
7903 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7905 * src/hildon-app-menu-private.h
7906 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7907 (hildon_app_menu_button_release, hildon_app_menu_init)
7908 (hildon_app_menu_class_init): Don't hide the menu on button
7909 release if the user didn't press outside first.
7911 * src/hildon-window.h
7912 * src/hildon-window.c (hildon_window_toggle_menu)
7913 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7914 hildon_window_toggle_menu a virtual function for the stackable
7915 window to override it.
7917 * src/hildon-stackable-window.h
7918 * src/hildon-stackable-window-private.h
7919 * src/hildon-stackable-window.c
7920 (hildon_stackable_window_realize)
7921 (hildon_stackable_window_finalize)
7922 (hildon_stackable_window_class_init)
7923 (hildon_stackable_window_init)
7924 (hildon_stackable_window_set_main_menu): New function to set the
7925 app menu of a HildonStackableWindow.
7927 * examples/hildon-app-menu-example.c: Remove the button to show
7928 the app menu, now it'll be shown when clicking on the title bar
7931 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7933 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7934 set the widget name if the arrangement flags do not specify
7937 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7939 * src/hildon-button.c: (hildon_button_set_property),
7940 (hildon_button_class_init), (hildon_button_new_full),
7941 (hildon_button_set_arrangement): Added "arrangement-flags"
7944 Make the HildonButtonFlags a construction-only property, to allow
7945 subclasses to set them properly.
7947 2008-07-21 Tim Janik <timj@imendio.com>
7949 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7950 insertion position after backspace, so additional digits are appended,
7953 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7955 * src/hildon-pannable-area.c,
7956 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7957 TODO list, it was complete and removed the g_debug and g_print
7960 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7962 Added the movement modes to the hildon-pannable-area, with this
7963 modes the developers can control in which directions the widget
7964 can scroll. They can also connect to signals in order to do
7965 something when that happens, allowing applications scroll. There
7966 is an example uploaded showing how to use it.
7968 * examples/Makefile.am:
7969 * examples/hildon-pannable-area-example-4.c: Added this example of
7970 an application using the modes.
7972 * src/hildon-marshalers.list: Added a new marshaller for the new
7975 * src/hildon-pannable-area.h: Added new enumerations and flags in
7976 order to control the movement modes and the new signals to warn
7977 about the movements in the area.
7979 * src/hildon-pannable-area.c:
7980 (hildon_pannable_axis_scroll),
7981 (hildon_pannable_area_scroll),
7982 (hildon_pannable_area_motion_notify_cb),
7983 (hildon_pannable_area_get_property),
7984 (hildon_pannable_area_set_property),
7985 (hildon_pannable_area_map),
7986 (hildon_pannable_area_class_init),
7987 (hildon_pannable_area_init),
7988 (hildon_pannable_area_jump_to): Added the modes to control the
7989 movement in the widget. We have added properties to control it,
7990 signals to warn about the movements and refactored some code.
7992 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7994 Changes required in order to allow vfast_factor set to zero to
7997 * src/hildon-pannable-area.c:
7998 (hildon_pannable_area_button_press_cb): Changed the condition, it
7999 is required for not allowing click when vfast_factor is zero.
8000 (hildon_pannable_area_timeout): Initialized velocity variables
8001 when we stop moving, it was less than 1 but not zero and we need
8002 to check zero in some situations.
8003 (hildon_pannable_area_class_init): Changed the default value of
8004 the speed factor, now the button_press is just sent in case the
8005 speed is 2 per cent of the max speed.
8006 (hildon_pannable_area_init): Initialization with 0.
8008 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8010 * src/hildon-pannable-area.c,
8011 (hildon_pannable_area_get_topmost): replaced
8012 gdk_window_get_children with gdk_window_peek_children, this way we
8013 do not have to free the list because it is not a copy.
8015 (hildon_pannable_axis_scroll),
8016 (hildon_pannable_area_scroll),
8017 (hildon_pannable_area_timeout),
8018 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8019 two parameters that were only used inside the
8020 hildon_pannable_area_scroll function.
8022 * examples/hildon-pannable-area-example.c,
8023 (get_sawtooth_label): Fixed small memory leak.
8025 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8027 More checks for the case where the overshoot is bigger than the
8030 * src/hildon-pannable-area.c:
8031 (hildon_pannable_draw_vscroll),
8032 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8033 to draw the slider of the scrollbar under the other scrollbar.
8034 (hildon_pannable_area_expose_event): added new checks to control
8035 the drawing of the overshooting area rectangle, in case it is too
8036 big for the area of the widget.
8037 (hildon_pannable_area_size_allocate): add more checks to avoid
8038 setting a position to the child widget outside the area.
8040 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8042 * src/hildon-pannable-area.c
8043 (hildon_pannable_area_size_allocate): Added conditions to control
8044 when overshooting is bigger than the allocated space for the
8045 children, this avoids negative allocations.
8047 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8049 * doc/hildon-docs.sgml
8051 * examples/Makefile.am
8052 * examples/hildon-button-example.c
8054 * src/hildon-button.c
8055 * src/hildon-button.h
8056 * src/hildon.h: Initial version of the new HildonButton widget,
8059 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8061 * src/hildon-pannable-area.c:
8062 (hildon_pannable_area_button_press_cb),
8063 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8064 (hildon_pannable_area_motion_notify_cb),
8065 (hildon_pannable_area_button_release_cb),
8066 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8067 (hildon_pannable_area_jump_to_child):
8069 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8071 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8073 * examples/Makefile.am
8074 * examples/hildon-pannable-area-touch-grid-example.c
8075 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8076 the Hildon Touch List and Hildon Touch Grid using the
8077 HildonPannableArea widget.
8079 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8081 * src/hildon-pannable-area.c,
8082 (hildon_pannable_area_button_press_cb),
8083 (hildon_pannable_area_refresh),
8084 (hildon_pannable_area_scroll),
8085 (hildon_pannable_area_motion_notify_cb),
8086 (hildon_pannable_area_button_release_cb),
8087 (hildon_pannable_area_expose_event),
8088 (hildon_pannable_area_add),
8089 (hildon_pannable_area_remove),
8090 (hildon_pannable_area_realize),
8091 (hildon_pannable_area_size_allocate),
8092 (hildon_pannable_area_class_init),
8093 (hildon_pannable_area_init),
8094 (hildon_pannable_area_scroll_to_child),
8095 (hildon_pannable_area_jump_to_child): Fixed the problem of
8096 removing the child from the GtkBin, we have rearranged the widget
8097 hierarchy, now there is no GtkAlignment which was not doing
8098 anything interesting but breaking some of the assumptions of
8099 GtkContainer. Now developers if they want to add a GtkAlignment
8100 they could, but it is not inside the area.
8102 We had to review the whole allocation/expose process, now it is
8103 improved and we save at least three signals which would be saving
8104 some time when rendering the widget. The allocation of the
8105 scrollbars is now made in the allocate method as usual.
8107 We have also added some conditions in order to control when there
8108 is no child of the pannable area. Maybe we will need more work
8111 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8113 * src/hildon-pannable-area.c,
8114 (hildon_pannable_area_dispose): Released the fade-out timeout when
8115 disposing the widget.
8117 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8119 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8120 zero, we are going to use that property in order to deactivate the
8122 (hildon_pannable_axis_scroll),
8123 (hildon_pannable_area_size_allocate): Added conditions to control
8124 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8125 call, now it is called in all situations and we can remove calls
8126 in the allocate method.
8127 (hildon_pannable_area_map): Control the situation when
8128 overshoot_max is zero, we do not need the timeout.
8129 (hildon_pannable_area_class_init): Added documentation in order to
8130 point out that setting zero to overshoot_max means deactivate
8133 NOTE: removed trailing whitespaces from my previous comments of
8136 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8138 * src/hildon-pannable-area.c
8139 (hildon_pannable_area_get_property),
8140 (hildon_pannable_area_set_property),
8141 (hildon_pannable_area_map),
8142 (hildon_pannable_area_class_init),
8143 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8144 to cause the widget give a hint about its panning abilities upon
8147 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8149 * src/hildon-pannable-area.c: Several documentation improvements.
8151 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8153 * src/hildon-program.c
8154 * src/hildon-stackable-window.c: Update documentation.
8156 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8158 * src/hildon-stackable-window.c (get_previous_window_if_last):
8159 Renamed get_last_window()
8160 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8161 (hildon_stackable_window_unset_program):
8163 (get_previous_window_if_last):
8164 Detect if the window hasn't been added to a HildonProgram.
8166 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8168 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8170 * src/hildon-pannable-area.c
8171 (hildon_pannable_area_button_press_cb),
8172 (hildon_pannable_axis_scroll),
8173 (hildon_pannable_area_scroll),
8174 (hildon_pannable_area_timeout),
8175 (hildon_pannable_calculate_vel_factor),
8176 (hildon_pannable_area_get_property),
8177 (hildon_pannable_area_set_property),
8178 (hildon_pannable_area_class_init),
8179 (hildon_pannable_area_init),
8180 (hildon_pannable_area_scroll_to),
8181 (hildon_pannable_area_jump_to),
8182 (hildon_pannable_area_scroll_to_child),
8183 (hildon_pannable_area_jump_to_child):
8184 * src/hildon-pannable-area.h: Added the new API functions:
8185 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8186 hildon_pannable_area_scroll_to_child,
8187 hildon_pannable_area_jump_to_child
8190 * examples/Makefile.am
8191 * examples/hildon-pannable-area-example-2.c
8192 * examples/hildon-pannable-area-example-3.c: Added these two new
8193 examples in order to test and show how the new APIs work.
8195 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8197 * examples/hildon-stackable-window-example.c (new_window):
8198 * src/Makefile.am (noinst_HEADERS):
8199 * src/hildon-program.c (hildon_program_go_to_root_window):
8200 * src/hildon-program.h:
8201 * src/hildon-stackable-window-private.h:
8202 * src/hildon-stackable-window.c:
8203 * src/hildon-stackable-window.h:
8204 Create hildon-stackable-window-private.h
8205 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8207 * examples/hildon-app-menu-example.c (create_menu):
8208 * examples/hildon-hvolumebar-insensitive-example.c (main):
8209 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8210 * examples/hildon-toolbar-seekbar-example.c (main):
8211 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8212 * src/hildon-banner.c (hildon_banner_set_property):
8213 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8214 Fix compilation warnings
8216 * src/hildon-window.c:
8219 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8221 * src/hildon-stackable-window.c
8222 (hildon_stackable_window_unset_program):
8223 Calculate correctly whether to show the previous window if the
8224 last one is removed from the stack.
8225 (hildon_stackable_window_go_to_root_window):
8226 Send delete events starting from the topmost window.
8227 Stop if one of the windows is not destroyed.
8229 (hildon_stackable_window_delete_event)
8230 (hildon_stackable_window_class_init):
8231 Ignore the delete event if the window is not the topmost one.
8233 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8235 * src/hildon-pannable-area.c
8236 (hildon_pannable_area_expose_event): Fixed a problem when
8237 selecting the background color of the scrollbars.
8239 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8241 * examples/hildon-stackable-window-example.c
8242 * src/hildon-stackable-window.c
8243 * src/hildon-stackable-window.h
8244 hildon_stackable_window_go_home() renamed to
8245 hildon_stackable_window_go_to_root_window()
8246 Send delete events to windows rather than closing them with
8247 gtk_widget_destroy()
8249 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8251 * src/hildon-pannable-area.c
8252 (hildon_pannable_area_button_release_cb): Fix overshooting in
8255 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8257 * src/hildon-pannable-area.c
8258 (hildon_pannable_area_init): Initially show the scroll indicators.
8259 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8261 Add initial effect showing the widget is pannable.
8263 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8265 * src/hildon-pannable-area.c
8266 (hildon_pannable_area_class_init)
8267 (hildon_pannable_area_set_property)
8268 (hildon_pannable_area_get_property)
8269 (hildon_pannable_area_button_press_cb):
8270 New 'velocity_fast_factor' property to decide which velocity is
8273 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8275 * src/hildon-pannable-area.c
8276 (hildon_pannable_draw_hscroll)
8277 (hildon_pannable_draw_vscroll):
8278 Use float variables to calculate the size of the scrollbars to
8279 avoid error propagation and resizing during scrolling.
8281 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8283 * src/hildon-pannable-area.c
8284 (hildon_pannable_draw_vscroll)
8285 (hildon_pannable_draw_hscroll):
8286 Define a minimum size for the scroll bars
8288 * src/hildon-stackable-window.c
8289 (hildon_stackable_window_go_home): Fix compilation warning
8290 (get_last_window): Minor optimizations
8291 (hildon_stackable_window_class_init): Fix initialization of
8294 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8296 * src/hildon-stackable-window.c: Fixed typos in doc
8298 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8300 * src/hildon-pannable-area.c
8301 (hildon_pannable_area_scroll):
8302 Calculate here whether we need to scroll instead of using the booleans
8303 that tell us whether to /draw/ the scrolling bars.
8305 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8307 * src/hildon-app-menu.h
8309 * src/hildon-app-menu.c
8310 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8311 multiple filter groups related code and API. Now we support only
8313 * examples/hildon-app-menu-example.c:
8315 Update to reflect API changes.
8317 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8319 * src/hildon-stackable-window.c
8320 (hildon_stackable_window_class_init):
8321 Add hildon_stackable_window_realize.
8322 (hildon_stackable_window_realize):
8323 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8324 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8325 to apply theming and behavior specific to HildonStackableWindow
8328 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8330 * src/hildon-note.c (hildon_note_button_release):
8331 Close information notes also when tapping on them
8333 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8335 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8336 ELASTICITY, refactor and review, fix some issues with drawing
8339 * src/hildon-pannable-area.c:
8340 (hildon_pannable_area_button_press_cb): removed the conditions to
8341 avoid clicks when overshooting. It is not required
8343 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8344 define. Refatored and reviewed the code, now we do not need to
8345 manage velocity in motion_notify.
8347 (hildon_pannable_area_motion_notify_cb): We have moved the code
8348 that controls the area_scroll to the axis_scroll function and get
8349 rid of duplicated code.
8351 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8353 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8355 (hildon_pannable_draw_vscroll),
8356 (hildon_pannable_draw_hscroll): Fixed the problems with the
8357 scrollbar drawing, now we do not use two surfaces, it is easier
8358 and saves resources.
8360 (hildon_pannable_area_get_property): Style modification.
8362 (hildon_pannable_area_class_init): Changed some default values.
8364 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8366 * src/hildon-stackable-window.c: Fix some typos in the
8369 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8371 * src/hildon-dialog.c:
8372 Change indentation style
8375 (hildon_note_button_release):
8376 Use root coordinates to check if the release event happened
8379 * src/hildon-app-menu.c
8380 (hildon_app_menu_button_release):
8381 Remove unnecessary check
8383 * examples/hildon-app-menu-example.c
8385 Add cast to fix warning
8387 * src/hildon-app-menu.c
8388 (hildon_app_menu_class_init):
8389 New inner-border style property.
8390 Set all default spacings to 16
8391 (hildon_app_menu_init):
8392 Use vertical-spacing to set the space between filter buttons and
8393 regular menu buttons.
8394 Set the default container border using the inner-border value.
8396 * examples/hildon-app-menu-example.c
8398 Don't set the menu border explicitly, now we have the inner-border
8399 style property for that.
8401 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8403 * src/hildon-app-menu.c (hildon_app_menu_init):
8404 Make the window modal
8406 * src/hildon-note.c (hildon_note_map)
8407 * src/hildon-app-menu.c (hildon_app_menu_map):
8408 Destroy the grab window if we're unable to grab the pointer
8410 * src/hildon-app-menu-private.h
8411 * src/hildon-app-menu.c
8412 (hildon_app_menu_init, hildon_app_menu_finalize)
8413 (hildon_app_menu_map, hildon_app_menu_unmap)
8414 (hildon_app_menu_button_release)
8415 (grab_transfer_window_get):
8416 Bring back the grab window
8417 (hildon_app_menu_realize):
8418 Decorate the window, set WM hint for Matchbox
8420 * src/hildon-note.c (hildon_note_realize):
8421 * src/hildon-banner.c (hildon_banner_realize):
8422 Add WM hints for Matchbox
8424 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8426 * src/hildon-app-menu-private.h
8427 * src/hildon-app-menu.c
8428 (hildon_app_menu_init, hildon_app_menu_finalize)
8429 (hildon_app_menu_map, hildon_app_menu_unmap)
8430 (hildon_app_menu_button_release):
8431 Remove the grab window, it's not needed anymore
8433 * src/hildon-program.c
8434 Fixed typo in documentation
8436 * src/hildon-app-menu.h
8437 * src/hildon-app-menu.c
8438 * examples/hildon-app-menu-example.c
8439 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8441 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8444 Added new transfer_window and close_if_pressed_outside private
8446 (hildon_note_rebuild):
8447 Don't add a cancel button to the information note. It will be
8448 closed when tapping outside
8449 Remove the comment about the OK button in the documentation
8450 (hildon_note_realize):
8451 Set the notification type hint
8452 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8453 Grab/ungrab pointer and keyboard if the note has to be closed when
8455 (hildon_note_button_release):
8456 Close the note when tapping outside (if applicable)
8458 * src/hildon-app-menu.c
8459 Grab/ungrab pointer and keyboard on map/unmap
8460 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8461 Close the menu on button release, not button press
8463 * src/hildon-banner.c
8464 (hildon_banner_set_property)
8465 (hildon_banner_check_position):
8466 Make the banner use the full width of the screen
8467 (hildon_banner_show_information)
8468 (hildon_banner_show_information_with_markup):
8469 Don't display an icon by default
8471 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8473 Added fading scrollbars and adapted all the overshooting code to
8474 horizontal scrolling. We have also fixed bugs with overshooting
8475 and current fading implementation.
8477 * src/hildon-pannable-area.c
8478 (hildon_pannable_area_scroll_indicator_fade): Time out function
8479 used to change the transparency of the scrollbars.
8481 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8482 control and fixed a problem with fading, we now remove the fade
8483 timeout before adding a new one.
8485 (hildon_pannable_axis_scroll):
8486 (hildon_pannable_area_scroll):
8487 (hildon_pannable_area_timeout): Added this functions so we can use
8488 the scroll code both for vertical and horizontal.
8490 (hildon_pannable_area_motion_notify_cb):
8491 (hildon_pannable_area_button_release_cb): Added the horizontal
8492 scrolling control, fixed a problem with the overshooting timeout.
8494 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8495 painting of the scrolls.
8497 (hildon_pannable_draw_vscroll):
8498 (hildon_pannable_draw_hscroll):
8499 (hildon_pannable_area_expose_event):
8500 Draw both scrollbars and rectangles in the overshooting area.
8502 (hildon_pannable_area_get_property):
8503 (hildon_pannable_area_set_property):
8504 Modified the overshoot property to overshoot_max
8506 (hildon_pannable_area_map):
8507 Replaced the comments symbols.
8509 (hildon_pannable_area_size_allocate):
8510 (hildon_pannable_area_class_init):
8511 (hildon_pannable_area_init): Added horizontal scroll, fading
8512 effect properties, fixed a problem when overshooting in the bottom
8515 * examples/hildon-pannable-area-example.c:
8516 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8517 looks better in the example.
8519 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8521 * src/hildon-window.c
8522 * src/hildon-window.h
8523 (hildon_window_class_init)
8524 (hildon_window_unset_program)
8525 (hildon_window_unset_program_real):
8526 Make unset_program a virtual function
8528 * src/hildon-stackable-window.c
8529 * src/hildon-stackable-window.h
8530 Added hildon_stackable_window_go_home()
8532 * examples/Makefile.am
8533 * examples/hildon-stackable-window-example.c
8534 HildonStackableWindow example
8536 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8538 * hildon-pannable-area.c: Added the overshoot property and removed
8539 the OVERSHOOT define. Fixed an indent style error.
8540 (hildon_pannable_area_motion_notify_cb):
8541 (hildon_pannable_area_get_property):
8542 (hildon_pannable_area_set_property): Add overshoot property.
8544 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8547 (hildon_pannable_area_class_init): Installed the new property.
8549 * hildon-pannable-area-example.c: Added a sawtooth function, this
8550 way it is easier to check the movement in the pannable.
8551 (get_sawtooth_label): Added this function.
8552 (main): Now we get the labels from the new get_sawtooth_label
8555 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8557 * src/hildon-app-menu.h
8558 * src/hildon-app-menu.c
8559 Renamed API variables for consistency
8561 (hildon_app_menu_popup): Use also the default window size to
8562 decide where to place the menu
8564 (hildon_app_menu_init, hildon_app_menu_class_init): New
8565 external-border style property
8567 2008-05-26 Michael Natterer <mitch@imendio.com>
8569 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8570 widget_class->tap_and_hold_setup signal slot doesn't exist any
8571 longer, stop overriding it.
8573 (hildon_time_editor_init): g_signal_connect() to the
8574 tap-and-hold-setup signal instead.
8576 (hildon_time_editor_entry_keypress): add cast to fix warning.
8578 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8580 * doc/hildon-docs.sgml
8582 * examples/Makefile.am
8583 * examples/hildon-app-menu-example.c
8585 * src/hildon-app-menu-private.h
8586 * src/hildon-app-menu.c
8587 * src/hildon-app-menu.h
8589 New HildonAppMenu widget
8591 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8593 Rearranged the inheritance of the pannable area, now it inherits
8594 from GtkBin. This will allow us to control the event_window and
8595 the allocation process of the widget, required for some effects.
8597 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8598 GtkBin structures. * src/hildon-pannable-area.c: Added the
8599 event_window variable.
8600 (hildon_pannable_area_button_press_cb):
8601 (hildon_pannable_area_button_release_cb):
8602 (hildon_pannable_area_motion_notify_cb):
8603 Changed the signature of the method, now we override the event
8604 callback instead of connecting to the signal.
8606 (hildon_pannable_area_realize):
8607 (hildon_pannable_area_unrealize):
8608 (hildon_pannable_area_map):
8609 (hildon_pannable_area_unmap):
8610 (hildon_pannable_area_size_allocate):
8611 Added functions to control the widget construction. We add a
8612 INPUT_ONLY window and we put it over the widgets inside the
8613 container, this event_window handles the events.
8615 (hildon_pannable_area_class_init):
8616 Replaced the signal connections with overrides of the event
8619 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8621 Bouncing effect added when touching the borders, you can change
8622 the elasticity of the border changing the ELASTICITY define.
8624 * src/hildon-pannable-area.c: Added ELASTICITY define.
8625 (hildon_pannable_area_timeout): Added inverse velocity when
8626 touching the border of the child widget, that causes a bounce.
8628 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8630 Improved performance, we now do not go to the X server in order to
8631 get the list of window children. Apparently the effect is the
8632 same, we have to be careful and check if this breaks something in
8635 * src/hildon-pannable-area.c:
8636 (get_ordered_children): Removed this function.
8637 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8638 the children windows function with gdk_window_get_children.
8640 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8642 * src/hildon-pannable-area.c:
8643 (hildon_pannable_area_dispose): Fixed a crash when closing the
8644 window and kinetics is activated.
8646 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8648 * src/hildon-pannable-area.h
8649 * src/hildon-pannable-area.c
8650 Changed indentation style to meet the one used in Hildon
8652 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8654 Reviewed the interaction of the AUTO mode, now we use the time
8655 attribute of the events and calculate the velocity in the motion,
8656 doing a gimp like calculation. The velocity is calculated in each
8657 motion event using the last velocity and the current one, the
8658 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8660 * src/hildon-pannable-area.c: Replaced the time based algorithm
8662 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8663 timeout for the AUTO mode when we are still moving the cursor. We
8664 added also the velocity calculation in this function.
8665 (hildon_pannable_area_button_release_cb): launch the timeout in
8666 case we are in AUTO mode. There are still some constants here that
8667 come from the old implementation that should be reviewed and
8670 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8672 * doc/hildon-docs.sgml
8675 * src/hildon-stackable-window.c
8676 * src/hildon-stackable-window.h
8678 New HildonStackableWindow widget
8680 * examples/hildon-dialog-example.c
8681 * examples/hildon-pannable-area-example.c
8684 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8686 * src/hildon-dialog.c
8687 (hildon_dialog_new_with_buttons): New constructor.
8689 * examples/hildon-dialog-example.c
8690 (main): Update the example to use the new
8691 hildon_dialog_new_with_buttons().
8693 * examples/hildon-pannable-area-example.c
8694 (main): Update example.
8696 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8698 * doc/hildon-docs.sgml
8700 Added HildonPannableArea to the documentation.
8702 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8704 * doc/visual_index.xml
8705 Fix reference to HildonLoginDialog in documentation
8707 * doc/hildon-docs.sgml
8709 * examples/Makefile.am
8710 * examples/hildon-dialog-example.c
8712 * src/hildon-dialog.c
8713 * src/hildon-dialog.h
8715 New HildonDialog widget.
8717 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8719 * src/hildon-pannable-area.c
8720 Merge latest changes (r4318, r4342) from libmokoui trunk
8722 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8724 * examples/Makefile.am
8725 * examples/hildon-pannable-area-example.c
8727 * src/hildon-pannable-area.c
8728 * src/hildon-pannable-area.h
8730 New HildonPannableArea widget.
8732 2008-04-15 18:05:19 <timj@imendio.com>
8734 * src/hildon-banner.c: revert the recent change, that introduced
8735 gtk_window_present() calls. this reopens:
8736 Bug 78481 - [freetest] information banners are hidden under browser menu
8737 But resolves another variant of:
8738 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8740 2008-04-15 13:21:13 <timj@imendio.com>
8742 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8743 recreated its layout, spotted by Kris. this fixes all remaining
8744 artefacts and stability issues with the banner code. in particular:
8745 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8747 2008-04-14 16:52:59 <timj@imendio.com>
8749 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8750 operating on unrealized widgets, fixes:
8751 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8753 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8755 2008-04-09 Kristian Rietveld <kris@imendio.com>
8757 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8758 makes banner disappear.
8759 Fixes: NB#79182: info banner flickering with certain message lengts.
8761 * src/hildon-banner.c (hildon_banner_constructor),
8762 (hildon_banner_init), (hildon_banner_set_text),
8763 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8764 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8765 FALSE, reset size requests of label and banner,
8766 (force_to_wrap_truncated): when the text is too wide, always enforce
8767 the maximum possible width instead of recalculating it from the
8768 layout; enforce the maximum banner height of 3 lines,
8769 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8770 nicer wrapping and no truncated chars if space gets tight.
8772 * src/hildon-banner-private.h: add has_been_wrapped and
8773 has_been_truncated fields.
8775 2008-04-07 Sven Herzberg <sven@imendio.com>
8777 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8778 local values in hildon_date_editor_size_allocate
8780 * src/hildon-date-editor.c: moved the real allocation code into the
8783 2008-04-07 Sven Herzberg <sven@imendio.com>
8785 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8786 local values in hildon_date_editor_size_allocate
8788 * src/hildon-date-editor.c: merged the two if() branches together
8790 2008-04-07 Sven Herzberg <sven@imendio.com>
8792 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8793 local values in hildon_date_editor_size_allocate
8795 * src/hildon-date-editor.c: changed the arguments of the if()
8798 2008-04-07 Sven Herzberg <sven@imendio.com>
8800 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8801 local values in hildon_date_editor_size_allocate
8803 * src/hildon-date-editor.c: split the calculation of the allocation
8804 from the real allocation
8806 2008-03-27 Michael Natterer <mitch@imendio.com>
8808 Fixes: NB#81696: The passcode is not overwritten even after
8811 * src/hildon-code-dialog.c
8812 (hildon_code_dialog_button_clicked)
8813 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8814 because that doesn't overwrite selected text. Instead, emit the
8815 "commit" signal on the entry's im_context so the entry's normal
8816 insert logic is triggered. Set the cursor to the end of the entry
8817 after each insert operation so that we *only* insert in the middle
8818 of the text if something was selected.
8820 2008-03-27 Michael Natterer <mitch@imendio.com>
8822 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8823 selector cannot be opened
8825 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8826 when the popup color selector is created. Please connect to this
8827 signal in order to set the dialog's help ID.
8829 2008-03-25 Sven Herzberg <sven@imendio.com>
8831 Fixes: MB#1212: Hide info banners (infoprints) on click
8833 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8834 extracted the close event simulation into an extra function
8835 (hildon_banner_button_press_event): simulate a close event and destroy
8836 the widget if the event wasn't handled
8837 (hildon_banner_class_init): added the button_press_event handler
8838 (hildon_banner_init): added button-press events to the widget
8840 2008-03-25 Sven Herzberg <sven@imendio.com>
8842 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8843 Patch from: Mohammad Anwari <mdamt@maemo.org>
8845 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8846 instead of the right in RTL mode
8847 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8848 breadcrumb button list in RTL mode
8849 * src/hildon-caption.c: mirror the appearance of the caption widget in
8851 * src/hildon-date-editor.c: mirror appearance of the date editor in
8853 * src/hildon-time-editor.c: mirror appearance of the time editor in
8855 * src/hildon-window.c: fix the position of the popup in RTL mode
8857 2008-03-25 Sven Herzberg <sven@imendio.com>
8859 Amendment to the fix of NB#22072. Fix compilation.
8861 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8863 2008-03-19 Sven Herzberg <sven@imendio.com>
8865 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8868 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8869 timeout id properly when the timeout will disappear this leaves no
8870 artifacts around in the destroy(); there will only be the timeout
8871 created by hildon_banner_ensure_timeout() and adding a new timeout
8872 will also work if the timeout gets removed because the timeout_handler
8875 2008-03-19 Michael Natterer <mitch@imendio.com>
8877 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8879 * src/hildon-volumebar.c
8880 * src/hildon-vvolumebar.c
8881 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8882 the widget becomes focussable at all.
8884 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8885 set the focus to wither the mute button or the volumebar.
8887 Remove own "can-focus" property and instead listen to
8888 notify::can-focus in order to update the widget's state.
8890 Implement GtkWidget::focus() and make sure we can also *leave* the
8891 widget, not only enter it, depending on volumebar orientation and
8892 requested focus direction.
8894 Clean up set_mute() to cooperate nicely with all the above.
8896 2008-03-04 Michael Natterer <mitch@imendio.com>
8898 Fixes: NB#78481: information banners are hidden under browser menu
8900 * src/hildon-banner.c: call gtk_window_present() on the banners so
8901 they are risen if they are already visible.
8903 2008-03-03 Sven Herzberg <sven@imendio.com>
8905 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8907 * examples/hildon-window-menu-example.c: (main): extended the window
8908 menu example to serve as a testcase for automatically added
8909 accelerator groups, too
8910 * src/hildon-window.c: (hildon_window_add_accel_group),
8911 (hildon_window_set_menu): added patch by Tommi Komulainen
8913 2008-03-03 Sven Herzberg <sven@imendio.com>
8915 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8917 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8918 knowledge about the border allocators used within GTK+
8920 2008-02-26 Sven Herzberg <sven@imendio.com>
8922 Fixes: MB#2981: Build with asserts broken
8924 * src/hildon-date-editor.c,
8925 * src/hildon-number-editor.c,
8926 * src/hildon-time-editor.c,
8927 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8928 the proper GType instance check
8930 2008-02-25 Sven Herzberg <sven@imendio.com>
8932 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8934 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8935 * examples/hildon-window-menu-example.c: (main): explicitly show
8937 * src/hildon-window.c:
8938 (hildon_window_set_main_menu): moved most of the code from set_menu()
8939 to this place; skipped the call to gtk_widget_show_all(); also didn't
8940 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8941 (hildon_window_set_menu): removed most of the code, just keep the
8942 questionable gtk_widget_show_all()
8943 * src/hildon-window.h: added the new function and deprecate the old
8946 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8952 * debian/changelog: Updating.
8954 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8957 * pkgconfig/Makefile.am:
8958 * pkgconfig/hildon.pc.in:
8961 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8962 use newly created API_MAJOR_VERSION.
8964 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8970 * debian/changelog: Updating.
8972 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8974 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8976 Add outer_border style property, we use it but don't define it (!).
8980 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8982 * examples/hildon-bread-crumb-trail-example.c (main):
8986 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8988 Fix logic for the bread crumb trail node removal.
8992 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * debian/changelog: Updating.
9000 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 Patch by Alejandro to get/set passwords dialogs accesibility.
9004 * hildon-1/src/hildon-get-password-dialog.c:
9005 * hildon-1/src/hildon-set-password-dialog.c:
9006 Set atk_set_name to the passwd entries in order to allow
9007 accessibility by name on this entries.
9009 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * debian/control: Updating gtk dep.
9016 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9018 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9019 USE_MAEMO_GTK is enabled.
9021 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9023 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9024 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9026 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * debian/changelog: Updating.
9034 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * examples/Makefile.am:
9037 * examples/hildon-logical-color-example.c:
9038 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9039 applied + adding a test case. Fixes: NB#71660.
9041 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9043 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9044 to be visible, fixes warning on map for windows without toolbars.
9046 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9048 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9049 2.11.0, add a check for that besides the MAEMO_GTK check.
9051 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9057 * debian/changelog: Updating.
9059 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9061 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9062 visibility. Fixes: NB#70842 and MB#615.
9064 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9066 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9067 set the separator as no-show-all so it doesn't unintentionally appear when
9068 someone does a show_all.
9070 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9072 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9073 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9074 toplevel item. Fixes: NB#62031
9076 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9078 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9079 fix the name of the function in the docs.
9081 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9087 * debian/changelog: Updating.
9089 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9091 * examples/hildon-banner-long-example.c: Adding a test-case for long
9094 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9096 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9098 * src/hildon-color-chooser-dialog.c:
9099 * src/hildon-color-chooser.c:
9100 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9101 memory leaks in font selector and color selector. Fixes: NB#70499 and
9104 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9106 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9108 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9111 little bit bigger. Fixes: #NB63694.
9113 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * debian/changelog: Updating.
9121 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9124 * doc/hildon-docs.sgml:
9125 * doc/images/bread-crumb-trail.png:
9126 * doc/images/calendar-popup.png:
9127 * doc/images/caption.png:
9128 * doc/images/code-dialog.png:
9129 * doc/images/color-button.png:
9130 * doc/images/color-chooser-dialog.png:
9131 * doc/images/color-chooser.png:
9132 * doc/images/controlbar.png:
9133 * doc/images/date-editor.png:
9134 * doc/images/font-selection-dialog.png:
9135 * doc/images/get-password-dialog.png:
9136 * doc/images/hvolumebar.png:
9137 * doc/images/login-dialog.png:
9138 * doc/images/note.png:
9139 * doc/images/number-editor.png:
9140 * doc/images/range-editor.png:
9141 * doc/images/seekbar.png:
9142 * doc/images/set-password-dialog.png:
9143 * doc/images/sort-dialog.png:
9144 * doc/images/time-editor.png:
9145 * doc/images/time-picker.png:
9146 * doc/images/vvolumebar.png:
9147 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9148 Adding the bread-crumb-trial and helpers to the documentation.
9150 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * examples/hildon-find-toolbar-example.c:
9153 * src/hildon-find-toolbar.c:
9154 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9155 actually continue firing the other handlers if connected. Adding a new
9157 hildon_find_toolbar_get_last_index that gets the index of the most
9158 recently added (last) item. Fixes: NB#52301.
9160 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9162 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9163 behaviour. Fixes: NB#68610.
9165 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9167 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9170 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9172 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9173 when realizing the banner. Should make the infonbanner effect a bit more
9176 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9178 * src/hildon-volumebar.c:
9179 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9180 hildon_volumebar_set_range_insensitive_message and
9181 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9183 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * src/hildon-window.c: Fixing the border freeing on destroy.
9187 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * src/hildon-code-dialog-private.h:
9190 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9191 kw keyboard support in HildonCodeDialog.
9193 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9199 * debian/changelog: Updating.
9201 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9203 * src/hildon-date-editor.c:
9204 * src/hildon-number-editor.c:
9205 * src/hildon-private.c:
9206 * src/hildon-private.h:
9207 * src/hildon-time-editor.c:
9208 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9209 handling in subclassed composite widgets. Fixes: NB#66628.
9211 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9213 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9214 from destroy_ callback as it introduces problems in async dbus signal
9215 handlers. Fixes NB#66673.
9217 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * examples/hildon-hvolumebar-example.c:
9220 * src/hildon-volumebar.c: Improving the focus handling in the
9221 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9222 set_property accessor so that "mute" property can be actually set. I'm
9223 scared that nobody noticed it's totally broken.
9225 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9227 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9230 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9232 * src/hildon-calendar.c:
9233 * src/hildon-number-editor.c:
9234 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9235 matches the spec of 6 chars per second. Fixes: NB#60489.
9237 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9239 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9240 gtk_style_lookup_color sometime returns FALSE even though color was
9241 found and values were filled properly. Weird. Removing the warning for the
9244 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9246 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9247 expand vertically. Adding some extra space to the find toolbar buttons to
9248 make them thumbable. Fixes NB#66060.
9250 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9252 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9253 popup with "Ok" and "Cancel". Fixes NB#59299.
9255 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * src/hildon-calendar.c: Process all window updates before executing next
9258 timeout. Fixes: NB#54146.
9260 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9266 * debian/changelog: Updating.
9268 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9270 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9271 the client event and ignore it, since we use the delete event to close
9274 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9276 * src/hildon-helper.c: Remove the bogus warning about color not being
9277 found. Fixes NB#58352.
9279 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9281 * examples/Makefile.am:
9282 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9283 HildonSeekbar widget inside a toolbar.
9285 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9287 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9288 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9289 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9290 don't want to be closed by non-temporary windows on map.
9292 Also use G_DEFINE_TYPE instead of manually typed code.
9294 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9301 * debian/rules: Updating.
9303 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9305 * examples/Makefile.am:
9306 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9307 bug NB#61128. Strangely it works.
9309 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9311 * src/hildon-date-editor.c: When the date editor entry has been changed
9312 but the numbers of characters < max, turn off the skip validation flag.
9313 Prevents a situation when we enter first a valid year and later re-write
9314 it with an invalid one. Fixes NB#60154.
9316 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9318 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9319 code dialog. Fixes NB#64355.
9321 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9323 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9324 switching the page. Fixes NB#49374.
9326 * examples/Makefile.am:
9327 * examples/hildon-wizard-dialog-example.c: Adding an example for
9328 HildonWizardDialog that shows how to handle manual sensitivity setting on
9331 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9335 * src/hildon-version.h.in:
9336 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9338 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9340 * src/hildon-volumebar.c: Updating the docs.
9342 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9348 * debian/changelog: Updating.
9350 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9352 * src/hildon-find-toolbar.c:
9353 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9354 selected item: hildon_find_toolbar_set_active,
9355 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9356 hildon_find_toolbar_get_active_iter . They correspond to respective
9357 GtkComboBox functions.
9359 * examples/Makefile.am:
9360 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9363 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9365 * examples/Makefile.am:
9366 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9369 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9370 when font size > 32 and we pack a focusable widget inside. Actually using
9371 the default response would work too, but since we don't show default
9372 response state in any way (no theming) it would not be visible to the
9373 user. Fixes NB#63430.
9375 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9377 * src/hildon-date-editor.c: Adding the missing variable setter in the
9378 set_property handler. Fixes NB#54182.
9380 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9382 * src/hildon-window.h: Changing the long key press time from 1500ms to
9383 800ms as requested in NB#63700. I have a bad feeling about this, let's
9384 see... Fixes NB#63700.
9386 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9388 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9389 hildon_time_picker_map, hildon_time_picker_realize,
9390 hildon_time_picker_style_set): Split the contents of map to more
9391 appropriate functions; set window decorations on realize and update
9392 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9394 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9399 * debian/changelog: Updating.
9401 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9403 * src/Makefile.am: fixed installation of the header files
9405 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9411 * debian/changelog: Updating.
9413 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9415 * configure.ac: Removing some remaining of --enable-xan.
9417 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9419 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9420 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9422 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9423 2.10.12-osso6 because the move-focus signal needs to be available in
9426 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9428 * examples/Makefile.am:
9429 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9430 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9431 fine. Prolly NB#61128 is fixed now.
9433 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9435 * src/hildon-volumebar.c:
9436 * src/hildon-volumebar.h: Adding the
9437 hildon_volumebar_set_range_insensitive_message and
9438 hildon_volumebar_set_range_insensitive_messagef functions to set
9439 insensitive message on the slider of the volumebar. Fixes NB#61129.
9441 * examples/Makefile.am:
9442 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9443 test the new insensitive messsage functionality on HildonVolumebar.
9445 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9447 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9450 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9452 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9453 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9454 button on after clearing the trail.
9456 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9458 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9460 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9462 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9463 by splitting the installed headers in generated and non-generated groups. Use
9464 only the non-generated headers to create the hildon-enum-types.h file.
9466 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9468 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9470 * src/hildon-window.c: Hide the window before performing the destroy.
9471 Should make the app closing a little tiny bit more snappy.
9473 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9475 * src/hildon-seekbar.c: add gtkrange.h header
9476 * src/hildon-caption.c: remove unused variable
9478 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9480 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9483 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9489 * debian/changelog: Updating.
9491 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9493 * src/hildon-window.c (hildon_window_window_state_event,
9494 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9495 escape timeout on focus-out-event rather than notify::is-topmost; the
9496 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9498 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9500 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9501 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9503 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9505 * src/hildon-window: actually, you need to use the macro always, there's
9506 no private pointer in the instance structure. We should have cleaned this up
9507 when we had the chance...
9509 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9511 * src/hildon-window.c: do not get the private date from HildonWindow before
9512 it passes the g_return_if_fail check. Once it's passed the test, there's no
9513 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9514 if you are only going to access the data once. Whitespace cleanups.
9516 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9518 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9519 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9521 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9527 * debian/changelog: Updating.
9529 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9531 * src/hildon-window.c: When destroying the window, remove (if exists) the
9532 escape timeout handler. Fixes #NB59276.
9534 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9536 * src/hildon-banner.c: When realizing the widget, set the window
9537 transiency. Setting the transiency in the gobject constructor is not
9538 good, as the widget is not realized at that point. Fixes: #NB56624.
9540 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9542 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9543 Add padding for future expansions.
9545 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9547 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9548 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9549 will fake an activation on the previous to the last item of the trail, so
9550 the effect can be overrided by the developer as usual.
9551 Also change the callback for the back button to do the same thing, so its
9552 effect can be overrided too. Fixes: NB#58982
9554 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9556 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9557 HildonCaption. Fixes NB#52379.
9559 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9561 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9562 the internal state of the trail after the user has had the chance of executing
9563 his handler for the signal. Specifically, it may happen that the activated button
9564 is removed and the user still lets the default handler run. This would segfault
9567 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9569 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9570 scrollbar to the preview dialog. Fixes NB#54147.
9572 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9574 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9575 max/min year properties can be altered, so the client can modify it
9576 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9578 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9580 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9581 hildonlike by default. Fixing a problem with disappearing arrows when
9582 scrolling through months and years. Fixes NB#54127.
9584 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9586 * examples/hildon-date-editor-example.c: Adding error callback to the date
9589 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9595 * configure.ac: Updating.
9597 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9599 * configure.ac: Adding a special '--enable-xan' configure option that
9600 turns off the -Werror compilation setting. Usefull for development.
9602 * src/hildon-calendar.c:
9603 * src/hildon-number-editor.c:
9604 * src/hildon-time-picker.c: Adding the 5* multiplier to
9607 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9609 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9610 instead of g_object_ref + gtk_object_sink.
9612 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9618 * debian/changelog: Updating.
9620 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9622 * src/hildon-color-chooser-dialog.c:
9623 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9624 straight from Tommi labs.
9626 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9628 * examples/hildon-finger-example.c: Correcting the header file path.
9630 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9631 the changed signal. Fixes a small memory leak.
9633 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9637 * src/hildon-banner.c: Importing several usefull fixes from the
9638 ubuntu-mobile branch.
9640 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9642 * examples/Makefile.am:
9643 * examples/hildon-finger-example.c: Adding a finger-checking code
9646 * src/hildon-font-selection-dialog.c: Do not allocate the color
9647 structure using the g_new. Fixes NB#54061.
9649 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9651 * src/hildon-helper.c: Correcting tabs in file.
9653 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9655 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9656 control the visibility of the children.
9658 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9660 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9666 * debian/changelog: Updating.
9668 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9670 * src/hildon-bread-crumb-trail.c:
9671 (hildon_bread_crumb_trail_size_allocate):
9673 Make the back button always a square.
9675 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9677 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9678 from the .c file as it's a private file.
9680 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9682 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9683 uses slightly bigger height.
9685 * src/hildon-font-selection-dialog.c: Adding some checks before
9686 freeing memory in the font selection dialog.
9688 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9690 * src/hildon-font-selection-dialog.c: Adding a small check when
9693 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9694 buttons sensitivity on page switching.
9696 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9698 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9699 internal details of adding a bread crumb to the trail.
9701 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9707 * debian/changelog: Updating.
9709 * src/hildon-bread-crumb-trail.h:
9710 * src/hildon-bread-crumb.h: Changing the API guard to
9711 HILDON_ENABLE_UNSTABLE_API.
9713 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9721 * src/hildon-helper.h: Updating.
9723 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9731 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9735 * src/hildon-helper.h: Small fix to make the package actually compile.
9737 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9739 * src/hildon-bread-crumb-trail.h:
9740 * src/hildon-bread-crumb.h:
9742 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9743 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9745 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9747 * examples/hildon-bread-crumb-trail-example.c:
9749 * src/hildon-bread-crumb-trail.c:
9750 * src/hildon-bread-crumb-trail.h:
9751 * src/hildon-bread-crumb.c:
9752 * src/hildon-bread-crumb.h:
9753 * src/hildon-marshalers.list:
9754 * src/hildon-bread-crumb-widget.c:
9755 * src/hildon-bread-crumb-widget.h:
9757 Slight change in the widget design. The bread crumb trail API is
9758 unchanged, but HildonBreadCrumb is now an interface. A *private*
9759 implementation, hildon-bread-crumb-widget, is provided and used
9760 internally by the trail for the push_text/push_icon functions.
9762 The generic push API is still available, so anyone can implement
9763 and use its own bread crumb widget.
9765 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9767 * debian/rules: Fixing the shlibs.
9769 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9771 * src/hildon-banner.c: Fixing a problem with timed banners having
9772 their parrent destroyed before they are.
9774 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9776 * src/hildon-bread-crumb.c:
9777 * src/hildon-bread-crumb.h:
9779 Make the get_natural_size function a vfunc.
9781 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9783 * src/hildon-bread-crumb.c:
9784 * src/hildon-bread-crumb-trail.c:
9788 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9795 * debian/changelog: Updating for release.
9797 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9799 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9800 don't leak the pango layout.
9802 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9805 * examples/hildon-bread-crumb-trail-example.c:
9809 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9811 * debian/changelog: Removing the bug-fixed entries that were actually
9812 resolved as WONTFIX.
9814 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9817 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9819 * src/hildon-bread-crumb-trail.c:
9820 * src/hildon-bread-crumb-trail.h:
9821 * src/hildon-bread-crumb.c:
9822 * src/hildon-bread-crumb.h:
9826 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9828 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9829 until it's passed the type check.
9831 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9833 * examples/hildon-bread-crumb-trail-example.c
9837 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9839 * examples/Makefile.am
9840 * examples/hildon-bread-crumb-trail-example.c
9842 * src/hildon-bread-crumb-trail.c
9843 * src/hildon-bread-crumb-trail.h
9844 * src/hildon-bread-crumb.c
9845 * src/hildon-bread-crumb.h
9847 New HildonBreadCrumbTrail widget.
9849 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9851 * src/hildon-range-editor.c (hildon_range_editor_init),
9852 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9853 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9854 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9855 hildon_time_editor_class_init, hildon_time_editor_init),
9856 src/hildon-get-password-dialog.c (invalid_input,
9857 hildon_get_password_set_property, hildon_get_password_get_property,
9858 create_contents, hildon_get_password_dialog_set_max_characters),
9859 src/hildon-set-password-dialog.c (create_contents),
9860 src/hildon-date-editor.c (hildon_date_editor_init),
9861 src/hildon-login-dialog.c (hildon_login_dialog_init),
9862 src/hildon-number-editor.c (hildon_number_editor_init),
9863 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9864 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9865 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9866 configure option and adding the respective checks in the code.
9867 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9868 hildon_calendar_drag_data_received): fixed some build warnings.
9870 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9872 * debian/changelog: A 1.0.0 release notes.