1 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
3 [2.2.0 Release Candidate 8]
6 * debian/changelog: update and bump
8 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
10 * hildon/hildon-note.c: Declare hildon_note_set_padding() only when using
13 2009-09-23 Claudio Saavedra <csaavedra@igalia.com>
15 * doc/hildon-sections.txt: Add hildon_banner_show_custom_widget()
16 * examples/hildon-banner-example.c: (area_expose),
17 (custom_widget_new), (on_progress_idle): New example showing a custom widget.
18 * hildon/hildon-banner.c:
19 * hildon/hildon-banner.h: Add hildon_banner_show_custom_widget().
21 Fixes: NB#140140 (Allow custom widgets to be used in banners)
23 2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
25 * examples/hildon-banner-example.c:
26 (on_information_clicked), (on_animation_clicked),
27 (on_progress_clicked): GtkButton:clicked handlers do not return
30 2009-09-17 Claudio Saavedra <csaavedra@igalia.com>
32 [2.2.0 Release Candidate 7]
35 * debian/changelog: bump and updates
37 2009-09-17 Alberto Garcia <agarcia@igalia.com>
39 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
40 Use the Xlib API to take window screenshots, since the GDK API
41 doesn't allow us to set the event mask.
43 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
46 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
48 [2.2.0 Release Candidate 6]
50 * debian/changelog: bump and updates.
52 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
54 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
55 free a GList and avoid potential memory corruption.
57 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
59 [2.2.0 Release Candidate 5]
62 * debian/changelog: bump and updates
64 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
66 Do not set any flag for empty legacy menus
68 * hildon/hildon-program.c: (hildon_program_set_common_menu):
69 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
70 This will probably not work fine with empty legacy menus added to
71 programs or windows and populated later, but so it's life.
73 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
75 Update the application menu flag for application-wise windows
77 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
78 (hildon_program_set_common_app_menu): Also take into account the visibility
81 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
83 Emit HildonAppMenu::changed when menu items change visibility
85 * hildon/hildon-app-menu.c: (item_visibility_changed),
86 (filter_visibility_changed): Also emit ::changed on
87 visibility of items changed.
89 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
91 Do not set the menu flag in a window when a menu is empty
93 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
94 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
95 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
96 changes by using the HildonAppMenu::changed signal.
98 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
100 Add HildonAppMenu::changed signal
102 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
103 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
104 Emit a new HildonAppMenu:changed signal when there are changes in
107 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
109 Add hildon_app_menu_has_visible_children() private method
111 * hildon/hildon-app-menu-private.h: Add below private method.
112 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
113 New method to check the visibility of a HildonAppMenu children.
115 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
117 Set the window menu flag for application-common menus
119 * hildon/hildon-program.c:
120 (+hildon_program_window_set_common_menu_flag): Set or remove the
121 menu flag from a window only this doesn't have its own menu.
122 (+hildon_program_set_common_menu_flag): adjust menu flag for
123 all windows in the program.
124 (hildon_program_add_window),
125 (hildon_program_remove_window): add/remove the menu flag when
126 a window is added to the program.
128 Fixes: NB#137814 (Indicator for view menu in app title area)
130 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
132 Set a special window property for windows with menus
134 * hildon/hildon-window-private.h: Add private
135 hildon_window_set_menu_flag()
136 * hildon/hildon-window.c: (+do_set_has_menu),
137 (+hildon_window_set_menu_flag): set
138 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
139 or remove the property.
140 (hildon_window_set_main_menu),
141 (hildon_window_set_app_menu): call above methods to set or remove
142 the property when a menu is added or removed from the window.
144 Partially fixes: NB#137814 (Indicator for view menu in app title area)
146 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
148 Rename and move the methods to set flags to hildon-private.h
150 * hildon/hildon-gtk.c: (do_set_progress_indicator),
151 (do_set_do_not_disturb), (do_set_portrait_flags): call
152 the new private method hildon_gtk_window_set_clear_window_flag()
153 (hildon_gtk_window_set_progress_indicator),
154 (hildon_gtk_window_set_do_not_disturb),
155 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
156 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
157 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
159 * hildon/hildon-private.h: Add the two new private methds.
161 2009-09-11 Alejandro G. Castro <alex@igalia.com>
163 * hildon/hildon-pannable-area.c,
164 (hildon_pannable_area_init),
165 (hildon_pannable_area_size_allocate),
166 (hildon_pannable_area_button_release_cb): More tuning of the
167 speed, adding a way to calculate the acceleration and fast-panning
168 based on the child size.
170 2009-09-10 Alberto Garcia <agarcia@igalia.com>
172 * hildon/hildon-touch-selector.c
173 (hildon_touch_selector_class_init):
174 Documentation updates
178 2009-09-10 Alberto Garcia <agarcia@igalia.com>
180 * hildon/hildon-touch-selector.c:
181 Documentation updates
183 Fixes: MB#5104 (HildonTouchSelector docs should say no
184 HildonPannableArea is necessary)
186 2009-09-08 Alejandro G. Castro <alex@igalia.com>
188 * hildon/hildon-pannable-area.c,
189 (hildon_pannable_area_timeout): Fixed problem with the timeout
190 function, we need to move before decelerating the first time or we
191 are loosing the first jump.
193 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
195 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
197 [2.2.0 Release Candidate 3]
199 * debian/changelog: updates
201 2009-09-07 Alejandro G. Castro <alex@igalia.com>
203 * hildon/hildon-pannable-area.c,
204 (hildon_pannable_area_class_init): Increased max speed.
206 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
208 [2.2.0 Release Candidate 2]
211 * debian/changelog: bump version, updates
213 2009-09-07 Alejandro G. Castro <alex@igalia.com>
215 * hildon/hildon-pannable-area.c,
216 (hildon_pannable_area_class_init),
217 (hildon_pannable_area_button_release_cb): More tuning for the
220 2009-09-07 Alejandro G. Castro <alex@igalia.com>
222 * hildon/hildon-pannable-area.c,
223 (hildon_pannable_area_class_init):
224 Change the default value of the scrollbar_fade_delay.
226 Fixes: NB#127018 (Panning indicator fades out too slowly)
228 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
230 [2.2.0 Release Candidate 1]
233 * configure.ac: Bump version
234 * debian/changelog: updates
236 2009-09-04 Alejandro G. Castro <alex@igalia.com>
238 * hildon/hildon-pannable-area.c,
239 (hildon_pannable_area_init),
240 (hildon_pannable_area_button_press_cb),
241 (hildon_pannable_area_button_release_cb): Added a new acceleration
242 system to help traversing big lists, tuned the stop threshold.
244 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
246 2009-09-04 Alberto Garcia <agarcia@igalia.com>
248 * hildon/hildon-window.h:
249 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
251 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
253 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
257 * configure.ac: bump version
259 * debian/changelog: updates
261 2009-09-04 Alberto Garcia <agarcia@igalia.com>
263 * hildon/hildon-entry.c
264 * hildon/hildon-text-view.c:
265 Documentation updates
267 2009-09-04 Alberto Garcia <agarcia@igalia.com>
269 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
270 Redraw menu when the number of items change.
272 Fixes: NB#131911 (Appmenu does not resize properly, when number of
275 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
277 * hildon/hildon-pannable-area.c:
278 (hildon_pannable_area_launch_fade_timeout),
279 (hildon_pannable_area_motion_event_scroll),
280 (hildon_pannable_area_check_move),
281 (hildon_pannable_area_button_release_cb),
282 (hildon_pannable_area_scroll_to):
284 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
285 area drawing operations, since this is the recommended for drawing
288 Fixes: NB#110894 (In event view containing very large description
289 field, application menu is displayed blank while panning)
290 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
293 2009-09-03 Alberto Garcia <agarcia@igalia.com>
295 * doc/hildon-sections.txt
296 * hildon/hildon-button.c
297 * hildon/hildon-edit-toolbar.c
298 * hildon/hildon-gtk.[ch]
299 * hildon/hildon-main.c
300 * hildon/hildon-program.c
301 * hildon/hildon-stackable-window.c:
302 Documentation updates
304 2009-08-28 Alberto Garcia <agarcia@igalia.com>
306 * hildon/hildon-app-menu.c
307 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
308 Close the menu if it receives a grab-notify signal.
310 Fixes: NB#134533 (UI freezes if we show a dialog with
311 gtk_dialog_run() while a menu is opened)
313 2009-08-27 Alejandro G. Castro <alex@igalia.com>
315 * hildon/hildon-pannable-area.c,
316 (hildon_pannable_area_class_init): Reverted tuning modifications:
317 "Pannign needs to be faster" and "Pannable kinetics in large lists
320 2009-08-26 Alberto Garcia <agarcia@igalia.com>
322 * hildon/hildon-sound.c (hildon_play_system_sound):
323 Set "module-stream-restore.id" to "x-maemo-system-sound" when
324 playing system sounds
326 Fixes: NB#133767 (Information and confirmation note sound should
327 follow system profile setting)
329 2009-08-26 Alejandro G. Castro <alex@igalia.com>
331 * hildon/hildon-pannable-area.c,
332 (hildon_pannable_area_class_init): Added more force and increased
333 the max speed threshold.
335 Fixes: NB#135344 (Pannign needs to be faster)
337 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
339 [Release 2.1.96, this time for real]
342 * debian/changelog: updates
344 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
346 * hildon/hildon-pannable-area.c
347 (hildon_pannable_area_get_topmost): change the computation of the
348 co-ordinates transformed when no one of the children is a topmost
350 Fixes: NB#133252 (Opening any feed item from RSS always opens the
351 first feed item in browser)
353 2009-08-26 Alejandro G. Castro <alex@igalia.com>
355 * hildon/hildon-pannable-area.c,
356 (hildon_pannable_area_remove_timeouts): Adding this new function
357 with the code that removes the timeouts of the widget.
358 (hildon_pannable_area_dispose),
359 (hildon_pannable_area_unrealize): Use the new remove function to
360 stop timeouts when unrealizing and disposing.
361 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
362 calculation to avoid negative values in some cases.
364 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
366 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
368 * examples/hildon-check-button-example.c: (button_toggled_cb):
369 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
370 (hildon_check_button_set_active), (hildon_check_button_new),
371 (hildon_check_button_clicked), (hildon_check_button_class_init):
372 * hildon/hildon-check-button.h:
373 * hildon/hildon-set-password-dialog.c: (create_contents),
374 (hildon_set_password_response_change), (hildon_checkbox_toggled):
376 Revert "Make HildonCheckButton derive from GtkToggleButton"
378 2009-08-21 Alberto Garcia <agarcia@igalia.com>
382 * configure.ac: bump version
384 * debian/changelog: updates
386 2009-08-21 Alberto Garcia <agarcia@igalia.com>
388 * hildon/hildon-check-button.h
389 * hildon/hildon-check-button.c
390 (hildon_check_button_clicked, hildon_check_button_class_init):
391 Make HildonCheckButton derive from GtkToggleButton
392 (hildon_check_button_toggled, hildon_check_button_set_active)
393 (hildon_check_button_get_active):
394 Deprecate unnecessary HildonCheckButton API and use the
395 one from GtkToggleButton instead.
397 * hildon/hildon-set-password-dialog.c (create_contents)
398 (hildon_set_password_response_change, hildon_checkbox_toggled)
399 * examples/hildon-check-button-example.c (button_toggled_cb):
400 Update to use the GtkToggleButton API
402 Fixes: MB#4739 (HildonCheckButton should inherit from
405 Fixes: NB#132661 (HildonCheckButton should inherit from
408 2009-08-20 Alberto Garcia <agarcia@igalia.com>
410 * hildon/hildon-pannable-area.c
411 (hildon_pannable_area_class_init):
412 Increase default value of HildonPannableArea:velocity_max to 2000
414 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
416 2009-08-18 Alberto Garcia <agarcia@igalia.com>
420 * configure.ac: bump version
422 * debian/changelog: updates
424 2009-08-11 Alejandro G. Castro <alex@igalia.com>
426 * hildon/hildon-pannable-area.c
427 (hildon_pannable_area_size_allocate): Checked the scrollbars
428 before the first try when defining the layout, avoids two
429 allocations in some situations.
431 Fixes: NB#131794 (pannable area produces unnecessary allocations
432 causing performance problems)
434 2009-08-11 Alejandro G. Castro <alex@igalia.com>
436 * hildon/hildon-pannable-area.c
437 (hildon_pannable_area_button_press_cb),
438 (hildon_pannable_area_motion_notify_cb),
439 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
440 the spurious ref added in the copy, fixes leak of window.
442 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
443 if it's realized without showing and then deleted)
445 2009-08-10 Alberto Garcia <agarcia@igalia.com>
449 * configure.ac: bump version
451 * debian/changelog: updates
453 2009-08-06 Alberto Garcia <agarcia@igalia.com>
455 * examples/hildon-hvolumebar-timer-example.c
457 * hildon/hildon-banner.c
458 (hildon_banner_timeout, hildon_banner_ensure_timeout)
459 * hildon/hildon-calendar.c
460 (calendar_timer, start_spinning)
461 * hildon/hildon-color-chooser.c
462 (inline_limited_expose)
463 * hildon/hildon-date-editor.c
464 (hildon_date_editor_entry_focus_in)
465 (hildon_date_editor_entry_validate)
466 (hildon_date_editor_entry_select_all)
467 * hildon/hildon-note.c
469 * hildon/hildon-number-editor.c
470 (hildon_number_editor_button_pressed)
471 (hildon_number_editor_start_timer, do_mouse_timeout),
472 (add_select_all_idle, hildon_number_editor_select_all)
473 * hildon/hildon-time-editor.c
474 (hildon_time_editor_entry_focus_in)
475 (highlight_callback, hildon_time_editor_validate)
476 (hildon_time_editor_entry_select_all)
477 * hildon/hildon-time-picker.c
478 (hildon_time_picker_arrow_press)
479 (hildon_time_picker_key_repeat_timeout)
480 * hildon/hildon-window.c
481 (hildon_window_key_press_event)
482 (hildon_window_escape_timeout):
483 Replace all calls to g_idle_add/g_timeout_add with their
484 gdk_threads counterparts.
486 Fixes: NB#126198 (gdk-threads API should be used to install idle
487 and timeout handlers)
489 2009-08-06 Alejandro G. Castro <alex@igalia.com>
491 * hildon/hildon-pannable-area.c,
492 (hildon_pannable_area_class_init): Increased the overshooting max
493 speed to get a faster effect.
494 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
495 deceleration of the overshooting
496 (hildon_pannable_area_button_release_cb): Calculate initial
497 overshooting speed when finger on the screen using the distance to
498 launch the effect faster.
500 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
501 lists with slow row renderers)
503 2009-08-05 Alberto Garcia <agarcia@igalia.com>
505 * doc/hildon-sections.txt: Add new functions
507 2009-08-05 Alberto Garcia <agarcia@igalia.com>
509 * hildon/hildon-text-view.[ch]
510 * hildon/hildon-entry.[ch]:
511 Add deprecation guards around deprecated functions.
513 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
515 * hildon/hildon-app-menu.c: Remove leftover function declaration.
517 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
519 Remove the grab from HildonAppMenu
521 * hildon/hildon-app-menu.c:
522 Now hildon-desktop places a blocker window behind the menu to handle
523 its closing, so the grab is no longer needed. This simplifies its
524 implementation and allows the system blanking to succeed.
526 Fixes: NB#130910 (Screen gets unlocked when menu is open)
528 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
532 * configure.ac: bump version
534 * debian/changelog: updates
535 * debian/control: raise debian dependency on GTK+
537 2009-08-04 Alberto Garcia <agarcia@igalia.com>
539 * hildon/hildon-text-view.c
540 * hildon/hildon-entry.c:
541 Remove all placeholder code from HildonEntry and HildonTextView
542 and use the API in GtkEntry and GtkTextView instead.
544 * examples/hildon-entry-example.c
545 * examples/hildon-text-view-example.c
546 * examples/hildon-wizard-dialog-example.c
547 * hildon/hildon-get-password-dialog.c
548 * hildon/hildon-login-dialog.c
549 * hildon/hildon-picker-dialog.c
550 * hildon/hildon-set-password-dialog.c
551 * hildon/hildon-touch-selector-entry.c:
552 Replace all deprecated calls to HildonEntry and HildonTextView
553 with their Gtk counterparts.
555 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
558 2009-08-03 Alejandro G. Castro <alex@igalia.com>
560 * hildon/hildon-pannable-area.c,
561 (hildon_pannable_area_check_move),
562 (hildon_pannable_area_button_release_cb),
563 (hildon_pannable_area_scroll_to): Reverted the priority change of
564 the timeout, in some situations, slow renderers, the click do not
565 make it to the mainloop on time.
567 Fixes NB#131013 (unable to stop panning file manager by tapping on
570 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
572 * configure.ac: bump version
574 * debian/changelog: updates
576 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
578 * hildon/hildon-touch-selector.[ch]
579 (hildon_touch_selector_center_on_index): New method that allows to center
580 on a item not selected
582 Fixes NB#130291 (New HildonTouchSelector API is required to center on
585 2009-07-29 Alberto Garcia <agarcia@igalia.com>
587 * hildon/hildon-text-view.c
588 (+set_logical_color, +hildon_text_view_style_set)
589 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
590 (hildon_text_view_init)
591 * hildon/hildon-entry.c
592 (+set_logical_color, +hildon_entry_style_set)
593 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
594 (hildon_entry_class_init, hildon_entry_init)
595 * hildon/hildon-button.c
596 (+set_logical_font, +set_logical_color)
597 (hildon_button_style_set, hildon_button_init)
598 (hildon_button_set_arrangement, hildon_button_set_style):
599 Remove all calls to hildon_helper_set_logical_font() and
600 hildon_helper_set_logical_color(), which are recursive, from
603 Fixes: NB#123409 (Showing dialog consumes significant amount of
606 2009-07-29 Alejandro G. Castro <alex@igalia.com>
608 * hildon/hildon-pannable-area.c,
609 (hildon_pannable_area_timeout): Added the process updates of the
610 scrollbars window in the pannable.
612 Fixes: NB#130043 (scrollindicator not smooth while panning)
614 2009-07-23 Alejandro G. Castro <alex@igalia.com>
616 * hildon/hildon-pannable-area.c,
617 (hildon_pannable_area_check_move),
618 (hildon_pannable_area_button_release_cb),
619 (hildon_pannable_area_scroll_to): Increased the priority of the
620 timeout this way it is going to be handled before the events.
622 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
626 * configure.ac: bump version
627 * debian/changelog: updates
629 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
631 * hildon/hildon-entry.c: (set_property): Do not allow to set
632 automatic height and use finger height instead, to prevent an to
633 have a smaller size than than its theme pixbuf.
635 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
637 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
639 * configure.ac: postrelease version bump.
640 * debian/changelog: post release version bump
642 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
647 * configure.ac: Bump version.
648 * debian/changelog: Updates.
650 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
652 * hildon/hildon-note.c: (label_size_request): Take the note
653 padding into account when setting the size request.
655 Fixes: NB#127896 (Information notes text truncated)
657 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
659 * configure.ac: postrelease version bump.
660 * debian/changelog: post release version bump
662 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
667 * configure.ac: Bump version.
668 * debian/changelog: Updates.
670 2009-07-16 Alejandro G. Castro <alex@igalia.com>
673 * hildon/hildon-text-view.c,
674 (hildon_text_view_button_press_event): Grabbed the focus in button
675 press, this way we are sure the widget has the focus in the
676 release event, required for HIM.
678 Fixes: NB#121445 (Virtual keyboard opening is not working in same
679 way for each text entry field)
681 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
683 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
684 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
685 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
686 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
687 (hildon_pannable_area_[gs]et_center_on_child_focus)
688 Redefined GtkContainer set-focus-child signal, in order to center
689 properly on a child when it receives the focus. Defined a new property
690 "center-on-child-focus" in order to activate this feature (deactivated
691 by default). Public get/set methods defined to manage the property.
693 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
695 2009-07-14 László Pere <lpere@blumsoft.eu>
697 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
698 the new size is applied.
700 Fixes: NB#124510 (The Application Menu is distorted when switched
701 between portrait and landscape mode)
702 Fixes: NB#115388 (Power key menu does not resize itself)
704 2009-07-01 Alberto Garcia <agarcia@igalia.com>
706 * hildon/hildon-banner.c (hildon_banner_map):
707 Set banner position after mapping.
709 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
711 * configure.ac: postrelease version bump.
712 * debian/changelog: post release version bump
714 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
719 * configure.ac: Bump version.
720 * debian/changelog: Updates.
722 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
724 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
727 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
729 * tests/check-hildon-banner.c
731 * tests/test_suites.h
732 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
733 were testing deprecated functions.
734 * examples/hildon-banner-example.c: typo on button3 type, that causes
735 a fail compiling with --with-examples but without --disable-deprecated
737 Missed commit in order to fix compilation using '--enable-fatal' and
738 '--disable-deprecated' (see previous commit)
740 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
742 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
743 functions with #ifndef HILDON_DISABLE_DEPRECATED
744 * examples/hildon-find-toolbar.c: Protect deprecated
745 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
746 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
747 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
748 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
750 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
751 to allow proper compilation of deprecated functions defined on the header
753 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
755 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
757 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
758 Cache the panning indicator color.,
759 (hildon_pannable_area_style_set): Query the color on style changes.
760 (hildon_pannable_draw_vscroll),
761 (hildon_pannable_draw_hscroll),
762 (hildon_pannable_area_expose_event): Use the cached panning indicator
763 color instead of looking it up on every expose and more.
765 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
767 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
768 (hildon_pannable_draw_hscroll),
769 (hildon_pannable_area_expose_event): Fix the panning indicator color,
770 so that it's "SecondaryTextColor", as desired.
772 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
774 * hildon/hildon-picker-dialog.c:
775 (selection_completed): take into account HILDON_UI_MODE_NORMAL
776 * hildon/hildon-touch-selector.c
777 (hildon_touch_selector_init): Initialize hildon-ui-mode
778 (hildon_touch_selector_row_activated): new callback for the
779 "row-activated" signal, in order to save the last activated
780 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
781 if the current hildon-ui-mode is coherent with the touch selector
782 (hildon_touch_selector_class_init)
783 (hildon_touch_selector_get_property)
784 (hildon_touch_selector_set_property)
785 Added "hildon-ui-mode" property
786 (disconnect_model_handlers): renamed to clean_column
787 (hildon_touch_selector_remove): use clean_column function
788 (_create_new_column): use the hildon-ui-mode to create the treeview, and
789 only select the first element on HILDON_UI_MODE_EDIT
790 (hildon_touch_selector_column_init): Initialize last_activate
791 (hildon_touch_selector_append_column): check that the touch selector
792 is coherent with the current hildon-ui-mode
793 (hildon_touch_selector_get_hildon_ui_mode)
794 (hildon_touch_selector_set_hildon_ui_mode)
795 Added a getter/setter for the hildon-ui-mode property
796 (hildon_touch_selector_get_last_activated_row): Added this method in
797 order to get the last activated row.
798 * examples/hildon-touch-selector-normal-mode-example.c
799 New example, that shows how to use the HildonTouchSelector in
800 HILDON_UI_MODE_NORMAL
802 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
803 Kristian Rietveld <kris@lanedo.com> advices
805 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
807 * hildon/hildon-time-selector.c: (update_format_policy): Do
808 not call update_format_dependant_columns() if not necessary.
809 (update_format_dependant_columns): Remove unnecessary check for
810 the number of columns.
812 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
814 * hildon/hildon-note.c (+hildon_note_constructor),
815 (hildon_note_class_init), (+hildon_note_set_padding),
816 (hildon_note_rebuild): Install a constructor where to set the
817 padding properties in the note, so that it actually works fine.
818 Use hildon_note_set_padding() for this, and also to set it during
821 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
823 * configure.ac: Bump GTK+ requirement to 2.14.3.
824 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
825 when using maemo-gtk to define proper margins for the notes.
827 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
828 with the dialog edge)
830 2009-06-24 Alberto Garcia <agarcia@igalia.com>
832 * hildon/hildon-banner.c
833 (hildon_banner_class_init):
835 (+hildon_banner_size_request):
836 Request always the full width of the screen.
837 (hildon_banner_realize)
838 (-hildon_banner_check_position, hildon_banner_map):
839 hildon_banner_check_position() is not needed in Hildon 2.2.
840 (-hildon_banner_reset_wrap_state)
841 (hildon_banner_constructor, hildon_banner_init):
842 Remove unnecessary calls to hildon_banner_reset_wrap_state()
843 (+banner_do_set_text)
844 (force_to_wrap_truncated):
845 Remove has_been_wrapped and has_been_truncated attributes.
846 (+reshow_banner, hildon_banner_real_show_information)
847 (hildon_banner_show_information_with_markup)
848 (hildon_banner_show_animation, hildon_banner_show_progress)
849 (hildon_banner_set_text, hildon_banner_set_markup):
850 Refactor code. Shrink banner vertically to use the minimum space
851 necessary everytime the text of the label is updated.
852 (screen_size_changed):
853 Call force_to_wrap_truncated() when the size of the screen
856 Fixes: NB#120500 (only device memory connect mmc in use info
857 banner is left aligned)
859 Fixes: NB#120613 (Size of HildonBanner varies depending on
860 previously opened banners)
862 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
864 * hildon/hildon-color-chooser.c
865 (hildon_color_chooser_pointer_motion): Take the widget allocation
868 Fixes: NB#124385 (Unable to select exact point in color mixing box
869 in color palette dialog)
871 2009-06-23 Alejandro G. Castro <alex@igalia.com>
873 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
874 (hildon_pannable_area_dispose)
875 (hildon_pannable_area_button_press_cb)
876 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
877 (hildon_pannable_area_button_release_cb)
878 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
879 New 'panning-started' and 'panning-finished' signals.
881 Fixes: NB#121732 (New feature request: Signal to pannable area
882 that informs when panning is stopped.)
884 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
886 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
887 instead of hardcoded colon.
889 Fixes: NB#124090 (New calendar wizard title is not using
890 ecdg_ti_caption_separator)
892 2009-06-22 David King <davidk@openismus.com>
894 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
895 constants and functions, as well as correct many typos throughout the
898 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
901 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
903 * configure.ac: postrelease version bump.
904 * debian/changelog: post release version bump
906 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
911 * configure.ac: Bump version.
912 * debian/changelog: Updates.
914 2009-06-18 Alberto Garcia <agarcia@igalia.com>
916 * hildon/hildon-window-stack.c
917 (hildon_window_stack_pop_and_push_list):
918 Prevent windows from having the same stack index
920 2009-06-18 Alberto Garcia <agarcia@igalia.com>
922 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
923 Use the index of the previous window rather than the stack length
924 to calculate the new index.
928 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
930 * hildon/hildon-date-selector.c
931 (hildon_date_selector_select_current_date)
932 (hildon_date_selector_get_date)
933 (hildon_date_selector_select_day):
934 Update the documentation: uses always the range (1-31), as it is obvious
935 that the final one will depend on the month and the year, but globally
936 the range is this, in a similar GtkCalendar approach
937 (hildon_date_selector_get_date):
938 Update the documentation: add NULL as a valid value for the day, month
941 Fix some details, after talk with David King on bug MB#4698
943 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
945 * hildon/hildon-touch-selector-entry.c
946 * hildon/hildon-touch-selector.c
947 Update the documentation of the "text-column" property
949 2009-06-18 David King <davidk@openismus.com>
951 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
952 several typos and errors throughout the documentation.
954 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
957 2009-06-18 Alberto Garcia <agarcia@igalia.com>
959 * hildon/hildon-note.c (hildon_note_realize):
960 Make HildonNote support portrait mode.
962 Fixes: NB#123448 (HildonNote is not portrait-friendly)
964 2009-06-17 Alberto Garcia <agarcia@igalia.com>
966 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
967 Document this function
969 2009-06-17 David King <davidk@openismus.com>
971 * hildon/hildon-date-selector.c
972 (hildon_date_selector_select_current_date)
973 (hildon_date_selector_get_date): Update documentation regarding days,
974 as the day of the month is dependent on both the month and the year.
975 (hildon_date_selector_get_date): Fix documentation of output arguments.
977 Fixes: MB#4698 (DateSelector documentation has bad output argument
978 description, and the day depends on both the month and the year)
980 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
982 * hildon/hildon-caption.c: Other documentation fixes to
985 2009-06-17 David King <davidk@openismus.com>
987 * hildon/hildon-caption.c: Minor documentation updates for
988 HildonCaption. Fixes MB#4697.
990 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
992 * doc/hildon-docs.sgml: Add hildon-version section.
993 * doc/hildon-sections.txt:
994 * hildon/hildon-version.h.in: Document versioning macros and
997 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
999 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
1000 from HildonPickerDialog section.
1002 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1004 * hildon/hildon-banner.c (hildon_banner_bind_style)
1005 (screen_size_changed, hildon_banner_init)
1006 (hildon_banner_real_show_information)
1007 (hildon_banner_show_information_with_markup)
1008 (hildon_banner_show_animation, hildon_banner_show_progress):
1009 Set a different widget name to banners in portrait mode, for them
1010 to be themed correctly.
1012 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1014 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
1015 Set a different widget name to notes in portrait mode, for them to
1016 be themed correctly.
1018 Partially fixes: NB#118401 (HildonNote causes unnecessary
1019 rescaling of images)
1021 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1023 * hildon/hildon-note.c (hildon_note_class_init)
1024 (+hildon_note_size_request, screen_size_changed):
1025 Always request the full width of the screen.
1027 Fixes: NB#118375 (unnecessary rescaling of images)
1029 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1031 * hildon/hildon-pannable-area.c,
1032 (hildon_pannable_area_init),
1033 (hildon_pannable_area_realize): Replaced old code adding flags in
1034 the object init, now we add it with the other flags in the realize
1037 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1039 * hildon/hildon-note.c: (hildon_note_class_init): Several
1040 documentation improvements to the HildonNote widget.
1042 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1044 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1046 Fixes: MB#4556 (HildonNoteType is undocumented)
1048 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1050 * hildon/hildon-picker-button.c:
1051 Explain how HildonPickerButton sets the title of its dialog
1053 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1054 the title of its dialog)
1056 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1058 * hildon/hildon-check-button.c:
1059 Documentation updates
1061 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1064 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1066 * hildon/Makefile.am
1067 * hildon/hildon-edit-toolbar-private.h
1068 * hildon/hildon-edit-toolbar.c
1069 (+hildon_edit_toolbar_set_progress_indicator)
1070 (hildon_edit_toolbar_init): Add progress indicator to the
1073 * hildon/hildon-gtk.c
1074 (hildon_gtk_window_set_progress_indicator):
1075 If the window contains a HildonEditToolbar, enable the progress
1076 indicator there too.
1078 * hildon/hildon-private.h
1079 * hildon/hildon-private.c
1080 (+hildon_private_create_animation)
1081 * hildon/hildon-banner.c
1082 (-hildon_banner_create_animation):
1083 Moved to hildon-private.c
1085 Fixes: NB#102373 (Progress indicator also for the Edit mode
1088 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1090 * hildon/hildon-app-menu-private.h
1091 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1092 (hildon_app_menu_add_filter, +menu_item_button_event)
1093 (hildon_app_menu_button_release, hildon_app_menu_init):
1094 Make sure that buttons receive 'button-release-event' in spite of
1095 the grab held by HildonAppMenu
1097 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1099 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1101 * hildon/hildon-app-menu.c
1102 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1103 New style property to set the size of the group of filter buttons.
1105 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1107 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1112 * configure.ac: Bump version.
1113 * debian/changelog: Updates.
1115 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1117 * hildon/hildon-main.c: Minor documentation fixes.
1119 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1121 * doc/hildon-sections.txt:
1122 * hildon/hildon-defines.h: Document the defines, organize them,
1123 and mark deprecations as such.
1125 Fixes: MB#4463 (Hildon size #defines are undocumented)
1127 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1129 * hildon/hildon-animation-actor.c:
1130 * hildon/hildon-app-menu.c:
1131 * hildon/hildon-button.c:
1132 * hildon/hildon-date-editor.c:
1133 * hildon/hildon-dialog.c:
1134 * hildon/hildon-edit-toolbar.c:
1135 * hildon/hildon-entry.c:
1136 * hildon/hildon-program.c:
1137 * hildon/hildon-remote-texture.c:
1138 * hildon/hildon-stackable-window.c:
1139 * hildon/hildon-text-view.c:
1140 * hildon/hildon-touch-selector.c:
1141 * hildon/hildon-window-stack.c:
1142 * hildon/hildon-window.c:
1144 Remove redundant "represents" wording from most of the documentation.
1146 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1148 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1152 * hildon/Makefile.am
1153 * hildon/hildon-banner-private.h
1154 * hildon/hildon-banner.c:
1155 Move HildonBannerPrivate to hildon-banner.c and remove
1156 hildon-banner-private.h
1157 Use a bit field to store private booleans.
1159 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1161 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1162 Don't install a new idle function if there's already one
1167 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1169 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1170 (+legacy_menu_realized, +legacy_menu_unmapped)
1171 (+set_legacy_menu_type):
1172 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1173 they can be identified by the window manager.
1175 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1176 displayed in wrong location)
1178 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1181 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1183 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1185 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1186 use gtk-doc support)
1188 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1190 * hildon/hildon-code-dialog.c
1191 * hildon/hildon-date-editor.c
1192 * hildon/hildon-number-editor.c
1193 * hildon/hildon-seekbar.c
1194 * hildon/hildon-stackable-window.c
1195 * hildon/hildon-window.c:
1196 Misc documentation updates
1198 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1200 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1201 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1203 Fixes: NB#117931 (Theming issues in accounts dialogs)
1205 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1207 * hildon/hildon-pannable-area.c,
1208 (hildon_pannable_area_button_release_cb): Changed the coordinates
1209 of the original release in case we want to discard the release,
1210 some widgets in Fremantle do not handle the leave-notify.
1212 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1214 * hildon/hildon-pannable-area.c,
1215 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1216 the release using the last refactored functions and avoiding the
1217 movement if an element was selected.
1219 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1221 * hildon/hildon-pannable-area.c,
1222 (hildon_pannable_area_check_move),
1223 (hildon_pannable_area_handle_move),
1224 (hildon_pannable_area_motion_notify_cb): Refactored the
1225 motion_notify method using a couple of new functions.
1227 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1229 * hildon/hildon-date-selector.c:
1230 (hildon_date_selector_construct_ui):
1231 * hildon/hildon-time-selector.c:
1232 (hildon_time_selector_constructor):
1233 * hildon/hildon-touch-selector-entry.c:
1234 (hildon_touch_selector_entry_set_text_column),
1235 (hildon_touch_selector_entry_get_text_column):
1236 * hildon/hildon-touch-selector.c: (_default_print_func),
1237 (hildon_touch_selector_new_text): Use
1238 hildon_touch_selector_set/get_text_column() instead of
1239 setting/getting the "text-column" property.
1241 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1243 * doc/hildon-sections.txt: Add the new public methods below.
1245 * examples/hildon-picker-button-multicolumn-example.c:
1246 (create_touch_selector):
1247 * examples/hildon-touch-selector-example.c: (create_selector):
1248 * examples/hildon-touch-selector-multi-cells-example.c:
1250 Use hildon_touch_selector_column_set_text_column()
1252 * hildon/hildon-touch-selector-column.h:
1253 * hildon/hildon-touch-selector.c:
1254 (hildon_touch_selector_column_set_text_column),
1255 (hildon_touch_selector_column_get_text_column):
1256 Make hildon_touch_selector_column_set/get_column() public, use
1257 them in the inline example, document them, and reference to them
1260 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1262 * hildon/hildon-time-selector.c: Fix the docs for
1263 hildon_time_selector_new_step().
1265 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1267 * hildon/hildon-touch-selector.c: Improve the documentation for
1268 hildon_touch_selector_append_column().
1270 Fixes MB#4641 (Documentation:
1271 hildon_touch_selector_append_column() ref-counting)
1273 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1275 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1276 Comment out test 5, since the hildon_controlbar_set_range() range
1277 check is broken and fixing it would have side effects. Also,
1278 this finally fixes make distcheck.
1280 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1282 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1284 * tests/TEST-CASES.txt: Remove other bogus test.
1285 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1286 Remove bogus test that was setting/retrieving a valid value.
1288 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1290 * tests/TEST-CASES.txt: Remove bogus tests.
1291 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1292 Remove three bogus tests that were actually setting valid colors.
1294 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1296 * configure.ac: post release version bump
1297 * debian/changelog: post release version bump
1299 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1304 * configure.ac: Bump version.
1305 * debian/changelog: Updates.
1307 2009-06-08 Christian Dywan <christian@lanedo.com>
1311 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1312 Correct errors in hildon_format_file-size_for_display and use
1313 translations from the hildon-fm package instead of osso-filemanager.
1315 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1317 * hildon/hildon-pannable-area.c,
1318 (hildon_pannable_area_init): Initialized new values to handle the
1319 adjustment position.
1320 (hildon_pannable_area_adjust_value_changed): Check if the values
1321 changed before even call the redraw function.
1322 (hildon_pannable_area_size_allocate),
1323 (hildon_pannable_axis_scroll),
1324 (hildon_pannable_area_scroll),
1325 (hildon_pannable_area_jump_to): Improved the diagonal movement
1328 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1331 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1333 * examples/hildon-banner-example.c:
1334 Several style updates
1335 (on_animation_clicked, on_animation_idle)
1336 (on_progress_clicked, on_progress_idle):
1337 Add additional reference for the cases when the parent window is
1340 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1342 * doc/hildon-sections.txt
1343 * hildon/hildon-pannable-area.c
1344 * hildon/hildon-banner.h
1345 * hildon/hildon-banner.c: Documentation updates.
1347 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1350 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1352 * hildon/hildon-calendar-popup.h:
1353 * hildon/hildon-caption.h:
1354 * hildon/hildon-code-dialog.h:
1355 * hildon/hildon-controlbar.h:
1356 * hildon/hildon-date-editor.h:
1357 * hildon/hildon-dialog.h:
1358 * hildon/hildon-get-password-dialog.h:
1359 * hildon/hildon-hvolumebar.h:
1360 * hildon/hildon-login-dialog.h:
1361 * hildon/hildon-note.h:
1362 * hildon/hildon-number-editor.h:
1363 * hildon/hildon-range-editor.h:
1364 * hildon/hildon-seekbar.h:
1365 * hildon/hildon-set-password-dialog.h:
1366 * hildon/hildon-sort-dialog.h:
1367 * hildon/hildon-time-editor.h:
1368 * hildon/hildon-time-picker.h:
1369 * hildon/hildon-volumebar-range.h:
1370 * hildon/hildon-volumebar.h:
1371 * hildon/hildon-vvolumebar.h:
1372 * hildon/hildon-weekday-picker.h:
1373 * hildon/hildon-window.h:
1374 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1375 macros with the current replacements
1377 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1379 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1381 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1382 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1383 itself, to make it fit better with Fremantle style.
1385 Fixes: NB#109878 (height and width of focus on color icon is not
1386 consistent with other item in the application tool bar)
1388 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1390 * hildon/hildon-touch-selector.c:
1391 (hildon_touch_selector_optimal_size_request): use the current requisition
1392 as the base, in order to include any possible extra widget, like the
1393 hildon entry on HildonTouchSelectorEntry
1395 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1397 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1399 * configure.ac: post release version bump
1400 * debian/changelog: post release version bump
1402 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1407 * configure.ac: Bump version.
1408 * debian/changelog: Updates.
1410 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1412 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1414 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1415 to ensure the banner contents are centered, instead of relying on
1416 the expand and fill properties in GtkHBox.
1417 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1419 Fixes: NB#108265 (Animation banner not properly centered)
1421 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1423 * hildon/hildon-pannable-area.c
1424 (hildon_pannable_area_initial_effect): Remove the initial_effect
1425 management, check initial_hint
1426 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1427 set initial_effect to FALSE
1428 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1429 by launching the fade_timeout if the scrollbars state has changed and are
1431 * examples/hildon-pannable-area-initial-hint-example.c
1432 Modified to allow to remove rows too. Add and remove rows one by one.
1434 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1436 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1437 Don't close the menu if there's an animation actor below it.
1439 Fixes: NB#117927 (Application menu not usable with animation
1442 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1444 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1445 "focus-on-click" from the dialog button, to avoid stealing the
1446 focus from the entry.
1448 Fixes: NB#118903 (Account setup wizard: Text in Search field
1449 should be focused when "Region" touch list picker is reopened
1452 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1454 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1455 (prepare_action_area): Completely hide the dialog separator.
1457 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1459 * hildon/hildon-touch-selector-entry.c
1460 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1461 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1462 now that the entry is exposed.
1464 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1466 * hildon/hildon-touch-selector-entry.c
1467 (hildon_touch_selector_entry_init): Change the entry's size
1468 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1470 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1472 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1473 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1474 avoid unnecessary scaling.
1476 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1478 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1479 Create grab transfer window before calling parent's map function.
1481 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1482 "crushed" button(s) in the top left corner)
1484 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1486 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1487 Check if the window is already realized when pushing it.
1489 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1491 * configure.ac: post release version bump
1492 * debian/changelog: post release version bump
1494 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1499 * configure.ac: Bump version.
1500 * debian/changelog: Updates.
1502 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1504 * hildon/hildon-app-menu.c: Doc updates.
1506 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1508 * hildon/hildon-banner.c: Remove leftover macro.
1510 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1512 * hildon/hildon-pannable-area.c,
1513 (hildon_pannable_area_scroll_indicator_fade),
1514 (hildon_pannable_area_button_release_cb): Reviewed vmin
1515 conditions, it could cause problems in the fadeout procedure.
1517 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1519 * hildon/hildon-pannable-area.c
1520 (hildon_pannable_area_button_release_cb): Added a threshold to
1521 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1523 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1525 * hildon/hildon-pannable-area.c,
1526 (hildon_pannable_area_set_property): Added code to sync the gtk
1527 dnd threshold with the panning threshold.
1529 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1531 * hildon/hildon-pannable-area.c,
1532 (hildon_pannable_area_class_init): Changed some of the default
1533 values, now it should be less responsive and more accurate.
1535 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1537 * hildon/hildon-pannable-area.c,
1538 (hildon_pannable_area_init),
1539 (hildon_pannable_area_scroll_indicator_fade),
1540 (hildon_pannable_area_button_press_cb),
1541 (hildon_pannable_axis_scroll),
1542 (hildon_pannable_area_timeout),
1543 (hildon_pannable_area_motion_notify_cb),
1544 (hildon_pannable_area_button_release_cb): Changed the name of the
1545 clicked attribute to button_pressed, it is more clear about its use.
1547 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1549 * src/hildon-pannable-area.c
1550 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1552 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1553 vertical scrollbar visibility, and use the data on private section instead,
1554 remove the initial_hint check
1555 (hildon_pannable_area_expose_event): add the initial_hint check here
1557 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1559 * src/hildon-pannable-area.c
1560 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1561 if the fadeout effect was used
1562 (hildon_pannable_area_expose_event): check if it is required to
1563 manage the initial effect on the begining of the function. Previously
1564 it was made at the end, but this doesn't ensure that the scrollbars
1565 will be painted on the first show. Do not set to FALSE initial_effect,
1566 to ensure that the initial hint is showed the first time the pannable
1568 * examples/Makefile.am
1569 * examples/hildon-pannable-area-initial-hint-example.c:
1570 New example, to show that the initial-hint is showed when the widget
1573 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1574 initially if the application can be scrolled)
1576 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1578 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1579 Resize table before adding new items to make sure that
1580 gtk_table_resize() is called just once.
1582 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1584 * hildon/hildon-app-menu-private.h
1585 * hildon/hildon-app-menu.c (item_visibility_changed)
1586 (filter_visibility_changed, hildon_app_menu_show_all)
1587 (hildon_app_menu_hide_all, hildon_app_menu_init):
1588 Rearrange items just once when gtk_widget_show_all()/hide_all()
1591 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1593 * hildon/hildon-app-menu.c
1594 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1595 Don't call gtk_widget_show() on added items.
1597 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1598 automatically when they're added)
1600 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1602 * hildon/hildon-banner.c
1603 (hildon_banner_realize, +hildon_banner_unrealize)
1604 (+screen_size_changed, hildon_banner_class_init):
1605 Redisplay the banner if the screen is rotated.
1607 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1608 on transition from landscape to portrait)
1610 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1612 * hildon/hildon-banner.[ch]:
1613 (hildon_banner_show_information_override_dnd): remove icon_name from the
1614 method definition as it is ignored.
1615 * examples/hildon-banner-dnd-example.c: updated with the change on
1618 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1620 * hildon/hildon-banner-private.h: new require_override_dnd and
1621 overrides_dnd variables
1622 * hildon/hildon-banner.h:
1623 (hildon_banner_show_information_override_dnd): new method, that shows
1624 the information but sets the override flag, in order to show important
1626 * hildon/hildon-banner.c
1627 (hildon_banner_show_information_override_dnd): new method
1628 (hildon_banner_set_override_flag): new utility function
1629 (hildon_banner_real_show_information): new utility function, in order to
1630 generalize the current hildon_banner_show_information_override_dnd and
1631 hildon_banner_show_information_override_dnd
1632 * examples/Makefile.am
1633 * examples/hildon-banner-dnd-example.c: New example that show how to
1634 use the new hildon_banner_show_information_override_dnd
1636 Fixes: NB#114874 (There is no possibility to show hildon banners with
1639 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1641 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1642 behind hildon_pannable_calculate_vel_factor().
1644 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1646 * hildon/hildon-pannable-area.c
1647 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1648 deceleration factors.
1650 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1652 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1653 Reduce the default value for 'scroll_time' to 1 second, since the
1654 current initial scrolling takes too much time.
1656 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1658 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1659 calculate velocity factor during initialization, since the properties
1662 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1664 * hildon/hildon-pannable-area.c
1665 (hildon_pannable_area_set_property): Calculate the velocity factor
1666 after setting the deceleration property and not after.
1668 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1670 * hildon/hildon-entry.c
1671 (hildon_entry_class_init, +set_property, hildon_entry_new)
1672 * hildon/hildon-check-button.c
1673 (hildon_check_button_class_init)
1674 (+set_property, hildon_check_button_new):
1675 Make the theme size a property.
1677 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1678 others) do too much in the _new function)
1680 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1682 * configure.ac: post release version bump
1683 * debian/changelog: post release version bump
1685 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1690 * configure.ac: Bump version.
1691 * debian/changelog: Updates.
1693 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1695 * hildon/hildon-gtk.h
1696 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1697 New API function to take a screenshot of a window
1699 Fixes: NB#106374 (Need API to take a loading screenshot)
1701 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1703 * hildon/hildon-time-selector.c
1704 (update_format_policy): prevent to use hours and minutes unitialized
1706 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1708 * hildon/hildon-window.c (hildon_window_size_request):
1709 Always request the full size of the screen (minus the title bar if
1710 not in fullscreen mode).
1712 Fixes: NB#107486 (HildonWindow should size itself properly)
1714 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1716 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1717 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1718 (on_show_cb), (sound_handling): Disconnect the idle handler for
1719 the sound when the note is finalized to avoid possible crashes.
1721 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1724 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1726 * src/hildon-animation-actor.c,
1727 * src/hildon-remote-texture.c:
1728 Added proper object cleanup to remove signal handler and object
1729 references as HildonAnimationActor and HildonRemoteTexture
1730 objects get destroyed.
1732 Fixes: NB#116682 (Destroying parented animation actors when
1733 parent in unmapped leads to crash)
1735 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1737 Based on a patch by Christian Dywan (christian@imendio.com)
1739 * doc/hildon-sections.txt:
1740 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1741 * hildon/hildon-helper.h: New file size formatting method.
1743 * debian/control: Depend on osso-filemanager l10n package for
1744 proper localization strings.
1746 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1748 * tests/Makefile.am: Include top_srcdir to make possible to build
1749 tests in a different builddir.
1750 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1751 on a different builddir.
1753 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1755 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1756 (hildon_touch_selector_remove): Disconnect model's signal handler
1759 Fixes: NB#116289 (Hildon home crashes while adding task
1762 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1764 * hildon/hildon-button.c
1765 (hildon_button_set_title, hildon_button_set_value):
1766 Hide labels containing an empty string.
1768 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1770 * configure.ac: post release version bump
1771 * debian/changelog: post release version bump
1773 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1778 * configure.ac: Bump version.
1779 * debian/changelog: Updates.
1781 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1783 * hildon/hildon-note-private.h: Removed sound_signal_handler
1784 * hildon/hildon-note.c
1785 (on_show_cb): new callback on note "show" event, this simply adds
1786 a idle, with the function sound_handling
1787 (sound_handling): removed the sound_signal_handler management
1788 (hildon_note_init): connect note "show" event to on_show_cb
1789 (hildon_note_realize): remove the connection to "expose-event"
1791 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1792 device?' confirmation note)
1794 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1796 * hildon/hildon-note.c
1797 (hildon_note_new_information_with_icon_name)
1798 (hildon_note_new_confirmation_with_icon_name):
1799 Terminate the list of parameters in g_object_set() calls
1801 Fixes: NB#115166 (Formatting memory card is not taking place)
1803 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1805 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1806 "dialog-information" role for the sound being played.
1808 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1810 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1811 Don't make the menu a modal window, it causes strange interactions
1812 with the pointer grab and it's not really needed.
1814 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1816 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1818 * hildon/hildon-touch-selector.[ch]
1819 (hildon_touch_selector_optimal_size_request): function added to get a
1820 optimal size request from the touch selector, when you want a dialog to
1821 show as much of the selector
1822 * hildon/hildon-picker-dialog.c:
1823 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1824 (hildon_app_menu_class_init):
1825 New "max-height-landscape" and "max-height-portrait" style properties
1826 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1827 (hildon_picker_dialog_get_max_height): returns the maximum height using
1828 the style properties defined and checking the current portrait/landscape
1830 (_hildon_picker_dialog_set_selector): removed the set_size_request
1832 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1834 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1836 * hildon/hildon-bread-crumb-trail.c:
1837 * hildon/hildon-bread-crumb.c:
1838 * hildon/hildon-seekbar.c:
1839 Add reference to replacements for these deprecated widgets.
1841 Fixes: MB#4461 (Documentation: All deprecations should mention
1844 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1846 * examples/hildon-remote-texture-example.c
1848 Change the include to the hildon-remote-texture in order to compile
1849 properly the examples on the installed libhildon1-examples package
1851 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1853 * tests/Makefile.am: Add check for HildonPickerButton.
1854 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1855 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1856 checks for the HildonPickerButton.
1857 * tests/check_test.c (configure_tests): Add the test suite.
1858 * tests/test_suites.h: likewise.
1860 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1862 * hildon/hildon-touch-selector.c
1863 (+on_row_changed): Emit HildonTouchSelector:changed when the
1864 contents of a selected row change.
1865 (_create_new_column), (_hildon_touch_selector_set_model): connect
1866 to GtkTreeModel:row-changed on a newly set model.
1868 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1870 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1872 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1874 * hildon/hildon-banner.c (hildon_banner_destroy)
1875 (hildon_banner_show_progress, hildon_banner_set_fraction):
1876 Remove the progress bar from HildonBanner and use a progress
1879 Fixes: NB#113761 (Update progress banner to use progress
1882 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1884 * hildon/hildon-banner.c:
1885 Calculate size of the banner label using the actual screen width
1886 rather than using a fixed value.
1888 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1891 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1893 * hildon/hildon-pannable-area.c,
1894 (hildon_pannable_area_class_init): Fixed signals documentation
1897 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1899 * configure.ac: post release version bump
1900 * debian/changelog: post release version bump
1902 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1907 * configure.ac: Bump version.
1908 * debian/changelog: Updates.
1910 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1912 * hildon/hildon-edit-toolbar.c
1913 (hildon_edit_toolbar_init):
1914 Don't let buttons in HildonEditToolbar receive focus.
1916 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1917 typing on an HW arrows key)
1919 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1921 * doc/Makefile.am: Fix build.
1923 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1925 * doc/Makefile.am: Do not redefine content_files.
1927 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1935 Renamed src/ to hildon/
1940 Include <hildon/hildon.h> directly in all examples.
1942 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1944 * src/hildon-sort-dialog.c
1945 (hildon_sort_dialog_add_sort_key_with_sorting)
1949 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1951 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1952 make distcheck passes.
1954 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1956 * Makefile.am: Enable gtk-doc during distcheck.
1958 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1960 * Makefile.am: Do not distribute the debian/ directory.
1962 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1964 * doc/Makefile.am: Add the extra SGML files to content_files,
1965 so that they are distributed properly.
1967 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1969 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1972 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1974 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1975 (hildon_note_new_information_with_icon_name): Set the "icon" property
1976 to preserve soundness.
1978 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1980 * src/hildon-font-selection-dialog.c
1981 (hildon_font_selection_dialog_set_property): Fail when the "family"
1982 property is set to NULL.
1984 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1986 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1989 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1991 * src/hildon-time-selector.h:
1992 Added HildonTimeSelectorFormatPolicy
1993 * src/hildon-time-selector.c:
1994 Added PROP_TIME_FORMAT_POLICY
1995 (_check_ampm_format): renamed to check_automatic_ampm_format
1996 (update_format_policy), (update_format_dependant_columns): new functions
1997 (hildon_time_selector_class_init)
1998 (hildon_time_selector_contructor)
1999 (hildon_time_selector_init)
2000 (hildon_time_selector_get_property)
2001 (hildon_time_selector_set_property)
2002 (hildon_time_selector_get_time)
2003 (hildon_time_selector_set_time)
2004 * src/hildon-touch-selector.h: new file
2005 * src/hildon-touch-selector.c
2006 (hildon_touch_selector_emit_changed)
2007 (hildon_touch_selector_block_changed)
2008 (hildon_touch_selector_unblock_changed)
2009 Added functions to allow to block the emission of the "changed" signal
2010 * src/hildon-picker-dialog.c
2011 (hildon_picker_dialog_show): call the parent show before the custom code
2012 * examples/hildon-time-button-example.c
2013 Modified, so now you can configure the time format using the new property
2015 Added a new property "time-format-policy" that allow to choose the time
2016 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
2017 case it uses gconf in order to check if the time selector must use
2020 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
2023 2009-04-28 Alberto Garcia <agarcia@igalia.com>
2025 * src/hildon-note.c (hildon_note_init):
2026 Label in HildonNote must be left aligned, not centered. This
2027 reverts the last commit in HildonNote.
2029 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2030 is connectivity dialog)
2032 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2037 * doc/hildon-sections.txt:
2038 Added hildon_gtk_window_set_do_not_disturb()
2040 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-note.c (hildon_note_init): Center label.
2044 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2047 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2052 * configure.ac: Bump version.
2053 * debian/changelog: Updates.
2055 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2057 * src/hildon-note-private.h: Add button-width to the private data.
2058 * src/hildon-note.c (+resize_button),
2059 (+hildon_note_orientation_update): methods to repack widgets on orientation
2061 (screen_size_changed): Call above method for confirmation notes.
2062 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2063 (hildon_note_rebuild): Store the original width request from buttons.
2065 Fixes: NB#109635 (Confirmation notes do not support portrait)
2067 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2069 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2070 when it is a progress note.
2072 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2075 in the note, since there are no horizontally arranged contents.
2077 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2079 * src/hildon-gtk.c (+set_flag): new generic method to
2080 set/delay a flag setting in a window.
2081 (hildon_gtk_window_set_progress_indicator):
2082 (hildon_gtk_window_set_do_not_disturb),
2083 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2084 avoid code redundance.
2086 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2088 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2090 * src/hildon-gtk.c (set_clear_window_flag),
2091 (do_set_progress_indicator), (do_set_do_not_disturb),
2092 (do_set_portrait_flags),
2093 (hildon_gtk_window_set_progress_indicator),
2094 (hildon_gtk_window_set_do_not_disturb),
2095 (hildon_gtk_window_set_portrait_flags):
2096 Allow setting dnd-flag, progress indicator, and portrait flags
2097 when the window is not realized.
2099 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2101 * src/hildon-pannable-area.c,
2102 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2103 the size request policy function and defines.
2105 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2107 * doc/hildon-sections.txt: Add the new API.
2108 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2109 method to set the portrait flags.
2110 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2112 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2114 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2116 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2117 to allow using this method with other flags.
2118 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2119 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2121 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2123 * src/hildon-touch-selector.c
2124 (hildon_touch_selector_append_text_column):
2125 Make the cell renderer use the smallest width possible.
2127 Fixes: NB#108470 (Selected items in multiple selection are either
2128 having a tick that is cut or not visible at all.)
2130 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-touch-selector.c
2133 (hildon_touch_selector_append_text_column):
2136 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2139 Use g_strdup_printf() instead of a fixed size buffer.
2141 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2143 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2144 Close banners when a HildonAppMenu is popped up.
2146 Fixes: NB#111027 (Title menu closed immediately if activated when
2147 "Invalid e-mail address" banner is shown)
2149 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2154 * configure.ac: Bump version.
2155 * debian/changelog: Updates.
2157 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2159 * src/hildon-banner.c (hildon_banner_realize):
2160 Mark HildonBanner as supporting portrait mode.
2161 Use GDK to set window properties insetad of direct Xlib calls.
2163 Fixes: NB#111830 (HildonBanner should be marked as supporting
2166 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2168 * src/hildon-note.c (hildon_note_rebuild):
2169 Hide action area in information notes. Prevents text from being
2170 slightly aligned to the left.
2172 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2175 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2177 Patch by Mox Soini (ext-mox.soini@nokia.com)
2179 * src/hildon-banner.c (hildon_banner_create_animation):
2180 Use stylus-sized icons in animation banner.
2182 Fixes: NB#111206 (stylus sized icon for animation banner)
2184 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2188 (+hildon_gtk_window_set_do_not_disturb):
2189 New API to set the do-not-disturb flag.
2191 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2193 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2195 * examples/hildon-progress-indicator-example.c: Fix example
2197 * src/hildon-gtk.c (set_clear_window_flag)
2198 (hildon_gtk_window_set_progress_indicator):
2199 Create a generic function for setting flags to a window.
2200 Use GDK instead of direct Xlib calls.
2202 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2204 * src/hildon-button.c (hildon_button_set_arrangement):
2205 Due to NB#88126, if one of the labels is too long it will be
2206 painted outside the button. The 'value' label is more likely to be
2207 the longest one, so we change its packing options in order to
2208 truncate it if necessary. As a side effect, the 'title' label will
2209 no longer be truncated.
2211 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2213 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2218 * configure.ac: Bump version.
2219 * debian/changelog: Updates.
2221 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2223 Deprecation of the hildon_pannable_area_set_size_request_policy
2224 API, the only policy properly supported in gtk+ nowadays is the
2227 * src/hildon-pannable-area.c,
2228 (hildon_pannable_area_size_request): Added a workaround for the
2229 size_request to avoid the problems of huge pixmaps in case someone
2230 is still using the function.
2231 * src/hildon-pannable-area.h: Deprecated the enum with the
2234 Fixes: NB#110244 (Problems with the
2235 hildon_pannable_area_set_size_request_policy API)
2237 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2239 * src/hildon-pannable-area.c,
2240 (hildon_pannable_area_init),
2241 (hildon_pannable_area_size_request),
2242 (hildon_pannable_area_style_set),
2243 (hildon_pannable_draw_vscroll),
2244 (hildon_pannable_draw_hscroll),
2245 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2246 indicator_width to clarify the use of the attribute.
2248 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2253 * configure.ac: Bump version.
2254 * debian/changelog: Updates.
2256 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2258 * src/hildon-picker-dialog.c
2259 * src/hildon-touch-selector.c
2260 Reverting the change that tried to avoid the hardcoded height on
2261 the picker dialog, as causes problems on the hildon-touch-selector
2264 Fixes: NB#110029 (selectors not scrolling to selected value)
2266 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2268 * src/hildon-touch-selector.c: Fix typos
2270 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2272 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2273 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2274 request more motions after using it.
2276 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/hildon-calendar.c (hildon_calendar_expose),
2279 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2280 Remove unused variables.
2282 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2284 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2285 variable assignment.
2287 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2290 Check the return value of gtk_tree_selection_get_selected()
2293 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2295 * src/hildon-animation-actor.c
2296 * src/hildon-button.c
2298 * src/hildon-pannable-area.c
2299 * src/hildon-picker-button.c
2300 * src/hildon-program.c
2301 * src/hildon-remote-texture.c
2302 * src/hildon-text-view.c
2303 * src/hildon-touch-selector.c
2304 * src/hildon-window-stack.c
2305 * src/hildon-window.c:
2306 Add missing 'Since: 2.2' tags.
2308 * doc/hildon-sections.txt:
2309 Add some missing symbols.
2311 * doc/hildon-docs.sgml:
2312 New 'Other' section for HildonAnimationActor and
2315 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2317 Patch by Iván Gómez (igomez@igalia.com)
2320 * doc/compiling.sgml
2321 * doc/hildon-docs.sgml
2322 * doc/hildon-sections.txt
2323 * doc/migration.sgml
2324 * doc/resources.sgml
2326 New chapters on using the Hildon library.
2327 Updated the general structure of the reference manual.
2328 Other minor documentation fixes.
2330 * src/hildon-calendar-popup.c
2331 * src/hildon-calendar.c
2332 * src/hildon-controlbar.c
2333 * src/hildon-date-editor.c
2334 * src/hildon-dialog.c
2335 * src/hildon-hvolumebar.c
2336 * src/hildon-number-editor.c
2337 * src/hildon-range-editor.c
2338 * src/hildon-sort-dialog.c
2339 * src/hildon-time-editor.c
2340 * src/hildon-time-picker.c
2341 * src/hildon-volumebar-range.c
2342 * src/hildon-volumebar.c
2343 * src/hildon-vvolumebar.c
2344 * src/hildon-weekday-picker.c:
2345 Add deprecation notes
2347 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2348 Document 'horizontal-movement' and 'vertical-movement' signals.
2350 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2355 * configure.ac: Bump version.
2356 * debian/changelog: Updates.
2358 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2360 * src/hildon-pannable-area.c,
2361 (hildon_pannable_area_class_init): increased the minimum velocity.
2362 (hildon_pannable_area_button_release_cb): Updated the
2363 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2364 setup. Review the code to control that last event.
2366 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2369 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2371 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2373 * src/hildon-get-password-dialog.c
2374 (hildon_get_password_set_property),
2375 (hildon_get_password_get_property), (create_contents):
2376 * src/hildon-login-dialog-private.h:
2377 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2378 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2379 (hildon_login_dialog_get_password):
2380 * src/hildon-set-password-dialog-private.h:
2381 * src/hildon-set-password-dialog.c
2382 (hildon_set_password_set_property),
2383 (hildon_set_password_get_property), (create_contents),
2384 (hildon_set_password_response_change),
2385 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2387 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2388 instead and look more Fremantle style.
2390 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2392 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2394 * doc/hildon-sections.txt
2395 * src/hildon-window-stack.h
2396 * src/hildon-window-stack.c
2397 (+hildon_window_stack_get_windows):
2398 New API to obtain the list of windows on a stack.
2400 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2402 * src/hildon-app-menu.c (hildon_app_menu_popup)
2403 (hildon_app_menu_class_init, -hildon_app_menu_show):
2404 Remove hildon_app_menu_show() and move all its checks to
2405 hildon_app_menu_popup()
2407 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2409 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2410 (_hildon_picker_dialog_set_selector): removed call to
2411 gtk_widget_set_size_request
2412 * src/hildon-touch-selector.c
2413 (_create_new_column): change the pannable size request policy
2415 Avoid to use a hardcoded height for the hildon picker dialog. In order
2416 to get that, we needed to change the hildon pannable size request
2418 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2420 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2423 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2426 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2428 * debian/control: Depend on osso-system-lock localization package.
2429 * src/hildon-code-dialog.c: Obtain the secu_application_title
2430 translation from osso-system-lock.
2431 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2432 for translation the atk related strings, that's not necessary.
2433 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2434 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2435 cancel button, it is not required.
2437 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2439 * src/hildon-pannable-area.c,
2440 (hildon_pannable_area_class_init): Modified the default value of
2441 the overshooting max speed, we have reduced it.
2443 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2445 * doc/hildon-sections.txt
2446 * src/hildon-window-private.h
2447 * src/hildon-window.h
2448 * src/hildon-window.c (hildon_window_class_init)
2449 (hildon_window_init, hildon_window_finalize)
2450 (hildon_window_realize, hildon_window_get_property)
2451 (hildon_window_set_property, hildon_window_update_markup)
2452 (hildon_window_get_markup, hildon_window_set_markup):
2453 New "markup" property and hildon_window_{get,set}_markup() methods.
2455 * examples/hildon-stackable-window-example.c (new_window):
2456 Update example to use hildon_window_set_markup()
2458 Fixes: NB#106375 (Need API to retitle a window with a title
2461 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2463 * src/hildon-pannable-area.c,
2464 (hildon_pannable_area_class_init): Changed the default value of
2465 the initial_hint to TRUE.
2466 (hildon_pannable_area_initial_effect): Changed the initial effect,
2467 not the effect is just the fade-out of the scrollbars.
2469 Fixes: NB#107775 (No scrollbars can be seen when several items are
2470 available in a dialog)
2472 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-program.c (hildon_program_update_top_most):
2477 Fixes: NB#109179 (Memory leak in Hildon program)
2479 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2481 * src/hildon-banner.c (-get_current_app_window):
2482 Remove unused function.
2484 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2486 * src/hildon-pannable-area.c: Modified the documentation of the
2487 get adjustments functions to explain the problem of using the
2488 adjustment directly.
2489 (hildon_pannable_area_class_init): Improved the explanation about
2492 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2494 * src/hildon-app-menu-private.h
2495 * src/hildon-app-menu.c
2496 (hildon_app_menu_class_init):
2497 Bring back the 'external-border' style property
2498 (hildon_app_menu_class_init, hildon_app_menu_init)
2499 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2500 Set a fixed width-request for the menu, independent of the number
2503 Fixes: NB#94957 (Smoothly opened application menu)
2505 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2509 * src/hildon-banner.c
2510 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2512 Make sure that the banner is correctly placed the first time it's
2514 (hildon_banner_check_position, -check_fullscreen_state):
2515 Show the banner in the same place no matter if the window is in
2516 fullscreen mode or not.
2518 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2520 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2522 * src/hildon-touch-selector.c (_default_print_func): reorder
2523 concatenation for clarity.
2525 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2527 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2528 for multicolumn selectors.
2530 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2532 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2537 * configure.ac: Bump version.
2538 * debian/changelog: Updates.
2540 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2542 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2545 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2547 * configure.ac: removed libcangerra-gtk dependency
2548 * debian/control: removed libcanberra-gtk dependency
2549 * src/Makefile.am: removed libcanberra gtk related flags
2550 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2551 context, and manage a global canberra context instead
2553 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2555 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2557 Patch by Daniel Borgmann (danielb@openismus.com)
2559 * src/hildon-edit-toolbar.c:
2560 Adjust the left padding.
2561 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2562 Paint background of the edit toolbar.
2564 Fixes: NB#107897 (Patch to make editmodetoolbar background
2565 themeable and adjust margin)
2567 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2569 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2571 * src/hildon-program.c (hildon_program_update_top_most):
2572 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2574 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2575 change when the user tasks in/out of an application)
2577 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2579 * configure.ac: added libcangerra-gtk dependency
2580 * debian/control: added libcanberra-gtk dependency
2581 * src/Makefile.am: added libcanberra gtk related flags
2582 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2585 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2587 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2589 * src/hildon-program.c (hildon_program_remove_window)
2590 (hildon_program_add_window): Add checks for the window
2591 parameter. Don't decrease the window counter if the window is not
2594 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2596 * src/hildon-pannable-area.c,
2597 (hildon_pannable_area_realize): Fixed position of the event_window
2598 in the realize method.
2600 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2602 * src/hildon-app-menu-private.h
2603 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2604 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2605 (hildon_app_menu_key_press, hildon_app_menu_init)
2606 (hildon_app_menu_finalize):
2607 Make sure that all idle functions are removed when the widget is
2610 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2612 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2617 * configure.ac: Bump version.
2618 * debian/changelog: Updates.
2620 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2622 * src/hildon-entry.c
2623 (+hildon_entry_show_placeholder),
2624 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2625 that replace hildon_entry_update_contents().
2626 (hildon_entry_set_text),
2627 (hildon_entry_set_placeholder),
2628 (hildon_entry_focus_in_event),
2629 (hildon_entry_focus_out_event): Determine when it is needed
2630 either to show or hide the placeholder and call the above methods.
2632 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2633 when the placeholder text is already set)
2635 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2637 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2638 simple GdkPixbufAnim using the new icons for the banner.
2639 (hildon_banner_show_animation): Use the above mentioned method to
2640 create the animation widget.
2642 Fixes: NB#103564 (Make hildon animation banner use individual
2643 image files as the animation)
2645 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2647 * src/hildon-pannable-area.c,
2648 (hildon_pannable_leave_notify_event): Check if the child is NULL
2649 to avoid sending the leave.
2651 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2653 * src/hildon-pannable-area.c,
2654 (hildon_pannable_area_class_init),
2655 (hildon_pannable_leave_notify_event): Added a handler of the
2656 leave-notify-signal to consider when no motion notify before
2659 Fixes: NB#107494 (Items stay selected when clicking and moving
2660 away when inside pannable area)
2662 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2667 * configure.ac: Bump version.
2668 * debian/changelog: Updates.
2670 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2672 Patch by Alberto Garcia (agarcia@igalia.com)
2674 * src/hildon-date-button.c,
2675 (hildon_date_button_class_init),
2676 (hildon_date_button_init): Removed the construct property handling
2677 and created a default selector in the init method.
2678 * src/hildon-picker-button.c,
2679 (hildon_picker_button_class_init): Removed the construct flag of the
2682 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2684 * src/hildon-main.c (hildon_init):
2685 Don't allow hildon_init() to be called more than once.
2687 Fixes: NB#106607 (hildon_init should issue error message upon
2690 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2692 * examples/hildon-pannable-area-touch-list-example.c
2693 * examples/hildon-pannagle-area-touch-grid-example.c
2694 * examples/hildon-edit-toolbar-example.c
2695 * examples/hildon-touch-selector-multi-cells-example.c
2696 Removed the call to gtk_rc_parse_string, as it is not required since
2699 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2701 * src/hildon-pannable-area.c,
2702 (hildon_pannable_area_class_init): Modified the default panning
2703 threshold of the widget to 6px.
2705 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2706 than the threshold value ) within the button is not sending the
2709 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2711 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2712 for the treeview in the new column. This way, the touch list will never
2715 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2716 be selected manually for the HW keys to work)
2718 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2720 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2721 comparison instead of using strcmp(). Fixes a compiler warning as well.
2723 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2725 * doc/hildon-docs.sgml: Do not set the library version in the
2726 document title, use the releaseinfo tag for that purpose instead.
2728 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2731 Do not jump to the first item if the text in the entry is removed.
2733 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2738 * configure.ac: Bump version.
2739 * debian/changelog: Updates.
2741 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2743 * src/hildon-entry.c (hildon_entry_refresh_contents):
2744 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2745 Use "ReversedSecondaryTextColor" for the placeholder text.
2747 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2749 * src/hildon-text-view.c: Fix compilation warning.
2751 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-button.c (hildon_button_class_init): Don't make
2754 "title" and "value" construction properties, to prevent them from
2755 overwriting labels set from derived classes.
2757 * src/hildon-picker-button.c
2758 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2759 (hildon_picker_button_class_init): Make touch-selector a
2760 construction property.
2762 * src/hildon-date-button.c (hildon_date_button_class_init)
2763 (+hildon_date_button_constructed): Add a default date selector if
2766 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2768 * src/hildon-touch-selector.c: Small documentation fixes.
2770 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2772 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2774 * src/hildon-entry.c (hildon_entry_refresh_contents),
2775 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2776 widget name, set the logical color directly instead and a boolean
2777 showing_placeholder instead.
2778 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2779 use the widget name here either.
2781 Fixes: NB#105678 (HildonTextView should use logical colours
2782 instead of setting widget name)
2784 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2786 Patch by Daniel Elster (danielk@openismus.com)
2788 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2789 Add user_data parameter.
2790 (hildon_touch_selector_set_print_func_full): New function akin
2791 hildon_touch_selector_set_print_func() but with support for user
2792 data and a destroy callback.
2793 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2794 to clean up the print function user data.
2795 (hildon_touch_selector_class_init): Install dispose function.
2796 (HildonTouchSelectorPrivate::print_user_data),
2797 (HildonTouchSelectorPrivate::print_destroy_func): New private
2799 (hildon_touch_selector_init): Initialize new private members.
2800 (hildon_touch_selector_get_current_text): Pass along user data
2801 to the print function.
2802 (_default_print_func): Add dummy user_data to parameter list.
2803 * hildon-date-selector.c (_custom_print_func): ditto,
2804 * hildon-time-selector.c (_custom_print_func): ditto,
2805 * hildon-touch-selector-entry.c
2806 (hildon_touch_selector_entry_print_func): ditto.
2808 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2810 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2812 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2814 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2816 * src/hildon-pannable-area.c,
2817 (hildon_pannable_area_init),
2818 (hildon_pannable_area_button_press_cb),
2819 (hildon_pannable_area_motion_notify_cb): We have added code to
2820 handle the leave and enter events when using the motion events.
2822 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2824 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-date-button.c (hildon_date_button_get_date)
2827 (hildon_date_button_set_date): Make sure that the button has a
2830 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2832 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2834 * src/hildon-pannable-area.c,
2835 (hildon_pannable_area_class_init),
2836 (hildon_pannable_area_calculate_velocity): Modify the use of the
2837 force and adapt the value.
2839 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2841 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2842 (hildon_app_menu_class_init): Hide the menu if it receives a
2843 delete-event, but don't destroy it
2845 Fixes: NB#104485 (Not able to address the call when application
2846 menu is opened at background)
2848 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2850 * src/hildon-app-menu.c
2851 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2852 Remove the "external-border" style property, let the menu take its
2853 natural size (or the one set by the window manager)
2854 (hildon_app_menu_repack_items):
2855 Don't reshow the menu, avoid flickers.
2857 Partially fixes NB#94957 (Smoothly opened application menu)
2859 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2864 * configure.ac: Bump version.
2865 * debian/changelog: Updates.
2867 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2869 * src/hildon-pannable-area.c,
2870 (hildon_pannable_area_motion_notify_cb): We control that the
2871 direction error margin is used just in case the movement is
2872 allowed in the other direction.
2874 Fixes: NB#105012 (buttons inside a pannable area not getting
2875 release event when dragging/releasing)
2877 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2879 * src/hildon-pannable-area.c,
2880 (hildon_pannable_area_class_init),
2881 (hildon_pannable_area_get_property),
2882 (hildon_pannable_area_set_property),
2883 (hildon_pannable_area_initial_effect),
2884 (hildon_pannable_axis_scroll),
2885 (hildon_pannable_area_button_release_cb): Reviewed the
2886 overshooting effect, now it has its own max
2887 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2888 speed when bouncing.
2890 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2895 * configure.ac: Bump version.
2896 * debian/changelog: Updates.
2898 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2900 * src/hildon-pannable-area.c,
2901 (hildon_pannable_area_class_init): Changed the max speed, now
2902 users can launch the widget very fast. Reduced the default force,
2903 that way it is easier to control the launch speed.
2905 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2907 * src/hildon-pannable-area.c,
2908 (hildon_pannable_area_button_release_cb): Removed this check
2909 because it causes problems when the device is overloaded.
2911 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2914 add a current_text field to store the text entered in the
2915 touch selector entry.
2916 (_clean_current_selection): clean up the current text as well.
2917 (_save_current_selection), (_restore_current_selection):
2918 Save/restore the text in the entry if the selector is a
2919 HildonTouchSelectorEntry.
2921 Fixes: NB#102541 (value entered in the touch selector entry is not
2922 shown when opened for second time)
2924 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2926 * doc/hildon-sections.txt:
2927 * src/hildon-touch-selector-entry.c
2928 (+hildon_touch_selector_entry_get_entry):
2929 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2931 Fixes: NB#104815 (I need accessor to the entry inside
2932 HildonTouchSelectorEntry)
2934 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2936 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2937 (hildon_app_menu_class_init):
2938 New "filter-vertical-spacing" style property.
2940 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2942 * src/hildon-find-toolbar.c
2943 (hildon_find_toolbar_emit_close)
2944 (hildon_find_toolbar_emit_invalid_input)
2945 (hildon_find_toolbar_entry_activate):
2946 Use g_signal_emit() instead of g_signal_emit_by_name()
2948 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2950 Patch by Mox Soini (ext-mox.soini@nokia.com)
2952 * tests/TEST-CASES.txt
2953 * tests/check-hildon-banner.c
2954 * tests/check-hildon-note.c
2955 * src/hildon-banner.c
2956 * src/hildon-code-dialog.c
2957 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2958 * src/hildon-time-editor.c
2959 * examples/hildon-lookup-example.c (main):
2960 Replace obsolete icon names with new ones.
2962 * src/hildon-find-toolbar-private.h:
2963 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2964 (-hildon_find_toolbar_emit_search):
2965 Remove find button and change icon of close button.
2967 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2969 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-time-button.c (hildon_time_button_new_step):
2972 Use the "touch-selector" property to set the selector directly
2973 when creating the object.
2975 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2977 Added a new example application that allows tuning the pannable
2978 area and replaced defines with properties in order to simplify the
2979 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2980 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2981 PROP_DIRECTION_ERROR_MARGIN.
2983 * examples/hildon-pannable-area-tuning-example.c: New example
2985 * src/hildon-pannable-area.c,
2986 (hildon_pannable_area_class_init),
2987 (hildon_pannable_area_init),
2988 (hildon_pannable_area_get_property),
2989 (hildon_pannable_area_set_property),
2990 (hildon_pannable_area_launch_fade_timeout),
2991 (hildon_pannable_area_adjust_value_changed),
2992 (hildon_pannable_axis_scroll),
2993 (hildon_pannable_area_motion_notify_cb),
2994 (hildon_pannable_area_scroll_cb),
2995 (hildon_pannable_area_button_release_cb): We have converted some
2996 of the defines that control the widget to properties to simplify
2999 2009-03-05 Alberto Garcia <agarcia@igalia.com>
3001 * src/hildon-app-menu.c (hildon_app_menu_map)
3002 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
3003 so it's closed if a new window appears.
3005 Fixes: NB#104485 (Not able to address the call when application
3006 menu is opened at background)
3008 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3010 * src/hildon-color-button.c (hildon_color_button_get_property):Add
3011 missing 'break' statement in in 'case' construct to avoid
3014 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3016 * src/hildon-touch-selector-entry.c
3017 (hildon_touch_selector_entry_get_property),
3018 (hildon_touch_selector_entry_set_property): Add missing 'break'
3019 statements in in 'case' constructs to avoid incorrect warnings.
3021 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3023 * src/hildon-time-editor.c
3024 (hildon_time_editor_get_time_separators): Do not crash if
3025 the first label is NULL.
3027 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3029 * src/hildon-date-selector.c (_month_days): Check for month to be
3030 strictly less than 12, since otherwise we may overrun the array.
3032 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3034 * src/hildon-date-button.c (+hildon_date_button_new_full)
3035 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3036 (hildon_date_button_init): Set the date selector using a
3037 construction property, to make it happen after HildonButton's
3038 "value" property is set.
3040 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3041 current date by default)
3043 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3045 * doc/hildon-sections.txt
3046 * src/hildon-program.c
3047 * src/hildon-stackable-window.c
3048 * src/hildon-window.c:
3049 Documentation updates
3051 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3054 (hildon_window_stack_new, +hildon_window_stack_set_property)
3055 (+hildon_window_stack_get_property)
3056 (hildon_window_stack_class_init)
3057 (+hildon_window_stack_set_window_group)
3058 (+hildon_window_stack_get_window_group):
3059 Make the window group a construction property.
3061 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3063 * doc/hildon-sections.txt
3064 * src/hildon-stackable-window-private.h
3065 * src/hildon-stackable-window.h
3066 * src/hildon-stackable-window.c
3067 (-hildon_stackable_window_set_app_menu)
3068 (-hildon_stackable_window_get_app_menu)
3069 (-hildon_stackable_window_toggle_menu)
3070 (-hildon_stackable_window_finalize)
3071 (hildon_stackable_window_class_init)
3072 (hildon_stackable_window_init)
3073 * src/hildon-window-private.h
3074 * src/hildon-window.h
3075 * src/hildon-window.c (hildon_window_init)
3076 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3077 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3078 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3079 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3080 Moved all HildonAppMenu code to HildonWindow. The menu does not
3081 require a HildonStackableWindow anymore.
3083 * src/hildon-app-menu.c
3084 * src/hildon-program.c
3085 * examples/hildon-app-menu-example.c (main):
3086 Update examples and documentation to reflect HildonAppMenu
3089 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-remote-texture.c
3092 * src/hildon-animation-actor.c:
3093 Don't include unused private headers.
3095 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3097 * src/hildon-program-private.h
3098 * src/hildon-program.c
3099 (hildon_program_set_common_menu)
3100 (hildon_program_get_common_menu)
3101 (hildon_program_set_common_app_menu)
3102 (hildon_program_get_common_app_menu):
3103 Change common menu pointers from GtkWidget* to GtkMenu* and
3104 HildonAppMenu* to avoid unnecessary casts.
3106 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3108 * src/hildon-window.c (hildon_window_set_main_menu):
3109 Removed incorrect 'Since:' tag
3111 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3113 * src/hildon-pannable-area.c,
3114 (hildon_pannable_area_calculate_velocity): We use now the
3115 RATIO_TOLERANCE here to check the distance, fixed typo in the
3117 (hildon_pannable_area_motion_notify_cb): We have to set the type
3118 and time even if we are not sending the motion.
3120 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3122 * doc/hildon-sections.txt
3123 * src/hildon-app-menu.h
3124 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3125 (+hildon_app_menu_get_filters): New methods to get the contents of
3128 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3131 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3133 * src/hildon-app-menu.c (hildon_app_menu_popup):
3136 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3138 * src/hildon-window.h
3139 * src/hildon-window.c (+hildon_window_get_main_menu)
3140 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3141 and deprecated hildon_window_get_menu().
3143 * src/hildon-stackable-window.h
3144 * src/hildon-stackable-window.c
3145 (+hildon_stackable_window_set_app_menu)
3146 (+hildon_stackable_window_get_app_menu)
3147 (hildon_stackable_window_set_main_menu): Created
3148 hildon_stackable_window_{get,set}_app_menu() and deprecated
3149 hildon_stackable_window_set_main_menu().
3151 * doc/hildon-sections.txt
3152 * examples/hildon-app-menu-example.c (main)
3153 * src/hildon-app-menu.c
3154 * src/hildon-program.c:
3155 Updated examples and documentation.
3157 Fixes: NB#103758 (No way to obtain a menu from a
3158 HildonStackableWindow)
3160 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3165 * configure.ac: Bump version.
3166 * debian/changelog: Updates.
3168 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3170 * examples/hildon-remote-texture-example.c: Include
3171 hildon-remote-texture.h explicitely.
3172 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3173 applications not defining _XOPEN_SOURCE which don't require this header.
3175 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3177 * doc/hildon-sections.txt
3178 * src/hildon-app-menu.h
3179 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3180 New function to pop up a HildonAppMenu
3182 * src/hildon-stackable-window.c
3183 (hildon_stackable_window_toggle_menu):
3184 Use hildon_app_menu_popup() to show the menu.
3186 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3188 * src/hildon-app-menu.c (hildon_app_menu_show)
3189 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3190 menu if there's another window between it and its parent window.
3192 Fixes: NB#100468 (Application menu window is launched even when a
3193 new secondary-window/dialog is pending to be shown/realized)
3195 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-window-stack.c (hildon_window_stack_push)
3198 (hildon_window_stack_pop_and_push):
3199 Don't forget to push/pop the first window.
3200 Reverse the window list before calling _push_list()
3202 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3204 * src/hildon-picker-button.h
3205 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3206 Remove "value_changed" slot to avoid ABI breakage
3208 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3210 * src/hildon-pannable-area.c,
3211 (hildon_pannable_area_realize),
3212 (hildon_pannable_area_unrealize),
3213 (hildon_pannable_draw_vscroll),
3214 (hildon_pannable_draw_hscroll): Changed the method to handle the
3215 GC used to draw the transparent scrollbar, this way we avoid
3216 creating the GC all the time when drawing the scrollbars.
3218 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3220 * src/hildon-pannable-area.c,
3221 (hildon_pannable_area_init),
3222 (hildon_pannable_area_remove): Removed some unnecessary casts.
3223 (hildon_pannable_area_dispose): Disconnected some signals before
3224 releasing the adjustments.
3226 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3228 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3229 Make sure that all widgets contained in the toolbar are shown.
3231 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3233 * doc/hildon-sections.txt
3234 * src/hildon-picker-button.h
3235 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3236 (_selection_changed, hildon_picker_button_on_dialog_response)
3237 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3238 New hildon_picker_button_value_changed() method.
3241 * src/hildon-picker-button-private.h
3242 * src/hildon-picker-button.c (hildon_picker_button_init)
3243 (+hildon_picker_button_disable_value_changed): Add protected
3244 function for disabling the "value-changed" signal.
3246 * src/hildon-date-button.c (hildon_date_button_set_date):
3247 Don't emit "value-changed" for each one of the three columns.
3249 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3250 before actual change of values)
3252 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3254 * src/hildon-pannable-area.c,
3255 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3256 for the treeview overshooting.
3258 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3260 * src/hildon-banner.c (+hildon_banner_bind_style):
3261 Renamed from hildon_banner_bind_label_style(), now naming the
3262 banner itself as well.
3263 (hildon_banner_show_information),
3264 (hildon_banner_show_information_with_markup),
3265 (hildon_banner_show_animation), (hildon_banner_show_progress):
3266 Name the widgets and labels, based on their type.
3268 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3271 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3273 * src/hildon-note.c (hildon_note_set_property): call
3274 hildon_note_rename() on HildonNote:note-type set.
3275 (hildon_note_rename): Name the note and its label, based on the
3276 HildonNote:note-type property.
3278 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3281 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3283 * src/hildon-pannable-area.c,
3284 (hildon_pannable_area_class_init),
3285 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3286 panning parameters, increased SPS and deceleration factor. Added
3287 also a margin to control fake directions.
3289 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3291 Patch by Sven Herzberg (sven@imendio.com)
3293 * configure.ac: Add missing AM_PROG_CC_C_0
3294 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3296 See NB#101420 (Update unit tests and fix make check)
3298 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3300 This patch was applied before but reverted because it caused
3301 problems, we have changed the main condition and tested the
3302 regressions we detected before and they work ok. We have done a
3303 complete review of the topmost algorithm in order to get a more
3306 * src/hildon-pannable-area.c,
3307 (hildon_pannable_area_get_topmost): Added a new parameter to
3308 filter the the windows that do not include those events.
3309 (hildon_pannable_area_button_press_cb),
3310 (hildon_pannable_area_button_release_cb),
3311 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3312 topmost function, we have added the new parameter.
3314 Fixes: NB#97458 (Pannable area prevents propagation of button
3317 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3320 if all columns in the selector have an item selected.
3321 (_on_dialog_response): Stop "response" signal emission if there is
3322 any selector column without selected items.
3324 Fixes: NB#101889 (Picker dialog should not close when nothing is
3325 selected in multiple selection list)
3327 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3329 * src/hildon-font-selection-dialog.c
3330 (hildon_font_selection_dialog_class_init),
3331 (hildon_font_selection_dialog_init): Remove the preview
3332 button and dialog, since previewing with default theming is likely
3333 to be overcomplicated. The :preview property has now no effect.
3334 Update documentation blurbs to inform about this.
3336 Fixes: NB#92297 (Preview content is not clearly visible for
3337 default colour text)
3339 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3341 Reviewed the geometry that handles the children size and
3342 scrollbar, now it tries a size and reviews the results depending
3343 on the scrollbars visibility.
3345 * src/hildon-pannable-area.c,
3346 (hildon_pannable_area_realize): Fixed a typo.
3347 (hildon_pannable_area_child_allocate_calculate): Added this
3348 function to calculate the child allocation.
3349 (hildon_pannable_area_size_allocate): Reviewed the allocation
3351 (hildon_pannable_area_check_scrollbars),
3352 (hildon_pannable_area_refresh): Refactored refresh function, this
3353 way we can call the code handling the scrollbars without causing a
3354 size_request, it is interesting in the allocate.
3355 (hildon_pannable_area_init): Replace the callbacks of the
3356 value_changed and changed signals to propertly deal with the
3358 (hildon_pannable_area_grab_notify),
3359 (hildon_pannable_area_initial_effect),
3360 (hildon_pannable_area_launch_fade_timeout),
3361 (hildon_pannable_area_adjust_changed),
3362 (hildon_pannable_area_adjust_value_changed),
3363 (hildon_pannable_area_redraw),
3364 (hildon_pannable_area_button_press_cb),
3365 (hildon_pannable_area_button_release_cb),
3366 (hildon_pannable_area_scroll_cb),
3367 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3368 code and use the new functions adjust_changed and
3369 adjust_value_changed.
3371 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3372 Contact editor dialog)
3374 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3379 * configure.ac: Bump version.
3380 * debian/changelog: Updates.
3382 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3384 * src/hildon-pannable-area.c,
3385 (hildon_pannable_area_get_topmost),
3386 (hildon_pannable_area_button_press_cb),
3387 (hildon_pannable_area_button_release_cb),
3388 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3389 topmost function adding the event mask. We have to try a
3390 differente approach because it is still causing problems (NB#9745,
3393 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3395 * src/hildon-banner.c:
3396 Update the maximum width of timed banners.
3397 (force_to_wrap_truncated): Enforce the maximum text width if the
3400 Fixes: NB#102413 (The text margins (wrapping) in information
3401 banner should be HILDON_MARGIN_TRIPLE)
3403 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3405 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3407 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3408 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3409 bound when calculating the scroll indicator position.
3411 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3412 treat ->lower correctly)
3414 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3416 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3417 expose event handling, since it is not necessary to draw the focus
3420 Fixes: NB#102467 (Do not show highlight on the text in
3423 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3425 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3426 full height of the toolbar for the button and the label.
3428 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3430 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3431 padding before the label and after the button.
3433 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3435 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3437 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3438 Add a GtkVSeparator between the button and the back arrow.
3439 Let the button have automatic size.
3440 Set a name to the widget for theming handling.
3442 Fixes: NB#101793 (Make edit toolbar the same height as window
3443 title bar (use title area theming))
3445 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3447 * src/hildon-helper.c (attach_new_color_element): Fix memory
3450 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3452 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3454 * examples/hildon-button-example.c (common_buttons_window): Don't
3457 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3460 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3462 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3464 * src/hildon-gtk.c: Check that the window is realized.
3466 Fixes: NB#102225 (Crash setting the progress indicator to a non
3469 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3472 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3473 instead of modifying the one in the widget style.
3475 Fixes: NB#101043 (Second row of all the command button are
3476 displayed in transparent mode.)
3478 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3480 * src/hildon-date-button.c
3481 * src/hildon-time-button.c: Add gettext macros
3483 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3485 * src/hildon-date-button.c (hildon_date_button_new):
3486 * src/hildon-time-button.c (hildon_time_button_new_step):
3487 Use new logical strings to set the button default title.
3489 Fixes: NB#99915 (Date and Time options are not localised in Date
3492 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3494 * src/hildon-pannable-area.c
3495 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3496 the PANNING_THRESHOLD.
3498 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3500 * src/hildon-pannable-area.c,
3501 (hildon_pannable_area_class_init): Increased the maximum speed.
3502 (hildon_pannable_area_get_property),
3503 (hildon_pannable_area_set_property),
3504 (hildon_pannable_area_timeout): Added a new low friction mode, it
3505 allows the user avoid friction when launching the widget fast
3506 enough. It is interesting to traverse long lists.
3508 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3510 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3511 (+hildon_stackable_window_delete_event): Ignore delete events if
3512 the window is not the topmost one.
3514 Fixes: NB#101698 (Back button long press and delete-event handling)
3516 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3518 * src/hildon-pannable-area.c,
3519 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3520 gtk-dnd-drag-threshold, it was too big. We have defined our own
3521 dnd define and set a smaller value: PANNIG_THRESHOLD.
3523 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3525 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3526 user-defined icons, use always the default one.
3528 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3530 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3532 This patch was applied before but reverted because it caused
3533 problems, we have changed the main condition and tested the
3534 regressions we detected before and they work ok.
3536 * src/hildon-pannable-area.c,
3537 (hildon_pannable_area_get_topmost): Added a new parameter to
3538 filter the the windows that do not include those events. Added
3539 also a condition when finding the window to filter windows that do
3540 not ask for those events.
3541 (hildon_pannable_area_button_press_cb),
3542 (hildon_pannable_area_button_release_cb),
3543 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3544 topmost function, we have added the new parameter.
3546 Fixes: NB#97458 (Pannable area prevents propagation of button
3549 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3551 * tests/check-hildon-color-button.c (START_TEST): do not leak
3554 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3556 * src/hildon-font-selection-dialog.c
3557 (hildon_font_selection_dialog_get_preview_text): Return NULL
3558 instead of FALSE on the g_return_val_if_fail().
3560 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3562 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3563 * src/hildon-date-selector.c
3564 (hildon_date_selector_select_current_date):
3565 Do not compare unsigned integers to be greater than or equal 0,
3566 because it's always TRUE.
3568 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3570 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3571 (hildon_date_selector_constructor): Do not select the current
3572 date until we are handle the "changed" signal, to avoid having bogus
3573 elements in the days model.
3575 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3577 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3578 for num_days, since _month_days() can return a negative value.
3580 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3582 * src/hildon-caption.c (hildon_caption_size_allocate):
3583 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3584 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3586 Initialize allocation variables to 0, to avoid eventually using
3587 unitialized variables.
3589 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3591 * src/hildon-bread-crumb-trail.c
3592 (hildon_bread_crumb_trail_size_allocate):
3593 * src/hildon-calendar.c (hildon_calendar_set_background):
3594 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3595 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3596 * src/hildon-seekbar.c (hildon_seekbar_init):
3597 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3598 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3599 * src/hildon-touch-selector-entry.c
3600 (hildon_touch_selector_get_text_from_model):
3601 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3602 * src/hildon-window.c (hildon_window_finalize):
3604 Remove many unused variables.
3606 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3608 * src/hildon-seekbar.c: (hildon_seekbar_init),
3609 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3611 Remove unnecessary g_assert() calls.
3613 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3615 * src/hildon-caption.c: (hildon_caption_expose),
3616 (hildon_caption_set_property), (hildon_caption_init),
3617 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3618 (hildon_caption_size_request), (hildon_caption_size_allocate),
3619 (hildon_caption_forall), (hildon_caption_set_separator),
3620 (hildon_caption_activate), (hildon_caption_set_child_expand),
3621 (hildon_caption_set_label_text),
3622 (hildon_caption_get_label_alignment):
3624 Remove unnecessary g_assert() calls.
3626 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3628 * src/hildon-banner.c
3629 (hildon_banner_map, hildon_banner_init): Make banner temporary
3630 before mapping it to avoid closing other temporary windows, but
3631 make it non-temporary afterwards to avoid being closed by other
3632 non-temporary windows.
3633 (-hildon_banner_client_event, hildon_banner_init):
3634 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3636 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3639 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3641 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3644 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3646 * src/hildon-remote-texture.c
3647 * src/hildon-remote-texture.h
3648 * src/hildon-remote-texture-private.h
3649 * examples/hildon-remote-texture-example.c:
3650 Updates/fixes to remote-texture and its example.
3652 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3654 Patch by Mox Soini (ext-mox.soini@nokia.com)
3656 * src/hildon-code-dialog.c: Update logical id.
3657 * src/hildon-set-password-dialog.c: Update logical id.
3659 Fixes: NB#100646 (Logical strings is shown for ok in set
3660 password,Password needed dialogs)
3662 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3665 * src/hildon-remote-texture.c
3666 * src/hildon-remote-texture.h
3667 * src/hildon-remote-texture-private.h
3669 Added remote texture widget (for Clutter shared memory textures)
3671 * examples/hildon-remote-texture-example.c
3672 * examples/Makefile.am
3673 Added example file for remote texture usage
3675 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3677 * configure.ac: post release version bump.
3678 * debian/changelog: version bump.
3680 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3685 * configure.ac: Bump version.
3686 * debian/changelog: Updates.
3688 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3690 * src/hildon-date-selector.c (hildon_date_selector_init)
3691 (hildon_date_selector_constructor): Don't connect to the "changed"
3692 signal until the selector is completely constructed.
3694 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-touch-selector.c: (_create_new_column),
3697 (hildon_touch_selector_append_column),
3698 (hildon_touch_selector_set_column_selection_mode),
3699 (hildon_touch_selector_set_active),
3700 (hildon_touch_selector_select_iter):
3701 Emit the HildonTouchSelector::changed signal every time selection
3702 is changed in any of the methods above. This behavior was already
3703 documented but not fully functional.
3705 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3706 selection is programmatically changed)
3708 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3710 * doc/hildon-sections.txt: Remove obsolete icon
3711 sizes from here as well.
3713 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3715 * examples/hildon-stackable-window-example.c (add_window): Remove
3718 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3720 * src/hildon-app-menu.c
3721 (hildon_app_menu_show): Check whether the parent window of a menu
3722 is topmost before popping it up.
3724 Fixes: NB#100468 (Application menu window is launched even when a
3725 new secondary-window/dialog is pending to be shown/realized.)
3727 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3729 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3732 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3734 Patch by Mox Soini (ext-mox.soini@nokia.com)
3736 * src/hildon-banner.c: (hildon_banner_show_animation):
3737 use stylus size instead of obsolete note size.
3738 * src/hildon-defines.h: Update icon sizes.
3740 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3742 * src/hildon-touch-selector-entry.c:
3743 (hildon_touch_selector_entry_init): Disable unsupported
3745 (hildon_touch_selector_entry_get_text_column): Emit a warning
3746 if an unsupported input modes is used and explicitile state
3747 these modes in the documentation.
3749 Fixes: NB#99802 (Hildon touch selector entry not working properly
3750 for some of the input modes)
3752 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3754 * src/hildon-pannable-area.c,
3755 (hildon_pannable_area_init): Added the changed signal handlers of
3758 Fixes: NB#100320 (HildonPannableArea does not listen to
3759 GtkAdjustment "change" signals)
3761 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3763 * doc/hildon-sections.txt
3764 * src/hildon-window-private.h
3765 * src/hildon-window.h
3766 * src/hildon-window.c (hildon_window_init)
3767 (hildon_window_realize, hildon_window_unrealize)
3768 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3769 (hildon_window_size_request, hildon_window_size_allocate)
3770 (hildon_window_forall, hildon_window_show_all)
3771 (hildon_window_destroy, +paint_edit_toolbar)
3772 (+hildon_window_set_edit_toolbar):
3773 New hildon_window_set_edit_toolbar() method, to add a
3774 HildonEditToolbar to a window without having to pack it manually.
3776 Reorganize hildon_window_size_allocate()
3778 * src/hildon-edit-toolbar.c: Update documentation.
3780 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3781 example to use the new API.
3783 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3785 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3788 Remove from stack before calling parent's hide.
3790 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3792 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3793 window is removed from the middle of the stack, update the
3794 transiency of the previous one.
3796 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3799 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3801 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3802 block/unblock the signal handler if it's not actually being used.
3803 Fixes some critical warnings.
3805 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3807 Based on a patch by Iván Gómez (igomez@igalia.com)
3809 * src/hildon-banner.c
3813 * src/hildon-pannable-area.c
3814 * src/hildon-picker-dialog.c
3815 * src/hildon-wizard-dialog.h
3816 * src/hildon-wizard-dialog.c: Documentation updates.
3818 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3819 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3821 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3823 * configure.ac: post release version bump.
3824 * debian/changelog: version bump.
3826 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3831 * configure.ac: Bump version.
3832 * debian/changelog: Updates.
3834 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3836 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3837 a stock icon nor change the relief of the back arrow.
3839 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3840 graphics from theme)
3842 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3844 * src/hildon-button.c (hildon_button_set_alignment): Use
3845 priv->alignment if the button has no child yet.
3847 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3849 * src/hildon-button.c: (hildon_button_init): Set the
3850 button style during initialization to give it the proper
3853 Fixes: NB#99713 (HildonButton value label color is wrong)
3855 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3857 * src/hildon-touch-selector.c: Document
3858 hildon_touch_selector_center_on_selected()
3860 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3862 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3863 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3864 all menu items, but not the menu itself.
3865 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3866 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3867 items after adding them to the menu so keyboard accelerators work.
3868 (hildon_app_menu_show): Don't show the menu if it contains items
3869 but none of them are visible.
3871 * examples/hildon-app-menu-example.c (create_menu): Use
3872 gtk_widget_show_all() to show all menu items.
3874 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-picker-dialog.c:
3877 (-_update_title_on_selector_changed_cb),
3878 (-_dialog_update_title): Removed.
3879 (_select_on_selector_changed_cb), (_on_dialog_response),
3880 (on_selector_columns_changed): Do not update the dialog title.
3881 (setup_interaction_mode): Do not connect to
3882 HildonTouchSelector::changed signal if there's a "done" button, as
3883 the dialog title doesn't need to be updated.
3885 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3888 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3890 Patch by Kristian Rietveld (kris@imendio.com)
3892 * src/hildon-touch-selector.c: (_create_new_column): Use new
3893 GtkTreeView::hildon-row-tapped signal to react to user interactions
3894 instead of ::changed.
3896 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3897 with some dynamic tree model)
3899 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3901 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3902 (+screen_size_changed, +label_size_request)
3903 (hildon_note_class_init): Make the Hildon information note have a
3904 minimum height, and make its text hvae a maximum width.
3906 Fixes: NB#98614 (Hildon information note (background) should have
3907 minimum height and maximum text width)
3909 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3911 * src/hildon-banner.h
3912 * src/hildon-banner.c (hildon_banner_show_information)
3913 (hildon_banner_show_informationf)
3914 (hildon_banner_show_information_with_markup): Update documentation
3915 to reflect that the icon_name parameter is not used anymore.
3916 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3917 Remove all code from these functions and mark them as deprecated.
3918 (hildon_banner_show_progress): Mark as deprecated.
3920 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3922 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3924 * src/hildon-pannable-area.c,
3925 (hildon_pannable_area_class_init),
3926 (tranparency_color),
3927 (hildon_pannable_draw_vscroll),
3928 (hildon_pannable_draw_hscroll),
3929 (hildon_pannable_area_expose_event): Added a new way to render the
3930 scrollbars of the pannable area avoiding using cairo at all. This
3931 way we improve the performance of the pannable area rendering. The
3932 cairo rendering procedure is still in the code, we can control
3933 which one to use changing the value of the define
3934 USE_CAIRO_SCROLLBARS.
3936 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3938 * configure.ac: post release version bump.
3939 * debian/changelog: version bump.
3941 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3946 * configure.ac: Bump version.
3947 * debian/changelog: Updates.
3949 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3951 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3952 banners instead of destroying them when they receive a button
3955 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3957 Reverted commit 34028, it was causing regressions, probably the
3958 topmost condition is not correct, we have to check it in more
3959 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3960 propagation of button press events)
3962 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3964 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3965 that the selection is not empty before attempting to retrieve the
3966 current ampm selection.
3968 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3970 * src/hildon-picker-button.c:
3971 (hildon_picker_button_on_dialog_response): Directly update the
3972 button contents when required instead of calling _selection_changed.
3974 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3976 * src/hildon-program.c (hildon_program_update_top_most): Update
3977 'is-topmost' property also when wm_hints is not set.
3979 Fixes: NB#98383 (is-topmost signal is not emitted when task
3980 switcher is clicked.)
3982 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3984 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3988 * src/hildon-animation-actor.c,
3989 * src/hildon-animation-actor.h: Added the animation actor class,
3990 this widget represents an animation actor for WM-assisted
3991 animation effects in the Hildon framework.
3993 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3995 * src/hildon-window-stack-private.h
3996 * src/hildon-window-stack.c
3997 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3998 Avoid calling gtk_widget_show() again indirectly from
3999 hildon_stackable_window_show()
4001 2009-01-23 Alberto Garcia <agarcia@igalia.com>
4003 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
4006 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4008 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
4009 (hildon_time_selector_init): Move the construction of the hours and
4010 ampm columns to the constructor to preserve the order the columns
4013 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4015 * src/hildon-picker-dialog.c:
4016 (hildon_picker_dialog_class_init): Connect a realize method.
4017 (+hildon_picker_dialog_realize): Setup the interaction mode here
4019 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
4020 yet, do it during the realize instead.
4021 (_on_dialog_response):
4022 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
4023 if the widget is not realized, to avoid the dialog response before it
4026 Avoid premature responses in the HildonPickerDialog that can cause it
4027 to be hidden before it's even shown.
4029 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4031 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4032 (on_selector_columns_changed), (requires_done_button),
4033 (+prepare_action_area), (setup_interaction_mode),
4034 (_hildon_picker_dialog_set_selector):
4036 Split the interaction mode setup into preparation of the
4037 action area (prepare_action_area()) and the connection of
4038 the signals in setup_interaction_mode() and update the code to
4041 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4043 * src/hildon-pannable-area.c,
4044 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4045 per second to 15, we will check if this is ok regarding
4048 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4050 * src/hildon-pannable-area.c,
4051 (hildon_pannable_axis_scroll): Avoid resize if we already have
4052 reached overshoot_max.
4054 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4056 * src/hildon-pannable-area.c,
4057 (hildon_pannable_area_init),
4058 (hildon_pannable_area_realize),
4059 (hildon_pannable_area_size_allocate),
4060 (hildon_pannable_area_map),
4061 (hildon_pannable_area_unmap),
4062 (hildon_pannable_draw_vscroll),
4063 (hildon_pannable_draw_hscroll),
4064 (hildon_pannable_area_expose_event),
4065 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4066 pannable are to avoid the expose events go to the window and
4067 redraw the window. We save this way that part of the stack and the
4068 paint_boxes. We had to change the positions of the elements when
4071 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4073 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4074 * src/hildon-color-chooser-dialog.c:
4075 (hildon_color_chooser_dialog_init):
4076 * src/hildon-font-selection-dialog.c:
4077 (hildon_font_selection_dialog_init),
4078 (hildon_font_selection_dialog_show_preview):
4079 * src/hildon-get-password-dialog.c:
4080 * src/hildon-login-dialog.c:
4081 * src/hildon-set-password-dialog.c:
4082 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4083 * src/hildon-time-picker.c: (hildon_time_picker_init):
4085 Remove obsolete logical string IDs and update to the appropriate ones.
4087 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4089 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4092 that happens if the window hasn't been realized yet.
4094 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4095 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4097 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4099 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4100 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4103 Fixes: NB#98537 (Device hangs in account settings dialog)
4105 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4107 * configure.ac: post release version bump.
4108 * debian/changelog: version bump
4110 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4115 * configure.ac: Bump version.
4116 * debian/changelog: Updates.
4118 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4120 Added a new function to the HildonTimeButton widget that allows to
4121 change the step of the minutes in the selector associated with the
4122 button: hildon_time_button_new_step
4124 * src/hildon-time-button.c,
4125 (hildon_time_button_init),
4126 (hildon_time_button_new),
4127 (hildon_time_button_new_step):
4128 * src/hildon-time-button.h: Added the new function and refactored
4130 * examples/hildon-time-button-example.c,
4131 (main): We have replaced the function without parameters with the
4132 function with the steps set to 5
4134 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4136 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4138 * src/hildon-time-selector.c,
4139 (hildon_time_selector_class_init),
4140 (hildon_time_selector_constructor),
4141 (hildon_time_selector_get_property),
4142 (hildon_time_selector_set_property),
4143 (_create_minutes_model),
4144 (hildon_time_selector_new_step),
4145 (hildon_time_selector_set_time),
4146 * src/hildon-time-selector.h: Added a new property to the
4147 HildonTimeSelector (minutes-step), we use that property to control
4148 the steps between the minutes in the list of the selector. We have
4149 added a new function to the API to create a widget changing the
4150 step: hildon_time_selector_new_step.
4152 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4154 * src/hildon-time-selector.c,
4155 (hildon_time_selector_class_init),
4156 (hildon_time_selector_constructor),
4157 (hildon_time_selector_init): Overrided the construct function when
4158 creating the time selector object. We have moved the minutes model
4159 handling code from the init to the new construction function:
4160 hildon_time_selector_constructor.
4162 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4164 * examples/hildon-date-button-example.c: (main): Use the new
4165 hildon_date_button_new_with_year_range() method in the example.
4166 * src/hildon-date-button.c:
4167 (+hildon_date_button_new_with_year_range): New public method
4168 to conveniently create a HildonDateButton with a custom year range
4169 in its HildonDateSelector.
4170 * src/hildon-date-button.h: Add the new public method definition.
4172 Fixes: NB#97908 (Not possible to change the year range in
4173 HildonDateSelector/HildonDateButton)
4175 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4177 * src/hildon-date-selector.c:
4178 (+hildon_date_selector_set_property),
4179 (+hildon_date_selector_get_property),
4180 (hildon_date_selector_class_init): Install new properties "min-year"
4181 and "max-year" to define boundaries for the year column.
4182 (_create_year_model): Use the boundary properties to populate the model.
4183 (+hildon_date_selector_new_with_year_range): New public method to
4184 create a HildonDateSelector with a user defined year range.
4185 (hildon_date_selector_select_current_date): Use the new boundaries to
4186 calculate the iterator of current year.
4187 * src/hildon-date-selector.h: Add the new public method definition.
4189 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4191 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4192 Install a constructor method.
4193 (+hildon_date_selector_construct_ui): construct the widget.
4194 (+hildon_date_selector_constructor): new constructor.
4195 (+hildon_date_selector_init): move out widget construction code to
4196 the new constructor.
4198 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4201 that there's actually a month or year selected before obtaining them.
4202 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4203 of the HildonTouchSelector::changed signal, as it was emitted on every
4204 single item selection.
4206 Fix some warnings and possible crashers due to the selection restoring.
4208 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4210 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4211 the signal handlers only after creating the dialog instead of on every
4214 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4216 * src/hildon-button.c (hildon_button_init)
4217 * src/hildon-check-button.c (hildon_check_button_init)
4218 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4219 focus when clicked by default.
4221 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4223 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4226 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4228 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4229 Alejandro G. Castro (alex@igalia.com)
4231 * src/hildon-picker-dialog.c:
4232 (hildon_picker_dialog_class_init): install new "center-on-show"
4234 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4235 (hildon_picker_dialog_set_property): add setter code for the new
4237 (hildon_picker_dialog_get_property): add getter code for the new
4239 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4240 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4243 Fixes: NB#92849 (Selected item is not always visible when
4244 HildonTouchSelector is shown)
4246 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4248 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4249 Alejandro G. Castro (alex@igalia.com)
4251 * src/hildon-touch-selector.c:
4252 (_create_new_column): Do not connect to the "realize" signal of the
4254 (hildon_touch_selector_append_column): center on the selected items
4255 when a new column is appended.
4256 (hildon_touch_selector_select_iter): Factor out the code to select a
4257 column to hildon_touch_selector_scroll_to().
4258 (+search_nearest_element): Method to retrieve the nearest selected
4259 element to the visible area of the pannable area in a column.
4260 (+on_realize_cb): scroll to the initially selected item.
4261 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4262 the pannable area is realized, otherwise delay this until it is.
4263 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4264 selected items of a given column.
4265 (+hildon_touch_selector_center_on_selected): Public method to center
4266 all columns on the nearest selected item.
4267 * src/hildon-touch-selector.h: Add definition for
4268 hildon_touch_selector_center_on_selected().
4270 Implement public API to ensure visibility of all selected items in
4271 a HildonTouchSelector.
4273 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4275 Fixed a problem in the fading when calling the scroll_to API, and
4276 improve scrollbar fading handling.
4278 * src/hildon-pannable-area.c,
4279 (hildon_pannable_area_grab_notify): avoid the timeout when the
4281 (hildon_pannable_area_button_press_cb),
4282 (hildon_pannable_area_motion_notify_cb): Code style changes.
4283 (hildon_pannable_area_button_release_cb): Review the conditions
4284 when releasing the mouse button to avoid unrequired fading
4286 (hildon_pannable_area_scroll_to): Do not calculate and set the
4287 velocity if the scroll is not required.
4289 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4291 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4292 Don't check whether the new selector is NULL: it cannot be.
4293 Hold a reference to the selector while doing the replacement.
4295 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4297 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4298 unnecessary size_request in a removed widget.
4300 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4302 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4303 an unnecessary reference tracking that was leaking.
4305 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4307 Added delayed motion notify event handling, this way we can
4308 discard redrawing if more than 25 events arrive per second.
4310 * src/hildon-pannable-area.c,
4311 (hildon_pannable_area_init): Initialized the new private atributes
4312 controlling this timeout
4313 (hildon_pannable_area_dispose): Remove the timeout that controls
4314 the motion notify events.
4315 (hildon_pannable_area_scroll): Added a condition to control the
4316 use of the acceleration.
4317 (hildon_pannable_area_motion_event_scroll_timeout),
4318 (hildon_pannable_area_motion_event_scroll): Added this two
4319 functions, they handle the motion notify events inside the
4321 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4322 to the scroll method with the new function.
4323 (hildon_pannable_area_button_release_cb): We have to remove the
4324 timeout handler and move to the last position if the last motion
4325 events were not handled.
4327 Fixes: NB#97028 (Pannable area updates on every motion event)
4329 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4331 * src/hildon-pannable-area.c,
4332 (hildon_pannable_area_get_topmost): Added a new parameter to
4333 filter the the windows that do not include those events. Added
4334 also a condition when finding the window to filter windows that do
4335 not ask for those events.
4336 (hildon_pannable_area_button_press_cb),
4337 (hildon_pannable_area_button_release_cb),
4338 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4339 topmost function, we have added the new parameter.
4341 Fixes: NB#97458 (Pannable area prevents propagation of button
4344 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4346 * src/hildon-pannable-area.c,
4347 (hildon_pannable_area_initial_effect): Added controls before
4348 launching the timeout and the idle functions.
4349 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4350 of the method, in some situations it can return with TRUE and 0 in
4352 (hildon_pannable_area_button_press_cb): We do not need to set
4353 DELAY for fading out here.
4355 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4357 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4359 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4360 post-cleaning if the selection is not NULL.
4362 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4364 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4365 all items before restoring the selection.
4367 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4369 * src/hildon-touch-selector.c:
4370 (+hildon_touch_selector_unselect_all):
4371 * src/hildon-touch-selector.h: New API to unselect all items in a
4372 column of the touch selector.
4374 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4376 * src/hildon-pannable-area.c,
4377 (hildon_pannable_area_redraw): Added a call to the refresh
4378 function inside the redraw because apparently in some cases the
4379 change in the adjustment does not imply a size allocate.
4381 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4382 despite the view not being scrollable)
4384 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4386 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4387 leak. Check for NULL before attempting to set the window title.
4389 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4391 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4392 whether to show or not the 'Done' button each time the dialog is
4393 shown, as it depends on the HildonTouchSelector selection mode.
4395 Fixes: NB#96226 (In multiple selection mode Done button is shown
4396 sometimes in listpicker)
4398 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4400 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4401 for the number of columns in the HildonTouchSelector more than once.
4403 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-touch-selector.c: Minor documentation fixes.
4407 * src/hildon-picker-dialog.c (+_dialog_update_title)
4408 (_select_on_selector_changed_cb)
4409 (_update_title_on_selector_changed_cb)
4410 (on_selector_columns_changed): Update dialog title when there's no
4411 'Done' button and also when the number of columns in the selector
4415 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4416 (+_selection_changed, hildon_picker_button_on_dialog_response)
4417 (hildon_picker_button_selector_selection_changed)
4418 (+hildon_picker_button_selector_columns_changed)
4419 (hildon_picker_button_set_selector): Update button value and emit
4420 'value-changed' when the number of columns in the selector
4424 Fixes: NB#96225 (Dialog titles are not shown according to the
4425 values selected in the list picker)
4427 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4429 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4430 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4431 New "arrow-width" and "arrow-height" style properties to set the
4432 size of the arrow button.
4433 Set name of arrow button ("hildon-edit-toolbar-arrow").
4435 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4436 graphics from theme)
4438 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4440 * src/hildon-picker-button.c:
4441 (hildon_picker_button_selector_selection_changed): Use
4442 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4443 the dialog is present.
4445 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4446 the selection is accepted in the dialog)
4448 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4450 * src/hildon-color-chooser.h
4451 * src/hildon-color-chooser-dialog.h:
4452 Added G_BEGIN_DECLS and G_END_DECLS
4454 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4456 (_clean_current_selection): plug a leak in the list.
4458 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4460 * src/hildon-picker-dialog.c:
4461 (+free_path_list): Method to free a GList of GtkTreePaths.
4462 (_clean_current_selection), (_save_current_selection),
4463 (_restore_current_selection): Save the current selection in
4464 as a list of lists, to support multiple selection properly.
4466 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4468 patch by Claudio Saavedra (csaavedra@igalia.com)
4470 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4471 Store the press position.
4472 (+hildon_text_view_button_release_event): If the release position is
4473 close enough to the press position, move the cursor here. Otherwise,
4475 (hildon_text_view_class_init): Override GtkTextView press, release, and
4476 motion event handlers, disabling this way text selection through
4477 pointer interaction, and allowing the container widget to handle the
4480 Fixes: NB#95828 (HildonTextView functionality)
4482 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4484 Based on a patch by Iván Gómez (igomez@igalia.com)
4486 * src/hildon-button.[ch]
4487 * src/hildon-calendar.c
4488 * src/hildon-check-button.c
4489 * src/hildon-date-editor.c
4490 * src/hildon-date-selector.c
4491 * src/hildon-picker-button.c
4492 * src/hildon-time-editor.c
4493 * src/hildon-time-selector.c
4494 * src/hildon-touch-selector.[ch]:
4495 Documentation updates
4497 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4499 * src/hildon-pannable-area.c,
4500 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4501 threshold, it was required due to X events handling.
4503 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4505 * src/hildon-pannable-area.c,
4506 (hildon_pannable_area_grab_notify),
4507 (hildon_pannable_area_initial_effect),
4508 (hildon_pannable_area_button_press_cb),
4509 (hildon_pannable_area_button_release_cb),
4510 (hildon_pannable_area_scroll_cb),
4511 (hildon_pannable_area_scroll_to): Review the timeout management of
4512 the scrollbar, the frecuency was incorrectly set.
4514 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4516 * src/hildon-picker-button.c:
4517 (+hildon_picker_button_on_dialog_response),
4518 (hildon_picker_button_clicked): Present the dialog instead of
4519 running it with gtk_dialog_run().
4521 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4524 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4526 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4527 (hildon_app_menu_finalize): When a window is hidden it doesn't
4528 emit notify::is-topmost, so make sure than the menu also
4529 disappears in that case.
4530 (parent_window_topmost_notify): Renamed from parent_window_hidden
4532 Fixes: NB#94460 (stackable window's menu is not closed when its
4535 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4537 * src/hildon-touch-selector-entry.c:
4538 (+hildon_touch_selector_entry_set_input_mode),
4539 (+hildon_touch_selector_entry_get_input_mode):
4540 * src/hildon-touch-selector-entry.h: New methods to access the input
4541 mode in the selector's entry.
4543 Fixes: NB#93410 (API required for setting IM mode in
4544 HildonTouchSelectorEntry)
4546 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4548 * configure.ac: post release version bump.
4549 * debian/changelog: version bump
4551 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4556 * configure.ac: Bump version.
4557 * debian/changelog: Updates.
4559 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4561 * src/hildon-touch-selector.c:
4562 (_hildon_touch_selector_has_multiple_selection): No need
4563 to initialize the variables here.
4565 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4567 * src/hildon-note-private.h
4568 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4569 (hildon_note_finalize, hildon_note_rebuild): Close information
4570 notes when they receive a button press.
4572 Fixes: NB#89890 (Information notes does not get disappeared after
4575 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4577 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4578 mark from the wizard title, as it's not really necessary. Also,
4579 do not display the page title if not set.
4581 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4583 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4584 (parent_window_hidden): Use the window's "is-topmost" property to
4585 detect when to hide the menu.
4587 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4589 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4590 (hildon_app_menu_finalize): If the parent window of the menu is
4591 hidden, hide the menu too.
4593 Fixes: NB#94460 (stackable window's menu is not closed when its
4596 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4599 * debian/libhildon1-examples.install
4601 * examples/Makefile.am:
4602 Use dh_install to install all examples.
4603 Use DEB_SRCDIR instead of defining SOURCE_DIR
4605 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4607 * configure.ac: post release version bump.
4608 * debian/changelog: version bump
4610 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4615 * configure.ac: bump version
4616 * debian/changelog: updates
4617 * debian/control: bump gtk+ dependency
4619 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4621 patch by Christian Dywan (christian@imendio.com)
4623 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4624 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4626 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4628 * src/hildon-check-button.c (hildon_check_button_init)
4629 (hildon_check_button_class_init, hildon_check_button_style_set)
4630 (hildon_check_button_apply_style):
4631 New "checkbox-size" style property.
4633 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4634 larger / configurable size)
4636 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4638 * configure.ac: post release version bump.
4639 * debian/changelog: version bump
4641 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4646 * configure.ac: bump version
4647 * debian/changelog: updates
4649 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4651 * doc/hildon-sections.txt
4652 * src/hildon-pannable-area.c
4653 * src/hildon-program.c
4654 * src/hildon-time-editor.c
4655 * src/hildon-touch-selector-entry.c:
4657 More documentation updates.
4659 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4661 * doc/hildon-sections.txt
4662 * src/hildon-caption.c
4663 * src/hildon-code-dialog.c
4664 * src/hildon-color-button.c
4665 * src/hildon-controlbar.c
4666 * src/hildon-date-editor.c
4667 * src/hildon-date-selector.c
4668 * src/hildon-edit-toolbar.c
4669 * src/hildon-find-toolbar.c
4670 * src/hildon-font-selection-dialog.c
4672 * src/hildon-program.c
4673 * src/hildon-range-editor.c
4674 * src/hildon-seekbar.c
4675 * src/hildon-time-editor.c
4676 * src/hildon-time-selector.c
4677 * src/hildon-volumebar-range.c
4678 * src/hildon-volumebar.c
4679 * src/hildon-vvolumebar.c
4680 * src/hildon-weekday-picker.c
4681 * src/hildon-window.c
4682 * src/hildon-wizard-dialog.c:
4684 Lots of documentation fixes.
4686 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4688 Patch contributed by Iván Gómez (igomez@igalia.com)
4690 * src/hildon-check-button.c:
4691 * src/hildon-date-button.c:
4692 * src/hildon-date-selector.c:
4693 * src/hildon-dialog.c:
4694 * src/hildon-edit-toolbar.c:
4695 * src/hildon-entry.c:
4696 * src/hildon-picker-button.c:
4697 * src/hildon-program.c:
4698 * src/hildon-text-view.c:
4699 * src/hildon-time-button.c:
4700 * src/hildon-touch-selector-entry.c:
4701 * src/hildon-window-stack.c:
4703 Add more "since" tags to the new API.
4705 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4707 * doc/hildon-sections.txt: Add below method.
4708 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4709 version for the hildonized scale.
4710 * src/hildon-gtk.h: Add the definition.
4712 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4714 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4716 * doc/hildon-sections.txt: Add missing entries for new methods.
4718 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4720 Added API to pannable are in order to get its adjustments. We
4721 added two properties to manage the values we had in the private
4724 * src/hildon-pannable-area.c:
4725 (hildon_pannable_area_class_init): Added hadjustment and
4726 vadjustment properties in order to expose horizontal and vertical
4728 (hildon_pannable_area_get_property),
4729 (hildon_pannable_area_set_property): Added code to handle the new
4731 (hildon_pannable_area_get_hadjustment),
4732 (hildon_pannable_area_get_vadjustment): API functions to get the
4734 * src/hildon-pannable-area.h:
4735 (hildon_pannable_area_get_hadjustment),
4736 (hildon_pannable_area_get_vadjustment): API functions to get the
4739 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4741 Fixed some leaks, after valgrinding.
4743 * src/hildon-touch-selector.c:
4744 (_default_print_func): Fixed a leak.
4745 (hildon_touch_selector_append_column): Fixed a leak.
4746 * src/hildon-date-button.c:
4747 (hildon_date_button_init): Fixed a leak.
4748 * src/hildon-date-selector.c
4749 (hildon_date_selector_finalize): Fixed a leak.
4751 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4753 Based on a patch by Christian Dywan (christian@imendio.com)
4755 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4757 * src/hildon-gtk.h: Add definition.
4759 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4761 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4763 * src/hildon-picker-button.c: (hildon_picker_button_init),
4764 (hildon_picker_button_new): Set the HildonButton::style property
4765 in the init method, to propagate the value to the derived classes.
4767 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4769 * src/hildon-button.c: (hildon_button_class_init): Do not make
4770 the "style" property a construct property.
4772 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-wizard-dialog.h
4775 * src/hildon-wizard-dialog.c
4776 (hildon_wizard_dialog_set_forward_page_func)
4777 * src/hildon-pannable-area.h
4778 * src/hildon-pannable-area.c
4779 (hildon_pannable_area_set_size_request_policy):
4780 Documentation fixes.
4782 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4784 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4786 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4788 * doc/hildon-sections.txt: Added sections file.
4790 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4793 * src/*.[ch]: Updates.
4795 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4797 * examples/hildon-progress-indicator-example.c: new file
4798 * examples/Makefile.am: include the new example program
4800 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4802 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4804 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4806 * configure.ac: post release version bump
4807 * debian/changelog: version bump
4809 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4814 * configure.ac: bump version
4815 * debian/changelog: updates
4816 * debian/control: bump gtk+ dependency
4818 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4820 * src/hildon-dialog.c: Mark as deprecated.
4821 * src/hildon-dialog.h: Mark as deprecated.
4822 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4823 from HildonDialog and still work, even if
4824 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4825 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4827 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4828 maemo changes) instead)
4830 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4832 * src/hildon-pannable_area.h:
4833 * src/hildon-pannable_area.c:
4834 (hildon_pannable_area_class_init),
4835 (hildon_pannable_area_set_property),
4836 (hildon_pannable_area_get_property),
4837 (hildon_pannable_area_size_request),
4838 (hildon_pannable_area_get_size_request_policy),
4839 (hildon_pannable_area_set_size_request_policy): Added new API
4840 allowing applications to control the request policy. Now they can
4841 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4842 children allocation (HILDON_MOVEMENT_CHILDREN).
4844 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4848 (hildon_gtk_tree_view_set_ui_mode)
4849 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4850 mode of treeviews and iconviews.
4852 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-touch-selector-entry.c:
4855 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4856 of a GtkEntry to get proper theming.
4858 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4859 widget, not GtkEntry)
4861 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4863 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4864 no HildonWizardDialogPageFunc.
4866 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4868 Patch contributed by Iván Gómez (igomez@igalia.com)
4870 * src/hildon-app-menu.c:
4871 * src/hildon-button.c:
4872 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4873 * src/hildon-stackable-window.c:
4874 * src/hildon-time-selector.c:
4875 * src/hildon-touch-selector.c:
4876 * src/hildon-window.c:
4878 Add more "since" tags to the new API in hildon 2.2.
4880 2008-12-05 Tim Janik <timj@imendio.com>
4882 Patch contributed by Christian Dywan (christian@imendio.com)
4884 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4885 HildonSizeType, which are supplied by Gtk+ now.
4887 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4889 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4890 (with maemo changes) instead)
4892 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4894 Patch contributed by Iván Gómez (igomez@igalia.com)
4896 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4899 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4901 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4902 (some_page_func), (main): Update the example to use a
4903 HildonWizardDialogPageFunc function.
4905 * src/hildon-wizard-dialog-private.h: Add private data for
4906 the HildonWizardDialogPageFunc function usage.
4908 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4909 (destroy), (hildon_wizard_dialog_init), (response),
4910 (hildon_wizard_dialog_set_forward_page_func):
4911 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4912 that applications can use to stop a HildonWizardDialog to jump to
4915 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4918 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4920 * src/hildon-program.h
4921 * src/hildon-program-private.h
4922 * src/hildon-program.c (hildon_program_init)
4923 (hildon_program_set_common_app_menu)
4924 (hildon_program_get_common_app_menu):
4925 New API for setting a common HildonAppMenu for all
4926 HildonStackableWindows registered with the HildonProgram.
4928 * src/hildon-stackable-window.c
4929 (hildon_stackable_window_toggle_menu):
4930 Use the common HildonAppMenu if a window doesn't have a specific
4933 * src/hildon-app-menu-private.h
4934 * src/hildon-app-menu.c
4935 (hildon_app_menu_get_parent_window):
4936 Function to obtain the window a HildonAppMenu is attached to.
4937 (hildon_app_menu_set_parent_window):
4938 Hide the menu if the parent window is set to NULL.
4940 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4943 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4944 search widget to popup.
4946 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4948 * configure.ac: post release version bump
4949 * debian/changelog: version bump
4951 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4956 * configure.ac: bump version
4957 * debian/changelog: updates
4959 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4961 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4963 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4964 (hildon_window_stack_window_realized)
4965 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4966 Set the leader GdkWindow when a window is stacked and realized,
4967 unset it when it's unstacked.
4968 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4970 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4972 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4974 * src/hildon-stackable-window.h
4975 * src/hildon-window-stack.h:
4976 Protect definition of HildonWindowStack using the preprocessor.
4978 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4980 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4981 Fix warning if all menu items are hidden.
4983 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4985 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4987 * src/hildon-controlbar.c:
4988 * src/hildon-hvolumebar.c:
4989 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4990 Multiple scale size defines updates.
4992 Fixes: NB#94322 (Scale Updates)
4994 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4996 * examples/hildon-app-menu-example.c (create_menu)
4997 Show items after adding them to the menu, as in the future the
4998 menu will no longer call gtk_widget_show() on the added items.
5000 * src/hildon-app-menu.c:
5001 Update example as explained above.
5003 2008-12-02 Alberto Garcia <agarcia@igalia.com>
5005 * src/hildon-app-menu.c
5006 (hildon_app_menu_insert, hildon_app_menu_add_filter):
5007 Make sure that all menu items have finger height.
5009 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
5011 * src/hildon-picker-dialog.c:
5012 (_on_dialog_response), (_save_current_selection),
5013 (_restore_current_selection), (_clean_current_selection),
5014 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
5015 Defined new functions in order to save the current internal selector
5016 selection previous open the dialog, in case that the use cancel the
5017 interaction, so the widget restores the previous selection.
5019 Fixes: NB#92032 (In calendar application, date values in 'new event'
5022 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
5024 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5026 * src/hildon-button.c: Add a reference to the button examples in
5027 hildon-button-example.c
5029 * examples/hildon-button-example.c: Added examples of the most
5030 common button layouts.
5032 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5034 * src/hildon-app-menu.c (hildon_app_menu_show)
5035 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5037 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5039 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5041 * src/hildon-picker-dialog.c:
5042 (hildon_picker_dialog_init): Initialize the signal id for
5043 HildonTouchSelector::columns-changed.
5044 (+on_selector_columns_changed): Set up the interaction mode everytime a
5045 column is added or removed from the HildonTouchSelector.
5046 (_hildon_picker_dialog_set_selector): Connect to
5047 HildonTouchSelector::columns-changed and keep track of it.
5049 Make sure to update the interaction mode of the dialog everytime a
5050 column is added or removed in the HildonTouchSelector.
5052 Fixes: NB#93228 (Done button is not shown always in listpicker)
5054 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5056 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5057 a new ::columns-changed signal.
5058 (hildon_touch_selector_append_column): Emit ::columns-changed.
5059 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5061 Add a ::columns-changed signal, emitted when the number of columns in a
5062 HildonTouchSelector changes.
5064 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5066 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5067 (_hildon_picker_dialog_set_selector): Factor out the code
5068 to set up the dialog interaction mode.
5070 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5072 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5073 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5074 to signal_changed_id.
5076 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5078 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5081 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5083 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5084 Updated the logical ids related to ampm format, as now it is required to
5085 show it correctly localized even on languages with no default
5086 abbreviations for am or pm
5087 (_check_am_pm_format): check correctly the 24h format gconf property
5089 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5091 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5093 * src/hildon-button.c: Documentation updates.
5095 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5098 * src/hildon-caption.c: (hildon_caption_class_init):
5099 * src/hildon-color-button.c: (hildon_color_button_class_init):
5100 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5101 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5102 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5103 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5105 Remove deprecated GTK+ marshalers and replace them with the ones
5106 provided by GLib, for those available, add a marshaler for
5107 BOOLEAN:VOID, which is not available in GLib, and use it.
5109 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5111 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5112 the text from the previous column if there is no
5113 HildonTouchSelectorColumn::text-property set.
5115 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5117 * src/hildon-button.h
5118 * src/hildon-button.c (hildon_button_set_property)
5119 (hildon_button_get_property, hildon_button_class_init)
5120 (hildon_button_set_style, hildon_button_get_style):
5121 New "style" property to change the visual appearance of the
5124 * src/hildon-picker-button.c (hildon_picker_button_new):
5125 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5127 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5128 HildonButton look like PickerButton)
5130 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5132 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5133 column while building the default string.
5135 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5138 scroll indicator by default.
5140 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5142 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5144 * src/hildon-main.c: Fix the documentation for hildon_init()
5146 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5148 * doc/hildon-docs.sgml
5152 * src/hildon-window-stack-private.h
5153 * src/hildon-window-stack.h
5154 * src/hildon-window-stack.c:
5155 New HildonWindowStack object, that adds support for multiple
5156 stacks of windows per process.
5158 * src/hildon-stackable-window-private.h
5159 * src/hildon-stackable-window.h
5160 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5161 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5162 (hildon_stackable_window_show, hildon_stackable_window_hide)
5163 (hildon_stackable_window_class_init)
5164 (hildon_stackable_window_init):
5165 Use HildonWindowStack for stack management.
5167 * src/hildon-program.c (hildon_program_pop_window_stack)
5168 (hildon_program_peek_window_stack)
5169 (hildon_program_go_to_root_window):
5170 Add a fallback implementation to the deprecated functions using
5173 * examples/hildon-stackable-window-example.c:
5174 Use the new HildonWindowStack API.
5176 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5178 * src/hildon-stackable-window-private.h
5179 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5180 (hildon_stackable_window_hide, hildon_stackable_window_init):
5181 Remove all window stack management.
5183 * src/hildon-program-private.h
5184 * src/hildon-program.h
5185 * src/hildon-program.c (hildon_program_init)
5186 (hildon_program_pop_window_stack)
5187 (hildon_program_peek_window_stack)
5188 (hildon_program_go_to_root_window):
5189 Remove all window stack management and mark functions as
5192 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5194 * src/hildon-app-menu.c (hildon_app_menu_realize):
5195 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5197 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5199 * configure.ac: post release version bump
5200 * debian/changelog: version bump
5202 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5207 * configure.ac: bump version
5208 * debian/changelog: updates
5210 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5212 Based on initial code by Christian Dywan (christian@imendio.com)
5214 * doc/hildon-docs.sgml: Add section for hildon-main.
5215 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5216 * src/Makefile.am: Add new hildon-main.[ch]
5217 * src/hildon-defines.h: Update the icon sizes.
5218 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5219 new library initialization files and register icon sizes.
5220 * src/hildon-main.h: New declarations.
5221 * src/hildon.h: Include hildon-main.h
5223 Add new initialization functions to the library. These methods
5224 will register the hildon specific icon sizes and can be used in the
5225 future for other hildon specific bits.
5227 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5229 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5231 * src/hildon-window.c: (hildon_window_realize),
5232 (hildon_window_notify), (-hildon_window_update_title): Do not set
5233 the application name in the window title.
5235 Fixes: NB#89754 (Applications shouldn't display their names in the
5238 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5240 * src/hildon-note-private.h:
5241 * src/hildon-note.c: (hildon_note_set_property),
5242 (hildon_note_get_property), (hildon_note_class_init),
5243 (hildon_note_init), (hildon_note_finalize),
5244 (hildon_note_new_confirmation_with_icon_name),
5245 (hildon_note_new_information_with_icon_name):
5247 No need to mark as deprecated the actual code. Revert
5248 to avoid missing symbols in widgets using deprecated API.
5250 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5252 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5254 * src/hildon-volumebar.h
5255 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5256 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5258 * src/hildon-helper.h
5259 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5260 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5262 * examples/Makefile.am:
5263 Deprecate hildon-insensitive-example
5265 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5267 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5269 * examples/hildon-pannable-area-buttons-scroll-example.c:
5270 Make all buttons finger height
5272 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5274 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5276 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5277 update the day model only if it is really required, and to avoid the
5278 full-reconstruction aproach. Now it only add or remove the required days.
5280 The purpose of this is avoid superfluous HildonTouchSelector::changed
5283 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5284 with strange parameters)
5286 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5288 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5290 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5291 the WINDOW_TYPE property.
5293 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5295 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5298 Fix dependency to allow parallel compilation with make -jX
5300 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5302 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5303 color frame and some minor tweaks to make it more consistent with
5306 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5307 highlighted but not visible)
5309 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5311 * examples/Makefile.am: Fixed typo in the Makefile.am.
5313 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5315 Reviewed the use of MAEMO_GTK define, now we add the define in the
5316 compilation line, and we also add it to the pc file.
5318 * configure.ac: Added MAEMO_GTK define to the compilation command
5319 and removed it from the config.h.
5321 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5322 do not have to take care about this define if the library was
5326 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5328 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5330 * examples/Makefile.am,
5331 * examples/hildon-pannable-area-buttons-scroll-example.c,
5332 * examples/hildon-pannable-area-gesture-signals-example.c,
5333 * examples/hildon-pannable-area-scroll-jump-example.c,
5334 * examples/hildon-pannable-area-tree-view-example.c:
5335 Renamed the pannable area examples, now they have more meaningful
5338 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5340 * src/hildon-touch-selector.c:
5341 (hildon_touch_selector_set_column_selection_mode): Used of
5342 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5343 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5344 to avoid re-seting the same selection mode.
5346 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5347 breaks HildonPickerDialog)
5349 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5351 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5352 conditional in the Makefile.am
5354 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5356 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5357 Remove unused methods.
5359 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5361 * src/hildon-button.c (hildon_button_init):
5362 Make button images center-aligned by default
5364 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5367 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5368 activated, we have to think about how to deal with both defines
5369 MAEMO_GTK and MAEMO_CHANGES.
5371 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5373 * examples/hildon-app-menu-example.c (create_menu): Make all
5374 buttons finger size.
5376 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5378 Fixed the compilation without maemo gtk adding ifdefs with
5379 MAEMO_GTK define to the code, we have to check this version more
5382 * examples/Makefile.am: Added control to avoid some examples that
5383 just make sense with maemo gtk.
5386 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5387 hildon modes with the define.
5389 * examples/hildon-edit-toolbar-example.c,
5390 (create_icon_view): Create the icon view without hildon-gtk
5391 helpers if we are not using maemo gtk.
5393 * src/hildon-touch-selector.c,
5394 (_create_new_column): Create the treeview without hildon-gtk
5395 helpers if we are not using maemo gtk.
5397 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5399 * src/hildon-pnnable-area.c,
5400 (hildon_pannable_area_dispose),
5401 (hildon_pannable_area_button_press_cb),
5402 (hildon_pannable_area_child_mapped),
5403 (hildon_pannable_area_add),
5404 (hildon_pannable_area_remove): Added code to control the position
5405 of the event_window when adding and removing children from the
5406 pannable. We have to raise the event window when the child is
5409 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5410 selection mode using custom widget inside pannable)
5412 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5414 * configure.ac: post release version bump
5415 * debian/changelog: version bump
5417 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5422 * configure.ac: bump version
5423 * debian/changelog: updates
5425 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5427 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5428 search mode, in order to avoid lose the focus on the treeview when
5429 a hw key (like enter) is pressed.
5431 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5432 in HildonDateSelector dialog)
5434 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5436 * debian/rules: Added --enable-maintainer-mode
5437 * Makefile.am: Added ACLOCAL_AMFLAGS
5439 This allows to properly regenerate the Makefiles if you modify the
5440 configure.ac or any Makefile.am.
5442 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5444 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5445 properties, not needed at all.
5447 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5449 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5451 * src/hildon-note.c: (hildon_note_set_property),
5452 (hildon_note_get_property), (hildon_note_class_init),
5453 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5454 (hildon_note_new_confirmation_add_buttons): Remove icons.
5455 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5456 (hildon_note_new_information_with_icon_name): Deprecate.
5457 (hildon_note_new_confirmation): Act directly, without calling
5458 the deprecated constructor.
5459 (hildon_note_new_information): Act directly, without calling
5460 the deprecated constructor.
5461 * src/hildon-note.h: Mark deprecate methods as such.
5462 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5463 not run tests on the deprecated methods if built with deprecation
5466 Fixes: NB#91688 (Never show icons in information notes/confirmation
5469 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5471 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5472 (hildon_app_menu_key_press): Remove leftover usage of the
5473 private structure in HildonAppMenu struct.
5474 * src/hildon-app-menu.h: Remove leftover private structure
5475 from the HildonAppMenu struct.
5477 Fixes a crasher when using the HildonAppMenu.
5479 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5481 * src/hildon-picker-dialog.c: Use appropriate logical id
5482 for the default "Done" text.
5484 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5486 * configure.ac: post release version bump
5487 * debian/changelog: version bump
5489 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5491 Modified the way to scroll to the current selection just when the touch
5492 selector is shown on the screen, avoiding a g_idle. Added too a property
5493 to configure this behaviour. See hildon_pannable_area_jump_to_child
5494 documentation for more information.
5496 * src/hildon-touch-selector.c
5497 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5498 Added 'initial-scroll' property
5499 (hildon_touch_selector_set_property): Added
5500 (hildon_touch_selector_map): Removed as not required anymore
5501 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5502 only a concrete column, instead of iterate along all the columns
5504 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5509 * configure.ac: bump version
5510 * debian/changelog: updates
5512 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5514 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5515 compilation time warnings.
5517 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5519 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5520 the default value for HildonPannableArea::mov-mode to
5521 HILDON_PANNABLE_AREA_MODE_VERT.
5523 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5525 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5527 Reverting following commit:
5529 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5531 * src/hildon-app-menu-private.h
5532 * src/hildon-app-menu.[ch]
5533 * src/hildon-button.[ch]
5534 * src/hildon-check-button.[ch]
5535 * src/hildon-entry.[ch]
5536 * src/hildon-pannable-area.[ch]
5537 * src/hildon-text-view.[ch]:
5538 Added private field to the object's structure.
5540 because it causes an ABI breakage. We will need to introduce these
5541 changes later at some point. See NB#91636 for an extensive
5542 explanation and status.
5544 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5546 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5548 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5549 remove special cases that are no longer necessary.
5551 Fixes: NB#91016 (Change toolbar sizes, simplification)
5553 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5555 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5556 is shown in the cancel note.
5558 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5560 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5561 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5562 (hildon_seekbar_init): Remove steppers, remove expose event.
5563 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5565 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5567 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5569 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5570 label font to "SmallSystemFont" for vertically arranged buttons.
5572 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5575 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5577 * src/hildon-check-button.c
5578 (hildon_check_button_set_active, hildon_check_button_clicked):
5579 Don't access private parts directly, use getters instead.
5581 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5583 * src/hildon-check-button.c (hildon_check_button_new):
5584 Align the contents of the check button to the left.
5586 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5588 * src/hildon-pannable-area.c,
5589 (hildon_pannable_area_scroll_to),
5590 (hildon_pannable_area_jump_to),
5591 (hildon_pannable_area_scroll_to_child),
5592 (hildon_pannable_area_jump_to_child): Replace the mapped
5593 precondition of these functions with the realized, it is the
5594 correct state of the widget in this case. Changed the
5595 documentation according to this modification.
5597 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5599 Added a new EXTRA_CFLAGS option to add the deprecated define to
5600 the compilation command. This way we can avoid using the define in
5601 the documentation compilation.
5603 * configure.ac: Defined EXTRA_CFLAGS.
5605 * examples/Makefile.am:
5607 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5609 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5611 * src/hildon-picker-dialog.c:
5612 Defined a utility macro with the desired touch selector height
5613 Removed currently unused separator, and title_label variables from
5615 (hildon_picker_dialog_init): Removed code related to the creation
5616 of unused private variables title_label and separator.
5617 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5618 to ensure correct visualization of the touch selector inside the dialog.
5619 * src/hildon-touch-selector.c
5620 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5621 ensure a concrete height of the widget.
5623 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5626 * tests/Makefile.am:
5628 Remove spurious whitespaces.
5630 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5632 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5633 compilation warning after the cancel button removal.
5635 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5637 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5639 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5640 Makefile.am, that way we can choose not to compile some examples
5641 and tests of the deprecated widgets.
5643 * examples/Makefile.am: Divided the sources in deprecated and
5646 * src/Makefile.am: Added undef statement of the deprecated
5647 symbol to the enums file generation process.
5649 * src/hildon-color-chooser-dialog.c
5650 * src/hildon-color-chooser-dialog.h
5651 * src/hildon-color-button.c
5652 * src/hildon-color-button.h
5653 * src/hildon-color-chooser.c
5654 * src/hildon-color-chooser.h
5655 * src/hildon-controlbar.c
5656 * src/hildon-controlbar.h
5657 * src/hildon-date-editor.c
5658 * src/hildon-date-editor.h
5659 * src/hildon-hvolumebar.c
5660 * src/hildon-hvolumebar.h
5661 * src/hildon-private.c
5662 * src/hildon-private.h
5663 * src/hildon-range-editor.c
5664 * src/hildon-range-editor.h
5665 * src/hildon-seekbar.c
5666 * src/hildon-seekbar.h
5667 * src/hildon-time-editor.c
5668 * src/hildon-time-editor.h
5669 * src/hildon-time-picker.c
5670 * src/hildon-time-picker.h
5671 * src/hildon-volumebar.c
5672 * src/hildon-volumebar.h
5673 * src/hildon-vvolumebar.c
5674 * src/hildon-vvolumebar.h
5675 * src/hildon-bread-crumb-trail.h
5676 * src/hildon-bread-crumb-trail.c
5677 * src/hildon-calendar-popup.c
5678 * src/hildon-calendar-popup.h
5679 * src/hildon-weekday-picker.c:
5680 * src/hildon-weekday-picker.h:
5681 * src/hildon-bread-crumb-widget.c:
5682 * src/hildon-bread-crumb-widget.h:
5683 * src/hildon-bread-crumb.c:
5684 * src/hildon-bread-crumb.h:
5685 * src/hildon-calendar.c:
5686 * src/hildon-calendar.h:
5687 * src/hildon-caption.c:
5688 * src/hildon-code-dialog.c:
5689 * src/hildon-code-dialog.h:
5690 * src/hildon-font-selection-dialog.c:
5691 * src/hildon-font-selection-dialog.h:
5692 * src/hildon-get-password-dialog.c:
5693 * src/hildon-get-password-dialog.h:
5694 * src/hildon-login-dialog.c:
5695 * src/hildon-login-dialog.h:
5696 * src/hildon-number-editor.c:
5697 * src/hildon-number-editor.h:
5698 * src/hildon-set-password-dialog.c:
5699 * src/hildon-set-password-dialog.h:
5700 * src/hildon-sort-dialog.c:
5701 * src/hildon-sort-dialog.h: This is the list of deprecated
5704 * src/hildon-touch-selector.c:
5705 * src/hildon-window.c: Added undef statement to avoid compilation
5708 * tests/Makefile.am: Divided the sources in deprecated and
5711 * tests/check_test.c,
5712 (configure_tests): Marked the deprecated code that was adding
5713 suites with deprecated tests.
5715 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5717 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5719 * src/hildon-touch-selector.c: (_default_print_func): Do not
5720 duplicate a string returned by gtk_tree_model_get(), it is already
5723 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5726 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5728 * src/hildon-pannable-area.c
5729 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5730 method, it had problems when adding a widget with viewport the
5731 second time. Now checks if it already has a viewport and uses it.
5733 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5736 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5738 * src/hildon-pannable-area.c,
5739 (hildon_pannable_area_scroll_to),
5740 (hildon_pannable_area_jump_to),
5741 (hildon_pannable_area_scroll_to_child),
5742 (hildon_pannable_area_jump_to_child): Added a precondition to the
5743 scroll and jump to functions: the widget must be mapped before we
5744 can safely call these functions. We have also added documentation
5745 to the functions to explain how to use them in this situation.
5748 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5750 Reviewed the threading handling of the pannable widget, we have
5751 used the gdk_threads_add_timeout function instead of the usual
5752 glib handlers. This avoids some problems with the threads.
5754 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5755 (hildon_pannable_area_initial_effect),
5756 (hildon_pannable_area_scroll_indicator_fade),
5757 (hildon_pannable_area_button_press_cb),
5758 (hildon_pannable_area_timeout),
5759 (hildon_pannable_area_motion_notify_cb),
5760 (hildon_pannable_area_button_release_cb),
5761 (hildon_pannable_area_scroll_cb),
5762 (hildon_pannable_area_scroll_to): Removed the
5763 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5764 gdk_threads_add_timeout.
5766 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5768 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5773 * configure.ac: bump version
5774 * debian/changelog: updates
5776 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5778 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5779 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5780 * src/hildon-color-chooser-dialog.c:
5781 (hildon_color_chooser_dialog_init):
5782 * src/hildon-font-selection-dialog.c:
5783 (hildon_font_selection_dialog_init):
5784 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5786 Remove all cancel/close-like dialogs, as these are not going to be
5789 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5791 * src/hildon-note.c: (hildon_note_rebuild),
5792 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5795 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5797 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5799 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5800 sure all buttons are shown, even the Cancel/Close-like ones.
5802 Fixes: NB#90861 (Custom Confirmation dialogs should be
5803 protected from cancel button removal)
5805 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5807 * debian/control: Change libhildon1-examples dependency from libhildon1
5809 * debian/libhildon1-examples.install
5811 * Makefile.am: Modified the final install directory for the examples on
5812 package libhildon1-examples
5813 * Makefile.static: Update clean target in order to remove all the binary
5816 Changes suggested by Claudio after review new libhildon1-examples package
5818 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5820 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5821 * src/hildon-touch-selector.c: Ditto.
5823 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5825 * debian/control: Added new package libhildon1-examples, in order to pack
5826 the current hildon examples as documentation
5827 * debian/rules: Not to compress .c files, modify some includes on the
5828 examples (as normally are compiled locally, but when installed it will
5829 require to include the installed libhildon1 library), and rename
5831 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5832 install all the example files on the new example package
5833 * examples/Makefile.static: Added static makefile that can be used to
5834 compile the examples, once installed the new example package
5835 * examples: Most of the examples were modified in order to grant that
5836 all use only '#include "hildon.h"', in order to be easy to prepare
5837 it on the example package
5839 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5842 * debian/libhildon1-dev.install
5843 * debian/libhildon1-doc.install:
5844 Move all gtk-doc files to a separate libhildon1-doc package.
5846 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5848 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5850 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5852 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5854 * debian/rules: Fixed a error in order to avoid unnecessary calls
5855 to autogen.sh on package building
5857 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5859 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5861 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5863 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5866 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5868 * src/hildon-picker-button.c
5869 (hildon_picker_button_finalize):
5870 Free priv->done_button_text
5872 * src/hildon-time-button.c
5873 (hildon_time_button_set_time)
5874 * src/hildon-picker-button.c
5875 (hildon_picker_button_clicked)
5876 (hildon_picker_button_selector_selection_changed)
5877 (hildon_picker_button_set_selector)
5878 * src/hildon-date-button.c
5879 (hildon_date_button_set_date):
5880 Free strings returned by hildon_touch_selector_get_current_text()
5882 * src/hildon-button.c (hildon_button_construct_child):
5883 Fix leaks in priv->image and priv->label_box
5885 Fixes: NB#90535 (Memory leak in picker button)
5887 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5889 * src/hildon-button.c: (hildon_button_get_property): Do not access
5890 private elements directly, use getters instead.
5892 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5894 * src/hildon-app-menu-private.h
5895 * src/hildon-app-menu.c
5896 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5897 Store the menu's parent window.
5899 * src/hildon-stackable-window.c
5900 (hildon_stackable_window_toggle_menu)
5901 (hildon_stackable_window_finalize):
5902 Set the menu's parent window when the menu is shown, unset it when
5905 * src/hildon-app-menu.c
5906 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5907 (hildon_app_menu_class_init):
5908 Send unhandled keyboard accelerators to the parent window.
5910 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5912 * src/hildon-stackable-window.c
5913 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5915 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5917 * configure.ac: post release version bump
5919 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5922 * configure.ac: Bump version
5923 * debian/changelog: Updates
5924 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5927 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5929 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5932 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5933 GtkMenu with Hildon style.
5935 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5937 * src/hildon-picker-button.c:
5938 (hildon_picker_button_set_done_button_text): Set the dialog's
5939 done button text here as well.
5941 Fixes: NB#90232 (Picker button does not set the label on done button
5942 for the second time)
5944 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5946 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5949 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5951 * src/hildon-app-menu.c (hildon_app_menu_insert)
5952 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5953 the HildonAppMenu to be activatable using keyboard accelerators
5954 when the menu is not being shown.
5956 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5958 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5960 * src/hildon-stackable-window.c
5961 (hildon_stackable_window_show):
5962 Don't hide old windows automatically when new windows are shown:
5963 this is now a task for the window manager.
5964 (hildon_stackable_window_class_init)
5965 (hildon_stackable_window_hide):
5966 Remove windows from the stack everytime they're hidden.
5967 (hildon_stackable_window_realize):
5968 Don't change the _NET_WM_WINDOW_TYPE property. Use
5969 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5970 it as a stackable window.
5972 * src/hildon-program.c
5973 (hildon_program_pop_window_stack):
5974 Just hide the window to remove it from the stack.
5975 (hildon_program_go_to_root_window):
5976 Don't call gtk_widget_show(), this is now a task for the window
5979 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5981 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5983 * src/hildon-button.c
5984 (hildon_button_construct_child):
5985 Don't pack anything in the button until text or image are
5986 set. This allows adding a custom child after creating the button
5987 with hildon_button_new().
5988 (hildon_button_finalize, hildon_button_class_init)
5989 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5990 alignment and the label box even when they're not packed in the
5993 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5995 * src/hildon-touch-selector.h:
5996 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5997 currently the type definition was using GTK_TYPE_VBOX
5998 * src/hildon-touch-selector.c:
5999 Added some implementation notes in order to clarify that any other widget
6000 added without the column related API will not be included on the
6001 selection logic, and how the widget is freed, as some people ask about
6003 (hildon_touch_selector_remove): Reimplemented in order to free properly
6004 the column related data when you remove the private hbox.
6005 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
6006 to get a proper HildonTouchSelectorColumn documentation
6008 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6010 * src/hildon-touch-selector-entry.c:
6011 (hildon_touch_selector_entry_print_func): Return NULL if there is no
6012 text in the GtkEntry and there is no item selected. Fixes a
6015 2008-10-13 Alberto Garcia <agarcia@igalia.com>
6017 * src/hildon-app-menu-private.h
6018 * src/hildon-app-menu.[ch]
6019 * src/hildon-button.[ch]
6020 * src/hildon-check-button.[ch]
6021 * src/hildon-entry.[ch]
6022 * src/hildon-pannable-area.[ch]
6023 * src/hildon-text-view.[ch]:
6024 Added private field to the object's structure.
6026 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6028 * configure.ac: post-release version bump
6030 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6034 * configure.ac: pre-release version bump
6036 * debian/changelog: updates.
6038 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6040 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6041 Disconnect the handler for HildonTouchSelector::changed.
6043 (hildon_picker_button_selector_selection_changed): Update the button
6044 value if the selection change was not triggered by the
6047 (hildon_picker_button_set_selector): connect to
6048 HildonTouchSelector::changed.
6050 Fixes: NB#89650 (Picker button is not updated, when selection in
6051 selector has changed)
6053 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6055 * src/hildon-picker-dialog.c
6056 (hildon_picker_dialog_realize): Removed as not required
6057 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6058 * src/hildon-picker-button.c
6059 (_current_selector_empty): New function, checks if the selector is empty
6060 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6061 if the current selector is empty, in order to avoid to show the dialog
6062 close the dialog in this case (and shows a g_warning).
6064 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6066 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6068 * src/hildon-pannable-area.c,
6069 (hildon_pannable_area_scroll): Added clause to stop movement when
6070 the child of pannable is smaller than one page.
6071 (hildon_pannable_area_scroll_to): Added conditions to avoid
6072 starting the scrolling movement if the child is smaller than one
6073 page, the complete child is in the screen, we do not have to move.
6075 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6077 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6079 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6080 this is managed automatically by the widget when the size of the
6083 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6085 * src/hildon-picker-button.c
6086 (hildon_picker_button_set_done_button_text): Make a copy of the
6087 text, and free the previous value.
6089 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6091 * src/hildon-touch-selector-entry.c:
6092 (hildon_touch_selector_entry_print_func): Return the selected row's
6093 text if the entry is empty.
6095 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6098 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6100 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6102 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6105 * src/hildon-check-button.h
6106 * src/hildon-check-button.c
6107 * examples/hildon-check-button-example.c:
6108 HildonCheckButton is now a new widget. 'toggled' signal added.
6110 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6112 * src/hildon-program-private.h
6113 * src/hildon-program.c (hildon_program_init)
6114 (hildon_program_finalize): Removed unused variables group_leader
6115 and name from HildonProgramPrivate.
6117 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6119 * src/hildon-check-button.c (hildon_check_button_set_active)
6120 (hildon_check_button_get_active, hildon_check_button_new): Use
6121 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6123 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6125 * src/hildon-touch-selector.h
6126 (hildon_touch_selector_set_column_attributes): added deprecation
6127 guard HILDON_DISABLE_DEPRECATED
6128 * src/hildon-time-selector.c
6129 (hildon_time_selector_set_time)
6130 (hildon_time_selector_get_time): Fixed a typo on documentation
6131 * src/hildon-touch-selector.c: update HildonTouchSelector and
6132 HildonTouchSelectorColumn documentation
6133 * src/hildon-touch-selector-entry.c: update "text-column" property
6135 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6136 to be added to the general documentation.
6138 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6140 * examples/hildon-pannable-area-example-4.c,
6142 * examples/hildon-pannable-area-example.c,
6143 (main): Modified the code in order to use the container add, with
6144 viewport treeviews could have problems if they are really big.
6146 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6148 * src/hildon-weekday-picker.c,
6149 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6150 the agreement regarding deprecation in the library.
6152 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6154 * examples/hildon-picker-button-multicolumn-example.c:
6155 (main): Use custom "done" button text.
6157 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6158 (hildon_picker_button_set_property),
6159 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6160 (hildon_picker_button_init),
6161 (+hildon_picker_button_get_done_button_text),
6162 (+hildon_picker_button_set_done_button_text): New methods to customize
6163 the "done" button label in the launched HildonPickerDialog. Also,
6166 * src/hildon-picker-button.h: add the public API.
6168 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6170 * src/hildon-date-selector.h:
6171 * src/hildon-picker-dialog.h:
6172 * src/hildon-time-selector.h:
6173 * src/hildon-touch-selector-column.h:
6174 * src/hildon-touch-selector.h:
6176 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6177 declarations. Fixes gtk-doc warnings.
6179 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6181 * src/hildon-picker-dialog.h
6182 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6183 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6185 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6186 long text is set as label for done button)
6188 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6190 * src/hildon-dialog.c (hildon_dialog_add_button):
6191 Set fixed width to all buttons in the HildonDialog.
6193 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6195 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6197 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6198 Set widget name using class name plus "-finger" or "-thumb".
6200 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6202 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6203 'clicked' when the state of the button is manually changed.
6205 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6207 * src/hildon-app-menu.c (hildon_app_menu_realize)
6208 (hildon_app_menu_unrealize, hildon_app_menu_init)
6209 (hildon_app_menu_class_init, item_visibility_changed):
6210 Change the menu layout when the size of the screen changes.
6211 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6212 Show warning only when changing the number of colums using the
6215 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6217 * debian/compat: Set to 5
6218 * debian/control: Update dependencies.
6219 * debian/libhildon1-dbg.install: Remove.
6220 * debian/libhildon1-dev.install: Update according to cdbs paths.
6221 * debian/libhildon1.install: Update according to cdbs paths.
6222 * debian/rules: Switch to cdbs.
6224 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6226 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6227 'item' variable renamed to 'filter'
6229 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6231 * src/hildon-app-menu.c (hildon_app_menu_insert)
6232 (hildon_app_menu_add_filter, remove_item_from_list)
6233 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6234 Don't leak hidden items when the menu is destroyed.
6236 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-app-menu.c (hildon_app_menu_insert)
6239 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6240 (hildon_app_menu_set_columns, item_visibility_changed)
6241 (filter_visibility_changed, hildon_app_menu_repack_filters)
6242 (hildon_app_menu_repack_items):
6243 Repack items and filters separately.
6245 Don't repack all items, change only the ones that are needed to
6248 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6250 * src/Makefile.am: added hildon-touch-selector-column.h
6252 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6254 * src/hildon-touch-selector.c: added the property "text-column" to the
6255 class HildonTouchSelectorColumn, and related get/set functions
6256 (_default_printf_func): updated to use "text-column" property
6257 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6258 "text-column" in his documentation, as this is now included on
6259 HildonTouchSelectorColumn. The get/set_property can still be used,
6260 working as a wrapper to the concrete column "text-column" property
6261 (_text_column_modified): callback added in order to handle the signal
6262 "notify::text-column" of the concrete HildonTouchSelectorColumn
6263 (hildon_touch_selector_entry_get_text_column)
6264 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6265 modified in order to use the HildonTouchSelectorColumn "text-column"
6267 * src/hildon-time-selector.c:
6268 * src/hildon-date-selector.c:
6269 * examples/hildon-touch-selector-example.c
6270 * examples/hildon-touch-selector-multi-cells-example.c
6271 * examples/hildon-picker-button-multicolumn-example.c
6272 Set the right value to "text-column" property on the creation of a new
6273 column using hildon_touch_selector_append_column()
6275 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6277 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6279 * src/hildon-app-menu.c
6280 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6281 updating the layout of the menu, don't create all widgets again,
6282 just repack the items in their new places.
6284 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6286 * src/hildon-time-selector.c
6287 (hildon_time_selector_get_time)
6288 (hildon_time_selector_set_time)
6289 Added documentation of these public methods
6291 * src/hildon-date-button.h
6292 * src/hildon-touch-selector-column.h
6293 * src/hildon-time-button.h
6294 * src/hildon-picker-dialog.h
6295 * src/hildon-time-selector.h
6296 * src/hildon-picker-button.h
6297 * src/hildon-touch-selector.h
6298 * src/hildon-time-picker.h
6299 * src/hildon-date-selector.h
6300 * src/hildon-touch-selector-entry.h
6301 Modified in order to use hildon-widgets code style
6303 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6305 Added deprecated support to the compilation process using
6306 HILDON_DISABLE_DEPRECATED
6308 * configure.ac: Added the --disable-deprecated to the configure
6311 * src/hildon-weekday-picker.c:
6312 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6313 to use the deprecated support. We will update the other deprecated
6314 widgets status in a new patch.
6316 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6318 * configure.ac: Fixed typo with fatal warnings support, the
6319 variable name was not correct
6321 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6323 * src/hildon-app-menu.c
6324 * src/hildon-program.c: Update documentation.
6326 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6328 * configure.ac: Post-release version bump.
6330 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6335 * configure.ac: Pre-release version bump.
6336 * debian/changelog: Updates.
6338 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6340 * NEWS: Update news for previous releases.
6342 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6344 * examples/hildon-touch-selector-multi-cells-example.c:
6345 (create_selector): Update the example to use
6346 hildon_touch_selector_append_column() with a NULL renderer and set
6347 the renderers later.
6348 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6349 passed a NULL renderer. This is documented behavior now.
6351 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6352 This must be used if the developer wants full control on the layout of
6353 the renderers to be added to the column.
6355 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6357 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6359 * src/hildon-touch-selector.c: Documentation fixes.
6361 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6363 * src/hildon-wizard-dialog-private.h: Remove image and box.
6364 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6365 (hildon_wizard_dialog_set_property), (response): Completely remove
6366 image/icon support, and the containers required for the layout.
6368 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6370 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6372 * src/hildon-app-menu.c: Updated documentation.
6374 * src/hildon-stackable-window.c
6375 (hildon_stackable_window_set_main_menu): Unref the old menu after
6376 ref'ing the new one.
6378 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6380 * src/hildon-stackable-window.c
6381 (hildon_stackable_window_set_main_menu): Unref the previous menu
6382 instead of destroying it.
6384 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6385 floating reference and set has_user_ref_count to FALSE to make
6386 HildonAppMenu act like a normal ref-counted widget and not a
6389 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6392 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6394 * src/hildon-touch-selector-column.h: new file
6395 * src/hildon-touch-selector.h
6396 * src/hildon-touch-selector.c
6397 Implemented GtkCellLayout interface, in order to allow to configure
6398 the cell layout on each individual selector column
6399 (hildon_touch_selector_set_column_attributes): marked as deprecated
6400 * examples/hildon-touch-selector-multi-cells-example.c
6401 Example of how to use the GtkCellLayout interface on the selector
6403 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6405 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6407 * src/hildon-app-menu.h
6408 * src/hildon-app-menu.c
6409 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6410 (hildon_app_menu_append, hildon_app_menu_prepend):
6411 New methods to prepend, insert and move items in the menu.
6413 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6415 * src/hildon-wizard-dialog.c:
6417 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6419 (create_title): Update logical IDs and related code.
6420 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6422 * src/hildon-wizard-dialog.h: Note that
6423 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6424 point, as it is not used anymore.
6426 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6428 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6430 * src/hildon-note.c:
6431 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6432 shown. Do not display an icon in confirmation notes nor information
6434 (hildon_note_set_button_text): Update logical ID for cancel button.
6436 Fixes: NB#88850 (Update HildonNote button strings + signals)
6438 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6440 * src/hildon-stackable-window.c
6441 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6443 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6445 * src/hildon-app-menu-private.h
6446 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6447 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6448 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6449 temporary property 'columns' to change the number of columns.
6451 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6453 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6455 * examples/hildon-note-example.c: (on_information_clicked),
6456 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6457 debugging information.
6458 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6460 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6461 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6462 in order to close: this will be handled by the WM from now on.
6464 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6466 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6468 * src/hildon-app-menu-private.h
6469 * src/hildon-app-menu.c
6470 (hildon_app_menu_append, hildon_app_menu_add_filter)
6471 (button_visibility_changed, hildon_app_menu_apply_style)
6472 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6473 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6474 layout everytime a button (item or filter) is shown or hidden.
6476 * src/hildon-stackable-window.c
6477 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6480 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6482 * src/hildon-touch-selector.c:
6483 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6484 that the treeview inside the touch selector is in fremantle hildon mode
6485 * examples/hildon-date-button-example.c
6486 * examples/hildon-picker-button-multicolumn-example.c
6487 * examples/hildon-touch-selector-entry-example.c
6488 * examples/hildon-touch-selector-example.c
6489 * examples/hildon-time-button-example.c
6490 * examples/hildon-picker-button-example.c:
6491 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6493 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6495 * examples/hildon-text-view-example.c: (main): Remove the
6496 gtkrc bits, now handled by the theme.
6498 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6500 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6503 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6505 * po/Makefile.am: Install properly the mo files.
6506 * po/en_GB.po: Update translation, to ease testing purposes.
6508 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6510 * examples/hildon-picker-button-example.c: (main): Select an item
6511 in the selector before setting it to the button.
6513 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6515 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6516 Update button's value if the selector has an item active.
6518 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6519 'value' with the selector)
6521 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6523 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6524 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6525 (hildon_picker_button_class_init): Plug the finalize method.
6526 (hildon_picker_button_set_selector): If there's a previously set
6527 selector, unref'it before setting a new one.
6529 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6530 HildonTouchSelector)
6532 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6534 * src/hildon-touch-selector-entry.c:
6535 (hildon_touch_selector_entry_changed): Check if there is no text
6536 selected before setting the entry text.
6539 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6541 * src/hildon-touch-selector.h
6542 * src/hildon-touch-selector.c
6543 (hildon_touch_selector_get_active)
6544 (hildon_touch_selector_set_active): New methods to set/get the
6545 index of the selected item.
6547 * src/hildon-picker-button.h
6548 * src/hildon-picker-button.c
6549 (hildon_picker_button_get_active)
6550 (hildon_picker_button_set_active): New methods to set/get the
6551 index of the selected item.
6553 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6555 * configure.ac: post-release version bump.
6557 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6561 * configure.ac: Pre-release version bump.
6562 * debian/changelog: Updates.
6563 * debian/control: Add myself as maintainer and depend on l10n
6566 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6568 * src/hildon-window.c
6569 (hildon_window_set_main_menu)
6570 * src/hildon-stackable-window.c
6571 (hildon_stackable_window_set_main_menu):
6572 Updated documentation.
6574 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6576 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6577 Don't free selector->priv manually.
6580 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6583 (hildon_gtk_window_set_progress_indicator):
6584 * src/hildon-gtk.h: Added the new API
6585 hildon_gtk_window_set_progress_indicator, it changes the state of
6586 the window progress hint.
6588 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6590 * src/hildon-button.c
6591 * src/hildon-stackable-window.c: Minor documentation updates.
6593 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6595 * src/hildon-stackable-window.c: Updated documentation.
6597 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6599 * src/hildon-defines.h: Update margins definitions
6600 to the Fremantle sizes.
6603 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6605 * src/hildon-touch-selector.c,
6606 (_hildon_touch_selector_set_model): Cleaning the code after
6607 review, removed g_print and #if 0 from the code.
6609 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6611 * src/hildon-edit-toolbar.c: Update documentation.
6613 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6615 * src/hildon-check-button.h
6616 * src/hildon-check-button.c
6617 (hildon_check_button_set_label, hildon_check_button_get_label)
6618 * examples/hildon-check-button-example.c
6619 (button_clicked_cb):
6620 Removed deprecated methods.
6622 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6624 * src/hildon-text-view.c:
6625 Add sample code to the documentation.
6627 * src/hildon-entry.h
6628 * src/hildon-text-view.h:
6629 Minor cosmetic changes.
6631 * src/hildon-entry.c:
6632 Add sample code to the documentation.
6633 (hildon_entry_init, hildon_entry_refresh_contents):
6634 Don't allow NULL values in the placeholder.
6636 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6638 * doc/hildon-docs.sgml
6640 * examples/Makefile.am
6641 * examples/hildon-text-view-example.c
6643 * src/hildon-text-view.c
6644 * src/hildon-text-view.h
6646 New HildonTextView widget, with example.
6648 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6650 * po/POTFILES.in: Add missing files with translatable strings.
6651 Partially fixes NB#88287.
6653 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6655 * examples/hildon-pannable-area-example-2.c: (main): No need to
6656 set the cellrenderer height inside hildon touch lists, the theme does
6659 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6661 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6662 they are integrated in the theme.
6664 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6666 * examples/hildon-entry-example.c: Update the example adding
6667 widgets to modify the text and the placeholder of the HildonEntry.
6669 * src/hildon-entry.c: Show the placeholder everytime the widget
6670 is empty and loses the focus.
6672 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6674 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6676 * src/hildon-pannable-area.c,
6677 (hildon_pannable_area_size_request): Fixed bug in height
6678 requisition, avoid increasing size and add border twice.
6680 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6682 * configure.ac: postrelease version bump.
6684 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6688 * configure.ac: Prerelease version bump.
6689 * debian/changelog: update.
6690 * debian/rules: make -dbg package contain useful debugging symbols.
6692 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6694 * src/hildon-dialog.h
6695 * src/hildon-dialog.c
6696 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6697 New methods to add buttons with finger size.
6698 (hildon_dialog_new_with_buttons):
6699 Create buttons with finger size.
6701 * examples/hildon-dialog-example.c (main): Use HildonDialog
6702 methods to add buttons.
6704 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6706 * src/hildon-entry.c: Updated HildonButton documentation.
6708 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6710 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6711 button value label with (FALSE, FALSE) to prevent NB#88126 from
6714 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6716 * examples/hildon-pannable-area-example.c,
6717 (main): Removed examples panning a vbox inside a pannable
6718 area. Check bug NB#87965
6720 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6722 Patch contributed by Kris Rietveld (kris@imendio.com)
6724 * src/hildon-pannable-area.c,
6725 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6726 get_size and get_position, this saves an X server roundtrip.
6728 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6730 * doc/hildon-docs.sgml
6732 * examples/Makefile.am
6733 * examples/hildon-entry-example.c
6735 * src/hildon-entry.c
6736 * src/hildon-entry.h
6738 New HildonEntry widget, with example.
6740 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6742 * src/hildon-button.c (hildon_button_construct_child): Pack the
6743 image with expand == fill == FALSE. This is a workaround for a bug
6746 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6748 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6749 labels for the text column, to make it more look more dynamic.
6751 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6753 * src/hildon-time-selector.c
6754 Define gettext auxiliar macro N_
6755 (_create_minutes_model)
6756 (_create_hours_model)
6757 (_create_ampm_model): use of strftime in order to fill the model
6758 * src/hildon-date-selector.c
6759 (hildon_date_selector_finalize):
6760 (_locales_init): remove the logic related to get the name of the months
6761 using nl_langinfo, as it is not required anymore
6763 (_create_year_model)
6764 (_create_month_model)
6765 (_update_day_model): use of strftime in order to fill the model properly
6768 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6770 * src/hildon-button.h
6771 * src/hildon-button.c (hildon_button_get_image): New method to
6774 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6776 * src/hildon-touch-selector.c:
6777 (hildon_touch_selector_remove_column): Remove from the correct parent
6778 and also remove the list element and free it.
6781 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6783 * src/hildon-time-selector.c
6784 (_create_hours_model): change the range on 12h ampm format in order to use
6785 a 12-11 range instead of previous 01-12 range
6786 (hildon_time_selector_set_time): change the way to select the current time
6787 on 12h ampm format, due the change on the range
6788 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6791 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6793 * src/hildon-touch-selector.c
6794 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6795 in order to allow use this function on multiple row selection mode if
6796 the column is different that the first one
6799 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6801 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6802 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6804 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6806 * src/hildon-date-selector.h: clean some comments, now on the .c
6807 * src/hildon-date-selector.c
6808 (hildon_date_selector_select_month): first implementation
6809 (hildon_date_selector_select_day): added documentation, reimplemented
6810 using hildon_date_selector_select_current_date to avoid repeat code
6813 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6815 Reviewed interaction logic based on device experiences, refactored
6818 * src/hildon-pannable-area.c,
6819 (hildon_pannable_area_class_init): Updated default vmax speed.
6820 (hildon_pannable_area_calculate_velocity): Added this function, it
6821 avoids duplicate valocity calculation. Adjusted calculation to
6822 avoid problems with zero dist events.
6824 (hildon_pannable_area_motion_notify_cb): Now we use the
6825 calculate_velocity function.
6827 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6829 * src/hildon-date-selector.c
6830 (hildon_date_selector_select_current_date): fix the day range check
6831 as it failed using the last day of the current month
6834 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6836 * src/hildon-touch-selector.c
6837 (hildon_touch_selector_get_num_columns): added a parameter validation
6840 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6842 * examples/Makefile.am
6843 * examples/hildon-edit-toolbar-example.c: Example of the
6844 HildonEditToolbar widget.
6846 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6848 * configure.ac: postrelease version bump.
6850 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6854 * configure.ac: prerelease version bump.
6855 * debian/changelog: update.
6857 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6859 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6860 renderer to display stock icons in the touch list. Also, set the sizes
6861 to the recommended in the style guide.
6863 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6864 * src/hildon-touch-selector.h
6865 (hildon_touch_selector_set_active_iter): renamed, now is
6866 hildon_touch_selector_select_iter
6867 (hildon_touch_selector_get_active_iter): renamed, now is
6868 hildon_touch_selector_get_selected
6869 (hildon_touch_selector_unselect_iter): added
6870 * src/hildon-touch-selector.c
6871 Update after API modification (methods renamed)
6872 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6873 order to avoid problems selecting multiple elements on the column
6874 (hildon_touch_selector_unselect_iter): added the implementation
6875 * src/hildon-time-selector.c
6876 * src/hildon-date-selector.c
6877 * src/hildon-touch-selector-entry.c
6878 Update methods calls after hildon-touch-selector.h API modification (methods
6881 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6883 * src/hildon-stackable-window.c
6884 (hildon_stackable_window_finalize): Call the parent class's finalize.
6886 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6888 * examples/hildon-touch-selector-example.c: (create_selector): Use
6889 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6892 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6894 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6895 set a cell background color, to respect theming.
6897 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6899 * doc/hildon-docs.sgml
6902 * src/hildon-edit-toolbar.c
6903 * src/hildon-edit-toolbar.h
6904 * src/hildon.h: New HildonEditToolbar widget.
6906 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6908 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6911 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6912 * src/hildon-touch-selector.c
6913 (_create_new_column): use g_object_set instead of two g_object_set_property
6915 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6916 * src/hildon-touch-selector.c
6917 (_create_new_column): use of hildon_gtk_tree_view_new to create
6918 the treeview, instead of use directly g_object_new
6919 (_create_new_column): update the property name "vindicator-mode" for the
6920 new one "vscrollbar-policy"
6921 * examples/hildon-date-button-example.c
6922 * examples/hildon-picker-button-multicolumn-example.c
6923 * examples/hildon-touch-selector-entry-example.c
6924 * examples/hildon-touch-selector-example.c
6925 * examples/hildon-time-button-example.c
6926 * examples/hildon-picker-button-example.c
6927 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6928 to all the treeviews inside a pannable area.
6930 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6932 * src/hildon-button.h
6933 * src/hildon-button.c (hildon_button_init)
6934 (hildon_button_set_arrangement, hildon_button_set_alignment)
6935 (hildon_button_set_title_alignment)
6936 (hildon_button_set_value_alignment)
6937 (hildon_button_set_image_alignment)
6938 (hildon_button_construct_child): New methods to set the alignment
6939 of the individual components of the button (title, value,
6940 image). Also, new method to alter the xscale and yscale properties
6941 of the GtkAlignment inside the button, so more complex layouts can
6944 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6946 * src/hildon-button.c (hildon_button_style_set)
6947 (hildon_button_class_init, hildon_button_set_arrangement)
6948 (hildon_button_construct_child): Apply style properties
6949 correctly. Use the 'image-spacing' style property too.
6951 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6953 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6954 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6957 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6959 * src/hildon-pannable-area.c,
6960 (hildon_pannable_area_size_request): Fixed problem with
6961 pannable-area size_request.
6963 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6965 Added management for the grab-focus to a child widget, like a
6966 range, we need to fade out the scrollbar when releasing.
6968 * src/hildon-pannable-area.c,
6969 (hildon_pannable_area_init): Connected the grab-focus signal to
6971 (hildon_pannable_area_grab_notify): Added this function in order
6972 to manage the situation when the grab-focus ends. We have to
6973 fade-out the scrollbar.
6975 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6977 * src/hildon-app-menu.c: Minor documentation update.
6979 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6981 * src/hildon-app-menu.c
6982 * examples/hildon-app-menu-example.c (create_menu): Update
6983 examples and documentation to explain how to connect callbacks.
6985 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6987 * examples/hildon-button-example.c
6988 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6989 hildon_stackable_window_new instead of gtk_window_new
6991 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6993 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6994 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6995 (hildon_pannable_area_set_property),
6996 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6997 (hildon_pannable_area_unrealize),
6998 (hildon_pannable_area_size_request),
6999 (hildon_pannable_area_size_allocate),
7000 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
7001 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
7002 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
7003 (hildon_pannable_area_initial_effect),
7004 (hildon_pannable_area_redraw),
7005 (hildon_pannable_area_scroll_indicator_fade),
7006 (hildon_pannable_area_expose_event),
7007 (hildon_pannable_area_get_topmost), (synth_crossing),
7008 (hildon_pannable_area_button_press_cb),
7009 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
7010 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
7011 (hildon_pannable_area_motion_notify_cb),
7012 (hildon_pannable_area_button_release_cb),
7013 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
7014 (hildon_pannable_area_remove),
7015 (hildon_pannable_calculate_vel_factor): Widget refactorization,
7016 chage the code layout to a more GtkWidget like. Review the use of
7019 2008-08-21 Alejandro G. Castro <alex@igalia.com>
7021 * examples/hildon-pannable-area-example-4.c,
7022 (main): Modified the name of the hindicator_mode to
7025 * src/hildon-pannable-area.c,
7026 (hildon_pannable_area_class_init),
7027 (hildon_pannable_area_motion_notify_cb),
7028 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7029 we have reduced the amount of signals and managed reviewed its
7030 rationale. Changed the default decelerate value.
7032 (hildon_pannable_area_add),
7033 (hildon_pannable_area_redraw): Refactored functions.
7035 (hildon_pannable_area_init),
7036 (hildon_pannable_area_get_property),
7037 (hildon_pannable_area_set_property):
7038 (hildon_pannable_draw_vscroll),
7039 (hildon_pannable_draw_hscroll),
7040 (hildon_pannable_area_initial_effect),
7041 (hildon_pannable_area_expose_event),
7042 (hildon_pannable_area_scroll),
7043 (hildon_pannable_area_button_press_cb),
7044 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7045 and vindicator_mode with hscrollbar_policy and
7046 vscrollbar_policy. Replaced hscroll and vscroll with
7047 hscroll_visible and vscroll_visible.
7049 (hildon_pannable_area_refresh): Refactor the function, remove
7050 variables and check the calls to this function, added resize
7051 conditions in case the children change their layout.
7053 (hildon_pannable_area_size_request): Added more detailed
7054 size_request calculation.
7057 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7059 * src/hildon-color-chooser.c
7060 (init_borders): use the correct gtk_border_free instead of g_free, to
7061 avoid a crash when this widget is used (ie: the three color selection
7064 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7066 * src/hildon-check-button.c,
7067 (hildon_check_button_set_active): Fixed problem when setting the
7068 active value, the widget was not redrawn.
7070 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7072 * src/hildon-pannable-area.c,
7073 (hildon_pannable_area_refresh),
7074 (hildon_pannable_area_scroll),
7075 (hildon_pannable_area_motion_notify_cb): Small code style change.
7077 (hildon_pannable_area_class_init): Default initial_hint set to
7078 FALSE, it is not in the specs.
7080 (hildon_pannable_area_initial_effect),
7081 (hildon_pannable_area_expose_event),
7082 (hildon_pannable_area_map),
7083 (hildon_pannable_area_init): Moved the launching point of the
7084 initial effect, it was in map but the sizes where not correct in
7085 that method so we do not know if we have the reproduce it. Now it
7086 is placed in the expose_event method and uses a variable to
7087 reproduce it just once.
7089 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7091 * src/hildon-pannable-area.c,
7092 (hildon_pannable_draw_vscroll),
7093 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7094 position allowed for the scrollbars.
7096 (hildon_pannable_area_size_allocate): Small style change.
7098 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7100 * src/hildon-pannable-area.c,
7101 (hildon_pannable_area_scroll_indicator_fade),
7102 (hildon_pannable_area_button_press_cb),
7103 (hildon_pannable_area_button_release_cb),
7104 (hildon_pannable_area_scroll_cb),
7105 (hildon_pannable_area_expose_event),
7106 (hildon_pannable_area_init): Added the define parameter
7107 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7108 and refactor the fade variable.
7110 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7112 * src/hildon-pannable-area.c,
7113 (hildon_pannable_area_redraw),
7114 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7115 lines, we were reimplemeting the redraw code.
7117 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7119 * src/hildon-pannable-area.c,
7120 (hildon_pannable_area_scroll_cb),
7121 (hildon_pannable_area_realize),
7122 (hildon_pannable_area_class_init): Added scroll_event management
7123 for pannable area, now we can scroll the usual desktop method.
7125 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7126 initialization of the parameters should depend on idle_id.
7128 (hildon_pannable_area_init),
7129 (hildon_pannable_area_map): Small code style modifications
7131 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7133 * src/hildon-pannable-area.c
7134 (hildon_pannable_area_button_press_cb),
7135 (hildon_pannable_area_motion_notify_cb),
7136 (hildon_pannable_area_button_release_cb),
7137 (hildon_pannable_area_size_allocate),
7138 (hildon_pannable_area_scroll_to): Improved the timeouts
7139 management, we avoid creating them each time.
7141 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7143 * src/hildon-pannable-area.c:
7144 (hildon_pannable_area_refresh),
7145 (hildon_pannable_area_motion_notify_cb),
7146 (hildon_pannable_area_class_init):
7147 * src/hildon-pannable-area.h:
7148 * src/hildon-touch-selector.c
7149 (_create_new_column):
7150 * examples/hildon-pannable-area-example-4.c:
7151 (horizontal_movement),
7152 (vertical_movement),
7154 Replaced the names of enums in the HildonPannableArea:
7155 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7156 HILDON_MOVEMENT_MODE_*
7157 - HILDON_PANNABLE_AREA_MOV_* ->
7159 - Removed HildonPannableAreaIndicatorMode, now we
7162 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7164 * examples/hildon-pannable-area-touch-grid-example.c
7165 * examples/hildon-pannable-area-touch-list-example.c: Fix
7166 compilation warnings.
7168 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7170 * src/hildon-gtk.c (hildon_gtk_button_new)
7171 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7172 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7173 images overriding the value of the "gtk-button-images" setting.
7175 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7177 * src/hildon-check-button.c (hildon_check_button_new):
7178 Instead of using a custom container, display the label and the
7179 checkbox using the standard GtkButton API.
7181 * examples/hildon-check-button-example.c (main): Don't use
7182 hildon_check_button_set_label() anymore
7184 * src/hildon-check-button.h
7185 * src/hildon-check-button.c
7186 (hildon_check_button_set_label, hildon_check_button_get_label):
7187 Set as deprecated, now we're using gtk_button_{get,set}_label()
7189 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7191 * src/hildon-pannable-area.c,
7192 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7193 GtkTreeview first line we detected it after the inclusion of the
7194 GtkWindowImpl in gtk+. We now check if the window is visible, not
7195 just if the pointer is over the window.
7196 (hildon_pannable_axis_scroll),
7197 (hildon_pannable_area_expose_event): Small style changes.
7199 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7201 * src/hildon-button.c: Update documentation.
7203 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7205 * examples/hildon-button-example.c: Add a switch to show images in
7208 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7210 * doc/hildon-docs.sgml: Some docs reorganization.
7212 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7214 * examples/hildon-pannable-area-touch-list-example.c
7216 * examples/hildon-pannable-area-touch-grid-example.c
7217 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7218 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7219 Fix memory leak when setting the tree model.
7221 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7225 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7227 * doc/hildon.types: Remove duplicated hildon_window_get_type
7228 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7229 documentation comment.
7231 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7233 * doc/Makefile.am: Complete list of private headers.
7235 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7237 * doc/hildon-docs.sgml
7238 * src/hildon-app-menu.c
7239 * src/hildon-bread-crumb.c
7240 * src/hildon-button.c
7242 * src/hildon-program.c
7243 * src/hildon-stackable-window.c
7244 * src/hildon-window.c: Lots of documentation updates.
7246 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7248 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7250 * configure.ac: Require Gtk+ 2.12.9 at least
7252 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7254 * src/hildon-pannable-area.c
7255 (hildon_pannable_area_scroll_indicator_fade),
7256 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7257 to protect the return of this timeout callbacks, avoiding deadlocks.
7259 2008-08-12 Christian Dywan <christian@imendio.com>
7262 * src/hildon-*.h: Ensure a consistent include order,
7263 include <gtk/gtk.h> instead of particular files and
7264 only include the topmost header in the gtk stack. See NB #39857
7266 2008-08-12 Christian Dywan <christian@imendio.com>
7268 * src/hildon-picker-dialog.c
7269 * src/hildon-touch-selector.c: Fix warnings about unused and
7270 uninitialized variables.
7272 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7274 * examples/Makefile.am
7275 * examples/hildon-check-button-example.c: Example of the hildon
7278 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7280 * src/hildon-window.h
7281 * src/hildon-window.c (hildon_window_class_init)
7282 (hildon_window_unset_program): Don't make
7283 hildon_window_unset_program a virtual function anymore.
7285 * src/hildon-stackable-window.c: Update documentation
7287 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7290 * doc/hildon-docs.sgml
7291 * doc/visual_index.xml
7292 * src/hildon-defines.c
7294 * src/hildon-helper.c
7295 * src/hildon-range-editor.c: Lots of documentation fixes.
7297 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7299 * examples/hildon-picker-button-multicolumn-example.c
7300 (create_touch_selector): Fix compilation warning.
7302 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7304 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7305 (hildon_pannable_area_button_release_cb)
7306 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7308 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7310 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7313 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7315 * src/hildon-bread-crumb-trail.h
7316 * src/hildon-date-editor.c
7317 * src/hildon-date-selector.c
7318 * src/hildon-pannable-area.c
7319 * src/hildon-picker-dialog.c
7320 * src/hildon-time-selector.c
7321 * src/hildon-touch-selector-entry.c
7322 * src/hildon-touch-selector.c
7323 * src/hildon-touch-selector.h: Misc documentation fixes
7325 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7327 * examples/hildon-date-editor-example.c (main): Updated date
7330 * examples/hildon-note-example.c (on_confirmation_clicked):
7331 Updated confirmation note example.
7333 * src/hildon-date-editor.c
7334 * src/hildon-note.c: Updated sample programs in documentation.
7337 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7339 * src/hildon-date-button.h:
7340 * src/hildon-picker-button.h:
7341 * src/hildon-time-button.c:
7342 * src/hildon-time-button.h:
7344 Some declarations changes to allow gtk-doc to document the widgets
7347 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7349 * src/hildon-date-button.c: Document the widget.
7350 * src/hildon-time-button.c: Document the widget.
7352 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7354 * src/hildon-picker-button.c: Document the widget.
7355 * src/hildon-touch-selector-entry.c: Document the widget.
7357 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7359 * doc/hildon-docs.sgml
7362 * src/hildon-check-button.h
7363 * src/hildon-check-button.c: New functions to create the Hildon
7367 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7369 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7371 * src/hildon-button.h
7372 * src/hildon-button.c
7373 (hildon_button_add_title_size_group)
7374 (hildon_button_add_value_size_group)
7375 (hildon_button_add_image_size_group)
7376 (hildon_button_add_size_groups): New functions to set size groups
7377 for the button labels and image.
7378 (hildon_button_new_full): Removed
7380 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7382 * src/hildon-time-selector.c
7383 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7384 in order to avoid a crash if gconf is not available
7386 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7388 * src/hildon-button.c (hildon_button_set_arrangement)
7389 (hildon_button_construct_child): Don't construct the button child
7390 before setting the arrangement.
7392 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7394 * src/hildon-program-private.h
7395 * src/hildon-program.c
7396 * src/hildon-program.h
7397 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7398 (hildon_program_peek_window_stack)
7399 (hildon_program_pop_window_stack)
7400 (hildon_program_go_to_root_window): HildonProgram now has a
7401 separate list for stackable windows. Functions are provided to
7402 manage that list with a stack-like API.
7404 * src/hildon-stackable-window.c: Stackable window management is
7405 now much simpler with the new HildonProgram API. Windows no
7406 longer need to be manually added to the program, they're
7407 automatically pushed to the top of the stack when shown.
7409 * examples/hildon-stackable-window-example.c: Updated example to
7410 reflect the API changes.
7412 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7414 * src/hildon-touch-selector.c: Comment out unimplemented
7415 hildon_touch_selector_insert_column() to avoid a compile warning.
7417 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7419 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7420 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7421 (hildon_touch_selector_set_column_selection_mode),
7422 (_hildon_touch_selector_set_model),
7423 (hildon_touch_selector_set_model):
7425 Complete review of HildonTouchSelector documentation.
7427 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7429 * doc/hildon-docs.sgml
7433 * src/hildon-gtk.c: Convenience functions for standard Gtk
7434 widgets, used to easily perform frequent operations.
7436 * src/hildon-button-helpers.h
7437 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7439 * src/hildon-helper.h
7440 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7441 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7443 * src/hildon-button.h
7444 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7446 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7448 * src/hildon-button.c (hildon_button_init)
7449 (hildon_button_set_arrangement, hildon_button_construct_child):
7450 Pack the image and the labels inside the same GtkAlignment so
7451 gtk_button_set_alignment() can be used
7453 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7455 * src/hildon-button.h
7456 * src/hildon-button.c
7457 (hildon_button_init, hildon_button_set_image)
7458 (hildon_button_set_image_position)
7459 (hildon_button_construct_child): New functions to add an image to
7462 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7464 * src/hildon-date-button.c
7465 * src/hildon-picker-button.c
7466 * src/hildon-time-button.c
7467 * src/hildon-button.c:
7468 (hildon_button_class_init): "size-flags" renamed to "size"
7469 (hildon_button_set_title): Hide the title label if set to NULL.
7471 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7473 HildonButtonFlags split into HildonButtonArrangement (to set the
7474 button layout) and HildonSizeType (which can be used for any
7477 * src/hildon-button.h
7478 * src/hildon-button.c
7479 (hildon_button_class_init)
7480 (hildon_button_set_arrangement)
7481 (hildon_button_set_property): New "size-flags"
7482 property. "arrangement-flags" renamed to "arrangement".
7483 (hildon_button_new, hildon_button_new_with_text)
7484 (hildon_button_new_full): Constructors updated to reflect type changes.
7486 * src/hildon-helper.h
7487 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7488 to set the size of a widget.
7492 * src/hildon-button-helpers.c
7493 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7495 * src/hildon-date-button.c
7496 * src/hildon-date-button.h
7497 * src/hildon-picker-button.c
7498 * src/hildon-picker-button.h
7499 * src/hildon-time-button.c
7500 * src/hildon-time-button.h: Updated widgets to reflect
7501 HildonButton API changes.
7503 * examples/hildon-button-example.c
7504 * examples/hildon-date-button-example.c
7505 * examples/hildon-picker-button-example.c
7506 * examples/hildon-picker-button-multicolumn-example.c
7507 * examples/hildon-time-button-example.c
7508 * examples/hildon-touch-selector-entry-example.c
7509 * examples/hildon-touch-selector-example.c: Updated examples to
7510 reflect HildonButton API changes.
7512 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7514 * doc/hildon-docs.sgml:
7516 * examples/Makefile.am:
7517 * examples/hildon-touch-selector-entry-example.c:
7519 * src/hildon-touch-selector-entry.c:
7520 * src/hildon-touch-selector-entry.h:
7523 Moved HildonTouchSelectorEntry from sandbox. Added its
7524 documentation and examples.
7526 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7528 * src/hildon-touch-selector.h:
7529 * examples/hildon-picker-button-multicolumn-example.c:
7530 (hildon_touch_selector_append_text_column): Add a gboolean
7531 parameter to determine if text must be centered in the column.
7533 * src/hildon-date-selector.c: (hildon_date_selector_init):
7534 * src/hildon-time-selector.c: (hildon_time_selector_init):
7535 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7536 (create_touch_selector): Update widgets and example to reflect
7539 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7541 * src/hildon-touch-selector.c:
7542 (hildon_touch_selector_set_active_iter): Set also the cursor in
7545 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7547 * doc/hildon-docs.sgml
7550 * src/hildon-toggle-button.c
7551 * src/hildon-toggle-button.h
7552 * src/hildon.h: Removed HildonToggleButton widget, a derived
7553 class is not necessary for this.
7555 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7557 * src/hildon-pannable-area.c,
7558 (hildon_pannable_area_realize),
7559 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7562 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7564 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7565 "done" button the default widget for the dialog.
7567 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7569 * src/hildon-touch-selector.c:
7570 (hildon_touch_selector_class_init),
7571 (hildon_touch_selector_get_property),
7572 (_hildon_touch_selector_set_model),
7573 (_hildon_touch_selector_has_multiple_selection),
7574 (hildon_touch_selector_has_multiple_selection):
7575 Add a "has-multiple-selection" property with a virtual
7576 has_multiple_selection() method to allow derived classes to
7577 override the default value for it. See the method and property
7578 documentation for details.
7580 * src/hildon-touch-selector.h: Add the new API.
7582 * src/hildon-picker-dialog.c: (requires_done_button): Call
7583 hildon_touch_selector_has_multiple_selection() instead of
7584 determining the need for a button itself.
7586 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7588 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7589 (_hildon_touch_selector_set_model),
7590 (hildon_touch_selector_set_model): Move working code to
7591 _hildon_touch_selector_set_mode(). Call the class method instead.
7593 * src/hildon-touch-selector.h: Add (*set_model) to
7594 HildonTouchSelectorClass.
7596 Make hildon_touch_selector_set_model() a virtual method, so that
7597 derived classes can extend it and do fancy stuff with the model.
7599 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7601 * configure.ac: Set back the tarname in AC_INIT to hildon.
7603 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7607 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7608 instead of libesd (NB#86876). Volume handling is still an open issue.
7610 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7613 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7615 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7616 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7617 derived class to ease placement of an entry widget in
7618 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7619 end, where the selector columns are packed now.
7621 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7623 * src/hildon-picker-button.c: Removed the simple _text() API.
7624 * src/hildon-picker-button.h: Likewise.
7626 * src/hildon-touch-selector.h:
7627 * src/hildon-touch-selector.c:
7628 (hildon_touch_selector_new_text),
7629 (hildon_touch_selector_append_text),
7630 (hildon_touch_selector_prepend_text),
7631 (hildon_touch_selector_insert_text):
7633 Moved the simple _text() API from HildonPickerButton to
7634 HildonTouchPicker, to provide better escalability and not to tie
7635 that API to HildonPickerButton.
7637 * examples/hildon-picker-button-example.c: (main): Example updated.
7639 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7641 * src/hildon-button.c: Updated documentation.
7643 * examples/hildon-button-example.c: Add the posibility to create
7644 the buttons using horizontal layout for title and value.
7646 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7648 * src/hildon-app-menu-private.h
7649 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7650 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7651 GtkSizeGroup for the filters, use the 'homogeneous' property of
7654 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7656 * examples/hildon-button-example.c: Updated example.
7658 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7660 * doc/hildon-docs.sgml:
7663 Update documentation.
7665 * examples/Makefile.am: Update renamed examples.
7667 * examples/hildon-picker-button-multicolumn-example.c:
7668 (create_touch_selector), (main): Update after the rename.
7670 * examples/hildon-touch-picker-example.c: Removed.
7671 * examples/hildon-touch-selector-example.c: (value_changed),
7672 (create_selector), (get_visible_content), (main): Renamed from
7673 hildon-touch-picker-example.c
7675 * src/Makefile.am: Updated renamed files.
7677 * src/hildon-date-button.c: (hildon_date_button_init),
7678 (hildon_date_button_get_date), (hildon_date_button_set_date):
7679 * src/hildon-date-selector.c: (hildon_date_selector_init),
7680 (_custom_print_func), (_update_day_model),
7681 (_manage_selector_change_cb),
7682 (hildon_date_selector_select_current_date),
7683 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7684 * src/hildon-date-selector.h:
7685 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7686 (hildon_picker_button_set_property),
7687 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7688 (hildon_picker_button_init), (hildon_picker_button_new_text),
7689 (hildon_picker_button_append_text),
7690 (hildon_picker_button_prepend_text),
7691 (hildon_picker_button_insert_text),
7692 (hildon_picker_button_set_selector),
7693 (hildon_picker_button_get_selector):
7694 * src/hildon-picker-button.h:
7695 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7696 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7697 (_update_title_on_selector_changed_cb), (requires_done_button),
7698 (_hildon_picker_dialog_set_selector),
7699 (hildon_picker_dialog_set_selector),
7700 (hildon_picker_dialog_get_selector):
7701 * src/hildon-picker-dialog.h:
7702 * src/hildon-time-button.c: (hildon_time_button_init),
7703 (hildon_time_button_get_time), (hildon_time_button_set_time):
7704 * src/hildon-time-selector.c: (hildon_time_selector_init),
7705 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7706 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7707 * src/hildon-time-selector.h:
7710 Massive code updates after the rename.
7712 * src/hildon-touch-picker.c: Removed.
7713 * src/hildon-touch-picker.h: Removed.
7715 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7716 (hildon_touch_selector_init), (hildon_touch_selector_map),
7717 (hildon_touch_selector_remove), (_default_print_func),
7718 (_selection_changed_cb), (_create_new_column),
7719 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7720 (hildon_touch_selector_append_text_column),
7721 (hildon_touch_selector_remove_column),
7722 (hildon_touch_selector_set_column_attributes),
7723 (hildon_touch_selector_insert_column),
7724 (hildon_touch_selector_get_num_columns),
7725 (hildon_touch_selector_get_column_selection_mode),
7726 (hildon_touch_selector_set_column_selection_mode),
7727 (hildon_touch_selector_set_print_func),
7728 (hildon_touch_selector_get_print_func),
7729 (hildon_touch_selector_get_active_iter),
7730 (hildon_touch_selector_set_active_iter),
7731 (hildon_touch_selector_get_selected_rows),
7732 (hildon_touch_selector_get_model),
7733 (hildon_touch_selector_set_model),
7734 (hildon_touch_selector_get_current_text),
7735 (_hildon_touch_selector_center_on_selected_items):
7736 * src/hildon-touch-selector.h: Renamed from
7737 hildon-touch-picker.[ch]
7739 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7740 references, code examples, and related documentation.
7742 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7744 * doc/hildon-docs.sgml
7747 * src/hildon-toggle-button.c
7748 * src/hildon-toggle-button.h
7749 * src/hildon.h: New HildonToggleButton widget.
7751 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7753 * src/hildon-button.c: Add API documentation.
7754 (hildon_button_set_size_groups): Check input parameters
7756 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7758 * src/hildon-pannable-area.c
7759 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7760 effect after reaching the movement thredshold. This way we start
7761 using the distance after passing the thredshold.
7763 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7765 * src/hildon-button.c: (hildon_button_set_property): Use the
7766 appropriate g_value_get_flags() method.
7768 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7770 * doc/hildon-docs.sgml:
7773 Add the touch pickers, picker dialogs, and picker button widgets
7774 to the documentation.
7776 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7778 * src/hildon-button.c: (hildon_button_set_property),
7779 (hildon_button_class_init): Make "arrangement-flags" a proper
7780 G_TYPE_FLAGS derived property.
7782 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7784 * examples/Makefile.am: Add below examples.
7785 * examples/hildon-date-button-example.c:
7786 * examples/hildon-picker-button-example.c:
7787 * examples/hildon-picker-button-multicolumn-example.c:
7788 * examples/hildon-time-button-example.c:
7789 * examples/hildon-touch-picker-example.c:
7791 Add examples for the recently added touch pickers,
7792 picker dialogs, and picker button widgets.
7794 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7796 * src/hildon-button.c: Add some API documentation
7798 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7800 * src/hildon-button.h
7801 * src/hildon-button.c
7803 (hildon_button_new_with_text): New constructor to create a button
7804 with no text at all.
7805 (hildon_button_init, hildon_button_set_arrangement)
7806 (hildon_button_set_title, hildon_button_set_value)
7807 (hildon_button_set_text)
7808 (hildon_button_construct_child): Hide the value when it's not used
7809 so the rest of the text is properly aligned.
7810 Allow creating buttons with arbitrary widgets inside (not just
7811 title/value labels).
7813 * examples/hildon-button-example.c (vertical_buttons_window)
7814 (horizontal_buttons_window): Update example to use new API.
7816 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7818 * src/Makefile.am: Added HildonTimeButton.
7819 * src/hildon-time-button.c: Added missing LGPL header.
7820 * src/hildon-time-button.h: Added missing LGPL header.
7821 * src/hildon.h: Add hildon-time-button.h
7823 Copied HildonTimeButton from sandbox to trunk. Future work on this
7824 widget must take place in trunk.
7826 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7828 * src/Makefile.am: Added HildonDateButton.
7829 * src/hildon-date-button.c: Update includes.
7830 * src/hildon.h: Add hildon-date-button.h
7832 Copied HildonDateButton from sandbox to trunk. Future work on this
7833 widget must take place in trunk.
7835 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7837 * src/Makefile.am: Added HildonPickerButton.
7838 * src/hildon-picker-button.h: Update includes.
7839 * src/hildon.h: Add hildon-picker-button.h
7841 Copied HildonPickerButton from sandbox to trunk. Future work on
7842 this widget must take place in trunk.
7844 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7846 * src/Makefile.am: Added HildonPickerDialog.
7847 * src/hildon-picker-dialog.c: Update includes.
7848 * src/hildon.h: Add hildon-picker-dialog.h
7850 Copied HildonPickerDialog from sandbox to trunk. Future work
7851 on this widget must take place in trunk.
7853 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7855 * src/Makefile.am: Added HildonTimeSelector.
7856 * src/hildon.h: Add hildon-time-selector.h
7858 Copied HildonTimeSelector widget from sandbox to trunk. Future
7859 work on this widget must happen in trunk.
7861 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7863 * src/Makefile.am: Added HildonDateSelector.
7864 * src/hildon.h: Add hildon-date-selector.h
7866 Copied HildonDateSelector widget from sandbox to trunk. Future
7867 work on this widget must happen in trunk.
7869 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7871 * src/Makefile.am: Added HildonTouchPicker.
7872 * src/hildon-touch-picker.c: Update includes.
7873 * src/hildon.h: Add hildon-touch-picker.h
7875 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7876 on this widget must happen in trunk.
7878 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7880 * src/hildon-pannable-area.c:
7881 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7883 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7885 * examples/hildon-app-menu-example.c (main): Let the window
7888 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7890 * src/hildon-pannable-area.c
7891 (hildon_pannable_area_class_init): Set the min value of the
7892 overshoot properties to zero, which points out that not
7893 overshooting allowed.
7895 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7897 Modified the procedure to get the widget at a point inside the
7898 pannable area when using the movement type signals. Now the user
7899 has to call a function to get the child, that way we just
7900 calculate the child in case the user really want to use it and not
7903 * src/hildon-marshalers.list: Modified the marshallers, now we do
7904 not have the widget as a parameter.
7906 * src/hildon-pannable-area.c
7907 (hildon_pannable_area_motion_notify_cb),
7908 (hildon_pannable_area_class_init),
7909 (hildon_pannable_get_child_widget_at): Removed the widget
7910 parameter from the signal callback. We have also refactored the
7911 emission of the signals.
7913 * src/hildon-pannable-area.h: Added a new method to the API to
7914 calculate a widget at a point inside the pannable area,
7915 hildon_pannable_get_child_widget_at.
7917 * examples/hildon-pannable-area-example-4.c
7918 (horizontal_movement): Modified the example to use the new API,
7919 added condition to control which widget is under the event. This
7920 way we can avoid scrolling laterally over other widgets.
7922 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7924 * src/hildon-pannable-area.c
7925 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7926 modes, we stop getting the pointer events due to returning the
7927 callback without properly calling the get pointer again. Fixed
7928 also an error using the hscroll and vscroll.
7930 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7932 * src/hildon-app-menu-private.h
7933 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7934 (hildon_app_menu_button_release, hildon_app_menu_init)
7935 (hildon_app_menu_class_init): Don't hide the menu on button
7936 release if the user didn't press outside first.
7938 * src/hildon-window.h
7939 * src/hildon-window.c (hildon_window_toggle_menu)
7940 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7941 hildon_window_toggle_menu a virtual function for the stackable
7942 window to override it.
7944 * src/hildon-stackable-window.h
7945 * src/hildon-stackable-window-private.h
7946 * src/hildon-stackable-window.c
7947 (hildon_stackable_window_realize)
7948 (hildon_stackable_window_finalize)
7949 (hildon_stackable_window_class_init)
7950 (hildon_stackable_window_init)
7951 (hildon_stackable_window_set_main_menu): New function to set the
7952 app menu of a HildonStackableWindow.
7954 * examples/hildon-app-menu-example.c: Remove the button to show
7955 the app menu, now it'll be shown when clicking on the title bar
7958 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7960 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7961 set the widget name if the arrangement flags do not specify
7964 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7966 * src/hildon-button.c: (hildon_button_set_property),
7967 (hildon_button_class_init), (hildon_button_new_full),
7968 (hildon_button_set_arrangement): Added "arrangement-flags"
7971 Make the HildonButtonFlags a construction-only property, to allow
7972 subclasses to set them properly.
7974 2008-07-21 Tim Janik <timj@imendio.com>
7976 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7977 insertion position after backspace, so additional digits are appended,
7980 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7982 * src/hildon-pannable-area.c,
7983 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7984 TODO list, it was complete and removed the g_debug and g_print
7987 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7989 Added the movement modes to the hildon-pannable-area, with this
7990 modes the developers can control in which directions the widget
7991 can scroll. They can also connect to signals in order to do
7992 something when that happens, allowing applications scroll. There
7993 is an example uploaded showing how to use it.
7995 * examples/Makefile.am:
7996 * examples/hildon-pannable-area-example-4.c: Added this example of
7997 an application using the modes.
7999 * src/hildon-marshalers.list: Added a new marshaller for the new
8002 * src/hildon-pannable-area.h: Added new enumerations and flags in
8003 order to control the movement modes and the new signals to warn
8004 about the movements in the area.
8006 * src/hildon-pannable-area.c:
8007 (hildon_pannable_axis_scroll),
8008 (hildon_pannable_area_scroll),
8009 (hildon_pannable_area_motion_notify_cb),
8010 (hildon_pannable_area_get_property),
8011 (hildon_pannable_area_set_property),
8012 (hildon_pannable_area_map),
8013 (hildon_pannable_area_class_init),
8014 (hildon_pannable_area_init),
8015 (hildon_pannable_area_jump_to): Added the modes to control the
8016 movement in the widget. We have added properties to control it,
8017 signals to warn about the movements and refactored some code.
8019 2008-07-15 Alejandro G. Castro <alex@igalia.com>
8021 Changes required in order to allow vfast_factor set to zero to
8024 * src/hildon-pannable-area.c:
8025 (hildon_pannable_area_button_press_cb): Changed the condition, it
8026 is required for not allowing click when vfast_factor is zero.
8027 (hildon_pannable_area_timeout): Initialized velocity variables
8028 when we stop moving, it was less than 1 but not zero and we need
8029 to check zero in some situations.
8030 (hildon_pannable_area_class_init): Changed the default value of
8031 the speed factor, now the button_press is just sent in case the
8032 speed is 2 per cent of the max speed.
8033 (hildon_pannable_area_init): Initialization with 0.
8035 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8037 * src/hildon-pannable-area.c,
8038 (hildon_pannable_area_get_topmost): replaced
8039 gdk_window_get_children with gdk_window_peek_children, this way we
8040 do not have to free the list because it is not a copy.
8042 (hildon_pannable_axis_scroll),
8043 (hildon_pannable_area_scroll),
8044 (hildon_pannable_area_timeout),
8045 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8046 two parameters that were only used inside the
8047 hildon_pannable_area_scroll function.
8049 * examples/hildon-pannable-area-example.c,
8050 (get_sawtooth_label): Fixed small memory leak.
8052 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8054 More checks for the case where the overshoot is bigger than the
8057 * src/hildon-pannable-area.c:
8058 (hildon_pannable_draw_vscroll),
8059 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8060 to draw the slider of the scrollbar under the other scrollbar.
8061 (hildon_pannable_area_expose_event): added new checks to control
8062 the drawing of the overshooting area rectangle, in case it is too
8063 big for the area of the widget.
8064 (hildon_pannable_area_size_allocate): add more checks to avoid
8065 setting a position to the child widget outside the area.
8067 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8069 * src/hildon-pannable-area.c
8070 (hildon_pannable_area_size_allocate): Added conditions to control
8071 when overshooting is bigger than the allocated space for the
8072 children, this avoids negative allocations.
8074 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8076 * doc/hildon-docs.sgml
8078 * examples/Makefile.am
8079 * examples/hildon-button-example.c
8081 * src/hildon-button.c
8082 * src/hildon-button.h
8083 * src/hildon.h: Initial version of the new HildonButton widget,
8086 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8088 * src/hildon-pannable-area.c:
8089 (hildon_pannable_area_button_press_cb),
8090 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8091 (hildon_pannable_area_motion_notify_cb),
8092 (hildon_pannable_area_button_release_cb),
8093 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8094 (hildon_pannable_area_jump_to_child):
8096 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8098 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8100 * examples/Makefile.am
8101 * examples/hildon-pannable-area-touch-grid-example.c
8102 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8103 the Hildon Touch List and Hildon Touch Grid using the
8104 HildonPannableArea widget.
8106 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8108 * src/hildon-pannable-area.c,
8109 (hildon_pannable_area_button_press_cb),
8110 (hildon_pannable_area_refresh),
8111 (hildon_pannable_area_scroll),
8112 (hildon_pannable_area_motion_notify_cb),
8113 (hildon_pannable_area_button_release_cb),
8114 (hildon_pannable_area_expose_event),
8115 (hildon_pannable_area_add),
8116 (hildon_pannable_area_remove),
8117 (hildon_pannable_area_realize),
8118 (hildon_pannable_area_size_allocate),
8119 (hildon_pannable_area_class_init),
8120 (hildon_pannable_area_init),
8121 (hildon_pannable_area_scroll_to_child),
8122 (hildon_pannable_area_jump_to_child): Fixed the problem of
8123 removing the child from the GtkBin, we have rearranged the widget
8124 hierarchy, now there is no GtkAlignment which was not doing
8125 anything interesting but breaking some of the assumptions of
8126 GtkContainer. Now developers if they want to add a GtkAlignment
8127 they could, but it is not inside the area.
8129 We had to review the whole allocation/expose process, now it is
8130 improved and we save at least three signals which would be saving
8131 some time when rendering the widget. The allocation of the
8132 scrollbars is now made in the allocate method as usual.
8134 We have also added some conditions in order to control when there
8135 is no child of the pannable area. Maybe we will need more work
8138 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8140 * src/hildon-pannable-area.c,
8141 (hildon_pannable_area_dispose): Released the fade-out timeout when
8142 disposing the widget.
8144 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8146 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8147 zero, we are going to use that property in order to deactivate the
8149 (hildon_pannable_axis_scroll),
8150 (hildon_pannable_area_size_allocate): Added conditions to control
8151 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8152 call, now it is called in all situations and we can remove calls
8153 in the allocate method.
8154 (hildon_pannable_area_map): Control the situation when
8155 overshoot_max is zero, we do not need the timeout.
8156 (hildon_pannable_area_class_init): Added documentation in order to
8157 point out that setting zero to overshoot_max means deactivate
8160 NOTE: removed trailing whitespaces from my previous comments of
8163 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8165 * src/hildon-pannable-area.c
8166 (hildon_pannable_area_get_property),
8167 (hildon_pannable_area_set_property),
8168 (hildon_pannable_area_map),
8169 (hildon_pannable_area_class_init),
8170 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8171 to cause the widget give a hint about its panning abilities upon
8174 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8176 * src/hildon-pannable-area.c: Several documentation improvements.
8178 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8180 * src/hildon-program.c
8181 * src/hildon-stackable-window.c: Update documentation.
8183 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8185 * src/hildon-stackable-window.c (get_previous_window_if_last):
8186 Renamed get_last_window()
8187 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8188 (hildon_stackable_window_unset_program):
8190 (get_previous_window_if_last):
8191 Detect if the window hasn't been added to a HildonProgram.
8193 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8195 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8197 * src/hildon-pannable-area.c
8198 (hildon_pannable_area_button_press_cb),
8199 (hildon_pannable_axis_scroll),
8200 (hildon_pannable_area_scroll),
8201 (hildon_pannable_area_timeout),
8202 (hildon_pannable_calculate_vel_factor),
8203 (hildon_pannable_area_get_property),
8204 (hildon_pannable_area_set_property),
8205 (hildon_pannable_area_class_init),
8206 (hildon_pannable_area_init),
8207 (hildon_pannable_area_scroll_to),
8208 (hildon_pannable_area_jump_to),
8209 (hildon_pannable_area_scroll_to_child),
8210 (hildon_pannable_area_jump_to_child):
8211 * src/hildon-pannable-area.h: Added the new API functions:
8212 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8213 hildon_pannable_area_scroll_to_child,
8214 hildon_pannable_area_jump_to_child
8217 * examples/Makefile.am
8218 * examples/hildon-pannable-area-example-2.c
8219 * examples/hildon-pannable-area-example-3.c: Added these two new
8220 examples in order to test and show how the new APIs work.
8222 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8224 * examples/hildon-stackable-window-example.c (new_window):
8225 * src/Makefile.am (noinst_HEADERS):
8226 * src/hildon-program.c (hildon_program_go_to_root_window):
8227 * src/hildon-program.h:
8228 * src/hildon-stackable-window-private.h:
8229 * src/hildon-stackable-window.c:
8230 * src/hildon-stackable-window.h:
8231 Create hildon-stackable-window-private.h
8232 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8234 * examples/hildon-app-menu-example.c (create_menu):
8235 * examples/hildon-hvolumebar-insensitive-example.c (main):
8236 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8237 * examples/hildon-toolbar-seekbar-example.c (main):
8238 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8239 * src/hildon-banner.c (hildon_banner_set_property):
8240 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8241 Fix compilation warnings
8243 * src/hildon-window.c:
8246 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8248 * src/hildon-stackable-window.c
8249 (hildon_stackable_window_unset_program):
8250 Calculate correctly whether to show the previous window if the
8251 last one is removed from the stack.
8252 (hildon_stackable_window_go_to_root_window):
8253 Send delete events starting from the topmost window.
8254 Stop if one of the windows is not destroyed.
8256 (hildon_stackable_window_delete_event)
8257 (hildon_stackable_window_class_init):
8258 Ignore the delete event if the window is not the topmost one.
8260 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8262 * src/hildon-pannable-area.c
8263 (hildon_pannable_area_expose_event): Fixed a problem when
8264 selecting the background color of the scrollbars.
8266 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8268 * examples/hildon-stackable-window-example.c
8269 * src/hildon-stackable-window.c
8270 * src/hildon-stackable-window.h
8271 hildon_stackable_window_go_home() renamed to
8272 hildon_stackable_window_go_to_root_window()
8273 Send delete events to windows rather than closing them with
8274 gtk_widget_destroy()
8276 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8278 * src/hildon-pannable-area.c
8279 (hildon_pannable_area_button_release_cb): Fix overshooting in
8282 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8284 * src/hildon-pannable-area.c
8285 (hildon_pannable_area_init): Initially show the scroll indicators.
8286 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8288 Add initial effect showing the widget is pannable.
8290 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8292 * src/hildon-pannable-area.c
8293 (hildon_pannable_area_class_init)
8294 (hildon_pannable_area_set_property)
8295 (hildon_pannable_area_get_property)
8296 (hildon_pannable_area_button_press_cb):
8297 New 'velocity_fast_factor' property to decide which velocity is
8300 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8302 * src/hildon-pannable-area.c
8303 (hildon_pannable_draw_hscroll)
8304 (hildon_pannable_draw_vscroll):
8305 Use float variables to calculate the size of the scrollbars to
8306 avoid error propagation and resizing during scrolling.
8308 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8310 * src/hildon-pannable-area.c
8311 (hildon_pannable_draw_vscroll)
8312 (hildon_pannable_draw_hscroll):
8313 Define a minimum size for the scroll bars
8315 * src/hildon-stackable-window.c
8316 (hildon_stackable_window_go_home): Fix compilation warning
8317 (get_last_window): Minor optimizations
8318 (hildon_stackable_window_class_init): Fix initialization of
8321 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8323 * src/hildon-stackable-window.c: Fixed typos in doc
8325 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8327 * src/hildon-pannable-area.c
8328 (hildon_pannable_area_scroll):
8329 Calculate here whether we need to scroll instead of using the booleans
8330 that tell us whether to /draw/ the scrolling bars.
8332 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8334 * src/hildon-app-menu.h
8336 * src/hildon-app-menu.c
8337 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8338 multiple filter groups related code and API. Now we support only
8340 * examples/hildon-app-menu-example.c:
8342 Update to reflect API changes.
8344 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8346 * src/hildon-stackable-window.c
8347 (hildon_stackable_window_class_init):
8348 Add hildon_stackable_window_realize.
8349 (hildon_stackable_window_realize):
8350 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8351 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8352 to apply theming and behavior specific to HildonStackableWindow
8355 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8357 * src/hildon-note.c (hildon_note_button_release):
8358 Close information notes also when tapping on them
8360 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8362 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8363 ELASTICITY, refactor and review, fix some issues with drawing
8366 * src/hildon-pannable-area.c:
8367 (hildon_pannable_area_button_press_cb): removed the conditions to
8368 avoid clicks when overshooting. It is not required
8370 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8371 define. Refatored and reviewed the code, now we do not need to
8372 manage velocity in motion_notify.
8374 (hildon_pannable_area_motion_notify_cb): We have moved the code
8375 that controls the area_scroll to the axis_scroll function and get
8376 rid of duplicated code.
8378 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8380 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8382 (hildon_pannable_draw_vscroll),
8383 (hildon_pannable_draw_hscroll): Fixed the problems with the
8384 scrollbar drawing, now we do not use two surfaces, it is easier
8385 and saves resources.
8387 (hildon_pannable_area_get_property): Style modification.
8389 (hildon_pannable_area_class_init): Changed some default values.
8391 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8393 * src/hildon-stackable-window.c: Fix some typos in the
8396 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8398 * src/hildon-dialog.c:
8399 Change indentation style
8402 (hildon_note_button_release):
8403 Use root coordinates to check if the release event happened
8406 * src/hildon-app-menu.c
8407 (hildon_app_menu_button_release):
8408 Remove unnecessary check
8410 * examples/hildon-app-menu-example.c
8412 Add cast to fix warning
8414 * src/hildon-app-menu.c
8415 (hildon_app_menu_class_init):
8416 New inner-border style property.
8417 Set all default spacings to 16
8418 (hildon_app_menu_init):
8419 Use vertical-spacing to set the space between filter buttons and
8420 regular menu buttons.
8421 Set the default container border using the inner-border value.
8423 * examples/hildon-app-menu-example.c
8425 Don't set the menu border explicitly, now we have the inner-border
8426 style property for that.
8428 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8430 * src/hildon-app-menu.c (hildon_app_menu_init):
8431 Make the window modal
8433 * src/hildon-note.c (hildon_note_map)
8434 * src/hildon-app-menu.c (hildon_app_menu_map):
8435 Destroy the grab window if we're unable to grab the pointer
8437 * src/hildon-app-menu-private.h
8438 * src/hildon-app-menu.c
8439 (hildon_app_menu_init, hildon_app_menu_finalize)
8440 (hildon_app_menu_map, hildon_app_menu_unmap)
8441 (hildon_app_menu_button_release)
8442 (grab_transfer_window_get):
8443 Bring back the grab window
8444 (hildon_app_menu_realize):
8445 Decorate the window, set WM hint for Matchbox
8447 * src/hildon-note.c (hildon_note_realize):
8448 * src/hildon-banner.c (hildon_banner_realize):
8449 Add WM hints for Matchbox
8451 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8453 * src/hildon-app-menu-private.h
8454 * src/hildon-app-menu.c
8455 (hildon_app_menu_init, hildon_app_menu_finalize)
8456 (hildon_app_menu_map, hildon_app_menu_unmap)
8457 (hildon_app_menu_button_release):
8458 Remove the grab window, it's not needed anymore
8460 * src/hildon-program.c
8461 Fixed typo in documentation
8463 * src/hildon-app-menu.h
8464 * src/hildon-app-menu.c
8465 * examples/hildon-app-menu-example.c
8466 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8468 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8471 Added new transfer_window and close_if_pressed_outside private
8473 (hildon_note_rebuild):
8474 Don't add a cancel button to the information note. It will be
8475 closed when tapping outside
8476 Remove the comment about the OK button in the documentation
8477 (hildon_note_realize):
8478 Set the notification type hint
8479 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8480 Grab/ungrab pointer and keyboard if the note has to be closed when
8482 (hildon_note_button_release):
8483 Close the note when tapping outside (if applicable)
8485 * src/hildon-app-menu.c
8486 Grab/ungrab pointer and keyboard on map/unmap
8487 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8488 Close the menu on button release, not button press
8490 * src/hildon-banner.c
8491 (hildon_banner_set_property)
8492 (hildon_banner_check_position):
8493 Make the banner use the full width of the screen
8494 (hildon_banner_show_information)
8495 (hildon_banner_show_information_with_markup):
8496 Don't display an icon by default
8498 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8500 Added fading scrollbars and adapted all the overshooting code to
8501 horizontal scrolling. We have also fixed bugs with overshooting
8502 and current fading implementation.
8504 * src/hildon-pannable-area.c
8505 (hildon_pannable_area_scroll_indicator_fade): Time out function
8506 used to change the transparency of the scrollbars.
8508 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8509 control and fixed a problem with fading, we now remove the fade
8510 timeout before adding a new one.
8512 (hildon_pannable_axis_scroll):
8513 (hildon_pannable_area_scroll):
8514 (hildon_pannable_area_timeout): Added this functions so we can use
8515 the scroll code both for vertical and horizontal.
8517 (hildon_pannable_area_motion_notify_cb):
8518 (hildon_pannable_area_button_release_cb): Added the horizontal
8519 scrolling control, fixed a problem with the overshooting timeout.
8521 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8522 painting of the scrolls.
8524 (hildon_pannable_draw_vscroll):
8525 (hildon_pannable_draw_hscroll):
8526 (hildon_pannable_area_expose_event):
8527 Draw both scrollbars and rectangles in the overshooting area.
8529 (hildon_pannable_area_get_property):
8530 (hildon_pannable_area_set_property):
8531 Modified the overshoot property to overshoot_max
8533 (hildon_pannable_area_map):
8534 Replaced the comments symbols.
8536 (hildon_pannable_area_size_allocate):
8537 (hildon_pannable_area_class_init):
8538 (hildon_pannable_area_init): Added horizontal scroll, fading
8539 effect properties, fixed a problem when overshooting in the bottom
8542 * examples/hildon-pannable-area-example.c:
8543 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8544 looks better in the example.
8546 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8548 * src/hildon-window.c
8549 * src/hildon-window.h
8550 (hildon_window_class_init)
8551 (hildon_window_unset_program)
8552 (hildon_window_unset_program_real):
8553 Make unset_program a virtual function
8555 * src/hildon-stackable-window.c
8556 * src/hildon-stackable-window.h
8557 Added hildon_stackable_window_go_home()
8559 * examples/Makefile.am
8560 * examples/hildon-stackable-window-example.c
8561 HildonStackableWindow example
8563 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8565 * hildon-pannable-area.c: Added the overshoot property and removed
8566 the OVERSHOOT define. Fixed an indent style error.
8567 (hildon_pannable_area_motion_notify_cb):
8568 (hildon_pannable_area_get_property):
8569 (hildon_pannable_area_set_property): Add overshoot property.
8571 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8574 (hildon_pannable_area_class_init): Installed the new property.
8576 * hildon-pannable-area-example.c: Added a sawtooth function, this
8577 way it is easier to check the movement in the pannable.
8578 (get_sawtooth_label): Added this function.
8579 (main): Now we get the labels from the new get_sawtooth_label
8582 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8584 * src/hildon-app-menu.h
8585 * src/hildon-app-menu.c
8586 Renamed API variables for consistency
8588 (hildon_app_menu_popup): Use also the default window size to
8589 decide where to place the menu
8591 (hildon_app_menu_init, hildon_app_menu_class_init): New
8592 external-border style property
8594 2008-05-26 Michael Natterer <mitch@imendio.com>
8596 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8597 widget_class->tap_and_hold_setup signal slot doesn't exist any
8598 longer, stop overriding it.
8600 (hildon_time_editor_init): g_signal_connect() to the
8601 tap-and-hold-setup signal instead.
8603 (hildon_time_editor_entry_keypress): add cast to fix warning.
8605 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8607 * doc/hildon-docs.sgml
8609 * examples/Makefile.am
8610 * examples/hildon-app-menu-example.c
8612 * src/hildon-app-menu-private.h
8613 * src/hildon-app-menu.c
8614 * src/hildon-app-menu.h
8616 New HildonAppMenu widget
8618 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8620 Rearranged the inheritance of the pannable area, now it inherits
8621 from GtkBin. This will allow us to control the event_window and
8622 the allocation process of the widget, required for some effects.
8624 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8625 GtkBin structures. * src/hildon-pannable-area.c: Added the
8626 event_window variable.
8627 (hildon_pannable_area_button_press_cb):
8628 (hildon_pannable_area_button_release_cb):
8629 (hildon_pannable_area_motion_notify_cb):
8630 Changed the signature of the method, now we override the event
8631 callback instead of connecting to the signal.
8633 (hildon_pannable_area_realize):
8634 (hildon_pannable_area_unrealize):
8635 (hildon_pannable_area_map):
8636 (hildon_pannable_area_unmap):
8637 (hildon_pannable_area_size_allocate):
8638 Added functions to control the widget construction. We add a
8639 INPUT_ONLY window and we put it over the widgets inside the
8640 container, this event_window handles the events.
8642 (hildon_pannable_area_class_init):
8643 Replaced the signal connections with overrides of the event
8646 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8648 Bouncing effect added when touching the borders, you can change
8649 the elasticity of the border changing the ELASTICITY define.
8651 * src/hildon-pannable-area.c: Added ELASTICITY define.
8652 (hildon_pannable_area_timeout): Added inverse velocity when
8653 touching the border of the child widget, that causes a bounce.
8655 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8657 Improved performance, we now do not go to the X server in order to
8658 get the list of window children. Apparently the effect is the
8659 same, we have to be careful and check if this breaks something in
8662 * src/hildon-pannable-area.c:
8663 (get_ordered_children): Removed this function.
8664 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8665 the children windows function with gdk_window_get_children.
8667 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8669 * src/hildon-pannable-area.c:
8670 (hildon_pannable_area_dispose): Fixed a crash when closing the
8671 window and kinetics is activated.
8673 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8675 * src/hildon-pannable-area.h
8676 * src/hildon-pannable-area.c
8677 Changed indentation style to meet the one used in Hildon
8679 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8681 Reviewed the interaction of the AUTO mode, now we use the time
8682 attribute of the events and calculate the velocity in the motion,
8683 doing a gimp like calculation. The velocity is calculated in each
8684 motion event using the last velocity and the current one, the
8685 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8687 * src/hildon-pannable-area.c: Replaced the time based algorithm
8689 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8690 timeout for the AUTO mode when we are still moving the cursor. We
8691 added also the velocity calculation in this function.
8692 (hildon_pannable_area_button_release_cb): launch the timeout in
8693 case we are in AUTO mode. There are still some constants here that
8694 come from the old implementation that should be reviewed and
8697 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8699 * doc/hildon-docs.sgml
8702 * src/hildon-stackable-window.c
8703 * src/hildon-stackable-window.h
8705 New HildonStackableWindow widget
8707 * examples/hildon-dialog-example.c
8708 * examples/hildon-pannable-area-example.c
8711 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8713 * src/hildon-dialog.c
8714 (hildon_dialog_new_with_buttons): New constructor.
8716 * examples/hildon-dialog-example.c
8717 (main): Update the example to use the new
8718 hildon_dialog_new_with_buttons().
8720 * examples/hildon-pannable-area-example.c
8721 (main): Update example.
8723 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8725 * doc/hildon-docs.sgml
8727 Added HildonPannableArea to the documentation.
8729 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8731 * doc/visual_index.xml
8732 Fix reference to HildonLoginDialog in documentation
8734 * doc/hildon-docs.sgml
8736 * examples/Makefile.am
8737 * examples/hildon-dialog-example.c
8739 * src/hildon-dialog.c
8740 * src/hildon-dialog.h
8742 New HildonDialog widget.
8744 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8746 * src/hildon-pannable-area.c
8747 Merge latest changes (r4318, r4342) from libmokoui trunk
8749 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8751 * examples/Makefile.am
8752 * examples/hildon-pannable-area-example.c
8754 * src/hildon-pannable-area.c
8755 * src/hildon-pannable-area.h
8757 New HildonPannableArea widget.
8759 2008-04-15 18:05:19 <timj@imendio.com>
8761 * src/hildon-banner.c: revert the recent change, that introduced
8762 gtk_window_present() calls. this reopens:
8763 Bug 78481 - [freetest] information banners are hidden under browser menu
8764 But resolves another variant of:
8765 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8767 2008-04-15 13:21:13 <timj@imendio.com>
8769 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8770 recreated its layout, spotted by Kris. this fixes all remaining
8771 artefacts and stability issues with the banner code. in particular:
8772 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8774 2008-04-14 16:52:59 <timj@imendio.com>
8776 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8777 operating on unrealized widgets, fixes:
8778 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8780 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8782 2008-04-09 Kristian Rietveld <kris@imendio.com>
8784 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8785 makes banner disappear.
8786 Fixes: NB#79182: info banner flickering with certain message lengts.
8788 * src/hildon-banner.c (hildon_banner_constructor),
8789 (hildon_banner_init), (hildon_banner_set_text),
8790 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8791 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8792 FALSE, reset size requests of label and banner,
8793 (force_to_wrap_truncated): when the text is too wide, always enforce
8794 the maximum possible width instead of recalculating it from the
8795 layout; enforce the maximum banner height of 3 lines,
8796 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8797 nicer wrapping and no truncated chars if space gets tight.
8799 * src/hildon-banner-private.h: add has_been_wrapped and
8800 has_been_truncated fields.
8802 2008-04-07 Sven Herzberg <sven@imendio.com>
8804 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8805 local values in hildon_date_editor_size_allocate
8807 * src/hildon-date-editor.c: moved the real allocation code into the
8810 2008-04-07 Sven Herzberg <sven@imendio.com>
8812 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8813 local values in hildon_date_editor_size_allocate
8815 * src/hildon-date-editor.c: merged the two if() branches together
8817 2008-04-07 Sven Herzberg <sven@imendio.com>
8819 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8820 local values in hildon_date_editor_size_allocate
8822 * src/hildon-date-editor.c: changed the arguments of the if()
8825 2008-04-07 Sven Herzberg <sven@imendio.com>
8827 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8828 local values in hildon_date_editor_size_allocate
8830 * src/hildon-date-editor.c: split the calculation of the allocation
8831 from the real allocation
8833 2008-03-27 Michael Natterer <mitch@imendio.com>
8835 Fixes: NB#81696: The passcode is not overwritten even after
8838 * src/hildon-code-dialog.c
8839 (hildon_code_dialog_button_clicked)
8840 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8841 because that doesn't overwrite selected text. Instead, emit the
8842 "commit" signal on the entry's im_context so the entry's normal
8843 insert logic is triggered. Set the cursor to the end of the entry
8844 after each insert operation so that we *only* insert in the middle
8845 of the text if something was selected.
8847 2008-03-27 Michael Natterer <mitch@imendio.com>
8849 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8850 selector cannot be opened
8852 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8853 when the popup color selector is created. Please connect to this
8854 signal in order to set the dialog's help ID.
8856 2008-03-25 Sven Herzberg <sven@imendio.com>
8858 Fixes: MB#1212: Hide info banners (infoprints) on click
8860 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8861 extracted the close event simulation into an extra function
8862 (hildon_banner_button_press_event): simulate a close event and destroy
8863 the widget if the event wasn't handled
8864 (hildon_banner_class_init): added the button_press_event handler
8865 (hildon_banner_init): added button-press events to the widget
8867 2008-03-25 Sven Herzberg <sven@imendio.com>
8869 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8870 Patch from: Mohammad Anwari <mdamt@maemo.org>
8872 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8873 instead of the right in RTL mode
8874 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8875 breadcrumb button list in RTL mode
8876 * src/hildon-caption.c: mirror the appearance of the caption widget in
8878 * src/hildon-date-editor.c: mirror appearance of the date editor in
8880 * src/hildon-time-editor.c: mirror appearance of the time editor in
8882 * src/hildon-window.c: fix the position of the popup in RTL mode
8884 2008-03-25 Sven Herzberg <sven@imendio.com>
8886 Amendment to the fix of NB#22072. Fix compilation.
8888 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8890 2008-03-19 Sven Herzberg <sven@imendio.com>
8892 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8895 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8896 timeout id properly when the timeout will disappear this leaves no
8897 artifacts around in the destroy(); there will only be the timeout
8898 created by hildon_banner_ensure_timeout() and adding a new timeout
8899 will also work if the timeout gets removed because the timeout_handler
8902 2008-03-19 Michael Natterer <mitch@imendio.com>
8904 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8906 * src/hildon-volumebar.c
8907 * src/hildon-vvolumebar.c
8908 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8909 the widget becomes focussable at all.
8911 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8912 set the focus to wither the mute button or the volumebar.
8914 Remove own "can-focus" property and instead listen to
8915 notify::can-focus in order to update the widget's state.
8917 Implement GtkWidget::focus() and make sure we can also *leave* the
8918 widget, not only enter it, depending on volumebar orientation and
8919 requested focus direction.
8921 Clean up set_mute() to cooperate nicely with all the above.
8923 2008-03-04 Michael Natterer <mitch@imendio.com>
8925 Fixes: NB#78481: information banners are hidden under browser menu
8927 * src/hildon-banner.c: call gtk_window_present() on the banners so
8928 they are risen if they are already visible.
8930 2008-03-03 Sven Herzberg <sven@imendio.com>
8932 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8934 * examples/hildon-window-menu-example.c: (main): extended the window
8935 menu example to serve as a testcase for automatically added
8936 accelerator groups, too
8937 * src/hildon-window.c: (hildon_window_add_accel_group),
8938 (hildon_window_set_menu): added patch by Tommi Komulainen
8940 2008-03-03 Sven Herzberg <sven@imendio.com>
8942 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8944 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8945 knowledge about the border allocators used within GTK+
8947 2008-02-26 Sven Herzberg <sven@imendio.com>
8949 Fixes: MB#2981: Build with asserts broken
8951 * src/hildon-date-editor.c,
8952 * src/hildon-number-editor.c,
8953 * src/hildon-time-editor.c,
8954 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8955 the proper GType instance check
8957 2008-02-25 Sven Herzberg <sven@imendio.com>
8959 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8961 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8962 * examples/hildon-window-menu-example.c: (main): explicitly show
8964 * src/hildon-window.c:
8965 (hildon_window_set_main_menu): moved most of the code from set_menu()
8966 to this place; skipped the call to gtk_widget_show_all(); also didn't
8967 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8968 (hildon_window_set_menu): removed most of the code, just keep the
8969 questionable gtk_widget_show_all()
8970 * src/hildon-window.h: added the new function and deprecate the old
8973 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8979 * debian/changelog: Updating.
8981 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8984 * pkgconfig/Makefile.am:
8985 * pkgconfig/hildon.pc.in:
8988 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8989 use newly created API_MAJOR_VERSION.
8991 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8997 * debian/changelog: Updating.
8999 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
9001 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
9003 Add outer_border style property, we use it but don't define it (!).
9007 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
9009 * examples/hildon-bread-crumb-trail-example.c (main):
9013 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
9015 Fix logic for the bread crumb trail node removal.
9019 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9025 * debian/changelog: Updating.
9027 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9029 Patch by Alejandro to get/set passwords dialogs accesibility.
9031 * hildon-1/src/hildon-get-password-dialog.c:
9032 * hildon-1/src/hildon-set-password-dialog.c:
9033 Set atk_set_name to the passwd entries in order to allow
9034 accessibility by name on this entries.
9036 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9041 * debian/control: Updating gtk dep.
9043 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9045 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9046 USE_MAEMO_GTK is enabled.
9048 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9050 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9051 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9053 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9059 * debian/changelog: Updating.
9061 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9063 * examples/Makefile.am:
9064 * examples/hildon-logical-color-example.c:
9065 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9066 applied + adding a test case. Fixes: NB#71660.
9068 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9070 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9071 to be visible, fixes warning on map for windows without toolbars.
9073 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9075 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9076 2.11.0, add a check for that besides the MAEMO_GTK check.
9078 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9084 * debian/changelog: Updating.
9086 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9089 visibility. Fixes: NB#70842 and MB#615.
9091 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9093 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9094 set the separator as no-show-all so it doesn't unintentionally appear when
9095 someone does a show_all.
9097 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9099 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9100 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9101 toplevel item. Fixes: NB#62031
9103 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9105 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9106 fix the name of the function in the docs.
9108 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * debian/changelog: Updating.
9116 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9118 * examples/hildon-banner-long-example.c: Adding a test-case for long
9121 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9123 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * src/hildon-color-chooser-dialog.c:
9126 * src/hildon-color-chooser.c:
9127 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9128 memory leaks in font selector and color selector. Fixes: NB#70499 and
9131 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9133 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9135 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9137 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9138 little bit bigger. Fixes: #NB63694.
9140 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9146 * debian/changelog: Updating.
9148 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9151 * doc/hildon-docs.sgml:
9152 * doc/images/bread-crumb-trail.png:
9153 * doc/images/calendar-popup.png:
9154 * doc/images/caption.png:
9155 * doc/images/code-dialog.png:
9156 * doc/images/color-button.png:
9157 * doc/images/color-chooser-dialog.png:
9158 * doc/images/color-chooser.png:
9159 * doc/images/controlbar.png:
9160 * doc/images/date-editor.png:
9161 * doc/images/font-selection-dialog.png:
9162 * doc/images/get-password-dialog.png:
9163 * doc/images/hvolumebar.png:
9164 * doc/images/login-dialog.png:
9165 * doc/images/note.png:
9166 * doc/images/number-editor.png:
9167 * doc/images/range-editor.png:
9168 * doc/images/seekbar.png:
9169 * doc/images/set-password-dialog.png:
9170 * doc/images/sort-dialog.png:
9171 * doc/images/time-editor.png:
9172 * doc/images/time-picker.png:
9173 * doc/images/vvolumebar.png:
9174 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9175 Adding the bread-crumb-trial and helpers to the documentation.
9177 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9179 * examples/hildon-find-toolbar-example.c:
9180 * src/hildon-find-toolbar.c:
9181 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9182 actually continue firing the other handlers if connected. Adding a new
9184 hildon_find_toolbar_get_last_index that gets the index of the most
9185 recently added (last) item. Fixes: NB#52301.
9187 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9190 behaviour. Fixes: NB#68610.
9192 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9194 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9197 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9199 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9200 when realizing the banner. Should make the infonbanner effect a bit more
9203 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * src/hildon-volumebar.c:
9206 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9207 hildon_volumebar_set_range_insensitive_message and
9208 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9210 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9212 * src/hildon-window.c: Fixing the border freeing on destroy.
9214 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9216 * src/hildon-code-dialog-private.h:
9217 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9218 kw keyboard support in HildonCodeDialog.
9220 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9226 * debian/changelog: Updating.
9228 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9230 * src/hildon-date-editor.c:
9231 * src/hildon-number-editor.c:
9232 * src/hildon-private.c:
9233 * src/hildon-private.h:
9234 * src/hildon-time-editor.c:
9235 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9236 handling in subclassed composite widgets. Fixes: NB#66628.
9238 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9240 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9241 from destroy_ callback as it introduces problems in async dbus signal
9242 handlers. Fixes NB#66673.
9244 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9246 * examples/hildon-hvolumebar-example.c:
9247 * src/hildon-volumebar.c: Improving the focus handling in the
9248 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9249 set_property accessor so that "mute" property can be actually set. I'm
9250 scared that nobody noticed it's totally broken.
9252 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9254 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9257 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9259 * src/hildon-calendar.c:
9260 * src/hildon-number-editor.c:
9261 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9262 matches the spec of 6 chars per second. Fixes: NB#60489.
9264 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9266 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9267 gtk_style_lookup_color sometime returns FALSE even though color was
9268 found and values were filled properly. Weird. Removing the warning for the
9271 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9273 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9274 expand vertically. Adding some extra space to the find toolbar buttons to
9275 make them thumbable. Fixes NB#66060.
9277 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9279 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9280 popup with "Ok" and "Cancel". Fixes NB#59299.
9282 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9284 * src/hildon-calendar.c: Process all window updates before executing next
9285 timeout. Fixes: NB#54146.
9287 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9293 * debian/changelog: Updating.
9295 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9297 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9298 the client event and ignore it, since we use the delete event to close
9301 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9303 * src/hildon-helper.c: Remove the bogus warning about color not being
9304 found. Fixes NB#58352.
9306 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9308 * examples/Makefile.am:
9309 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9310 HildonSeekbar widget inside a toolbar.
9312 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9314 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9315 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9316 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9317 don't want to be closed by non-temporary windows on map.
9319 Also use G_DEFINE_TYPE instead of manually typed code.
9321 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9328 * debian/rules: Updating.
9330 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9332 * examples/Makefile.am:
9333 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9334 bug NB#61128. Strangely it works.
9336 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9338 * src/hildon-date-editor.c: When the date editor entry has been changed
9339 but the numbers of characters < max, turn off the skip validation flag.
9340 Prevents a situation when we enter first a valid year and later re-write
9341 it with an invalid one. Fixes NB#60154.
9343 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9345 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9346 code dialog. Fixes NB#64355.
9348 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9350 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9351 switching the page. Fixes NB#49374.
9353 * examples/Makefile.am:
9354 * examples/hildon-wizard-dialog-example.c: Adding an example for
9355 HildonWizardDialog that shows how to handle manual sensitivity setting on
9358 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9362 * src/hildon-version.h.in:
9363 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9365 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9367 * src/hildon-volumebar.c: Updating the docs.
9369 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9375 * debian/changelog: Updating.
9377 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9379 * src/hildon-find-toolbar.c:
9380 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9381 selected item: hildon_find_toolbar_set_active,
9382 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9383 hildon_find_toolbar_get_active_iter . They correspond to respective
9384 GtkComboBox functions.
9386 * examples/Makefile.am:
9387 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9390 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9392 * examples/Makefile.am:
9393 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9396 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9397 when font size > 32 and we pack a focusable widget inside. Actually using
9398 the default response would work too, but since we don't show default
9399 response state in any way (no theming) it would not be visible to the
9400 user. Fixes NB#63430.
9402 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9404 * src/hildon-date-editor.c: Adding the missing variable setter in the
9405 set_property handler. Fixes NB#54182.
9407 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9409 * src/hildon-window.h: Changing the long key press time from 1500ms to
9410 800ms as requested in NB#63700. I have a bad feeling about this, let's
9411 see... Fixes NB#63700.
9413 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9415 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9416 hildon_time_picker_map, hildon_time_picker_realize,
9417 hildon_time_picker_style_set): Split the contents of map to more
9418 appropriate functions; set window decorations on realize and update
9419 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9421 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9426 * debian/changelog: Updating.
9428 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9430 * src/Makefile.am: fixed installation of the header files
9432 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9438 * debian/changelog: Updating.
9440 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9442 * configure.ac: Removing some remaining of --enable-xan.
9444 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9446 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9447 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9449 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9450 2.10.12-osso6 because the move-focus signal needs to be available in
9453 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9455 * examples/Makefile.am:
9456 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9457 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9458 fine. Prolly NB#61128 is fixed now.
9460 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9462 * src/hildon-volumebar.c:
9463 * src/hildon-volumebar.h: Adding the
9464 hildon_volumebar_set_range_insensitive_message and
9465 hildon_volumebar_set_range_insensitive_messagef functions to set
9466 insensitive message on the slider of the volumebar. Fixes NB#61129.
9468 * examples/Makefile.am:
9469 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9470 test the new insensitive messsage functionality on HildonVolumebar.
9472 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9474 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9477 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9479 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9480 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9481 button on after clearing the trail.
9483 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9485 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9487 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9489 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9490 by splitting the installed headers in generated and non-generated groups. Use
9491 only the non-generated headers to create the hildon-enum-types.h file.
9493 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9495 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9497 * src/hildon-window.c: Hide the window before performing the destroy.
9498 Should make the app closing a little tiny bit more snappy.
9500 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9502 * src/hildon-seekbar.c: add gtkrange.h header
9503 * src/hildon-caption.c: remove unused variable
9505 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9507 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9510 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9516 * debian/changelog: Updating.
9518 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9520 * src/hildon-window.c (hildon_window_window_state_event,
9521 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9522 escape timeout on focus-out-event rather than notify::is-topmost; the
9523 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9525 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9527 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9528 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9530 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9532 * src/hildon-window: actually, you need to use the macro always, there's
9533 no private pointer in the instance structure. We should have cleaned this up
9534 when we had the chance...
9536 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9538 * src/hildon-window.c: do not get the private date from HildonWindow before
9539 it passes the g_return_if_fail check. Once it's passed the test, there's no
9540 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9541 if you are only going to access the data once. Whitespace cleanups.
9543 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9545 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9546 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9548 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9554 * debian/changelog: Updating.
9556 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9558 * src/hildon-window.c: When destroying the window, remove (if exists) the
9559 escape timeout handler. Fixes #NB59276.
9561 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9563 * src/hildon-banner.c: When realizing the widget, set the window
9564 transiency. Setting the transiency in the gobject constructor is not
9565 good, as the widget is not realized at that point. Fixes: #NB56624.
9567 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9569 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9570 Add padding for future expansions.
9572 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9574 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9575 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9576 will fake an activation on the previous to the last item of the trail, so
9577 the effect can be overrided by the developer as usual.
9578 Also change the callback for the back button to do the same thing, so its
9579 effect can be overrided too. Fixes: NB#58982
9581 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9583 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9584 HildonCaption. Fixes NB#52379.
9586 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9588 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9589 the internal state of the trail after the user has had the chance of executing
9590 his handler for the signal. Specifically, it may happen that the activated button
9591 is removed and the user still lets the default handler run. This would segfault
9594 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9596 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9597 scrollbar to the preview dialog. Fixes NB#54147.
9599 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9601 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9602 max/min year properties can be altered, so the client can modify it
9603 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9605 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9607 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9608 hildonlike by default. Fixing a problem with disappearing arrows when
9609 scrolling through months and years. Fixes NB#54127.
9611 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9613 * examples/hildon-date-editor-example.c: Adding error callback to the date
9616 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9622 * configure.ac: Updating.
9624 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9626 * configure.ac: Adding a special '--enable-xan' configure option that
9627 turns off the -Werror compilation setting. Usefull for development.
9629 * src/hildon-calendar.c:
9630 * src/hildon-number-editor.c:
9631 * src/hildon-time-picker.c: Adding the 5* multiplier to
9634 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9636 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9637 instead of g_object_ref + gtk_object_sink.
9639 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9645 * debian/changelog: Updating.
9647 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9649 * src/hildon-color-chooser-dialog.c:
9650 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9651 straight from Tommi labs.
9653 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9655 * examples/hildon-finger-example.c: Correcting the header file path.
9657 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9658 the changed signal. Fixes a small memory leak.
9660 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9664 * src/hildon-banner.c: Importing several usefull fixes from the
9665 ubuntu-mobile branch.
9667 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9669 * examples/Makefile.am:
9670 * examples/hildon-finger-example.c: Adding a finger-checking code
9673 * src/hildon-font-selection-dialog.c: Do not allocate the color
9674 structure using the g_new. Fixes NB#54061.
9676 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9678 * src/hildon-helper.c: Correcting tabs in file.
9680 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9682 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9683 control the visibility of the children.
9685 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9687 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9693 * debian/changelog: Updating.
9695 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9697 * src/hildon-bread-crumb-trail.c:
9698 (hildon_bread_crumb_trail_size_allocate):
9700 Make the back button always a square.
9702 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9704 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9705 from the .c file as it's a private file.
9707 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9709 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9710 uses slightly bigger height.
9712 * src/hildon-font-selection-dialog.c: Adding some checks before
9713 freeing memory in the font selection dialog.
9715 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9717 * src/hildon-font-selection-dialog.c: Adding a small check when
9720 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9721 buttons sensitivity on page switching.
9723 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9725 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9726 internal details of adding a bread crumb to the trail.
9728 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9734 * debian/changelog: Updating.
9736 * src/hildon-bread-crumb-trail.h:
9737 * src/hildon-bread-crumb.h: Changing the API guard to
9738 HILDON_ENABLE_UNSTABLE_API.
9740 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9748 * src/hildon-helper.h: Updating.
9750 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9758 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9762 * src/hildon-helper.h: Small fix to make the package actually compile.
9764 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9766 * src/hildon-bread-crumb-trail.h:
9767 * src/hildon-bread-crumb.h:
9769 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9770 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9772 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9774 * examples/hildon-bread-crumb-trail-example.c:
9776 * src/hildon-bread-crumb-trail.c:
9777 * src/hildon-bread-crumb-trail.h:
9778 * src/hildon-bread-crumb.c:
9779 * src/hildon-bread-crumb.h:
9780 * src/hildon-marshalers.list:
9781 * src/hildon-bread-crumb-widget.c:
9782 * src/hildon-bread-crumb-widget.h:
9784 Slight change in the widget design. The bread crumb trail API is
9785 unchanged, but HildonBreadCrumb is now an interface. A *private*
9786 implementation, hildon-bread-crumb-widget, is provided and used
9787 internally by the trail for the push_text/push_icon functions.
9789 The generic push API is still available, so anyone can implement
9790 and use its own bread crumb widget.
9792 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9794 * debian/rules: Fixing the shlibs.
9796 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9798 * src/hildon-banner.c: Fixing a problem with timed banners having
9799 their parrent destroyed before they are.
9801 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9803 * src/hildon-bread-crumb.c:
9804 * src/hildon-bread-crumb.h:
9806 Make the get_natural_size function a vfunc.
9808 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9810 * src/hildon-bread-crumb.c:
9811 * src/hildon-bread-crumb-trail.c:
9815 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9822 * debian/changelog: Updating for release.
9824 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9826 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9827 don't leak the pango layout.
9829 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9832 * examples/hildon-bread-crumb-trail-example.c:
9836 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9838 * debian/changelog: Removing the bug-fixed entries that were actually
9839 resolved as WONTFIX.
9841 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9844 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9846 * src/hildon-bread-crumb-trail.c:
9847 * src/hildon-bread-crumb-trail.h:
9848 * src/hildon-bread-crumb.c:
9849 * src/hildon-bread-crumb.h:
9853 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9855 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9856 until it's passed the type check.
9858 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9860 * examples/hildon-bread-crumb-trail-example.c
9864 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9866 * examples/Makefile.am
9867 * examples/hildon-bread-crumb-trail-example.c
9869 * src/hildon-bread-crumb-trail.c
9870 * src/hildon-bread-crumb-trail.h
9871 * src/hildon-bread-crumb.c
9872 * src/hildon-bread-crumb.h
9874 New HildonBreadCrumbTrail widget.
9876 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9878 * src/hildon-range-editor.c (hildon_range_editor_init),
9879 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9880 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9881 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9882 hildon_time_editor_class_init, hildon_time_editor_init),
9883 src/hildon-get-password-dialog.c (invalid_input,
9884 hildon_get_password_set_property, hildon_get_password_get_property,
9885 create_contents, hildon_get_password_dialog_set_max_characters),
9886 src/hildon-set-password-dialog.c (create_contents),
9887 src/hildon-date-editor.c (hildon_date_editor_init),
9888 src/hildon-login-dialog.c (hildon_login_dialog_init),
9889 src/hildon-number-editor.c (hildon_number_editor_init),
9890 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9891 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9892 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9893 configure option and adding the respective checks in the code.
9894 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9895 hildon_calendar_drag_data_received): fixed some build warnings.
9897 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9899 * debian/changelog: A 1.0.0 release notes.