1 2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
3 Do not return gboolean in GtkButton:clicked signal handlers
5 * examples/hildon-banner-example.c:
6 (on_information_clicked), (on_animation_clicked),
7 (on_progress_clicked): GtkButton:clicked handlers do not return
10 2009-09-17 Claudio Saavedra <csaavedra@igalia.com>
12 [2.2.0 Release Candidate 7]
15 * debian/changelog: bump and updates
17 2009-09-17 Alberto Garcia <agarcia@igalia.com>
19 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
20 Use the Xlib API to take window screenshots, since the GDK API
21 doesn't allow us to set the event mask.
23 Fixes: NB#138857 (hildon_gtk_window_take_screenshot doesn't take a
26 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
28 [2.2.0 Release Candidate 6]
30 * debian/changelog: bump and updates.
32 2009-09-14 Claudio Saavedra <csaavedra@igalia.com>
34 * hildon/hildon-window.c: (hildon_window_update_menu_flag): Properly
35 free a GList and avoid potential memory corruption.
37 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
39 [2.2.0 Release Candidate 5]
42 * debian/changelog: bump and updates
44 2009-09-11 Claudio Saavedra <csaavedra@igalia.com>
46 Do not set any flag for empty legacy menus
48 * hildon/hildon-program.c: (hildon_program_set_common_menu):
49 * hildon/hildon-window.c: (hildon_window_update_menu_flag):
50 This will probably not work fine with empty legacy menus added to
51 programs or windows and populated later, but so it's life.
53 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
55 Update the application menu flag for application-wise windows
57 * hildon/hildon-program.c: (+hildon_program_on_common_app_menu_changed),
58 (hildon_program_set_common_app_menu): Also take into account the visibility
61 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
63 Emit HildonAppMenu::changed when menu items change visibility
65 * hildon/hildon-app-menu.c: (item_visibility_changed),
66 (filter_visibility_changed): Also emit ::changed on
67 visibility of items changed.
69 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
71 Do not set the menu flag in a window when a menu is empty
73 * hildon/hildon-window.c: (hildon_window_update_menu_flag),
74 (on_menu_changed), (on_menu_changedhildon_window_set_main_menu),
75 (on_menu_changed), (hildon_window_set_main_menu): Update on menu
76 changes by using the HildonAppMenu::changed signal.
78 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
80 Add HildonAppMenu::changed signal
82 * hildon/hildon-app-menu.c: (hildon_app_menu_insert),
83 (hildon_app_menu_add_filter), (hildon_app_menu_class_init):
84 Emit a new HildonAppMenu:changed signal when there are changes in
87 2009-09-10 Claudio Saavedra <csaavedra@igalia.com>
89 Add hildon_app_menu_has_visible_children() private method
91 * hildon/hildon-app-menu-private.h: Add below private method.
92 * hildon/hildon-app-menu.c: (hildon_app_menu_has_visible_children):
93 New method to check the visibility of a HildonAppMenu children.
95 2009-09-09 Claudio Saavedra <csaavedra@igalia.com>
97 Set the window menu flag for application-common menus
99 * hildon/hildon-program.c:
100 (+hildon_program_window_set_common_menu_flag): Set or remove the
101 menu flag from a window only this doesn't have its own menu.
102 (+hildon_program_set_common_menu_flag): adjust menu flag for
103 all windows in the program.
104 (hildon_program_add_window),
105 (hildon_program_remove_window): add/remove the menu flag when
106 a window is added to the program.
108 Fixes: NB#137814 (Indicator for view menu in app title area)
110 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
112 Set a special window property for windows with menus
114 * hildon/hildon-window-private.h: Add private
115 hildon_window_set_menu_flag()
116 * hildon/hildon-window.c: (+do_set_has_menu),
117 (+hildon_window_set_menu_flag): set
118 "_HILDON_WM_WINDOW_MENU_INDICATOR" to 1 in the window
119 or remove the property.
120 (hildon_window_set_main_menu),
121 (hildon_window_set_app_menu): call above methods to set or remove
122 the property when a menu is added or removed from the window.
124 Partially fixes: NB#137814 (Indicator for view menu in app title area)
126 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
128 Rename and move the methods to set flags to hildon-private.h
130 * hildon/hildon-gtk.c: (do_set_progress_indicator),
131 (do_set_do_not_disturb), (do_set_portrait_flags): call
132 the new private method hildon_gtk_window_set_clear_window_flag()
133 (hildon_gtk_window_set_progress_indicator),
134 (hildon_gtk_window_set_do_not_disturb),
135 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
136 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
137 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
139 * hildon/hildon-private.h: Add the two new private methds.
141 2009-09-11 Alejandro G. Castro <alex@igalia.com>
143 * hildon/hildon-pannable-area.c,
144 (hildon_pannable_area_init),
145 (hildon_pannable_area_size_allocate),
146 (hildon_pannable_area_button_release_cb): More tuning of the
147 speed, adding a way to calculate the acceleration and fast-panning
148 based on the child size.
150 2009-09-10 Alberto Garcia <agarcia@igalia.com>
152 * hildon/hildon-touch-selector.c
153 (hildon_touch_selector_class_init):
154 Documentation updates
158 2009-09-10 Alberto Garcia <agarcia@igalia.com>
160 * hildon/hildon-touch-selector.c:
161 Documentation updates
163 Fixes: MB#5104 (HildonTouchSelector docs should say no
164 HildonPannableArea is necessary)
166 2009-09-08 Alejandro G. Castro <alex@igalia.com>
168 * hildon/hildon-pannable-area.c,
169 (hildon_pannable_area_timeout): Fixed problem with the timeout
170 function, we need to move before decelerating the first time or we
171 are loosing the first jump.
173 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
175 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
177 [2.2.0 Release Candidate 3]
179 * debian/changelog: updates
181 2009-09-07 Alejandro G. Castro <alex@igalia.com>
183 * hildon/hildon-pannable-area.c,
184 (hildon_pannable_area_class_init): Increased max speed.
186 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
188 [2.2.0 Release Candidate 2]
191 * debian/changelog: bump version, updates
193 2009-09-07 Alejandro G. Castro <alex@igalia.com>
195 * hildon/hildon-pannable-area.c,
196 (hildon_pannable_area_class_init),
197 (hildon_pannable_area_button_release_cb): More tuning for the
200 2009-09-07 Alejandro G. Castro <alex@igalia.com>
202 * hildon/hildon-pannable-area.c,
203 (hildon_pannable_area_class_init):
204 Change the default value of the scrollbar_fade_delay.
206 Fixes: NB#127018 (Panning indicator fades out too slowly)
208 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
210 [2.2.0 Release Candidate 1]
213 * configure.ac: Bump version
214 * debian/changelog: updates
216 2009-09-04 Alejandro G. Castro <alex@igalia.com>
218 * hildon/hildon-pannable-area.c,
219 (hildon_pannable_area_init),
220 (hildon_pannable_area_button_press_cb),
221 (hildon_pannable_area_button_release_cb): Added a new acceleration
222 system to help traversing big lists, tuned the stop threshold.
224 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
226 2009-09-04 Alberto Garcia <agarcia@igalia.com>
228 * hildon/hildon-window.h:
229 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
231 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
233 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
237 * configure.ac: bump version
239 * debian/changelog: updates
241 2009-09-04 Alberto Garcia <agarcia@igalia.com>
243 * hildon/hildon-entry.c
244 * hildon/hildon-text-view.c:
245 Documentation updates
247 2009-09-04 Alberto Garcia <agarcia@igalia.com>
249 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
250 Redraw menu when the number of items change.
252 Fixes: NB#131911 (Appmenu does not resize properly, when number of
255 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
257 * hildon/hildon-pannable-area.c:
258 (hildon_pannable_area_launch_fade_timeout),
259 (hildon_pannable_area_motion_event_scroll),
260 (hildon_pannable_area_check_move),
261 (hildon_pannable_area_button_release_cb),
262 (hildon_pannable_area_scroll_to):
264 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
265 area drawing operations, since this is the recommended for drawing
268 Fixes: NB#110894 (In event view containing very large description
269 field, application menu is displayed blank while panning)
270 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
273 2009-09-03 Alberto Garcia <agarcia@igalia.com>
275 * doc/hildon-sections.txt
276 * hildon/hildon-button.c
277 * hildon/hildon-edit-toolbar.c
278 * hildon/hildon-gtk.[ch]
279 * hildon/hildon-main.c
280 * hildon/hildon-program.c
281 * hildon/hildon-stackable-window.c:
282 Documentation updates
284 2009-08-28 Alberto Garcia <agarcia@igalia.com>
286 * hildon/hildon-app-menu.c
287 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
288 Close the menu if it receives a grab-notify signal.
290 Fixes: NB#134533 (UI freezes if we show a dialog with
291 gtk_dialog_run() while a menu is opened)
293 2009-08-27 Alejandro G. Castro <alex@igalia.com>
295 * hildon/hildon-pannable-area.c,
296 (hildon_pannable_area_class_init): Reverted tuning modifications:
297 "Pannign needs to be faster" and "Pannable kinetics in large lists
300 2009-08-26 Alberto Garcia <agarcia@igalia.com>
302 * hildon/hildon-sound.c (hildon_play_system_sound):
303 Set "module-stream-restore.id" to "x-maemo-system-sound" when
304 playing system sounds
306 Fixes: NB#133767 (Information and confirmation note sound should
307 follow system profile setting)
309 2009-08-26 Alejandro G. Castro <alex@igalia.com>
311 * hildon/hildon-pannable-area.c,
312 (hildon_pannable_area_class_init): Added more force and increased
313 the max speed threshold.
315 Fixes: NB#135344 (Pannign needs to be faster)
317 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
319 [Release 2.1.96, this time for real]
322 * debian/changelog: updates
324 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
326 * hildon/hildon-pannable-area.c
327 (hildon_pannable_area_get_topmost): change the computation of the
328 co-ordinates transformed when no one of the children is a topmost
330 Fixes: NB#133252 (Opening any feed item from RSS always opens the
331 first feed item in browser)
333 2009-08-26 Alejandro G. Castro <alex@igalia.com>
335 * hildon/hildon-pannable-area.c,
336 (hildon_pannable_area_remove_timeouts): Adding this new function
337 with the code that removes the timeouts of the widget.
338 (hildon_pannable_area_dispose),
339 (hildon_pannable_area_unrealize): Use the new remove function to
340 stop timeouts when unrealizing and disposing.
341 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
342 calculation to avoid negative values in some cases.
344 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
346 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
348 * examples/hildon-check-button-example.c: (button_toggled_cb):
349 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
350 (hildon_check_button_set_active), (hildon_check_button_new),
351 (hildon_check_button_clicked), (hildon_check_button_class_init):
352 * hildon/hildon-check-button.h:
353 * hildon/hildon-set-password-dialog.c: (create_contents),
354 (hildon_set_password_response_change), (hildon_checkbox_toggled):
356 Revert "Make HildonCheckButton derive from GtkToggleButton"
358 2009-08-21 Alberto Garcia <agarcia@igalia.com>
362 * configure.ac: bump version
364 * debian/changelog: updates
366 2009-08-21 Alberto Garcia <agarcia@igalia.com>
368 * hildon/hildon-check-button.h
369 * hildon/hildon-check-button.c
370 (hildon_check_button_clicked, hildon_check_button_class_init):
371 Make HildonCheckButton derive from GtkToggleButton
372 (hildon_check_button_toggled, hildon_check_button_set_active)
373 (hildon_check_button_get_active):
374 Deprecate unnecessary HildonCheckButton API and use the
375 one from GtkToggleButton instead.
377 * hildon/hildon-set-password-dialog.c (create_contents)
378 (hildon_set_password_response_change, hildon_checkbox_toggled)
379 * examples/hildon-check-button-example.c (button_toggled_cb):
380 Update to use the GtkToggleButton API
382 Fixes: MB#4739 (HildonCheckButton should inherit from
385 Fixes: NB#132661 (HildonCheckButton should inherit from
388 2009-08-20 Alberto Garcia <agarcia@igalia.com>
390 * hildon/hildon-pannable-area.c
391 (hildon_pannable_area_class_init):
392 Increase default value of HildonPannableArea:velocity_max to 2000
394 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
396 2009-08-18 Alberto Garcia <agarcia@igalia.com>
400 * configure.ac: bump version
402 * debian/changelog: updates
404 2009-08-11 Alejandro G. Castro <alex@igalia.com>
406 * hildon/hildon-pannable-area.c
407 (hildon_pannable_area_size_allocate): Checked the scrollbars
408 before the first try when defining the layout, avoids two
409 allocations in some situations.
411 Fixes: NB#131794 (pannable area produces unnecessary allocations
412 causing performance problems)
414 2009-08-11 Alejandro G. Castro <alex@igalia.com>
416 * hildon/hildon-pannable-area.c
417 (hildon_pannable_area_button_press_cb),
418 (hildon_pannable_area_motion_notify_cb),
419 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
420 the spurious ref added in the copy, fixes leak of window.
422 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
423 if it's realized without showing and then deleted)
425 2009-08-10 Alberto Garcia <agarcia@igalia.com>
429 * configure.ac: bump version
431 * debian/changelog: updates
433 2009-08-06 Alberto Garcia <agarcia@igalia.com>
435 * examples/hildon-hvolumebar-timer-example.c
437 * hildon/hildon-banner.c
438 (hildon_banner_timeout, hildon_banner_ensure_timeout)
439 * hildon/hildon-calendar.c
440 (calendar_timer, start_spinning)
441 * hildon/hildon-color-chooser.c
442 (inline_limited_expose)
443 * hildon/hildon-date-editor.c
444 (hildon_date_editor_entry_focus_in)
445 (hildon_date_editor_entry_validate)
446 (hildon_date_editor_entry_select_all)
447 * hildon/hildon-note.c
449 * hildon/hildon-number-editor.c
450 (hildon_number_editor_button_pressed)
451 (hildon_number_editor_start_timer, do_mouse_timeout),
452 (add_select_all_idle, hildon_number_editor_select_all)
453 * hildon/hildon-time-editor.c
454 (hildon_time_editor_entry_focus_in)
455 (highlight_callback, hildon_time_editor_validate)
456 (hildon_time_editor_entry_select_all)
457 * hildon/hildon-time-picker.c
458 (hildon_time_picker_arrow_press)
459 (hildon_time_picker_key_repeat_timeout)
460 * hildon/hildon-window.c
461 (hildon_window_key_press_event)
462 (hildon_window_escape_timeout):
463 Replace all calls to g_idle_add/g_timeout_add with their
464 gdk_threads counterparts.
466 Fixes: NB#126198 (gdk-threads API should be used to install idle
467 and timeout handlers)
469 2009-08-06 Alejandro G. Castro <alex@igalia.com>
471 * hildon/hildon-pannable-area.c,
472 (hildon_pannable_area_class_init): Increased the overshooting max
473 speed to get a faster effect.
474 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
475 deceleration of the overshooting
476 (hildon_pannable_area_button_release_cb): Calculate initial
477 overshooting speed when finger on the screen using the distance to
478 launch the effect faster.
480 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
481 lists with slow row renderers)
483 2009-08-05 Alberto Garcia <agarcia@igalia.com>
485 * doc/hildon-sections.txt: Add new functions
487 2009-08-05 Alberto Garcia <agarcia@igalia.com>
489 * hildon/hildon-text-view.[ch]
490 * hildon/hildon-entry.[ch]:
491 Add deprecation guards around deprecated functions.
493 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
495 * hildon/hildon-app-menu.c: Remove leftover function declaration.
497 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
499 Remove the grab from HildonAppMenu
501 * hildon/hildon-app-menu.c:
502 Now hildon-desktop places a blocker window behind the menu to handle
503 its closing, so the grab is no longer needed. This simplifies its
504 implementation and allows the system blanking to succeed.
506 Fixes: NB#130910 (Screen gets unlocked when menu is open)
508 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
512 * configure.ac: bump version
514 * debian/changelog: updates
515 * debian/control: raise debian dependency on GTK+
517 2009-08-04 Alberto Garcia <agarcia@igalia.com>
519 * hildon/hildon-text-view.c
520 * hildon/hildon-entry.c:
521 Remove all placeholder code from HildonEntry and HildonTextView
522 and use the API in GtkEntry and GtkTextView instead.
524 * examples/hildon-entry-example.c
525 * examples/hildon-text-view-example.c
526 * examples/hildon-wizard-dialog-example.c
527 * hildon/hildon-get-password-dialog.c
528 * hildon/hildon-login-dialog.c
529 * hildon/hildon-picker-dialog.c
530 * hildon/hildon-set-password-dialog.c
531 * hildon/hildon-touch-selector-entry.c:
532 Replace all deprecated calls to HildonEntry and HildonTextView
533 with their Gtk counterparts.
535 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
538 2009-08-03 Alejandro G. Castro <alex@igalia.com>
540 * hildon/hildon-pannable-area.c,
541 (hildon_pannable_area_check_move),
542 (hildon_pannable_area_button_release_cb),
543 (hildon_pannable_area_scroll_to): Reverted the priority change of
544 the timeout, in some situations, slow renderers, the click do not
545 make it to the mainloop on time.
547 Fixes NB#131013 (unable to stop panning file manager by tapping on
550 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
552 * configure.ac: bump version
554 * debian/changelog: updates
556 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
558 * hildon/hildon-touch-selector.[ch]
559 (hildon_touch_selector_center_on_index): New method that allows to center
560 on a item not selected
562 Fixes NB#130291 (New HildonTouchSelector API is required to center on
565 2009-07-29 Alberto Garcia <agarcia@igalia.com>
567 * hildon/hildon-text-view.c
568 (+set_logical_color, +hildon_text_view_style_set)
569 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
570 (hildon_text_view_init)
571 * hildon/hildon-entry.c
572 (+set_logical_color, +hildon_entry_style_set)
573 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
574 (hildon_entry_class_init, hildon_entry_init)
575 * hildon/hildon-button.c
576 (+set_logical_font, +set_logical_color)
577 (hildon_button_style_set, hildon_button_init)
578 (hildon_button_set_arrangement, hildon_button_set_style):
579 Remove all calls to hildon_helper_set_logical_font() and
580 hildon_helper_set_logical_color(), which are recursive, from
583 Fixes: NB#123409 (Showing dialog consumes significant amount of
586 2009-07-29 Alejandro G. Castro <alex@igalia.com>
588 * hildon/hildon-pannable-area.c,
589 (hildon_pannable_area_timeout): Added the process updates of the
590 scrollbars window in the pannable.
592 Fixes: NB#130043 (scrollindicator not smooth while panning)
594 2009-07-23 Alejandro G. Castro <alex@igalia.com>
596 * hildon/hildon-pannable-area.c,
597 (hildon_pannable_area_check_move),
598 (hildon_pannable_area_button_release_cb),
599 (hildon_pannable_area_scroll_to): Increased the priority of the
600 timeout this way it is going to be handled before the events.
602 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
606 * configure.ac: bump version
607 * debian/changelog: updates
609 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
611 * hildon/hildon-entry.c: (set_property): Do not allow to set
612 automatic height and use finger height instead, to prevent an to
613 have a smaller size than than its theme pixbuf.
615 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
617 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
619 * configure.ac: postrelease version bump.
620 * debian/changelog: post release version bump
622 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
627 * configure.ac: Bump version.
628 * debian/changelog: Updates.
630 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
632 * hildon/hildon-note.c: (label_size_request): Take the note
633 padding into account when setting the size request.
635 Fixes: NB#127896 (Information notes text truncated)
637 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
639 * configure.ac: postrelease version bump.
640 * debian/changelog: post release version bump
642 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
647 * configure.ac: Bump version.
648 * debian/changelog: Updates.
650 2009-07-16 Alejandro G. Castro <alex@igalia.com>
653 * hildon/hildon-text-view.c,
654 (hildon_text_view_button_press_event): Grabbed the focus in button
655 press, this way we are sure the widget has the focus in the
656 release event, required for HIM.
658 Fixes: NB#121445 (Virtual keyboard opening is not working in same
659 way for each text entry field)
661 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
663 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
664 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
665 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
666 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
667 (hildon_pannable_area_[gs]et_center_on_child_focus)
668 Redefined GtkContainer set-focus-child signal, in order to center
669 properly on a child when it receives the focus. Defined a new property
670 "center-on-child-focus" in order to activate this feature (deactivated
671 by default). Public get/set methods defined to manage the property.
673 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
675 2009-07-14 László Pere <lpere@blumsoft.eu>
677 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
678 the new size is applied.
680 Fixes: NB#124510 (The Application Menu is distorted when switched
681 between portrait and landscape mode)
682 Fixes: NB#115388 (Power key menu does not resize itself)
684 2009-07-01 Alberto Garcia <agarcia@igalia.com>
686 * hildon/hildon-banner.c (hildon_banner_map):
687 Set banner position after mapping.
689 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
691 * configure.ac: postrelease version bump.
692 * debian/changelog: post release version bump
694 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
699 * configure.ac: Bump version.
700 * debian/changelog: Updates.
702 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
704 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
707 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
709 * tests/check-hildon-banner.c
711 * tests/test_suites.h
712 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
713 were testing deprecated functions.
714 * examples/hildon-banner-example.c: typo on button3 type, that causes
715 a fail compiling with --with-examples but without --disable-deprecated
717 Missed commit in order to fix compilation using '--enable-fatal' and
718 '--disable-deprecated' (see previous commit)
720 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
722 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
723 functions with #ifndef HILDON_DISABLE_DEPRECATED
724 * examples/hildon-find-toolbar.c: Protect deprecated
725 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
726 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
727 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
728 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
730 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
731 to allow proper compilation of deprecated functions defined on the header
733 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
735 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
737 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
738 Cache the panning indicator color.,
739 (hildon_pannable_area_style_set): Query the color on style changes.
740 (hildon_pannable_draw_vscroll),
741 (hildon_pannable_draw_hscroll),
742 (hildon_pannable_area_expose_event): Use the cached panning indicator
743 color instead of looking it up on every expose and more.
745 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
747 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
748 (hildon_pannable_draw_hscroll),
749 (hildon_pannable_area_expose_event): Fix the panning indicator color,
750 so that it's "SecondaryTextColor", as desired.
752 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
754 * hildon/hildon-picker-dialog.c:
755 (selection_completed): take into account HILDON_UI_MODE_NORMAL
756 * hildon/hildon-touch-selector.c
757 (hildon_touch_selector_init): Initialize hildon-ui-mode
758 (hildon_touch_selector_row_activated): new callback for the
759 "row-activated" signal, in order to save the last activated
760 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
761 if the current hildon-ui-mode is coherent with the touch selector
762 (hildon_touch_selector_class_init)
763 (hildon_touch_selector_get_property)
764 (hildon_touch_selector_set_property)
765 Added "hildon-ui-mode" property
766 (disconnect_model_handlers): renamed to clean_column
767 (hildon_touch_selector_remove): use clean_column function
768 (_create_new_column): use the hildon-ui-mode to create the treeview, and
769 only select the first element on HILDON_UI_MODE_EDIT
770 (hildon_touch_selector_column_init): Initialize last_activate
771 (hildon_touch_selector_append_column): check that the touch selector
772 is coherent with the current hildon-ui-mode
773 (hildon_touch_selector_get_hildon_ui_mode)
774 (hildon_touch_selector_set_hildon_ui_mode)
775 Added a getter/setter for the hildon-ui-mode property
776 (hildon_touch_selector_get_last_activated_row): Added this method in
777 order to get the last activated row.
778 * examples/hildon-touch-selector-normal-mode-example.c
779 New example, that shows how to use the HildonTouchSelector in
780 HILDON_UI_MODE_NORMAL
782 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
783 Kristian Rietveld <kris@lanedo.com> advices
785 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
787 * hildon/hildon-time-selector.c: (update_format_policy): Do
788 not call update_format_dependant_columns() if not necessary.
789 (update_format_dependant_columns): Remove unnecessary check for
790 the number of columns.
792 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
794 * hildon/hildon-note.c (+hildon_note_constructor),
795 (hildon_note_class_init), (+hildon_note_set_padding),
796 (hildon_note_rebuild): Install a constructor where to set the
797 padding properties in the note, so that it actually works fine.
798 Use hildon_note_set_padding() for this, and also to set it during
801 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
803 * configure.ac: Bump GTK+ requirement to 2.14.3.
804 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
805 when using maemo-gtk to define proper margins for the notes.
807 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
808 with the dialog edge)
810 2009-06-24 Alberto Garcia <agarcia@igalia.com>
812 * hildon/hildon-banner.c
813 (hildon_banner_class_init):
815 (+hildon_banner_size_request):
816 Request always the full width of the screen.
817 (hildon_banner_realize)
818 (-hildon_banner_check_position, hildon_banner_map):
819 hildon_banner_check_position() is not needed in Hildon 2.2.
820 (-hildon_banner_reset_wrap_state)
821 (hildon_banner_constructor, hildon_banner_init):
822 Remove unnecessary calls to hildon_banner_reset_wrap_state()
823 (+banner_do_set_text)
824 (force_to_wrap_truncated):
825 Remove has_been_wrapped and has_been_truncated attributes.
826 (+reshow_banner, hildon_banner_real_show_information)
827 (hildon_banner_show_information_with_markup)
828 (hildon_banner_show_animation, hildon_banner_show_progress)
829 (hildon_banner_set_text, hildon_banner_set_markup):
830 Refactor code. Shrink banner vertically to use the minimum space
831 necessary everytime the text of the label is updated.
832 (screen_size_changed):
833 Call force_to_wrap_truncated() when the size of the screen
836 Fixes: NB#120500 (only device memory connect mmc in use info
837 banner is left aligned)
839 Fixes: NB#120613 (Size of HildonBanner varies depending on
840 previously opened banners)
842 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
844 * hildon/hildon-color-chooser.c
845 (hildon_color_chooser_pointer_motion): Take the widget allocation
848 Fixes: NB#124385 (Unable to select exact point in color mixing box
849 in color palette dialog)
851 2009-06-23 Alejandro G. Castro <alex@igalia.com>
853 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
854 (hildon_pannable_area_dispose)
855 (hildon_pannable_area_button_press_cb)
856 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
857 (hildon_pannable_area_button_release_cb)
858 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
859 New 'panning-started' and 'panning-finished' signals.
861 Fixes: NB#121732 (New feature request: Signal to pannable area
862 that informs when panning is stopped.)
864 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
866 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
867 instead of hardcoded colon.
869 Fixes: NB#124090 (New calendar wizard title is not using
870 ecdg_ti_caption_separator)
872 2009-06-22 David King <davidk@openismus.com>
874 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
875 constants and functions, as well as correct many typos throughout the
878 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
881 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
883 * configure.ac: postrelease version bump.
884 * debian/changelog: post release version bump
886 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
891 * configure.ac: Bump version.
892 * debian/changelog: Updates.
894 2009-06-18 Alberto Garcia <agarcia@igalia.com>
896 * hildon/hildon-window-stack.c
897 (hildon_window_stack_pop_and_push_list):
898 Prevent windows from having the same stack index
900 2009-06-18 Alberto Garcia <agarcia@igalia.com>
902 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
903 Use the index of the previous window rather than the stack length
904 to calculate the new index.
908 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
910 * hildon/hildon-date-selector.c
911 (hildon_date_selector_select_current_date)
912 (hildon_date_selector_get_date)
913 (hildon_date_selector_select_day):
914 Update the documentation: uses always the range (1-31), as it is obvious
915 that the final one will depend on the month and the year, but globally
916 the range is this, in a similar GtkCalendar approach
917 (hildon_date_selector_get_date):
918 Update the documentation: add NULL as a valid value for the day, month
921 Fix some details, after talk with David King on bug MB#4698
923 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
925 * hildon/hildon-touch-selector-entry.c
926 * hildon/hildon-touch-selector.c
927 Update the documentation of the "text-column" property
929 2009-06-18 David King <davidk@openismus.com>
931 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
932 several typos and errors throughout the documentation.
934 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
937 2009-06-18 Alberto Garcia <agarcia@igalia.com>
939 * hildon/hildon-note.c (hildon_note_realize):
940 Make HildonNote support portrait mode.
942 Fixes: NB#123448 (HildonNote is not portrait-friendly)
944 2009-06-17 Alberto Garcia <agarcia@igalia.com>
946 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
947 Document this function
949 2009-06-17 David King <davidk@openismus.com>
951 * hildon/hildon-date-selector.c
952 (hildon_date_selector_select_current_date)
953 (hildon_date_selector_get_date): Update documentation regarding days,
954 as the day of the month is dependent on both the month and the year.
955 (hildon_date_selector_get_date): Fix documentation of output arguments.
957 Fixes: MB#4698 (DateSelector documentation has bad output argument
958 description, and the day depends on both the month and the year)
960 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
962 * hildon/hildon-caption.c: Other documentation fixes to
965 2009-06-17 David King <davidk@openismus.com>
967 * hildon/hildon-caption.c: Minor documentation updates for
968 HildonCaption. Fixes MB#4697.
970 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
972 * doc/hildon-docs.sgml: Add hildon-version section.
973 * doc/hildon-sections.txt:
974 * hildon/hildon-version.h.in: Document versioning macros and
977 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
979 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
980 from HildonPickerDialog section.
982 2009-06-16 Alberto Garcia <agarcia@igalia.com>
984 * hildon/hildon-banner.c (hildon_banner_bind_style)
985 (screen_size_changed, hildon_banner_init)
986 (hildon_banner_real_show_information)
987 (hildon_banner_show_information_with_markup)
988 (hildon_banner_show_animation, hildon_banner_show_progress):
989 Set a different widget name to banners in portrait mode, for them
990 to be themed correctly.
992 2009-06-16 Alberto Garcia <agarcia@igalia.com>
994 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
995 Set a different widget name to notes in portrait mode, for them to
998 Partially fixes: NB#118401 (HildonNote causes unnecessary
1001 2009-06-16 Alberto Garcia <agarcia@igalia.com>
1003 * hildon/hildon-note.c (hildon_note_class_init)
1004 (+hildon_note_size_request, screen_size_changed):
1005 Always request the full width of the screen.
1007 Fixes: NB#118375 (unnecessary rescaling of images)
1009 2009-06-16 Alejandro G. Castro <alex@igalia.com>
1011 * hildon/hildon-pannable-area.c,
1012 (hildon_pannable_area_init),
1013 (hildon_pannable_area_realize): Replaced old code adding flags in
1014 the object init, now we add it with the other flags in the realize
1017 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1019 * hildon/hildon-note.c: (hildon_note_class_init): Several
1020 documentation improvements to the HildonNote widget.
1022 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
1024 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
1026 Fixes: MB#4556 (HildonNoteType is undocumented)
1028 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1030 * hildon/hildon-picker-button.c:
1031 Explain how HildonPickerButton sets the title of its dialog
1033 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
1034 the title of its dialog)
1036 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1038 * hildon/hildon-check-button.c:
1039 Documentation updates
1041 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
1044 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1046 * hildon/Makefile.am
1047 * hildon/hildon-edit-toolbar-private.h
1048 * hildon/hildon-edit-toolbar.c
1049 (+hildon_edit_toolbar_set_progress_indicator)
1050 (hildon_edit_toolbar_init): Add progress indicator to the
1053 * hildon/hildon-gtk.c
1054 (hildon_gtk_window_set_progress_indicator):
1055 If the window contains a HildonEditToolbar, enable the progress
1056 indicator there too.
1058 * hildon/hildon-private.h
1059 * hildon/hildon-private.c
1060 (+hildon_private_create_animation)
1061 * hildon/hildon-banner.c
1062 (-hildon_banner_create_animation):
1063 Moved to hildon-private.c
1065 Fixes: NB#102373 (Progress indicator also for the Edit mode
1068 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1070 * hildon/hildon-app-menu-private.h
1071 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
1072 (hildon_app_menu_add_filter, +menu_item_button_event)
1073 (hildon_app_menu_button_release, hildon_app_menu_init):
1074 Make sure that buttons receive 'button-release-event' in spite of
1075 the grab held by HildonAppMenu
1077 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
1079 2009-06-15 Alberto Garcia <agarcia@igalia.com>
1081 * hildon/hildon-app-menu.c
1082 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1083 New style property to set the size of the group of filter buttons.
1085 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
1087 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
1092 * configure.ac: Bump version.
1093 * debian/changelog: Updates.
1095 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1097 * hildon/hildon-main.c: Minor documentation fixes.
1099 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1101 * doc/hildon-sections.txt:
1102 * hildon/hildon-defines.h: Document the defines, organize them,
1103 and mark deprecations as such.
1105 Fixes: MB#4463 (Hildon size #defines are undocumented)
1107 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
1109 * hildon/hildon-animation-actor.c:
1110 * hildon/hildon-app-menu.c:
1111 * hildon/hildon-button.c:
1112 * hildon/hildon-date-editor.c:
1113 * hildon/hildon-dialog.c:
1114 * hildon/hildon-edit-toolbar.c:
1115 * hildon/hildon-entry.c:
1116 * hildon/hildon-program.c:
1117 * hildon/hildon-remote-texture.c:
1118 * hildon/hildon-stackable-window.c:
1119 * hildon/hildon-text-view.c:
1120 * hildon/hildon-touch-selector.c:
1121 * hildon/hildon-window-stack.c:
1122 * hildon/hildon-window.c:
1124 Remove redundant "represents" wording from most of the documentation.
1126 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1128 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1132 * hildon/Makefile.am
1133 * hildon/hildon-banner-private.h
1134 * hildon/hildon-banner.c:
1135 Move HildonBannerPrivate to hildon-banner.c and remove
1136 hildon-banner-private.h
1137 Use a bit field to store private booleans.
1139 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1141 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1142 Don't install a new idle function if there's already one
1147 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1149 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1150 (+legacy_menu_realized, +legacy_menu_unmapped)
1151 (+set_legacy_menu_type):
1152 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1153 they can be identified by the window manager.
1155 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1156 displayed in wrong location)
1158 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1161 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1163 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1165 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1166 use gtk-doc support)
1168 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1170 * hildon/hildon-code-dialog.c
1171 * hildon/hildon-date-editor.c
1172 * hildon/hildon-number-editor.c
1173 * hildon/hildon-seekbar.c
1174 * hildon/hildon-stackable-window.c
1175 * hildon/hildon-window.c:
1176 Misc documentation updates
1178 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1180 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1181 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1183 Fixes: NB#117931 (Theming issues in accounts dialogs)
1185 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1187 * hildon/hildon-pannable-area.c,
1188 (hildon_pannable_area_button_release_cb): Changed the coordinates
1189 of the original release in case we want to discard the release,
1190 some widgets in Fremantle do not handle the leave-notify.
1192 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1194 * hildon/hildon-pannable-area.c,
1195 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1196 the release using the last refactored functions and avoiding the
1197 movement if an element was selected.
1199 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1201 * hildon/hildon-pannable-area.c,
1202 (hildon_pannable_area_check_move),
1203 (hildon_pannable_area_handle_move),
1204 (hildon_pannable_area_motion_notify_cb): Refactored the
1205 motion_notify method using a couple of new functions.
1207 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1209 * hildon/hildon-date-selector.c:
1210 (hildon_date_selector_construct_ui):
1211 * hildon/hildon-time-selector.c:
1212 (hildon_time_selector_constructor):
1213 * hildon/hildon-touch-selector-entry.c:
1214 (hildon_touch_selector_entry_set_text_column),
1215 (hildon_touch_selector_entry_get_text_column):
1216 * hildon/hildon-touch-selector.c: (_default_print_func),
1217 (hildon_touch_selector_new_text): Use
1218 hildon_touch_selector_set/get_text_column() instead of
1219 setting/getting the "text-column" property.
1221 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1223 * doc/hildon-sections.txt: Add the new public methods below.
1225 * examples/hildon-picker-button-multicolumn-example.c:
1226 (create_touch_selector):
1227 * examples/hildon-touch-selector-example.c: (create_selector):
1228 * examples/hildon-touch-selector-multi-cells-example.c:
1230 Use hildon_touch_selector_column_set_text_column()
1232 * hildon/hildon-touch-selector-column.h:
1233 * hildon/hildon-touch-selector.c:
1234 (hildon_touch_selector_column_set_text_column),
1235 (hildon_touch_selector_column_get_text_column):
1236 Make hildon_touch_selector_column_set/get_column() public, use
1237 them in the inline example, document them, and reference to them
1240 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1242 * hildon/hildon-time-selector.c: Fix the docs for
1243 hildon_time_selector_new_step().
1245 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1247 * hildon/hildon-touch-selector.c: Improve the documentation for
1248 hildon_touch_selector_append_column().
1250 Fixes MB#4641 (Documentation:
1251 hildon_touch_selector_append_column() ref-counting)
1253 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1255 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1256 Comment out test 5, since the hildon_controlbar_set_range() range
1257 check is broken and fixing it would have side effects. Also,
1258 this finally fixes make distcheck.
1260 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1262 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1264 * tests/TEST-CASES.txt: Remove other bogus test.
1265 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1266 Remove bogus test that was setting/retrieving a valid value.
1268 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1270 * tests/TEST-CASES.txt: Remove bogus tests.
1271 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1272 Remove three bogus tests that were actually setting valid colors.
1274 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1276 * configure.ac: post release version bump
1277 * debian/changelog: post release version bump
1279 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1284 * configure.ac: Bump version.
1285 * debian/changelog: Updates.
1287 2009-06-08 Christian Dywan <christian@lanedo.com>
1291 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1292 Correct errors in hildon_format_file-size_for_display and use
1293 translations from the hildon-fm package instead of osso-filemanager.
1295 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1297 * hildon/hildon-pannable-area.c,
1298 (hildon_pannable_area_init): Initialized new values to handle the
1299 adjustment position.
1300 (hildon_pannable_area_adjust_value_changed): Check if the values
1301 changed before even call the redraw function.
1302 (hildon_pannable_area_size_allocate),
1303 (hildon_pannable_axis_scroll),
1304 (hildon_pannable_area_scroll),
1305 (hildon_pannable_area_jump_to): Improved the diagonal movement
1308 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1311 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1313 * examples/hildon-banner-example.c:
1314 Several style updates
1315 (on_animation_clicked, on_animation_idle)
1316 (on_progress_clicked, on_progress_idle):
1317 Add additional reference for the cases when the parent window is
1320 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1322 * doc/hildon-sections.txt
1323 * hildon/hildon-pannable-area.c
1324 * hildon/hildon-banner.h
1325 * hildon/hildon-banner.c: Documentation updates.
1327 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1330 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1332 * hildon/hildon-calendar-popup.h:
1333 * hildon/hildon-caption.h:
1334 * hildon/hildon-code-dialog.h:
1335 * hildon/hildon-controlbar.h:
1336 * hildon/hildon-date-editor.h:
1337 * hildon/hildon-dialog.h:
1338 * hildon/hildon-get-password-dialog.h:
1339 * hildon/hildon-hvolumebar.h:
1340 * hildon/hildon-login-dialog.h:
1341 * hildon/hildon-note.h:
1342 * hildon/hildon-number-editor.h:
1343 * hildon/hildon-range-editor.h:
1344 * hildon/hildon-seekbar.h:
1345 * hildon/hildon-set-password-dialog.h:
1346 * hildon/hildon-sort-dialog.h:
1347 * hildon/hildon-time-editor.h:
1348 * hildon/hildon-time-picker.h:
1349 * hildon/hildon-volumebar-range.h:
1350 * hildon/hildon-volumebar.h:
1351 * hildon/hildon-vvolumebar.h:
1352 * hildon/hildon-weekday-picker.h:
1353 * hildon/hildon-window.h:
1354 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1355 macros with the current replacements
1357 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1359 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1361 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1362 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1363 itself, to make it fit better with Fremantle style.
1365 Fixes: NB#109878 (height and width of focus on color icon is not
1366 consistent with other item in the application tool bar)
1368 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1370 * hildon/hildon-touch-selector.c:
1371 (hildon_touch_selector_optimal_size_request): use the current requisition
1372 as the base, in order to include any possible extra widget, like the
1373 hildon entry on HildonTouchSelectorEntry
1375 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1377 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1379 * configure.ac: post release version bump
1380 * debian/changelog: post release version bump
1382 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1387 * configure.ac: Bump version.
1388 * debian/changelog: Updates.
1390 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1392 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1394 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1395 to ensure the banner contents are centered, instead of relying on
1396 the expand and fill properties in GtkHBox.
1397 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1399 Fixes: NB#108265 (Animation banner not properly centered)
1401 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1403 * hildon/hildon-pannable-area.c
1404 (hildon_pannable_area_initial_effect): Remove the initial_effect
1405 management, check initial_hint
1406 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1407 set initial_effect to FALSE
1408 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1409 by launching the fade_timeout if the scrollbars state has changed and are
1411 * examples/hildon-pannable-area-initial-hint-example.c
1412 Modified to allow to remove rows too. Add and remove rows one by one.
1414 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1416 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1417 Don't close the menu if there's an animation actor below it.
1419 Fixes: NB#117927 (Application menu not usable with animation
1422 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1424 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1425 "focus-on-click" from the dialog button, to avoid stealing the
1426 focus from the entry.
1428 Fixes: NB#118903 (Account setup wizard: Text in Search field
1429 should be focused when "Region" touch list picker is reopened
1432 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1434 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1435 (prepare_action_area): Completely hide the dialog separator.
1437 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1439 * hildon/hildon-touch-selector-entry.c
1440 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1441 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1442 now that the entry is exposed.
1444 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1446 * hildon/hildon-touch-selector-entry.c
1447 (hildon_touch_selector_entry_init): Change the entry's size
1448 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1450 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1452 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1453 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1454 avoid unnecessary scaling.
1456 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1458 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1459 Create grab transfer window before calling parent's map function.
1461 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1462 "crushed" button(s) in the top left corner)
1464 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1466 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1467 Check if the window is already realized when pushing it.
1469 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1471 * configure.ac: post release version bump
1472 * debian/changelog: post release version bump
1474 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1479 * configure.ac: Bump version.
1480 * debian/changelog: Updates.
1482 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1484 * hildon/hildon-app-menu.c: Doc updates.
1486 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1488 * hildon/hildon-banner.c: Remove leftover macro.
1490 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1492 * hildon/hildon-pannable-area.c,
1493 (hildon_pannable_area_scroll_indicator_fade),
1494 (hildon_pannable_area_button_release_cb): Reviewed vmin
1495 conditions, it could cause problems in the fadeout procedure.
1497 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1499 * hildon/hildon-pannable-area.c
1500 (hildon_pannable_area_button_release_cb): Added a threshold to
1501 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1503 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1505 * hildon/hildon-pannable-area.c,
1506 (hildon_pannable_area_set_property): Added code to sync the gtk
1507 dnd threshold with the panning threshold.
1509 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1511 * hildon/hildon-pannable-area.c,
1512 (hildon_pannable_area_class_init): Changed some of the default
1513 values, now it should be less responsive and more accurate.
1515 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1517 * hildon/hildon-pannable-area.c,
1518 (hildon_pannable_area_init),
1519 (hildon_pannable_area_scroll_indicator_fade),
1520 (hildon_pannable_area_button_press_cb),
1521 (hildon_pannable_axis_scroll),
1522 (hildon_pannable_area_timeout),
1523 (hildon_pannable_area_motion_notify_cb),
1524 (hildon_pannable_area_button_release_cb): Changed the name of the
1525 clicked attribute to button_pressed, it is more clear about its use.
1527 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1529 * src/hildon-pannable-area.c
1530 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1532 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1533 vertical scrollbar visibility, and use the data on private section instead,
1534 remove the initial_hint check
1535 (hildon_pannable_area_expose_event): add the initial_hint check here
1537 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1539 * src/hildon-pannable-area.c
1540 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1541 if the fadeout effect was used
1542 (hildon_pannable_area_expose_event): check if it is required to
1543 manage the initial effect on the begining of the function. Previously
1544 it was made at the end, but this doesn't ensure that the scrollbars
1545 will be painted on the first show. Do not set to FALSE initial_effect,
1546 to ensure that the initial hint is showed the first time the pannable
1548 * examples/Makefile.am
1549 * examples/hildon-pannable-area-initial-hint-example.c:
1550 New example, to show that the initial-hint is showed when the widget
1553 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1554 initially if the application can be scrolled)
1556 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1558 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1559 Resize table before adding new items to make sure that
1560 gtk_table_resize() is called just once.
1562 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1564 * hildon/hildon-app-menu-private.h
1565 * hildon/hildon-app-menu.c (item_visibility_changed)
1566 (filter_visibility_changed, hildon_app_menu_show_all)
1567 (hildon_app_menu_hide_all, hildon_app_menu_init):
1568 Rearrange items just once when gtk_widget_show_all()/hide_all()
1571 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1573 * hildon/hildon-app-menu.c
1574 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1575 Don't call gtk_widget_show() on added items.
1577 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1578 automatically when they're added)
1580 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1582 * hildon/hildon-banner.c
1583 (hildon_banner_realize, +hildon_banner_unrealize)
1584 (+screen_size_changed, hildon_banner_class_init):
1585 Redisplay the banner if the screen is rotated.
1587 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1588 on transition from landscape to portrait)
1590 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1592 * hildon/hildon-banner.[ch]:
1593 (hildon_banner_show_information_override_dnd): remove icon_name from the
1594 method definition as it is ignored.
1595 * examples/hildon-banner-dnd-example.c: updated with the change on
1598 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1600 * hildon/hildon-banner-private.h: new require_override_dnd and
1601 overrides_dnd variables
1602 * hildon/hildon-banner.h:
1603 (hildon_banner_show_information_override_dnd): new method, that shows
1604 the information but sets the override flag, in order to show important
1606 * hildon/hildon-banner.c
1607 (hildon_banner_show_information_override_dnd): new method
1608 (hildon_banner_set_override_flag): new utility function
1609 (hildon_banner_real_show_information): new utility function, in order to
1610 generalize the current hildon_banner_show_information_override_dnd and
1611 hildon_banner_show_information_override_dnd
1612 * examples/Makefile.am
1613 * examples/hildon-banner-dnd-example.c: New example that show how to
1614 use the new hildon_banner_show_information_override_dnd
1616 Fixes: NB#114874 (There is no possibility to show hildon banners with
1619 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1621 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1622 behind hildon_pannable_calculate_vel_factor().
1624 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1626 * hildon/hildon-pannable-area.c
1627 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1628 deceleration factors.
1630 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1632 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1633 Reduce the default value for 'scroll_time' to 1 second, since the
1634 current initial scrolling takes too much time.
1636 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1638 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1639 calculate velocity factor during initialization, since the properties
1642 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1644 * hildon/hildon-pannable-area.c
1645 (hildon_pannable_area_set_property): Calculate the velocity factor
1646 after setting the deceleration property and not after.
1648 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1650 * hildon/hildon-entry.c
1651 (hildon_entry_class_init, +set_property, hildon_entry_new)
1652 * hildon/hildon-check-button.c
1653 (hildon_check_button_class_init)
1654 (+set_property, hildon_check_button_new):
1655 Make the theme size a property.
1657 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1658 others) do too much in the _new function)
1660 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1662 * configure.ac: post release version bump
1663 * debian/changelog: post release version bump
1665 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1670 * configure.ac: Bump version.
1671 * debian/changelog: Updates.
1673 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1675 * hildon/hildon-gtk.h
1676 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1677 New API function to take a screenshot of a window
1679 Fixes: NB#106374 (Need API to take a loading screenshot)
1681 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1683 * hildon/hildon-time-selector.c
1684 (update_format_policy): prevent to use hours and minutes unitialized
1686 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1688 * hildon/hildon-window.c (hildon_window_size_request):
1689 Always request the full size of the screen (minus the title bar if
1690 not in fullscreen mode).
1692 Fixes: NB#107486 (HildonWindow should size itself properly)
1694 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1696 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1697 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1698 (on_show_cb), (sound_handling): Disconnect the idle handler for
1699 the sound when the note is finalized to avoid possible crashes.
1701 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1704 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1706 * src/hildon-animation-actor.c,
1707 * src/hildon-remote-texture.c:
1708 Added proper object cleanup to remove signal handler and object
1709 references as HildonAnimationActor and HildonRemoteTexture
1710 objects get destroyed.
1712 Fixes: NB#116682 (Destroying parented animation actors when
1713 parent in unmapped leads to crash)
1715 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1717 Based on a patch by Christian Dywan (christian@imendio.com)
1719 * doc/hildon-sections.txt:
1720 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1721 * hildon/hildon-helper.h: New file size formatting method.
1723 * debian/control: Depend on osso-filemanager l10n package for
1724 proper localization strings.
1726 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1728 * tests/Makefile.am: Include top_srcdir to make possible to build
1729 tests in a different builddir.
1730 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1731 on a different builddir.
1733 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1735 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1736 (hildon_touch_selector_remove): Disconnect model's signal handler
1739 Fixes: NB#116289 (Hildon home crashes while adding task
1742 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1744 * hildon/hildon-button.c
1745 (hildon_button_set_title, hildon_button_set_value):
1746 Hide labels containing an empty string.
1748 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1750 * configure.ac: post release version bump
1751 * debian/changelog: post release version bump
1753 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1758 * configure.ac: Bump version.
1759 * debian/changelog: Updates.
1761 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1763 * hildon/hildon-note-private.h: Removed sound_signal_handler
1764 * hildon/hildon-note.c
1765 (on_show_cb): new callback on note "show" event, this simply adds
1766 a idle, with the function sound_handling
1767 (sound_handling): removed the sound_signal_handler management
1768 (hildon_note_init): connect note "show" event to on_show_cb
1769 (hildon_note_realize): remove the connection to "expose-event"
1771 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1772 device?' confirmation note)
1774 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1776 * hildon/hildon-note.c
1777 (hildon_note_new_information_with_icon_name)
1778 (hildon_note_new_confirmation_with_icon_name):
1779 Terminate the list of parameters in g_object_set() calls
1781 Fixes: NB#115166 (Formatting memory card is not taking place)
1783 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1785 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1786 "dialog-information" role for the sound being played.
1788 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1790 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1791 Don't make the menu a modal window, it causes strange interactions
1792 with the pointer grab and it's not really needed.
1794 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1796 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1798 * hildon/hildon-touch-selector.[ch]
1799 (hildon_touch_selector_optimal_size_request): function added to get a
1800 optimal size request from the touch selector, when you want a dialog to
1801 show as much of the selector
1802 * hildon/hildon-picker-dialog.c:
1803 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1804 (hildon_app_menu_class_init):
1805 New "max-height-landscape" and "max-height-portrait" style properties
1806 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1807 (hildon_picker_dialog_get_max_height): returns the maximum height using
1808 the style properties defined and checking the current portrait/landscape
1810 (_hildon_picker_dialog_set_selector): removed the set_size_request
1812 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1814 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1816 * hildon/hildon-bread-crumb-trail.c:
1817 * hildon/hildon-bread-crumb.c:
1818 * hildon/hildon-seekbar.c:
1819 Add reference to replacements for these deprecated widgets.
1821 Fixes: MB#4461 (Documentation: All deprecations should mention
1824 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1826 * examples/hildon-remote-texture-example.c
1828 Change the include to the hildon-remote-texture in order to compile
1829 properly the examples on the installed libhildon1-examples package
1831 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1833 * tests/Makefile.am: Add check for HildonPickerButton.
1834 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1835 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1836 checks for the HildonPickerButton.
1837 * tests/check_test.c (configure_tests): Add the test suite.
1838 * tests/test_suites.h: likewise.
1840 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1842 * hildon/hildon-touch-selector.c
1843 (+on_row_changed): Emit HildonTouchSelector:changed when the
1844 contents of a selected row change.
1845 (_create_new_column), (_hildon_touch_selector_set_model): connect
1846 to GtkTreeModel:row-changed on a newly set model.
1848 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1850 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1852 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1854 * hildon/hildon-banner.c (hildon_banner_destroy)
1855 (hildon_banner_show_progress, hildon_banner_set_fraction):
1856 Remove the progress bar from HildonBanner and use a progress
1859 Fixes: NB#113761 (Update progress banner to use progress
1862 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1864 * hildon/hildon-banner.c:
1865 Calculate size of the banner label using the actual screen width
1866 rather than using a fixed value.
1868 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1871 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1873 * hildon/hildon-pannable-area.c,
1874 (hildon_pannable_area_class_init): Fixed signals documentation
1877 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1879 * configure.ac: post release version bump
1880 * debian/changelog: post release version bump
1882 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1887 * configure.ac: Bump version.
1888 * debian/changelog: Updates.
1890 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1892 * hildon/hildon-edit-toolbar.c
1893 (hildon_edit_toolbar_init):
1894 Don't let buttons in HildonEditToolbar receive focus.
1896 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1897 typing on an HW arrows key)
1899 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1901 * doc/Makefile.am: Fix build.
1903 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1905 * doc/Makefile.am: Do not redefine content_files.
1907 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1915 Renamed src/ to hildon/
1920 Include <hildon/hildon.h> directly in all examples.
1922 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1924 * src/hildon-sort-dialog.c
1925 (hildon_sort_dialog_add_sort_key_with_sorting)
1929 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1931 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1932 make distcheck passes.
1934 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1936 * Makefile.am: Enable gtk-doc during distcheck.
1938 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1940 * Makefile.am: Do not distribute the debian/ directory.
1942 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1944 * doc/Makefile.am: Add the extra SGML files to content_files,
1945 so that they are distributed properly.
1947 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1949 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1952 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1954 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1955 (hildon_note_new_information_with_icon_name): Set the "icon" property
1956 to preserve soundness.
1958 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-font-selection-dialog.c
1961 (hildon_font_selection_dialog_set_property): Fail when the "family"
1962 property is set to NULL.
1964 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1966 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1969 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1971 * src/hildon-time-selector.h:
1972 Added HildonTimeSelectorFormatPolicy
1973 * src/hildon-time-selector.c:
1974 Added PROP_TIME_FORMAT_POLICY
1975 (_check_ampm_format): renamed to check_automatic_ampm_format
1976 (update_format_policy), (update_format_dependant_columns): new functions
1977 (hildon_time_selector_class_init)
1978 (hildon_time_selector_contructor)
1979 (hildon_time_selector_init)
1980 (hildon_time_selector_get_property)
1981 (hildon_time_selector_set_property)
1982 (hildon_time_selector_get_time)
1983 (hildon_time_selector_set_time)
1984 * src/hildon-touch-selector.h: new file
1985 * src/hildon-touch-selector.c
1986 (hildon_touch_selector_emit_changed)
1987 (hildon_touch_selector_block_changed)
1988 (hildon_touch_selector_unblock_changed)
1989 Added functions to allow to block the emission of the "changed" signal
1990 * src/hildon-picker-dialog.c
1991 (hildon_picker_dialog_show): call the parent show before the custom code
1992 * examples/hildon-time-button-example.c
1993 Modified, so now you can configure the time format using the new property
1995 Added a new property "time-format-policy" that allow to choose the time
1996 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1997 case it uses gconf in order to check if the time selector must use
2000 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
2003 2009-04-28 Alberto Garcia <agarcia@igalia.com>
2005 * src/hildon-note.c (hildon_note_init):
2006 Label in HildonNote must be left aligned, not centered. This
2007 reverts the last commit in HildonNote.
2009 Fixes: NB#112933 (text is not left aligned in confirmation dialog
2010 is connectivity dialog)
2012 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2017 * doc/hildon-sections.txt:
2018 Added hildon_gtk_window_set_do_not_disturb()
2020 2009-04-27 Alberto Garcia <agarcia@igalia.com>
2022 * src/hildon-note.c (hildon_note_init): Center label.
2024 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2027 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
2032 * configure.ac: Bump version.
2033 * debian/changelog: Updates.
2035 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2037 * src/hildon-note-private.h: Add button-width to the private data.
2038 * src/hildon-note.c (+resize_button),
2039 (+hildon_note_orientation_update): methods to repack widgets on orientation
2041 (screen_size_changed): Call above method for confirmation notes.
2042 (hildon_note_realize): Always connect to the "screen-size" changed signal.
2043 (hildon_note_rebuild): Store the original width request from buttons.
2045 Fixes: NB#109635 (Confirmation notes do not support portrait)
2047 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2049 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
2050 when it is a progress note.
2052 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2054 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
2055 in the note, since there are no horizontally arranged contents.
2057 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2059 * src/hildon-gtk.c (+set_flag): new generic method to
2060 set/delay a flag setting in a window.
2061 (hildon_gtk_window_set_progress_indicator):
2062 (hildon_gtk_window_set_do_not_disturb),
2063 (hildon_gtk_window_set_portrait_flags): use set_flag() to
2064 avoid code redundance.
2066 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
2068 Based on a patch by Alberto Garcia (agarcia@igalia.com)
2070 * src/hildon-gtk.c (set_clear_window_flag),
2071 (do_set_progress_indicator), (do_set_do_not_disturb),
2072 (do_set_portrait_flags),
2073 (hildon_gtk_window_set_progress_indicator),
2074 (hildon_gtk_window_set_do_not_disturb),
2075 (hildon_gtk_window_set_portrait_flags):
2076 Allow setting dnd-flag, progress indicator, and portrait flags
2077 when the window is not realized.
2079 2009-04-24 Alejandro G. Castro <alex@igalia.com>
2081 * src/hildon-pannable-area.c,
2082 * src/hildon-pannable-area.h: Add the hildon deprecated define to
2083 the size request policy function and defines.
2085 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2087 * doc/hildon-sections.txt: Add the new API.
2088 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
2089 method to set the portrait flags.
2090 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
2092 Fixes: NB#112328 (Adding helpers for setting portrait properties)
2094 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
2096 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
2097 to allow using this method with other flags.
2098 (hildon_gtk_window_set_progress_indicator): Update accordingly.
2099 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
2101 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2103 * src/hildon-touch-selector.c
2104 (hildon_touch_selector_append_text_column):
2105 Make the cell renderer use the smallest width possible.
2107 Fixes: NB#108470 (Selected items in multiple selection are either
2108 having a tick that is cut or not visible at all.)
2110 2009-04-22 Alberto Garcia <agarcia@igalia.com>
2112 * src/hildon-touch-selector.c
2113 (hildon_touch_selector_append_text_column):
2116 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
2118 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
2119 Use g_strdup_printf() instead of a fixed size buffer.
2121 2009-04-21 Alberto Garcia <agarcia@igalia.com>
2123 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
2124 Close banners when a HildonAppMenu is popped up.
2126 Fixes: NB#111027 (Title menu closed immediately if activated when
2127 "Invalid e-mail address" banner is shown)
2129 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2134 * configure.ac: Bump version.
2135 * debian/changelog: Updates.
2137 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-banner.c (hildon_banner_realize):
2140 Mark HildonBanner as supporting portrait mode.
2141 Use GDK to set window properties insetad of direct Xlib calls.
2143 Fixes: NB#111830 (HildonBanner should be marked as supporting
2146 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2148 * src/hildon-note.c (hildon_note_rebuild):
2149 Hide action area in information notes. Prevents text from being
2150 slightly aligned to the left.
2152 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2155 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2157 Patch by Mox Soini (ext-mox.soini@nokia.com)
2159 * src/hildon-banner.c (hildon_banner_create_animation):
2160 Use stylus-sized icons in animation banner.
2162 Fixes: NB#111206 (stylus sized icon for animation banner)
2164 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2168 (+hildon_gtk_window_set_do_not_disturb):
2169 New API to set the do-not-disturb flag.
2171 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2173 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2175 * examples/hildon-progress-indicator-example.c: Fix example
2177 * src/hildon-gtk.c (set_clear_window_flag)
2178 (hildon_gtk_window_set_progress_indicator):
2179 Create a generic function for setting flags to a window.
2180 Use GDK instead of direct Xlib calls.
2182 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-button.c (hildon_button_set_arrangement):
2185 Due to NB#88126, if one of the labels is too long it will be
2186 painted outside the button. The 'value' label is more likely to be
2187 the longest one, so we change its packing options in order to
2188 truncate it if necessary. As a side effect, the 'title' label will
2189 no longer be truncated.
2191 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2193 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2198 * configure.ac: Bump version.
2199 * debian/changelog: Updates.
2201 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2203 Deprecation of the hildon_pannable_area_set_size_request_policy
2204 API, the only policy properly supported in gtk+ nowadays is the
2207 * src/hildon-pannable-area.c,
2208 (hildon_pannable_area_size_request): Added a workaround for the
2209 size_request to avoid the problems of huge pixmaps in case someone
2210 is still using the function.
2211 * src/hildon-pannable-area.h: Deprecated the enum with the
2214 Fixes: NB#110244 (Problems with the
2215 hildon_pannable_area_set_size_request_policy API)
2217 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2219 * src/hildon-pannable-area.c,
2220 (hildon_pannable_area_init),
2221 (hildon_pannable_area_size_request),
2222 (hildon_pannable_area_style_set),
2223 (hildon_pannable_draw_vscroll),
2224 (hildon_pannable_draw_hscroll),
2225 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2226 indicator_width to clarify the use of the attribute.
2228 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2233 * configure.ac: Bump version.
2234 * debian/changelog: Updates.
2236 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2238 * src/hildon-picker-dialog.c
2239 * src/hildon-touch-selector.c
2240 Reverting the change that tried to avoid the hardcoded height on
2241 the picker dialog, as causes problems on the hildon-touch-selector
2244 Fixes: NB#110029 (selectors not scrolling to selected value)
2246 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2248 * src/hildon-touch-selector.c: Fix typos
2250 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2253 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2254 request more motions after using it.
2256 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2258 * src/hildon-calendar.c (hildon_calendar_expose),
2259 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2260 Remove unused variables.
2262 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2264 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2265 variable assignment.
2267 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2269 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2270 Check the return value of gtk_tree_selection_get_selected()
2273 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2275 * src/hildon-animation-actor.c
2276 * src/hildon-button.c
2278 * src/hildon-pannable-area.c
2279 * src/hildon-picker-button.c
2280 * src/hildon-program.c
2281 * src/hildon-remote-texture.c
2282 * src/hildon-text-view.c
2283 * src/hildon-touch-selector.c
2284 * src/hildon-window-stack.c
2285 * src/hildon-window.c:
2286 Add missing 'Since: 2.2' tags.
2288 * doc/hildon-sections.txt:
2289 Add some missing symbols.
2291 * doc/hildon-docs.sgml:
2292 New 'Other' section for HildonAnimationActor and
2295 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2297 Patch by Iván Gómez (igomez@igalia.com)
2300 * doc/compiling.sgml
2301 * doc/hildon-docs.sgml
2302 * doc/hildon-sections.txt
2303 * doc/migration.sgml
2304 * doc/resources.sgml
2306 New chapters on using the Hildon library.
2307 Updated the general structure of the reference manual.
2308 Other minor documentation fixes.
2310 * src/hildon-calendar-popup.c
2311 * src/hildon-calendar.c
2312 * src/hildon-controlbar.c
2313 * src/hildon-date-editor.c
2314 * src/hildon-dialog.c
2315 * src/hildon-hvolumebar.c
2316 * src/hildon-number-editor.c
2317 * src/hildon-range-editor.c
2318 * src/hildon-sort-dialog.c
2319 * src/hildon-time-editor.c
2320 * src/hildon-time-picker.c
2321 * src/hildon-volumebar-range.c
2322 * src/hildon-volumebar.c
2323 * src/hildon-vvolumebar.c
2324 * src/hildon-weekday-picker.c:
2325 Add deprecation notes
2327 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2328 Document 'horizontal-movement' and 'vertical-movement' signals.
2330 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2335 * configure.ac: Bump version.
2336 * debian/changelog: Updates.
2338 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2340 * src/hildon-pannable-area.c,
2341 (hildon_pannable_area_class_init): increased the minimum velocity.
2342 (hildon_pannable_area_button_release_cb): Updated the
2343 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2344 setup. Review the code to control that last event.
2346 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2349 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2351 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2353 * src/hildon-get-password-dialog.c
2354 (hildon_get_password_set_property),
2355 (hildon_get_password_get_property), (create_contents):
2356 * src/hildon-login-dialog-private.h:
2357 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2358 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2359 (hildon_login_dialog_get_password):
2360 * src/hildon-set-password-dialog-private.h:
2361 * src/hildon-set-password-dialog.c
2362 (hildon_set_password_set_property),
2363 (hildon_set_password_get_property), (create_contents),
2364 (hildon_set_password_response_change),
2365 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2367 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2368 instead and look more Fremantle style.
2370 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2372 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2374 * doc/hildon-sections.txt
2375 * src/hildon-window-stack.h
2376 * src/hildon-window-stack.c
2377 (+hildon_window_stack_get_windows):
2378 New API to obtain the list of windows on a stack.
2380 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2382 * src/hildon-app-menu.c (hildon_app_menu_popup)
2383 (hildon_app_menu_class_init, -hildon_app_menu_show):
2384 Remove hildon_app_menu_show() and move all its checks to
2385 hildon_app_menu_popup()
2387 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2389 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2390 (_hildon_picker_dialog_set_selector): removed call to
2391 gtk_widget_set_size_request
2392 * src/hildon-touch-selector.c
2393 (_create_new_column): change the pannable size request policy
2395 Avoid to use a hardcoded height for the hildon picker dialog. In order
2396 to get that, we needed to change the hildon pannable size request
2398 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2400 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2402 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2403 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2406 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2408 * debian/control: Depend on osso-system-lock localization package.
2409 * src/hildon-code-dialog.c: Obtain the secu_application_title
2410 translation from osso-system-lock.
2411 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2412 for translation the atk related strings, that's not necessary.
2413 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2414 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2415 cancel button, it is not required.
2417 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2419 * src/hildon-pannable-area.c,
2420 (hildon_pannable_area_class_init): Modified the default value of
2421 the overshooting max speed, we have reduced it.
2423 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2425 * doc/hildon-sections.txt
2426 * src/hildon-window-private.h
2427 * src/hildon-window.h
2428 * src/hildon-window.c (hildon_window_class_init)
2429 (hildon_window_init, hildon_window_finalize)
2430 (hildon_window_realize, hildon_window_get_property)
2431 (hildon_window_set_property, hildon_window_update_markup)
2432 (hildon_window_get_markup, hildon_window_set_markup):
2433 New "markup" property and hildon_window_{get,set}_markup() methods.
2435 * examples/hildon-stackable-window-example.c (new_window):
2436 Update example to use hildon_window_set_markup()
2438 Fixes: NB#106375 (Need API to retitle a window with a title
2441 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2443 * src/hildon-pannable-area.c,
2444 (hildon_pannable_area_class_init): Changed the default value of
2445 the initial_hint to TRUE.
2446 (hildon_pannable_area_initial_effect): Changed the initial effect,
2447 not the effect is just the fade-out of the scrollbars.
2449 Fixes: NB#107775 (No scrollbars can be seen when several items are
2450 available in a dialog)
2452 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-program.c (hildon_program_update_top_most):
2457 Fixes: NB#109179 (Memory leak in Hildon program)
2459 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2461 * src/hildon-banner.c (-get_current_app_window):
2462 Remove unused function.
2464 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2466 * src/hildon-pannable-area.c: Modified the documentation of the
2467 get adjustments functions to explain the problem of using the
2468 adjustment directly.
2469 (hildon_pannable_area_class_init): Improved the explanation about
2472 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-app-menu-private.h
2475 * src/hildon-app-menu.c
2476 (hildon_app_menu_class_init):
2477 Bring back the 'external-border' style property
2478 (hildon_app_menu_class_init, hildon_app_menu_init)
2479 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2480 Set a fixed width-request for the menu, independent of the number
2483 Fixes: NB#94957 (Smoothly opened application menu)
2485 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2489 * src/hildon-banner.c
2490 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2492 Make sure that the banner is correctly placed the first time it's
2494 (hildon_banner_check_position, -check_fullscreen_state):
2495 Show the banner in the same place no matter if the window is in
2496 fullscreen mode or not.
2498 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2500 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2502 * src/hildon-touch-selector.c (_default_print_func): reorder
2503 concatenation for clarity.
2505 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2507 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2508 for multicolumn selectors.
2510 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2512 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2517 * configure.ac: Bump version.
2518 * debian/changelog: Updates.
2520 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2522 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2525 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2527 * configure.ac: removed libcangerra-gtk dependency
2528 * debian/control: removed libcanberra-gtk dependency
2529 * src/Makefile.am: removed libcanberra gtk related flags
2530 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2531 context, and manage a global canberra context instead
2533 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2535 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2537 Patch by Daniel Borgmann (danielb@openismus.com)
2539 * src/hildon-edit-toolbar.c:
2540 Adjust the left padding.
2541 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2542 Paint background of the edit toolbar.
2544 Fixes: NB#107897 (Patch to make editmodetoolbar background
2545 themeable and adjust margin)
2547 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2549 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2551 * src/hildon-program.c (hildon_program_update_top_most):
2552 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2554 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2555 change when the user tasks in/out of an application)
2557 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2559 * configure.ac: added libcangerra-gtk dependency
2560 * debian/control: added libcanberra-gtk dependency
2561 * src/Makefile.am: added libcanberra gtk related flags
2562 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2565 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2567 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2569 * src/hildon-program.c (hildon_program_remove_window)
2570 (hildon_program_add_window): Add checks for the window
2571 parameter. Don't decrease the window counter if the window is not
2574 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2576 * src/hildon-pannable-area.c,
2577 (hildon_pannable_area_realize): Fixed position of the event_window
2578 in the realize method.
2580 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2582 * src/hildon-app-menu-private.h
2583 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2584 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2585 (hildon_app_menu_key_press, hildon_app_menu_init)
2586 (hildon_app_menu_finalize):
2587 Make sure that all idle functions are removed when the widget is
2590 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2592 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2597 * configure.ac: Bump version.
2598 * debian/changelog: Updates.
2600 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2602 * src/hildon-entry.c
2603 (+hildon_entry_show_placeholder),
2604 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2605 that replace hildon_entry_update_contents().
2606 (hildon_entry_set_text),
2607 (hildon_entry_set_placeholder),
2608 (hildon_entry_focus_in_event),
2609 (hildon_entry_focus_out_event): Determine when it is needed
2610 either to show or hide the placeholder and call the above methods.
2612 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2613 when the placeholder text is already set)
2615 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2617 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2618 simple GdkPixbufAnim using the new icons for the banner.
2619 (hildon_banner_show_animation): Use the above mentioned method to
2620 create the animation widget.
2622 Fixes: NB#103564 (Make hildon animation banner use individual
2623 image files as the animation)
2625 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2627 * src/hildon-pannable-area.c,
2628 (hildon_pannable_leave_notify_event): Check if the child is NULL
2629 to avoid sending the leave.
2631 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2633 * src/hildon-pannable-area.c,
2634 (hildon_pannable_area_class_init),
2635 (hildon_pannable_leave_notify_event): Added a handler of the
2636 leave-notify-signal to consider when no motion notify before
2639 Fixes: NB#107494 (Items stay selected when clicking and moving
2640 away when inside pannable area)
2642 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2647 * configure.ac: Bump version.
2648 * debian/changelog: Updates.
2650 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2652 Patch by Alberto Garcia (agarcia@igalia.com)
2654 * src/hildon-date-button.c,
2655 (hildon_date_button_class_init),
2656 (hildon_date_button_init): Removed the construct property handling
2657 and created a default selector in the init method.
2658 * src/hildon-picker-button.c,
2659 (hildon_picker_button_class_init): Removed the construct flag of the
2662 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-main.c (hildon_init):
2665 Don't allow hildon_init() to be called more than once.
2667 Fixes: NB#106607 (hildon_init should issue error message upon
2670 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2672 * examples/hildon-pannable-area-touch-list-example.c
2673 * examples/hildon-pannagle-area-touch-grid-example.c
2674 * examples/hildon-edit-toolbar-example.c
2675 * examples/hildon-touch-selector-multi-cells-example.c
2676 Removed the call to gtk_rc_parse_string, as it is not required since
2679 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2681 * src/hildon-pannable-area.c,
2682 (hildon_pannable_area_class_init): Modified the default panning
2683 threshold of the widget to 6px.
2685 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2686 than the threshold value ) within the button is not sending the
2689 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2692 for the treeview in the new column. This way, the touch list will never
2695 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2696 be selected manually for the HW keys to work)
2698 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2700 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2701 comparison instead of using strcmp(). Fixes a compiler warning as well.
2703 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2705 * doc/hildon-docs.sgml: Do not set the library version in the
2706 document title, use the releaseinfo tag for that purpose instead.
2708 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2710 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2711 Do not jump to the first item if the text in the entry is removed.
2713 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2718 * configure.ac: Bump version.
2719 * debian/changelog: Updates.
2721 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2723 * src/hildon-entry.c (hildon_entry_refresh_contents):
2724 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2725 Use "ReversedSecondaryTextColor" for the placeholder text.
2727 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2729 * src/hildon-text-view.c: Fix compilation warning.
2731 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2733 * src/hildon-button.c (hildon_button_class_init): Don't make
2734 "title" and "value" construction properties, to prevent them from
2735 overwriting labels set from derived classes.
2737 * src/hildon-picker-button.c
2738 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2739 (hildon_picker_button_class_init): Make touch-selector a
2740 construction property.
2742 * src/hildon-date-button.c (hildon_date_button_class_init)
2743 (+hildon_date_button_constructed): Add a default date selector if
2746 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2748 * src/hildon-touch-selector.c: Small documentation fixes.
2750 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2752 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2754 * src/hildon-entry.c (hildon_entry_refresh_contents),
2755 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2756 widget name, set the logical color directly instead and a boolean
2757 showing_placeholder instead.
2758 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2759 use the widget name here either.
2761 Fixes: NB#105678 (HildonTextView should use logical colours
2762 instead of setting widget name)
2764 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2766 Patch by Daniel Elster (danielk@openismus.com)
2768 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2769 Add user_data parameter.
2770 (hildon_touch_selector_set_print_func_full): New function akin
2771 hildon_touch_selector_set_print_func() but with support for user
2772 data and a destroy callback.
2773 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2774 to clean up the print function user data.
2775 (hildon_touch_selector_class_init): Install dispose function.
2776 (HildonTouchSelectorPrivate::print_user_data),
2777 (HildonTouchSelectorPrivate::print_destroy_func): New private
2779 (hildon_touch_selector_init): Initialize new private members.
2780 (hildon_touch_selector_get_current_text): Pass along user data
2781 to the print function.
2782 (_default_print_func): Add dummy user_data to parameter list.
2783 * hildon-date-selector.c (_custom_print_func): ditto,
2784 * hildon-time-selector.c (_custom_print_func): ditto,
2785 * hildon-touch-selector-entry.c
2786 (hildon_touch_selector_entry_print_func): ditto.
2788 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2790 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2792 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2794 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2796 * src/hildon-pannable-area.c,
2797 (hildon_pannable_area_init),
2798 (hildon_pannable_area_button_press_cb),
2799 (hildon_pannable_area_motion_notify_cb): We have added code to
2800 handle the leave and enter events when using the motion events.
2802 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2804 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2806 * src/hildon-date-button.c (hildon_date_button_get_date)
2807 (hildon_date_button_set_date): Make sure that the button has a
2810 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2812 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2814 * src/hildon-pannable-area.c,
2815 (hildon_pannable_area_class_init),
2816 (hildon_pannable_area_calculate_velocity): Modify the use of the
2817 force and adapt the value.
2819 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2822 (hildon_app_menu_class_init): Hide the menu if it receives a
2823 delete-event, but don't destroy it
2825 Fixes: NB#104485 (Not able to address the call when application
2826 menu is opened at background)
2828 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-app-menu.c
2831 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2832 Remove the "external-border" style property, let the menu take its
2833 natural size (or the one set by the window manager)
2834 (hildon_app_menu_repack_items):
2835 Don't reshow the menu, avoid flickers.
2837 Partially fixes NB#94957 (Smoothly opened application menu)
2839 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2844 * configure.ac: Bump version.
2845 * debian/changelog: Updates.
2847 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2849 * src/hildon-pannable-area.c,
2850 (hildon_pannable_area_motion_notify_cb): We control that the
2851 direction error margin is used just in case the movement is
2852 allowed in the other direction.
2854 Fixes: NB#105012 (buttons inside a pannable area not getting
2855 release event when dragging/releasing)
2857 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2859 * src/hildon-pannable-area.c,
2860 (hildon_pannable_area_class_init),
2861 (hildon_pannable_area_get_property),
2862 (hildon_pannable_area_set_property),
2863 (hildon_pannable_area_initial_effect),
2864 (hildon_pannable_axis_scroll),
2865 (hildon_pannable_area_button_release_cb): Reviewed the
2866 overshooting effect, now it has its own max
2867 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2868 speed when bouncing.
2870 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2875 * configure.ac: Bump version.
2876 * debian/changelog: Updates.
2878 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2880 * src/hildon-pannable-area.c,
2881 (hildon_pannable_area_class_init): Changed the max speed, now
2882 users can launch the widget very fast. Reduced the default force,
2883 that way it is easier to control the launch speed.
2885 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2887 * src/hildon-pannable-area.c,
2888 (hildon_pannable_area_button_release_cb): Removed this check
2889 because it causes problems when the device is overloaded.
2891 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2893 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2894 add a current_text field to store the text entered in the
2895 touch selector entry.
2896 (_clean_current_selection): clean up the current text as well.
2897 (_save_current_selection), (_restore_current_selection):
2898 Save/restore the text in the entry if the selector is a
2899 HildonTouchSelectorEntry.
2901 Fixes: NB#102541 (value entered in the touch selector entry is not
2902 shown when opened for second time)
2904 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2906 * doc/hildon-sections.txt:
2907 * src/hildon-touch-selector-entry.c
2908 (+hildon_touch_selector_entry_get_entry):
2909 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2911 Fixes: NB#104815 (I need accessor to the entry inside
2912 HildonTouchSelectorEntry)
2914 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2917 (hildon_app_menu_class_init):
2918 New "filter-vertical-spacing" style property.
2920 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-find-toolbar.c
2923 (hildon_find_toolbar_emit_close)
2924 (hildon_find_toolbar_emit_invalid_input)
2925 (hildon_find_toolbar_entry_activate):
2926 Use g_signal_emit() instead of g_signal_emit_by_name()
2928 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2930 Patch by Mox Soini (ext-mox.soini@nokia.com)
2932 * tests/TEST-CASES.txt
2933 * tests/check-hildon-banner.c
2934 * tests/check-hildon-note.c
2935 * src/hildon-banner.c
2936 * src/hildon-code-dialog.c
2937 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2938 * src/hildon-time-editor.c
2939 * examples/hildon-lookup-example.c (main):
2940 Replace obsolete icon names with new ones.
2942 * src/hildon-find-toolbar-private.h:
2943 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2944 (-hildon_find_toolbar_emit_search):
2945 Remove find button and change icon of close button.
2947 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2949 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2951 * src/hildon-time-button.c (hildon_time_button_new_step):
2952 Use the "touch-selector" property to set the selector directly
2953 when creating the object.
2955 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2957 Added a new example application that allows tuning the pannable
2958 area and replaced defines with properties in order to simplify the
2959 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2960 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2961 PROP_DIRECTION_ERROR_MARGIN.
2963 * examples/hildon-pannable-area-tuning-example.c: New example
2965 * src/hildon-pannable-area.c,
2966 (hildon_pannable_area_class_init),
2967 (hildon_pannable_area_init),
2968 (hildon_pannable_area_get_property),
2969 (hildon_pannable_area_set_property),
2970 (hildon_pannable_area_launch_fade_timeout),
2971 (hildon_pannable_area_adjust_value_changed),
2972 (hildon_pannable_axis_scroll),
2973 (hildon_pannable_area_motion_notify_cb),
2974 (hildon_pannable_area_scroll_cb),
2975 (hildon_pannable_area_button_release_cb): We have converted some
2976 of the defines that control the widget to properties to simplify
2979 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2981 * src/hildon-app-menu.c (hildon_app_menu_map)
2982 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2983 so it's closed if a new window appears.
2985 Fixes: NB#104485 (Not able to address the call when application
2986 menu is opened at background)
2988 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2990 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2991 missing 'break' statement in in 'case' construct to avoid
2994 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-touch-selector-entry.c
2997 (hildon_touch_selector_entry_get_property),
2998 (hildon_touch_selector_entry_set_property): Add missing 'break'
2999 statements in in 'case' constructs to avoid incorrect warnings.
3001 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-time-editor.c
3004 (hildon_time_editor_get_time_separators): Do not crash if
3005 the first label is NULL.
3007 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
3009 * src/hildon-date-selector.c (_month_days): Check for month to be
3010 strictly less than 12, since otherwise we may overrun the array.
3012 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3014 * src/hildon-date-button.c (+hildon_date_button_new_full)
3015 (hildon_date_button_new, hildon_date_button_new_with_year_range)
3016 (hildon_date_button_init): Set the date selector using a
3017 construction property, to make it happen after HildonButton's
3018 "value" property is set.
3020 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
3021 current date by default)
3023 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3025 * doc/hildon-sections.txt
3026 * src/hildon-program.c
3027 * src/hildon-stackable-window.c
3028 * src/hildon-window.c:
3029 Documentation updates
3031 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-window-stack.c (hildon_window_stack_get_default)
3034 (hildon_window_stack_new, +hildon_window_stack_set_property)
3035 (+hildon_window_stack_get_property)
3036 (hildon_window_stack_class_init)
3037 (+hildon_window_stack_set_window_group)
3038 (+hildon_window_stack_get_window_group):
3039 Make the window group a construction property.
3041 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3043 * doc/hildon-sections.txt
3044 * src/hildon-stackable-window-private.h
3045 * src/hildon-stackable-window.h
3046 * src/hildon-stackable-window.c
3047 (-hildon_stackable_window_set_app_menu)
3048 (-hildon_stackable_window_get_app_menu)
3049 (-hildon_stackable_window_toggle_menu)
3050 (-hildon_stackable_window_finalize)
3051 (hildon_stackable_window_class_init)
3052 (hildon_stackable_window_init)
3053 * src/hildon-window-private.h
3054 * src/hildon-window.h
3055 * src/hildon-window.c (hildon_window_init)
3056 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
3057 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
3058 (hildon_window_get_main_menu, hildon_window_set_main_menu)
3059 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
3060 Moved all HildonAppMenu code to HildonWindow. The menu does not
3061 require a HildonStackableWindow anymore.
3063 * src/hildon-app-menu.c
3064 * src/hildon-program.c
3065 * examples/hildon-app-menu-example.c (main):
3066 Update examples and documentation to reflect HildonAppMenu
3069 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3071 * src/hildon-remote-texture.c
3072 * src/hildon-animation-actor.c:
3073 Don't include unused private headers.
3075 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3077 * src/hildon-program-private.h
3078 * src/hildon-program.c
3079 (hildon_program_set_common_menu)
3080 (hildon_program_get_common_menu)
3081 (hildon_program_set_common_app_menu)
3082 (hildon_program_get_common_app_menu):
3083 Change common menu pointers from GtkWidget* to GtkMenu* and
3084 HildonAppMenu* to avoid unnecessary casts.
3086 2009-03-03 Alberto Garcia <agarcia@igalia.com>
3088 * src/hildon-window.c (hildon_window_set_main_menu):
3089 Removed incorrect 'Since:' tag
3091 2009-03-03 Alejandro G. Castro <alex@igalia.com>
3093 * src/hildon-pannable-area.c,
3094 (hildon_pannable_area_calculate_velocity): We use now the
3095 RATIO_TOLERANCE here to check the distance, fixed typo in the
3097 (hildon_pannable_area_motion_notify_cb): We have to set the type
3098 and time even if we are not sending the motion.
3100 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3102 * doc/hildon-sections.txt
3103 * src/hildon-app-menu.h
3104 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
3105 (+hildon_app_menu_get_filters): New methods to get the contents of
3108 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
3111 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3113 * src/hildon-app-menu.c (hildon_app_menu_popup):
3116 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3118 * src/hildon-window.h
3119 * src/hildon-window.c (+hildon_window_get_main_menu)
3120 (hildon_window_get_menu): Created hildon_window_get_main_menu()
3121 and deprecated hildon_window_get_menu().
3123 * src/hildon-stackable-window.h
3124 * src/hildon-stackable-window.c
3125 (+hildon_stackable_window_set_app_menu)
3126 (+hildon_stackable_window_get_app_menu)
3127 (hildon_stackable_window_set_main_menu): Created
3128 hildon_stackable_window_{get,set}_app_menu() and deprecated
3129 hildon_stackable_window_set_main_menu().
3131 * doc/hildon-sections.txt
3132 * examples/hildon-app-menu-example.c (main)
3133 * src/hildon-app-menu.c
3134 * src/hildon-program.c:
3135 Updated examples and documentation.
3137 Fixes: NB#103758 (No way to obtain a menu from a
3138 HildonStackableWindow)
3140 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3145 * configure.ac: Bump version.
3146 * debian/changelog: Updates.
3148 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3150 * examples/hildon-remote-texture-example.c: Include
3151 hildon-remote-texture.h explicitely.
3152 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3153 applications not defining _XOPEN_SOURCE which don't require this header.
3155 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3157 * doc/hildon-sections.txt
3158 * src/hildon-app-menu.h
3159 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3160 New function to pop up a HildonAppMenu
3162 * src/hildon-stackable-window.c
3163 (hildon_stackable_window_toggle_menu):
3164 Use hildon_app_menu_popup() to show the menu.
3166 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-app-menu.c (hildon_app_menu_show)
3169 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3170 menu if there's another window between it and its parent window.
3172 Fixes: NB#100468 (Application menu window is launched even when a
3173 new secondary-window/dialog is pending to be shown/realized)
3175 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-window-stack.c (hildon_window_stack_push)
3178 (hildon_window_stack_pop_and_push):
3179 Don't forget to push/pop the first window.
3180 Reverse the window list before calling _push_list()
3182 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-picker-button.h
3185 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3186 Remove "value_changed" slot to avoid ABI breakage
3188 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3190 * src/hildon-pannable-area.c,
3191 (hildon_pannable_area_realize),
3192 (hildon_pannable_area_unrealize),
3193 (hildon_pannable_draw_vscroll),
3194 (hildon_pannable_draw_hscroll): Changed the method to handle the
3195 GC used to draw the transparent scrollbar, this way we avoid
3196 creating the GC all the time when drawing the scrollbars.
3198 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3200 * src/hildon-pannable-area.c,
3201 (hildon_pannable_area_init),
3202 (hildon_pannable_area_remove): Removed some unnecessary casts.
3203 (hildon_pannable_area_dispose): Disconnected some signals before
3204 releasing the adjustments.
3206 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3209 Make sure that all widgets contained in the toolbar are shown.
3211 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3213 * doc/hildon-sections.txt
3214 * src/hildon-picker-button.h
3215 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3216 (_selection_changed, hildon_picker_button_on_dialog_response)
3217 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3218 New hildon_picker_button_value_changed() method.
3221 * src/hildon-picker-button-private.h
3222 * src/hildon-picker-button.c (hildon_picker_button_init)
3223 (+hildon_picker_button_disable_value_changed): Add protected
3224 function for disabling the "value-changed" signal.
3226 * src/hildon-date-button.c (hildon_date_button_set_date):
3227 Don't emit "value-changed" for each one of the three columns.
3229 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3230 before actual change of values)
3232 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3234 * src/hildon-pannable-area.c,
3235 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3236 for the treeview overshooting.
3238 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3240 * src/hildon-banner.c (+hildon_banner_bind_style):
3241 Renamed from hildon_banner_bind_label_style(), now naming the
3242 banner itself as well.
3243 (hildon_banner_show_information),
3244 (hildon_banner_show_information_with_markup),
3245 (hildon_banner_show_animation), (hildon_banner_show_progress):
3246 Name the widgets and labels, based on their type.
3248 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3251 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3253 * src/hildon-note.c (hildon_note_set_property): call
3254 hildon_note_rename() on HildonNote:note-type set.
3255 (hildon_note_rename): Name the note and its label, based on the
3256 HildonNote:note-type property.
3258 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3261 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3263 * src/hildon-pannable-area.c,
3264 (hildon_pannable_area_class_init),
3265 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3266 panning parameters, increased SPS and deceleration factor. Added
3267 also a margin to control fake directions.
3269 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3271 Patch by Sven Herzberg (sven@imendio.com)
3273 * configure.ac: Add missing AM_PROG_CC_C_0
3274 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3276 See NB#101420 (Update unit tests and fix make check)
3278 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3280 This patch was applied before but reverted because it caused
3281 problems, we have changed the main condition and tested the
3282 regressions we detected before and they work ok. We have done a
3283 complete review of the topmost algorithm in order to get a more
3286 * src/hildon-pannable-area.c,
3287 (hildon_pannable_area_get_topmost): Added a new parameter to
3288 filter the the windows that do not include those events.
3289 (hildon_pannable_area_button_press_cb),
3290 (hildon_pannable_area_button_release_cb),
3291 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3292 topmost function, we have added the new parameter.
3294 Fixes: NB#97458 (Pannable area prevents propagation of button
3297 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3299 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3300 if all columns in the selector have an item selected.
3301 (_on_dialog_response): Stop "response" signal emission if there is
3302 any selector column without selected items.
3304 Fixes: NB#101889 (Picker dialog should not close when nothing is
3305 selected in multiple selection list)
3307 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3309 * src/hildon-font-selection-dialog.c
3310 (hildon_font_selection_dialog_class_init),
3311 (hildon_font_selection_dialog_init): Remove the preview
3312 button and dialog, since previewing with default theming is likely
3313 to be overcomplicated. The :preview property has now no effect.
3314 Update documentation blurbs to inform about this.
3316 Fixes: NB#92297 (Preview content is not clearly visible for
3317 default colour text)
3319 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3321 Reviewed the geometry that handles the children size and
3322 scrollbar, now it tries a size and reviews the results depending
3323 on the scrollbars visibility.
3325 * src/hildon-pannable-area.c,
3326 (hildon_pannable_area_realize): Fixed a typo.
3327 (hildon_pannable_area_child_allocate_calculate): Added this
3328 function to calculate the child allocation.
3329 (hildon_pannable_area_size_allocate): Reviewed the allocation
3331 (hildon_pannable_area_check_scrollbars),
3332 (hildon_pannable_area_refresh): Refactored refresh function, this
3333 way we can call the code handling the scrollbars without causing a
3334 size_request, it is interesting in the allocate.
3335 (hildon_pannable_area_init): Replace the callbacks of the
3336 value_changed and changed signals to propertly deal with the
3338 (hildon_pannable_area_grab_notify),
3339 (hildon_pannable_area_initial_effect),
3340 (hildon_pannable_area_launch_fade_timeout),
3341 (hildon_pannable_area_adjust_changed),
3342 (hildon_pannable_area_adjust_value_changed),
3343 (hildon_pannable_area_redraw),
3344 (hildon_pannable_area_button_press_cb),
3345 (hildon_pannable_area_button_release_cb),
3346 (hildon_pannable_area_scroll_cb),
3347 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3348 code and use the new functions adjust_changed and
3349 adjust_value_changed.
3351 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3352 Contact editor dialog)
3354 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3359 * configure.ac: Bump version.
3360 * debian/changelog: Updates.
3362 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3364 * src/hildon-pannable-area.c,
3365 (hildon_pannable_area_get_topmost),
3366 (hildon_pannable_area_button_press_cb),
3367 (hildon_pannable_area_button_release_cb),
3368 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3369 topmost function adding the event mask. We have to try a
3370 differente approach because it is still causing problems (NB#9745,
3373 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3375 * src/hildon-banner.c:
3376 Update the maximum width of timed banners.
3377 (force_to_wrap_truncated): Enforce the maximum text width if the
3380 Fixes: NB#102413 (The text margins (wrapping) in information
3381 banner should be HILDON_MARGIN_TRIPLE)
3383 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3385 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3387 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3388 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3389 bound when calculating the scroll indicator position.
3391 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3392 treat ->lower correctly)
3394 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3396 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3397 expose event handling, since it is not necessary to draw the focus
3400 Fixes: NB#102467 (Do not show highlight on the text in
3403 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3405 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3406 full height of the toolbar for the button and the label.
3408 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3410 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3411 padding before the label and after the button.
3413 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3415 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3417 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3418 Add a GtkVSeparator between the button and the back arrow.
3419 Let the button have automatic size.
3420 Set a name to the widget for theming handling.
3422 Fixes: NB#101793 (Make edit toolbar the same height as window
3423 title bar (use title area theming))
3425 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3427 * src/hildon-helper.c (attach_new_color_element): Fix memory
3430 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3432 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3434 * examples/hildon-button-example.c (common_buttons_window): Don't
3437 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3439 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3440 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3442 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3444 * src/hildon-gtk.c: Check that the window is realized.
3446 Fixes: NB#102225 (Crash setting the progress indicator to a non
3449 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3451 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3452 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3453 instead of modifying the one in the widget style.
3455 Fixes: NB#101043 (Second row of all the command button are
3456 displayed in transparent mode.)
3458 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3460 * src/hildon-date-button.c
3461 * src/hildon-time-button.c: Add gettext macros
3463 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3465 * src/hildon-date-button.c (hildon_date_button_new):
3466 * src/hildon-time-button.c (hildon_time_button_new_step):
3467 Use new logical strings to set the button default title.
3469 Fixes: NB#99915 (Date and Time options are not localised in Date
3472 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3474 * src/hildon-pannable-area.c
3475 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3476 the PANNING_THRESHOLD.
3478 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3480 * src/hildon-pannable-area.c,
3481 (hildon_pannable_area_class_init): Increased the maximum speed.
3482 (hildon_pannable_area_get_property),
3483 (hildon_pannable_area_set_property),
3484 (hildon_pannable_area_timeout): Added a new low friction mode, it
3485 allows the user avoid friction when launching the widget fast
3486 enough. It is interesting to traverse long lists.
3488 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3490 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3491 (+hildon_stackable_window_delete_event): Ignore delete events if
3492 the window is not the topmost one.
3494 Fixes: NB#101698 (Back button long press and delete-event handling)
3496 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3498 * src/hildon-pannable-area.c,
3499 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3500 gtk-dnd-drag-threshold, it was too big. We have defined our own
3501 dnd define and set a smaller value: PANNIG_THRESHOLD.
3503 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3505 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3506 user-defined icons, use always the default one.
3508 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3510 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3512 This patch was applied before but reverted because it caused
3513 problems, we have changed the main condition and tested the
3514 regressions we detected before and they work ok.
3516 * src/hildon-pannable-area.c,
3517 (hildon_pannable_area_get_topmost): Added a new parameter to
3518 filter the the windows that do not include those events. Added
3519 also a condition when finding the window to filter windows that do
3520 not ask for those events.
3521 (hildon_pannable_area_button_press_cb),
3522 (hildon_pannable_area_button_release_cb),
3523 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3524 topmost function, we have added the new parameter.
3526 Fixes: NB#97458 (Pannable area prevents propagation of button
3529 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3531 * tests/check-hildon-color-button.c (START_TEST): do not leak
3534 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-font-selection-dialog.c
3537 (hildon_font_selection_dialog_get_preview_text): Return NULL
3538 instead of FALSE on the g_return_val_if_fail().
3540 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3542 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3543 * src/hildon-date-selector.c
3544 (hildon_date_selector_select_current_date):
3545 Do not compare unsigned integers to be greater than or equal 0,
3546 because it's always TRUE.
3548 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3550 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3551 (hildon_date_selector_constructor): Do not select the current
3552 date until we are handle the "changed" signal, to avoid having bogus
3553 elements in the days model.
3555 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3558 for num_days, since _month_days() can return a negative value.
3560 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3562 * src/hildon-caption.c (hildon_caption_size_allocate):
3563 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3564 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3566 Initialize allocation variables to 0, to avoid eventually using
3567 unitialized variables.
3569 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3571 * src/hildon-bread-crumb-trail.c
3572 (hildon_bread_crumb_trail_size_allocate):
3573 * src/hildon-calendar.c (hildon_calendar_set_background):
3574 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3575 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3576 * src/hildon-seekbar.c (hildon_seekbar_init):
3577 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3578 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3579 * src/hildon-touch-selector-entry.c
3580 (hildon_touch_selector_get_text_from_model):
3581 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3582 * src/hildon-window.c (hildon_window_finalize):
3584 Remove many unused variables.
3586 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3588 * src/hildon-seekbar.c: (hildon_seekbar_init),
3589 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3591 Remove unnecessary g_assert() calls.
3593 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3595 * src/hildon-caption.c: (hildon_caption_expose),
3596 (hildon_caption_set_property), (hildon_caption_init),
3597 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3598 (hildon_caption_size_request), (hildon_caption_size_allocate),
3599 (hildon_caption_forall), (hildon_caption_set_separator),
3600 (hildon_caption_activate), (hildon_caption_set_child_expand),
3601 (hildon_caption_set_label_text),
3602 (hildon_caption_get_label_alignment):
3604 Remove unnecessary g_assert() calls.
3606 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3608 * src/hildon-banner.c
3609 (hildon_banner_map, hildon_banner_init): Make banner temporary
3610 before mapping it to avoid closing other temporary windows, but
3611 make it non-temporary afterwards to avoid being closed by other
3612 non-temporary windows.
3613 (-hildon_banner_client_event, hildon_banner_init):
3614 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3616 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3619 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3621 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3624 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3626 * src/hildon-remote-texture.c
3627 * src/hildon-remote-texture.h
3628 * src/hildon-remote-texture-private.h
3629 * examples/hildon-remote-texture-example.c:
3630 Updates/fixes to remote-texture and its example.
3632 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3634 Patch by Mox Soini (ext-mox.soini@nokia.com)
3636 * src/hildon-code-dialog.c: Update logical id.
3637 * src/hildon-set-password-dialog.c: Update logical id.
3639 Fixes: NB#100646 (Logical strings is shown for ok in set
3640 password,Password needed dialogs)
3642 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3645 * src/hildon-remote-texture.c
3646 * src/hildon-remote-texture.h
3647 * src/hildon-remote-texture-private.h
3649 Added remote texture widget (for Clutter shared memory textures)
3651 * examples/hildon-remote-texture-example.c
3652 * examples/Makefile.am
3653 Added example file for remote texture usage
3655 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3657 * configure.ac: post release version bump.
3658 * debian/changelog: version bump.
3660 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3665 * configure.ac: Bump version.
3666 * debian/changelog: Updates.
3668 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3670 * src/hildon-date-selector.c (hildon_date_selector_init)
3671 (hildon_date_selector_constructor): Don't connect to the "changed"
3672 signal until the selector is completely constructed.
3674 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3676 * src/hildon-touch-selector.c: (_create_new_column),
3677 (hildon_touch_selector_append_column),
3678 (hildon_touch_selector_set_column_selection_mode),
3679 (hildon_touch_selector_set_active),
3680 (hildon_touch_selector_select_iter):
3681 Emit the HildonTouchSelector::changed signal every time selection
3682 is changed in any of the methods above. This behavior was already
3683 documented but not fully functional.
3685 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3686 selection is programmatically changed)
3688 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3690 * doc/hildon-sections.txt: Remove obsolete icon
3691 sizes from here as well.
3693 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3695 * examples/hildon-stackable-window-example.c (add_window): Remove
3698 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3700 * src/hildon-app-menu.c
3701 (hildon_app_menu_show): Check whether the parent window of a menu
3702 is topmost before popping it up.
3704 Fixes: NB#100468 (Application menu window is launched even when a
3705 new secondary-window/dialog is pending to be shown/realized.)
3707 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3709 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3712 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3714 Patch by Mox Soini (ext-mox.soini@nokia.com)
3716 * src/hildon-banner.c: (hildon_banner_show_animation):
3717 use stylus size instead of obsolete note size.
3718 * src/hildon-defines.h: Update icon sizes.
3720 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-touch-selector-entry.c:
3723 (hildon_touch_selector_entry_init): Disable unsupported
3725 (hildon_touch_selector_entry_get_text_column): Emit a warning
3726 if an unsupported input modes is used and explicitile state
3727 these modes in the documentation.
3729 Fixes: NB#99802 (Hildon touch selector entry not working properly
3730 for some of the input modes)
3732 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3734 * src/hildon-pannable-area.c,
3735 (hildon_pannable_area_init): Added the changed signal handlers of
3738 Fixes: NB#100320 (HildonPannableArea does not listen to
3739 GtkAdjustment "change" signals)
3741 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3743 * doc/hildon-sections.txt
3744 * src/hildon-window-private.h
3745 * src/hildon-window.h
3746 * src/hildon-window.c (hildon_window_init)
3747 (hildon_window_realize, hildon_window_unrealize)
3748 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3749 (hildon_window_size_request, hildon_window_size_allocate)
3750 (hildon_window_forall, hildon_window_show_all)
3751 (hildon_window_destroy, +paint_edit_toolbar)
3752 (+hildon_window_set_edit_toolbar):
3753 New hildon_window_set_edit_toolbar() method, to add a
3754 HildonEditToolbar to a window without having to pack it manually.
3756 Reorganize hildon_window_size_allocate()
3758 * src/hildon-edit-toolbar.c: Update documentation.
3760 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3761 example to use the new API.
3763 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3765 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3767 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3768 Remove from stack before calling parent's hide.
3770 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3773 window is removed from the middle of the stack, update the
3774 transiency of the previous one.
3776 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3779 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3781 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3782 block/unblock the signal handler if it's not actually being used.
3783 Fixes some critical warnings.
3785 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3787 Based on a patch by Iván Gómez (igomez@igalia.com)
3789 * src/hildon-banner.c
3793 * src/hildon-pannable-area.c
3794 * src/hildon-picker-dialog.c
3795 * src/hildon-wizard-dialog.h
3796 * src/hildon-wizard-dialog.c: Documentation updates.
3798 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3799 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3801 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3803 * configure.ac: post release version bump.
3804 * debian/changelog: version bump.
3806 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3811 * configure.ac: Bump version.
3812 * debian/changelog: Updates.
3814 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3816 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3817 a stock icon nor change the relief of the back arrow.
3819 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3820 graphics from theme)
3822 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3824 * src/hildon-button.c (hildon_button_set_alignment): Use
3825 priv->alignment if the button has no child yet.
3827 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3829 * src/hildon-button.c: (hildon_button_init): Set the
3830 button style during initialization to give it the proper
3833 Fixes: NB#99713 (HildonButton value label color is wrong)
3835 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3837 * src/hildon-touch-selector.c: Document
3838 hildon_touch_selector_center_on_selected()
3840 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3842 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3843 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3844 all menu items, but not the menu itself.
3845 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3846 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3847 items after adding them to the menu so keyboard accelerators work.
3848 (hildon_app_menu_show): Don't show the menu if it contains items
3849 but none of them are visible.
3851 * examples/hildon-app-menu-example.c (create_menu): Use
3852 gtk_widget_show_all() to show all menu items.
3854 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3856 * src/hildon-picker-dialog.c:
3857 (-_update_title_on_selector_changed_cb),
3858 (-_dialog_update_title): Removed.
3859 (_select_on_selector_changed_cb), (_on_dialog_response),
3860 (on_selector_columns_changed): Do not update the dialog title.
3861 (setup_interaction_mode): Do not connect to
3862 HildonTouchSelector::changed signal if there's a "done" button, as
3863 the dialog title doesn't need to be updated.
3865 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3868 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3870 Patch by Kristian Rietveld (kris@imendio.com)
3872 * src/hildon-touch-selector.c: (_create_new_column): Use new
3873 GtkTreeView::hildon-row-tapped signal to react to user interactions
3874 instead of ::changed.
3876 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3877 with some dynamic tree model)
3879 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3881 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3882 (+screen_size_changed, +label_size_request)
3883 (hildon_note_class_init): Make the Hildon information note have a
3884 minimum height, and make its text hvae a maximum width.
3886 Fixes: NB#98614 (Hildon information note (background) should have
3887 minimum height and maximum text width)
3889 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3891 * src/hildon-banner.h
3892 * src/hildon-banner.c (hildon_banner_show_information)
3893 (hildon_banner_show_informationf)
3894 (hildon_banner_show_information_with_markup): Update documentation
3895 to reflect that the icon_name parameter is not used anymore.
3896 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3897 Remove all code from these functions and mark them as deprecated.
3898 (hildon_banner_show_progress): Mark as deprecated.
3900 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3902 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3904 * src/hildon-pannable-area.c,
3905 (hildon_pannable_area_class_init),
3906 (tranparency_color),
3907 (hildon_pannable_draw_vscroll),
3908 (hildon_pannable_draw_hscroll),
3909 (hildon_pannable_area_expose_event): Added a new way to render the
3910 scrollbars of the pannable area avoiding using cairo at all. This
3911 way we improve the performance of the pannable area rendering. The
3912 cairo rendering procedure is still in the code, we can control
3913 which one to use changing the value of the define
3914 USE_CAIRO_SCROLLBARS.
3916 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3918 * configure.ac: post release version bump.
3919 * debian/changelog: version bump.
3921 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3926 * configure.ac: Bump version.
3927 * debian/changelog: Updates.
3929 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3931 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3932 banners instead of destroying them when they receive a button
3935 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3937 Reverted commit 34028, it was causing regressions, probably the
3938 topmost condition is not correct, we have to check it in more
3939 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3940 propagation of button press events)
3942 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3945 that the selection is not empty before attempting to retrieve the
3946 current ampm selection.
3948 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3950 * src/hildon-picker-button.c:
3951 (hildon_picker_button_on_dialog_response): Directly update the
3952 button contents when required instead of calling _selection_changed.
3954 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3956 * src/hildon-program.c (hildon_program_update_top_most): Update
3957 'is-topmost' property also when wm_hints is not set.
3959 Fixes: NB#98383 (is-topmost signal is not emitted when task
3960 switcher is clicked.)
3962 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3964 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3968 * src/hildon-animation-actor.c,
3969 * src/hildon-animation-actor.h: Added the animation actor class,
3970 this widget represents an animation actor for WM-assisted
3971 animation effects in the Hildon framework.
3973 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3975 * src/hildon-window-stack-private.h
3976 * src/hildon-window-stack.c
3977 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3978 Avoid calling gtk_widget_show() again indirectly from
3979 hildon_stackable_window_show()
3981 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3983 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3986 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3988 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3989 (hildon_time_selector_init): Move the construction of the hours and
3990 ampm columns to the constructor to preserve the order the columns
3993 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3995 * src/hildon-picker-dialog.c:
3996 (hildon_picker_dialog_class_init): Connect a realize method.
3997 (+hildon_picker_dialog_realize): Setup the interaction mode here
3999 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
4000 yet, do it during the realize instead.
4001 (_on_dialog_response):
4002 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
4003 if the widget is not realized, to avoid the dialog response before it
4006 Avoid premature responses in the HildonPickerDialog that can cause it
4007 to be hidden before it's even shown.
4009 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
4012 (on_selector_columns_changed), (requires_done_button),
4013 (+prepare_action_area), (setup_interaction_mode),
4014 (_hildon_picker_dialog_set_selector):
4016 Split the interaction mode setup into preparation of the
4017 action area (prepare_action_area()) and the connection of
4018 the signals in setup_interaction_mode() and update the code to
4021 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4023 * src/hildon-pannable-area.c,
4024 (hildon_pannable_area_class_init): Reduced the amount of scrolls
4025 per second to 15, we will check if this is ok regarding
4028 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4030 * src/hildon-pannable-area.c,
4031 (hildon_pannable_axis_scroll): Avoid resize if we already have
4032 reached overshoot_max.
4034 2009-01-22 Alejandro G. Castro <alex@igalia.com>
4036 * src/hildon-pannable-area.c,
4037 (hildon_pannable_area_init),
4038 (hildon_pannable_area_realize),
4039 (hildon_pannable_area_size_allocate),
4040 (hildon_pannable_area_map),
4041 (hildon_pannable_area_unmap),
4042 (hildon_pannable_draw_vscroll),
4043 (hildon_pannable_draw_hscroll),
4044 (hildon_pannable_area_expose_event),
4045 (hildon_pannable_area_refresh): Added a new GdkWindow to the
4046 pannable are to avoid the expose events go to the window and
4047 redraw the window. We save this way that part of the stack and the
4048 paint_boxes. We had to change the positions of the elements when
4051 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
4053 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4054 * src/hildon-color-chooser-dialog.c:
4055 (hildon_color_chooser_dialog_init):
4056 * src/hildon-font-selection-dialog.c:
4057 (hildon_font_selection_dialog_init),
4058 (hildon_font_selection_dialog_show_preview):
4059 * src/hildon-get-password-dialog.c:
4060 * src/hildon-login-dialog.c:
4061 * src/hildon-set-password-dialog.c:
4062 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
4063 * src/hildon-time-picker.c: (hildon_time_picker_init):
4065 Remove obsolete logical string IDs and update to the appropriate ones.
4067 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
4069 2009-01-21 Alberto Garcia <agarcia@igalia.com>
4071 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
4072 that happens if the window hasn't been realized yet.
4074 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
4075 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
4077 2009-01-20 Alberto Garcia <agarcia@igalia.com>
4079 * src/hildon-app-menu.c (hildon_app_menu_class_init)
4080 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
4083 Fixes: NB#98537 (Device hangs in account settings dialog)
4085 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4087 * configure.ac: post release version bump.
4088 * debian/changelog: version bump
4090 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4095 * configure.ac: Bump version.
4096 * debian/changelog: Updates.
4098 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4100 Added a new function to the HildonTimeButton widget that allows to
4101 change the step of the minutes in the selector associated with the
4102 button: hildon_time_button_new_step
4104 * src/hildon-time-button.c,
4105 (hildon_time_button_init),
4106 (hildon_time_button_new),
4107 (hildon_time_button_new_step):
4108 * src/hildon-time-button.h: Added the new function and refactored
4110 * examples/hildon-time-button-example.c,
4111 (main): We have replaced the function without parameters with the
4112 function with the steps set to 5
4114 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
4116 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4118 * src/hildon-time-selector.c,
4119 (hildon_time_selector_class_init),
4120 (hildon_time_selector_constructor),
4121 (hildon_time_selector_get_property),
4122 (hildon_time_selector_set_property),
4123 (_create_minutes_model),
4124 (hildon_time_selector_new_step),
4125 (hildon_time_selector_set_time),
4126 * src/hildon-time-selector.h: Added a new property to the
4127 HildonTimeSelector (minutes-step), we use that property to control
4128 the steps between the minutes in the list of the selector. We have
4129 added a new function to the API to create a widget changing the
4130 step: hildon_time_selector_new_step.
4132 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4134 * src/hildon-time-selector.c,
4135 (hildon_time_selector_class_init),
4136 (hildon_time_selector_constructor),
4137 (hildon_time_selector_init): Overrided the construct function when
4138 creating the time selector object. We have moved the minutes model
4139 handling code from the init to the new construction function:
4140 hildon_time_selector_constructor.
4142 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4144 * examples/hildon-date-button-example.c: (main): Use the new
4145 hildon_date_button_new_with_year_range() method in the example.
4146 * src/hildon-date-button.c:
4147 (+hildon_date_button_new_with_year_range): New public method
4148 to conveniently create a HildonDateButton with a custom year range
4149 in its HildonDateSelector.
4150 * src/hildon-date-button.h: Add the new public method definition.
4152 Fixes: NB#97908 (Not possible to change the year range in
4153 HildonDateSelector/HildonDateButton)
4155 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4157 * src/hildon-date-selector.c:
4158 (+hildon_date_selector_set_property),
4159 (+hildon_date_selector_get_property),
4160 (hildon_date_selector_class_init): Install new properties "min-year"
4161 and "max-year" to define boundaries for the year column.
4162 (_create_year_model): Use the boundary properties to populate the model.
4163 (+hildon_date_selector_new_with_year_range): New public method to
4164 create a HildonDateSelector with a user defined year range.
4165 (hildon_date_selector_select_current_date): Use the new boundaries to
4166 calculate the iterator of current year.
4167 * src/hildon-date-selector.h: Add the new public method definition.
4169 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4171 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4172 Install a constructor method.
4173 (+hildon_date_selector_construct_ui): construct the widget.
4174 (+hildon_date_selector_constructor): new constructor.
4175 (+hildon_date_selector_init): move out widget construction code to
4176 the new constructor.
4178 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4180 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4181 that there's actually a month or year selected before obtaining them.
4182 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4183 of the HildonTouchSelector::changed signal, as it was emitted on every
4184 single item selection.
4186 Fix some warnings and possible crashers due to the selection restoring.
4188 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4190 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4191 the signal handlers only after creating the dialog instead of on every
4194 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4196 * src/hildon-button.c (hildon_button_init)
4197 * src/hildon-check-button.c (hildon_check_button_init)
4198 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4199 focus when clicked by default.
4201 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4206 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4208 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4209 Alejandro G. Castro (alex@igalia.com)
4211 * src/hildon-picker-dialog.c:
4212 (hildon_picker_dialog_class_init): install new "center-on-show"
4214 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4215 (hildon_picker_dialog_set_property): add setter code for the new
4217 (hildon_picker_dialog_get_property): add getter code for the new
4219 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4220 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4223 Fixes: NB#92849 (Selected item is not always visible when
4224 HildonTouchSelector is shown)
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-touch-selector.c:
4232 (_create_new_column): Do not connect to the "realize" signal of the
4234 (hildon_touch_selector_append_column): center on the selected items
4235 when a new column is appended.
4236 (hildon_touch_selector_select_iter): Factor out the code to select a
4237 column to hildon_touch_selector_scroll_to().
4238 (+search_nearest_element): Method to retrieve the nearest selected
4239 element to the visible area of the pannable area in a column.
4240 (+on_realize_cb): scroll to the initially selected item.
4241 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4242 the pannable area is realized, otherwise delay this until it is.
4243 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4244 selected items of a given column.
4245 (+hildon_touch_selector_center_on_selected): Public method to center
4246 all columns on the nearest selected item.
4247 * src/hildon-touch-selector.h: Add definition for
4248 hildon_touch_selector_center_on_selected().
4250 Implement public API to ensure visibility of all selected items in
4251 a HildonTouchSelector.
4253 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4255 Fixed a problem in the fading when calling the scroll_to API, and
4256 improve scrollbar fading handling.
4258 * src/hildon-pannable-area.c,
4259 (hildon_pannable_area_grab_notify): avoid the timeout when the
4261 (hildon_pannable_area_button_press_cb),
4262 (hildon_pannable_area_motion_notify_cb): Code style changes.
4263 (hildon_pannable_area_button_release_cb): Review the conditions
4264 when releasing the mouse button to avoid unrequired fading
4266 (hildon_pannable_area_scroll_to): Do not calculate and set the
4267 velocity if the scroll is not required.
4269 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4271 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4272 Don't check whether the new selector is NULL: it cannot be.
4273 Hold a reference to the selector while doing the replacement.
4275 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4277 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4278 unnecessary size_request in a removed widget.
4280 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4282 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4283 an unnecessary reference tracking that was leaking.
4285 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4287 Added delayed motion notify event handling, this way we can
4288 discard redrawing if more than 25 events arrive per second.
4290 * src/hildon-pannable-area.c,
4291 (hildon_pannable_area_init): Initialized the new private atributes
4292 controlling this timeout
4293 (hildon_pannable_area_dispose): Remove the timeout that controls
4294 the motion notify events.
4295 (hildon_pannable_area_scroll): Added a condition to control the
4296 use of the acceleration.
4297 (hildon_pannable_area_motion_event_scroll_timeout),
4298 (hildon_pannable_area_motion_event_scroll): Added this two
4299 functions, they handle the motion notify events inside the
4301 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4302 to the scroll method with the new function.
4303 (hildon_pannable_area_button_release_cb): We have to remove the
4304 timeout handler and move to the last position if the last motion
4305 events were not handled.
4307 Fixes: NB#97028 (Pannable area updates on every motion event)
4309 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4311 * src/hildon-pannable-area.c,
4312 (hildon_pannable_area_get_topmost): Added a new parameter to
4313 filter the the windows that do not include those events. Added
4314 also a condition when finding the window to filter windows that do
4315 not ask for those events.
4316 (hildon_pannable_area_button_press_cb),
4317 (hildon_pannable_area_button_release_cb),
4318 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4319 topmost function, we have added the new parameter.
4321 Fixes: NB#97458 (Pannable area prevents propagation of button
4324 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4326 * src/hildon-pannable-area.c,
4327 (hildon_pannable_area_initial_effect): Added controls before
4328 launching the timeout and the idle functions.
4329 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4330 of the method, in some situations it can return with TRUE and 0 in
4332 (hildon_pannable_area_button_press_cb): We do not need to set
4333 DELAY for fading out here.
4335 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4337 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4339 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4340 post-cleaning if the selection is not NULL.
4342 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4344 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4345 all items before restoring the selection.
4347 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4349 * src/hildon-touch-selector.c:
4350 (+hildon_touch_selector_unselect_all):
4351 * src/hildon-touch-selector.h: New API to unselect all items in a
4352 column of the touch selector.
4354 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4356 * src/hildon-pannable-area.c,
4357 (hildon_pannable_area_redraw): Added a call to the refresh
4358 function inside the redraw because apparently in some cases the
4359 change in the adjustment does not imply a size allocate.
4361 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4362 despite the view not being scrollable)
4364 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4366 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4367 leak. Check for NULL before attempting to set the window title.
4369 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4371 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4372 whether to show or not the 'Done' button each time the dialog is
4373 shown, as it depends on the HildonTouchSelector selection mode.
4375 Fixes: NB#96226 (In multiple selection mode Done button is shown
4376 sometimes in listpicker)
4378 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4380 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4381 for the number of columns in the HildonTouchSelector more than once.
4383 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4385 * src/hildon-touch-selector.c: Minor documentation fixes.
4387 * src/hildon-picker-dialog.c (+_dialog_update_title)
4388 (_select_on_selector_changed_cb)
4389 (_update_title_on_selector_changed_cb)
4390 (on_selector_columns_changed): Update dialog title when there's no
4391 'Done' button and also when the number of columns in the selector
4395 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4396 (+_selection_changed, hildon_picker_button_on_dialog_response)
4397 (hildon_picker_button_selector_selection_changed)
4398 (+hildon_picker_button_selector_columns_changed)
4399 (hildon_picker_button_set_selector): Update button value and emit
4400 'value-changed' when the number of columns in the selector
4404 Fixes: NB#96225 (Dialog titles are not shown according to the
4405 values selected in the list picker)
4407 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4409 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4410 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4411 New "arrow-width" and "arrow-height" style properties to set the
4412 size of the arrow button.
4413 Set name of arrow button ("hildon-edit-toolbar-arrow").
4415 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4416 graphics from theme)
4418 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4420 * src/hildon-picker-button.c:
4421 (hildon_picker_button_selector_selection_changed): Use
4422 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4423 the dialog is present.
4425 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4426 the selection is accepted in the dialog)
4428 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4430 * src/hildon-color-chooser.h
4431 * src/hildon-color-chooser-dialog.h:
4432 Added G_BEGIN_DECLS and G_END_DECLS
4434 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4436 (_clean_current_selection): plug a leak in the list.
4438 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4440 * src/hildon-picker-dialog.c:
4441 (+free_path_list): Method to free a GList of GtkTreePaths.
4442 (_clean_current_selection), (_save_current_selection),
4443 (_restore_current_selection): Save the current selection in
4444 as a list of lists, to support multiple selection properly.
4446 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4448 patch by Claudio Saavedra (csaavedra@igalia.com)
4450 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4451 Store the press position.
4452 (+hildon_text_view_button_release_event): If the release position is
4453 close enough to the press position, move the cursor here. Otherwise,
4455 (hildon_text_view_class_init): Override GtkTextView press, release, and
4456 motion event handlers, disabling this way text selection through
4457 pointer interaction, and allowing the container widget to handle the
4460 Fixes: NB#95828 (HildonTextView functionality)
4462 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4464 Based on a patch by Iván Gómez (igomez@igalia.com)
4466 * src/hildon-button.[ch]
4467 * src/hildon-calendar.c
4468 * src/hildon-check-button.c
4469 * src/hildon-date-editor.c
4470 * src/hildon-date-selector.c
4471 * src/hildon-picker-button.c
4472 * src/hildon-time-editor.c
4473 * src/hildon-time-selector.c
4474 * src/hildon-touch-selector.[ch]:
4475 Documentation updates
4477 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4479 * src/hildon-pannable-area.c,
4480 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4481 threshold, it was required due to X events handling.
4483 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4485 * src/hildon-pannable-area.c,
4486 (hildon_pannable_area_grab_notify),
4487 (hildon_pannable_area_initial_effect),
4488 (hildon_pannable_area_button_press_cb),
4489 (hildon_pannable_area_button_release_cb),
4490 (hildon_pannable_area_scroll_cb),
4491 (hildon_pannable_area_scroll_to): Review the timeout management of
4492 the scrollbar, the frecuency was incorrectly set.
4494 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4496 * src/hildon-picker-button.c:
4497 (+hildon_picker_button_on_dialog_response),
4498 (hildon_picker_button_clicked): Present the dialog instead of
4499 running it with gtk_dialog_run().
4501 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4504 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4506 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4507 (hildon_app_menu_finalize): When a window is hidden it doesn't
4508 emit notify::is-topmost, so make sure than the menu also
4509 disappears in that case.
4510 (parent_window_topmost_notify): Renamed from parent_window_hidden
4512 Fixes: NB#94460 (stackable window's menu is not closed when its
4515 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4517 * src/hildon-touch-selector-entry.c:
4518 (+hildon_touch_selector_entry_set_input_mode),
4519 (+hildon_touch_selector_entry_get_input_mode):
4520 * src/hildon-touch-selector-entry.h: New methods to access the input
4521 mode in the selector's entry.
4523 Fixes: NB#93410 (API required for setting IM mode in
4524 HildonTouchSelectorEntry)
4526 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4528 * configure.ac: post release version bump.
4529 * debian/changelog: version bump
4531 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4536 * configure.ac: Bump version.
4537 * debian/changelog: Updates.
4539 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4541 * src/hildon-touch-selector.c:
4542 (_hildon_touch_selector_has_multiple_selection): No need
4543 to initialize the variables here.
4545 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-note-private.h
4548 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4549 (hildon_note_finalize, hildon_note_rebuild): Close information
4550 notes when they receive a button press.
4552 Fixes: NB#89890 (Information notes does not get disappeared after
4555 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4558 mark from the wizard title, as it's not really necessary. Also,
4559 do not display the page title if not set.
4561 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4563 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4564 (parent_window_hidden): Use the window's "is-topmost" property to
4565 detect when to hide the menu.
4567 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4569 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4570 (hildon_app_menu_finalize): If the parent window of the menu is
4571 hidden, hide the menu too.
4573 Fixes: NB#94460 (stackable window's menu is not closed when its
4576 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4579 * debian/libhildon1-examples.install
4581 * examples/Makefile.am:
4582 Use dh_install to install all examples.
4583 Use DEB_SRCDIR instead of defining SOURCE_DIR
4585 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4587 * configure.ac: post release version bump.
4588 * debian/changelog: version bump
4590 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4595 * configure.ac: bump version
4596 * debian/changelog: updates
4597 * debian/control: bump gtk+ dependency
4599 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4601 patch by Christian Dywan (christian@imendio.com)
4603 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4604 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4606 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4608 * src/hildon-check-button.c (hildon_check_button_init)
4609 (hildon_check_button_class_init, hildon_check_button_style_set)
4610 (hildon_check_button_apply_style):
4611 New "checkbox-size" style property.
4613 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4614 larger / configurable size)
4616 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4618 * configure.ac: post release version bump.
4619 * debian/changelog: version bump
4621 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4626 * configure.ac: bump version
4627 * debian/changelog: updates
4629 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4631 * doc/hildon-sections.txt
4632 * src/hildon-pannable-area.c
4633 * src/hildon-program.c
4634 * src/hildon-time-editor.c
4635 * src/hildon-touch-selector-entry.c:
4637 More documentation updates.
4639 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4641 * doc/hildon-sections.txt
4642 * src/hildon-caption.c
4643 * src/hildon-code-dialog.c
4644 * src/hildon-color-button.c
4645 * src/hildon-controlbar.c
4646 * src/hildon-date-editor.c
4647 * src/hildon-date-selector.c
4648 * src/hildon-edit-toolbar.c
4649 * src/hildon-find-toolbar.c
4650 * src/hildon-font-selection-dialog.c
4652 * src/hildon-program.c
4653 * src/hildon-range-editor.c
4654 * src/hildon-seekbar.c
4655 * src/hildon-time-editor.c
4656 * src/hildon-time-selector.c
4657 * src/hildon-volumebar-range.c
4658 * src/hildon-volumebar.c
4659 * src/hildon-vvolumebar.c
4660 * src/hildon-weekday-picker.c
4661 * src/hildon-window.c
4662 * src/hildon-wizard-dialog.c:
4664 Lots of documentation fixes.
4666 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4668 Patch contributed by Iván Gómez (igomez@igalia.com)
4670 * src/hildon-check-button.c:
4671 * src/hildon-date-button.c:
4672 * src/hildon-date-selector.c:
4673 * src/hildon-dialog.c:
4674 * src/hildon-edit-toolbar.c:
4675 * src/hildon-entry.c:
4676 * src/hildon-picker-button.c:
4677 * src/hildon-program.c:
4678 * src/hildon-text-view.c:
4679 * src/hildon-time-button.c:
4680 * src/hildon-touch-selector-entry.c:
4681 * src/hildon-window-stack.c:
4683 Add more "since" tags to the new API.
4685 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4687 * doc/hildon-sections.txt: Add below method.
4688 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4689 version for the hildonized scale.
4690 * src/hildon-gtk.h: Add the definition.
4692 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4694 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4696 * doc/hildon-sections.txt: Add missing entries for new methods.
4698 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4700 Added API to pannable are in order to get its adjustments. We
4701 added two properties to manage the values we had in the private
4704 * src/hildon-pannable-area.c:
4705 (hildon_pannable_area_class_init): Added hadjustment and
4706 vadjustment properties in order to expose horizontal and vertical
4708 (hildon_pannable_area_get_property),
4709 (hildon_pannable_area_set_property): Added code to handle the new
4711 (hildon_pannable_area_get_hadjustment),
4712 (hildon_pannable_area_get_vadjustment): API functions to get the
4714 * src/hildon-pannable-area.h:
4715 (hildon_pannable_area_get_hadjustment),
4716 (hildon_pannable_area_get_vadjustment): API functions to get the
4719 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4721 Fixed some leaks, after valgrinding.
4723 * src/hildon-touch-selector.c:
4724 (_default_print_func): Fixed a leak.
4725 (hildon_touch_selector_append_column): Fixed a leak.
4726 * src/hildon-date-button.c:
4727 (hildon_date_button_init): Fixed a leak.
4728 * src/hildon-date-selector.c
4729 (hildon_date_selector_finalize): Fixed a leak.
4731 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4733 Based on a patch by Christian Dywan (christian@imendio.com)
4735 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4737 * src/hildon-gtk.h: Add definition.
4739 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4741 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4743 * src/hildon-picker-button.c: (hildon_picker_button_init),
4744 (hildon_picker_button_new): Set the HildonButton::style property
4745 in the init method, to propagate the value to the derived classes.
4747 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4749 * src/hildon-button.c: (hildon_button_class_init): Do not make
4750 the "style" property a construct property.
4752 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4754 * src/hildon-wizard-dialog.h
4755 * src/hildon-wizard-dialog.c
4756 (hildon_wizard_dialog_set_forward_page_func)
4757 * src/hildon-pannable-area.h
4758 * src/hildon-pannable-area.c
4759 (hildon_pannable_area_set_size_request_policy):
4760 Documentation fixes.
4762 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4764 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4766 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4768 * doc/hildon-sections.txt: Added sections file.
4770 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4773 * src/*.[ch]: Updates.
4775 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4777 * examples/hildon-progress-indicator-example.c: new file
4778 * examples/Makefile.am: include the new example program
4780 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4782 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4784 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4786 * configure.ac: post release version bump
4787 * debian/changelog: version bump
4789 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4794 * configure.ac: bump version
4795 * debian/changelog: updates
4796 * debian/control: bump gtk+ dependency
4798 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-dialog.c: Mark as deprecated.
4801 * src/hildon-dialog.h: Mark as deprecated.
4802 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4803 from HildonDialog and still work, even if
4804 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4805 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4807 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4808 maemo changes) instead)
4810 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4812 * src/hildon-pannable_area.h:
4813 * src/hildon-pannable_area.c:
4814 (hildon_pannable_area_class_init),
4815 (hildon_pannable_area_set_property),
4816 (hildon_pannable_area_get_property),
4817 (hildon_pannable_area_size_request),
4818 (hildon_pannable_area_get_size_request_policy),
4819 (hildon_pannable_area_set_size_request_policy): Added new API
4820 allowing applications to control the request policy. Now they can
4821 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4822 children allocation (HILDON_MOVEMENT_CHILDREN).
4824 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4828 (hildon_gtk_tree_view_set_ui_mode)
4829 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4830 mode of treeviews and iconviews.
4832 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4834 * src/hildon-touch-selector-entry.c:
4835 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4836 of a GtkEntry to get proper theming.
4838 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4839 widget, not GtkEntry)
4841 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4843 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4844 no HildonWizardDialogPageFunc.
4846 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4848 Patch contributed by Iván Gómez (igomez@igalia.com)
4850 * src/hildon-app-menu.c:
4851 * src/hildon-button.c:
4852 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4853 * src/hildon-stackable-window.c:
4854 * src/hildon-time-selector.c:
4855 * src/hildon-touch-selector.c:
4856 * src/hildon-window.c:
4858 Add more "since" tags to the new API in hildon 2.2.
4860 2008-12-05 Tim Janik <timj@imendio.com>
4862 Patch contributed by Christian Dywan (christian@imendio.com)
4864 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4865 HildonSizeType, which are supplied by Gtk+ now.
4867 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4869 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4870 (with maemo changes) instead)
4872 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4874 Patch contributed by Iván Gómez (igomez@igalia.com)
4876 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4879 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4881 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4882 (some_page_func), (main): Update the example to use a
4883 HildonWizardDialogPageFunc function.
4885 * src/hildon-wizard-dialog-private.h: Add private data for
4886 the HildonWizardDialogPageFunc function usage.
4888 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4889 (destroy), (hildon_wizard_dialog_init), (response),
4890 (hildon_wizard_dialog_set_forward_page_func):
4891 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4892 that applications can use to stop a HildonWizardDialog to jump to
4895 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4898 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4900 * src/hildon-program.h
4901 * src/hildon-program-private.h
4902 * src/hildon-program.c (hildon_program_init)
4903 (hildon_program_set_common_app_menu)
4904 (hildon_program_get_common_app_menu):
4905 New API for setting a common HildonAppMenu for all
4906 HildonStackableWindows registered with the HildonProgram.
4908 * src/hildon-stackable-window.c
4909 (hildon_stackable_window_toggle_menu):
4910 Use the common HildonAppMenu if a window doesn't have a specific
4913 * src/hildon-app-menu-private.h
4914 * src/hildon-app-menu.c
4915 (hildon_app_menu_get_parent_window):
4916 Function to obtain the window a HildonAppMenu is attached to.
4917 (hildon_app_menu_set_parent_window):
4918 Hide the menu if the parent window is set to NULL.
4920 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4922 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4923 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4924 search widget to popup.
4926 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4928 * configure.ac: post release version bump
4929 * debian/changelog: version bump
4931 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4936 * configure.ac: bump version
4937 * debian/changelog: updates
4939 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4941 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4943 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4944 (hildon_window_stack_window_realized)
4945 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4946 Set the leader GdkWindow when a window is stacked and realized,
4947 unset it when it's unstacked.
4948 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4950 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4952 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-stackable-window.h
4955 * src/hildon-window-stack.h:
4956 Protect definition of HildonWindowStack using the preprocessor.
4958 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4960 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4961 Fix warning if all menu items are hidden.
4963 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4965 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4967 * src/hildon-controlbar.c:
4968 * src/hildon-hvolumebar.c:
4969 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4970 Multiple scale size defines updates.
4972 Fixes: NB#94322 (Scale Updates)
4974 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4976 * examples/hildon-app-menu-example.c (create_menu)
4977 Show items after adding them to the menu, as in the future the
4978 menu will no longer call gtk_widget_show() on the added items.
4980 * src/hildon-app-menu.c:
4981 Update example as explained above.
4983 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4985 * src/hildon-app-menu.c
4986 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4987 Make sure that all menu items have finger height.
4989 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4991 * src/hildon-picker-dialog.c:
4992 (_on_dialog_response), (_save_current_selection),
4993 (_restore_current_selection), (_clean_current_selection),
4994 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4995 Defined new functions in order to save the current internal selector
4996 selection previous open the dialog, in case that the use cancel the
4997 interaction, so the widget restores the previous selection.
4999 Fixes: NB#92032 (In calendar application, date values in 'new event'
5002 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
5004 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5006 * src/hildon-button.c: Add a reference to the button examples in
5007 hildon-button-example.c
5009 * examples/hildon-button-example.c: Added examples of the most
5010 common button layouts.
5012 2008-11-28 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-app-menu.c (hildon_app_menu_show)
5015 (hildon_app_menu_class_init): Don't show the menu if it's empty.
5017 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
5019 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5021 * src/hildon-picker-dialog.c:
5022 (hildon_picker_dialog_init): Initialize the signal id for
5023 HildonTouchSelector::columns-changed.
5024 (+on_selector_columns_changed): Set up the interaction mode everytime a
5025 column is added or removed from the HildonTouchSelector.
5026 (_hildon_picker_dialog_set_selector): Connect to
5027 HildonTouchSelector::columns-changed and keep track of it.
5029 Make sure to update the interaction mode of the dialog everytime a
5030 column is added or removed in the HildonTouchSelector.
5032 Fixes: NB#93228 (Done button is not shown always in listpicker)
5034 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5036 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
5037 a new ::columns-changed signal.
5038 (hildon_touch_selector_append_column): Emit ::columns-changed.
5039 (hildon_touch_selector_remove_column): Emit ::columns-changed.
5041 Add a ::columns-changed signal, emitted when the number of columns in a
5042 HildonTouchSelector changes.
5044 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
5047 (_hildon_picker_dialog_set_selector): Factor out the code
5048 to set up the dialog interaction mode.
5050 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5052 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
5053 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
5054 to signal_changed_id.
5056 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5058 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5061 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
5063 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
5064 Updated the logical ids related to ampm format, as now it is required to
5065 show it correctly localized even on languages with no default
5066 abbreviations for am or pm
5067 (_check_am_pm_format): check correctly the 24h format gconf property
5069 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
5071 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5073 * src/hildon-button.c: Documentation updates.
5075 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5077 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
5078 * src/hildon-caption.c: (hildon_caption_class_init):
5079 * src/hildon-color-button.c: (hildon_color_button_class_init):
5080 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
5081 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
5082 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
5083 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
5085 Remove deprecated GTK+ marshalers and replace them with the ones
5086 provided by GLib, for those available, add a marshaler for
5087 BOOLEAN:VOID, which is not available in GLib, and use it.
5089 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5091 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
5092 the text from the previous column if there is no
5093 HildonTouchSelectorColumn::text-property set.
5095 2008-11-27 Alberto Garcia <agarcia@igalia.com>
5097 * src/hildon-button.h
5098 * src/hildon-button.c (hildon_button_set_property)
5099 (hildon_button_get_property, hildon_button_class_init)
5100 (hildon_button_set_style, hildon_button_get_style):
5101 New "style" property to change the visual appearance of the
5104 * src/hildon-picker-button.c (hildon_picker_button_new):
5105 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
5107 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
5108 HildonButton look like PickerButton)
5110 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
5112 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
5113 column while building the default string.
5115 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5117 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
5118 scroll indicator by default.
5120 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
5122 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
5124 * src/hildon-main.c: Fix the documentation for hildon_init()
5126 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5128 * doc/hildon-docs.sgml
5132 * src/hildon-window-stack-private.h
5133 * src/hildon-window-stack.h
5134 * src/hildon-window-stack.c:
5135 New HildonWindowStack object, that adds support for multiple
5136 stacks of windows per process.
5138 * src/hildon-stackable-window-private.h
5139 * src/hildon-stackable-window.h
5140 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5141 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5142 (hildon_stackable_window_show, hildon_stackable_window_hide)
5143 (hildon_stackable_window_class_init)
5144 (hildon_stackable_window_init):
5145 Use HildonWindowStack for stack management.
5147 * src/hildon-program.c (hildon_program_pop_window_stack)
5148 (hildon_program_peek_window_stack)
5149 (hildon_program_go_to_root_window):
5150 Add a fallback implementation to the deprecated functions using
5153 * examples/hildon-stackable-window-example.c:
5154 Use the new HildonWindowStack API.
5156 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5158 * src/hildon-stackable-window-private.h
5159 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5160 (hildon_stackable_window_hide, hildon_stackable_window_init):
5161 Remove all window stack management.
5163 * src/hildon-program-private.h
5164 * src/hildon-program.h
5165 * src/hildon-program.c (hildon_program_init)
5166 (hildon_program_pop_window_stack)
5167 (hildon_program_peek_window_stack)
5168 (hildon_program_go_to_root_window):
5169 Remove all window stack management and mark functions as
5172 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5174 * src/hildon-app-menu.c (hildon_app_menu_realize):
5175 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5177 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5179 * configure.ac: post release version bump
5180 * debian/changelog: version bump
5182 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5187 * configure.ac: bump version
5188 * debian/changelog: updates
5190 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5192 Based on initial code by Christian Dywan (christian@imendio.com)
5194 * doc/hildon-docs.sgml: Add section for hildon-main.
5195 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5196 * src/Makefile.am: Add new hildon-main.[ch]
5197 * src/hildon-defines.h: Update the icon sizes.
5198 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5199 new library initialization files and register icon sizes.
5200 * src/hildon-main.h: New declarations.
5201 * src/hildon.h: Include hildon-main.h
5203 Add new initialization functions to the library. These methods
5204 will register the hildon specific icon sizes and can be used in the
5205 future for other hildon specific bits.
5207 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5209 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5211 * src/hildon-window.c: (hildon_window_realize),
5212 (hildon_window_notify), (-hildon_window_update_title): Do not set
5213 the application name in the window title.
5215 Fixes: NB#89754 (Applications shouldn't display their names in the
5218 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5220 * src/hildon-note-private.h:
5221 * src/hildon-note.c: (hildon_note_set_property),
5222 (hildon_note_get_property), (hildon_note_class_init),
5223 (hildon_note_init), (hildon_note_finalize),
5224 (hildon_note_new_confirmation_with_icon_name),
5225 (hildon_note_new_information_with_icon_name):
5227 No need to mark as deprecated the actual code. Revert
5228 to avoid missing symbols in widgets using deprecated API.
5230 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5232 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5234 * src/hildon-volumebar.h
5235 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5236 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5238 * src/hildon-helper.h
5239 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5240 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5242 * examples/Makefile.am:
5243 Deprecate hildon-insensitive-example
5245 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5247 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5249 * examples/hildon-pannable-area-buttons-scroll-example.c:
5250 Make all buttons finger height
5252 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5254 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5256 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5257 update the day model only if it is really required, and to avoid the
5258 full-reconstruction aproach. Now it only add or remove the required days.
5260 The purpose of this is avoid superfluous HildonTouchSelector::changed
5263 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5264 with strange parameters)
5266 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5268 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5270 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5271 the WINDOW_TYPE property.
5273 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5275 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5278 Fix dependency to allow parallel compilation with make -jX
5280 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5282 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5283 color frame and some minor tweaks to make it more consistent with
5286 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5287 highlighted but not visible)
5289 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5291 * examples/Makefile.am: Fixed typo in the Makefile.am.
5293 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5295 Reviewed the use of MAEMO_GTK define, now we add the define in the
5296 compilation line, and we also add it to the pc file.
5298 * configure.ac: Added MAEMO_GTK define to the compilation command
5299 and removed it from the config.h.
5301 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5302 do not have to take care about this define if the library was
5306 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5308 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5310 * examples/Makefile.am,
5311 * examples/hildon-pannable-area-buttons-scroll-example.c,
5312 * examples/hildon-pannable-area-gesture-signals-example.c,
5313 * examples/hildon-pannable-area-scroll-jump-example.c,
5314 * examples/hildon-pannable-area-tree-view-example.c:
5315 Renamed the pannable area examples, now they have more meaningful
5318 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5320 * src/hildon-touch-selector.c:
5321 (hildon_touch_selector_set_column_selection_mode): Used of
5322 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5323 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5324 to avoid re-seting the same selection mode.
5326 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5327 breaks HildonPickerDialog)
5329 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5331 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5332 conditional in the Makefile.am
5334 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5336 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5337 Remove unused methods.
5339 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5341 * src/hildon-button.c (hildon_button_init):
5342 Make button images center-aligned by default
5344 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5347 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5348 activated, we have to think about how to deal with both defines
5349 MAEMO_GTK and MAEMO_CHANGES.
5351 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5353 * examples/hildon-app-menu-example.c (create_menu): Make all
5354 buttons finger size.
5356 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5358 Fixed the compilation without maemo gtk adding ifdefs with
5359 MAEMO_GTK define to the code, we have to check this version more
5362 * examples/Makefile.am: Added control to avoid some examples that
5363 just make sense with maemo gtk.
5366 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5367 hildon modes with the define.
5369 * examples/hildon-edit-toolbar-example.c,
5370 (create_icon_view): Create the icon view without hildon-gtk
5371 helpers if we are not using maemo gtk.
5373 * src/hildon-touch-selector.c,
5374 (_create_new_column): Create the treeview without hildon-gtk
5375 helpers if we are not using maemo gtk.
5377 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5379 * src/hildon-pnnable-area.c,
5380 (hildon_pannable_area_dispose),
5381 (hildon_pannable_area_button_press_cb),
5382 (hildon_pannable_area_child_mapped),
5383 (hildon_pannable_area_add),
5384 (hildon_pannable_area_remove): Added code to control the position
5385 of the event_window when adding and removing children from the
5386 pannable. We have to raise the event window when the child is
5389 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5390 selection mode using custom widget inside pannable)
5392 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5394 * configure.ac: post release version bump
5395 * debian/changelog: version bump
5397 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5402 * configure.ac: bump version
5403 * debian/changelog: updates
5405 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5407 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5408 search mode, in order to avoid lose the focus on the treeview when
5409 a hw key (like enter) is pressed.
5411 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5412 in HildonDateSelector dialog)
5414 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5416 * debian/rules: Added --enable-maintainer-mode
5417 * Makefile.am: Added ACLOCAL_AMFLAGS
5419 This allows to properly regenerate the Makefiles if you modify the
5420 configure.ac or any Makefile.am.
5422 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5424 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5425 properties, not needed at all.
5427 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5429 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5431 * src/hildon-note.c: (hildon_note_set_property),
5432 (hildon_note_get_property), (hildon_note_class_init),
5433 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5434 (hildon_note_new_confirmation_add_buttons): Remove icons.
5435 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5436 (hildon_note_new_information_with_icon_name): Deprecate.
5437 (hildon_note_new_confirmation): Act directly, without calling
5438 the deprecated constructor.
5439 (hildon_note_new_information): Act directly, without calling
5440 the deprecated constructor.
5441 * src/hildon-note.h: Mark deprecate methods as such.
5442 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5443 not run tests on the deprecated methods if built with deprecation
5446 Fixes: NB#91688 (Never show icons in information notes/confirmation
5449 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5451 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5452 (hildon_app_menu_key_press): Remove leftover usage of the
5453 private structure in HildonAppMenu struct.
5454 * src/hildon-app-menu.h: Remove leftover private structure
5455 from the HildonAppMenu struct.
5457 Fixes a crasher when using the HildonAppMenu.
5459 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5461 * src/hildon-picker-dialog.c: Use appropriate logical id
5462 for the default "Done" text.
5464 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5466 * configure.ac: post release version bump
5467 * debian/changelog: version bump
5469 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5471 Modified the way to scroll to the current selection just when the touch
5472 selector is shown on the screen, avoiding a g_idle. Added too a property
5473 to configure this behaviour. See hildon_pannable_area_jump_to_child
5474 documentation for more information.
5476 * src/hildon-touch-selector.c
5477 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5478 Added 'initial-scroll' property
5479 (hildon_touch_selector_set_property): Added
5480 (hildon_touch_selector_map): Removed as not required anymore
5481 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5482 only a concrete column, instead of iterate along all the columns
5484 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5489 * configure.ac: bump version
5490 * debian/changelog: updates
5492 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5494 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5495 compilation time warnings.
5497 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5499 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5500 the default value for HildonPannableArea::mov-mode to
5501 HILDON_PANNABLE_AREA_MODE_VERT.
5503 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5505 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5507 Reverting following commit:
5509 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5511 * src/hildon-app-menu-private.h
5512 * src/hildon-app-menu.[ch]
5513 * src/hildon-button.[ch]
5514 * src/hildon-check-button.[ch]
5515 * src/hildon-entry.[ch]
5516 * src/hildon-pannable-area.[ch]
5517 * src/hildon-text-view.[ch]:
5518 Added private field to the object's structure.
5520 because it causes an ABI breakage. We will need to introduce these
5521 changes later at some point. See NB#91636 for an extensive
5522 explanation and status.
5524 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5526 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5528 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5529 remove special cases that are no longer necessary.
5531 Fixes: NB#91016 (Change toolbar sizes, simplification)
5533 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5535 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5536 is shown in the cancel note.
5538 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5540 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5541 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5542 (hildon_seekbar_init): Remove steppers, remove expose event.
5543 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5545 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5547 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5549 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5550 label font to "SmallSystemFont" for vertically arranged buttons.
5552 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5555 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5557 * src/hildon-check-button.c
5558 (hildon_check_button_set_active, hildon_check_button_clicked):
5559 Don't access private parts directly, use getters instead.
5561 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5563 * src/hildon-check-button.c (hildon_check_button_new):
5564 Align the contents of the check button to the left.
5566 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5568 * src/hildon-pannable-area.c,
5569 (hildon_pannable_area_scroll_to),
5570 (hildon_pannable_area_jump_to),
5571 (hildon_pannable_area_scroll_to_child),
5572 (hildon_pannable_area_jump_to_child): Replace the mapped
5573 precondition of these functions with the realized, it is the
5574 correct state of the widget in this case. Changed the
5575 documentation according to this modification.
5577 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5579 Added a new EXTRA_CFLAGS option to add the deprecated define to
5580 the compilation command. This way we can avoid using the define in
5581 the documentation compilation.
5583 * configure.ac: Defined EXTRA_CFLAGS.
5585 * examples/Makefile.am:
5587 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5589 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5591 * src/hildon-picker-dialog.c:
5592 Defined a utility macro with the desired touch selector height
5593 Removed currently unused separator, and title_label variables from
5595 (hildon_picker_dialog_init): Removed code related to the creation
5596 of unused private variables title_label and separator.
5597 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5598 to ensure correct visualization of the touch selector inside the dialog.
5599 * src/hildon-touch-selector.c
5600 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5601 ensure a concrete height of the widget.
5603 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5606 * tests/Makefile.am:
5608 Remove spurious whitespaces.
5610 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5612 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5613 compilation warning after the cancel button removal.
5615 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5617 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5619 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5620 Makefile.am, that way we can choose not to compile some examples
5621 and tests of the deprecated widgets.
5623 * examples/Makefile.am: Divided the sources in deprecated and
5626 * src/Makefile.am: Added undef statement of the deprecated
5627 symbol to the enums file generation process.
5629 * src/hildon-color-chooser-dialog.c
5630 * src/hildon-color-chooser-dialog.h
5631 * src/hildon-color-button.c
5632 * src/hildon-color-button.h
5633 * src/hildon-color-chooser.c
5634 * src/hildon-color-chooser.h
5635 * src/hildon-controlbar.c
5636 * src/hildon-controlbar.h
5637 * src/hildon-date-editor.c
5638 * src/hildon-date-editor.h
5639 * src/hildon-hvolumebar.c
5640 * src/hildon-hvolumebar.h
5641 * src/hildon-private.c
5642 * src/hildon-private.h
5643 * src/hildon-range-editor.c
5644 * src/hildon-range-editor.h
5645 * src/hildon-seekbar.c
5646 * src/hildon-seekbar.h
5647 * src/hildon-time-editor.c
5648 * src/hildon-time-editor.h
5649 * src/hildon-time-picker.c
5650 * src/hildon-time-picker.h
5651 * src/hildon-volumebar.c
5652 * src/hildon-volumebar.h
5653 * src/hildon-vvolumebar.c
5654 * src/hildon-vvolumebar.h
5655 * src/hildon-bread-crumb-trail.h
5656 * src/hildon-bread-crumb-trail.c
5657 * src/hildon-calendar-popup.c
5658 * src/hildon-calendar-popup.h
5659 * src/hildon-weekday-picker.c:
5660 * src/hildon-weekday-picker.h:
5661 * src/hildon-bread-crumb-widget.c:
5662 * src/hildon-bread-crumb-widget.h:
5663 * src/hildon-bread-crumb.c:
5664 * src/hildon-bread-crumb.h:
5665 * src/hildon-calendar.c:
5666 * src/hildon-calendar.h:
5667 * src/hildon-caption.c:
5668 * src/hildon-code-dialog.c:
5669 * src/hildon-code-dialog.h:
5670 * src/hildon-font-selection-dialog.c:
5671 * src/hildon-font-selection-dialog.h:
5672 * src/hildon-get-password-dialog.c:
5673 * src/hildon-get-password-dialog.h:
5674 * src/hildon-login-dialog.c:
5675 * src/hildon-login-dialog.h:
5676 * src/hildon-number-editor.c:
5677 * src/hildon-number-editor.h:
5678 * src/hildon-set-password-dialog.c:
5679 * src/hildon-set-password-dialog.h:
5680 * src/hildon-sort-dialog.c:
5681 * src/hildon-sort-dialog.h: This is the list of deprecated
5684 * src/hildon-touch-selector.c:
5685 * src/hildon-window.c: Added undef statement to avoid compilation
5688 * tests/Makefile.am: Divided the sources in deprecated and
5691 * tests/check_test.c,
5692 (configure_tests): Marked the deprecated code that was adding
5693 suites with deprecated tests.
5695 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5697 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5699 * src/hildon-touch-selector.c: (_default_print_func): Do not
5700 duplicate a string returned by gtk_tree_model_get(), it is already
5703 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5706 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5708 * src/hildon-pannable-area.c
5709 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5710 method, it had problems when adding a widget with viewport the
5711 second time. Now checks if it already has a viewport and uses it.
5713 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5716 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5718 * src/hildon-pannable-area.c,
5719 (hildon_pannable_area_scroll_to),
5720 (hildon_pannable_area_jump_to),
5721 (hildon_pannable_area_scroll_to_child),
5722 (hildon_pannable_area_jump_to_child): Added a precondition to the
5723 scroll and jump to functions: the widget must be mapped before we
5724 can safely call these functions. We have also added documentation
5725 to the functions to explain how to use them in this situation.
5728 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5730 Reviewed the threading handling of the pannable widget, we have
5731 used the gdk_threads_add_timeout function instead of the usual
5732 glib handlers. This avoids some problems with the threads.
5734 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5735 (hildon_pannable_area_initial_effect),
5736 (hildon_pannable_area_scroll_indicator_fade),
5737 (hildon_pannable_area_button_press_cb),
5738 (hildon_pannable_area_timeout),
5739 (hildon_pannable_area_motion_notify_cb),
5740 (hildon_pannable_area_button_release_cb),
5741 (hildon_pannable_area_scroll_cb),
5742 (hildon_pannable_area_scroll_to): Removed the
5743 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5744 gdk_threads_add_timeout.
5746 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5748 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5753 * configure.ac: bump version
5754 * debian/changelog: updates
5756 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5758 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5759 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5760 * src/hildon-color-chooser-dialog.c:
5761 (hildon_color_chooser_dialog_init):
5762 * src/hildon-font-selection-dialog.c:
5763 (hildon_font_selection_dialog_init):
5764 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5766 Remove all cancel/close-like dialogs, as these are not going to be
5769 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5771 * src/hildon-note.c: (hildon_note_rebuild),
5772 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5775 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5777 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5779 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5780 sure all buttons are shown, even the Cancel/Close-like ones.
5782 Fixes: NB#90861 (Custom Confirmation dialogs should be
5783 protected from cancel button removal)
5785 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5787 * debian/control: Change libhildon1-examples dependency from libhildon1
5789 * debian/libhildon1-examples.install
5791 * Makefile.am: Modified the final install directory for the examples on
5792 package libhildon1-examples
5793 * Makefile.static: Update clean target in order to remove all the binary
5796 Changes suggested by Claudio after review new libhildon1-examples package
5798 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5800 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5801 * src/hildon-touch-selector.c: Ditto.
5803 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5805 * debian/control: Added new package libhildon1-examples, in order to pack
5806 the current hildon examples as documentation
5807 * debian/rules: Not to compress .c files, modify some includes on the
5808 examples (as normally are compiled locally, but when installed it will
5809 require to include the installed libhildon1 library), and rename
5811 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5812 install all the example files on the new example package
5813 * examples/Makefile.static: Added static makefile that can be used to
5814 compile the examples, once installed the new example package
5815 * examples: Most of the examples were modified in order to grant that
5816 all use only '#include "hildon.h"', in order to be easy to prepare
5817 it on the example package
5819 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5822 * debian/libhildon1-dev.install
5823 * debian/libhildon1-doc.install:
5824 Move all gtk-doc files to a separate libhildon1-doc package.
5826 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5828 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5830 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5832 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5834 * debian/rules: Fixed a error in order to avoid unnecessary calls
5835 to autogen.sh on package building
5837 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5839 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5841 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5843 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5846 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5848 * src/hildon-picker-button.c
5849 (hildon_picker_button_finalize):
5850 Free priv->done_button_text
5852 * src/hildon-time-button.c
5853 (hildon_time_button_set_time)
5854 * src/hildon-picker-button.c
5855 (hildon_picker_button_clicked)
5856 (hildon_picker_button_selector_selection_changed)
5857 (hildon_picker_button_set_selector)
5858 * src/hildon-date-button.c
5859 (hildon_date_button_set_date):
5860 Free strings returned by hildon_touch_selector_get_current_text()
5862 * src/hildon-button.c (hildon_button_construct_child):
5863 Fix leaks in priv->image and priv->label_box
5865 Fixes: NB#90535 (Memory leak in picker button)
5867 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5869 * src/hildon-button.c: (hildon_button_get_property): Do not access
5870 private elements directly, use getters instead.
5872 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-app-menu-private.h
5875 * src/hildon-app-menu.c
5876 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5877 Store the menu's parent window.
5879 * src/hildon-stackable-window.c
5880 (hildon_stackable_window_toggle_menu)
5881 (hildon_stackable_window_finalize):
5882 Set the menu's parent window when the menu is shown, unset it when
5885 * src/hildon-app-menu.c
5886 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5887 (hildon_app_menu_class_init):
5888 Send unhandled keyboard accelerators to the parent window.
5890 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5892 * src/hildon-stackable-window.c
5893 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5895 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5897 * configure.ac: post release version bump
5899 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5902 * configure.ac: Bump version
5903 * debian/changelog: Updates
5904 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5907 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5909 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5912 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5913 GtkMenu with Hildon style.
5915 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5917 * src/hildon-picker-button.c:
5918 (hildon_picker_button_set_done_button_text): Set the dialog's
5919 done button text here as well.
5921 Fixes: NB#90232 (Picker button does not set the label on done button
5922 for the second time)
5924 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5926 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5929 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5931 * src/hildon-app-menu.c (hildon_app_menu_insert)
5932 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5933 the HildonAppMenu to be activatable using keyboard accelerators
5934 when the menu is not being shown.
5936 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5938 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5940 * src/hildon-stackable-window.c
5941 (hildon_stackable_window_show):
5942 Don't hide old windows automatically when new windows are shown:
5943 this is now a task for the window manager.
5944 (hildon_stackable_window_class_init)
5945 (hildon_stackable_window_hide):
5946 Remove windows from the stack everytime they're hidden.
5947 (hildon_stackable_window_realize):
5948 Don't change the _NET_WM_WINDOW_TYPE property. Use
5949 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5950 it as a stackable window.
5952 * src/hildon-program.c
5953 (hildon_program_pop_window_stack):
5954 Just hide the window to remove it from the stack.
5955 (hildon_program_go_to_root_window):
5956 Don't call gtk_widget_show(), this is now a task for the window
5959 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5961 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5963 * src/hildon-button.c
5964 (hildon_button_construct_child):
5965 Don't pack anything in the button until text or image are
5966 set. This allows adding a custom child after creating the button
5967 with hildon_button_new().
5968 (hildon_button_finalize, hildon_button_class_init)
5969 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5970 alignment and the label box even when they're not packed in the
5973 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5975 * src/hildon-touch-selector.h:
5976 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5977 currently the type definition was using GTK_TYPE_VBOX
5978 * src/hildon-touch-selector.c:
5979 Added some implementation notes in order to clarify that any other widget
5980 added without the column related API will not be included on the
5981 selection logic, and how the widget is freed, as some people ask about
5983 (hildon_touch_selector_remove): Reimplemented in order to free properly
5984 the column related data when you remove the private hbox.
5985 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5986 to get a proper HildonTouchSelectorColumn documentation
5988 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5990 * src/hildon-touch-selector-entry.c:
5991 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5992 text in the GtkEntry and there is no item selected. Fixes a
5995 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5997 * src/hildon-app-menu-private.h
5998 * src/hildon-app-menu.[ch]
5999 * src/hildon-button.[ch]
6000 * src/hildon-check-button.[ch]
6001 * src/hildon-entry.[ch]
6002 * src/hildon-pannable-area.[ch]
6003 * src/hildon-text-view.[ch]:
6004 Added private field to the object's structure.
6006 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
6008 * configure.ac: post-release version bump
6010 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6014 * configure.ac: pre-release version bump
6016 * debian/changelog: updates.
6018 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
6020 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
6021 Disconnect the handler for HildonTouchSelector::changed.
6023 (hildon_picker_button_selector_selection_changed): Update the button
6024 value if the selection change was not triggered by the
6027 (hildon_picker_button_set_selector): connect to
6028 HildonTouchSelector::changed.
6030 Fixes: NB#89650 (Picker button is not updated, when selection in
6031 selector has changed)
6033 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
6035 * src/hildon-picker-dialog.c
6036 (hildon_picker_dialog_realize): Removed as not required
6037 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
6038 * src/hildon-picker-button.c
6039 (_current_selector_empty): New function, checks if the selector is empty
6040 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
6041 if the current selector is empty, in order to avoid to show the dialog
6042 close the dialog in this case (and shows a g_warning).
6044 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
6046 2008-10-09 Alejandro G. Castro <alex@igalia.com>
6048 * src/hildon-pannable-area.c,
6049 (hildon_pannable_area_scroll): Added clause to stop movement when
6050 the child of pannable is smaller than one page.
6051 (hildon_pannable_area_scroll_to): Added conditions to avoid
6052 starting the scrolling movement if the child is smaller than one
6053 page, the complete child is in the screen, we do not have to move.
6055 Fixes: NB#89632 (Picker button selection doesn't change on first click)
6057 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6059 * src/hildon-app-menu.c: Removed the 'columns' property, as now
6060 this is managed automatically by the widget when the size of the
6063 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6065 * src/hildon-picker-button.c
6066 (hildon_picker_button_set_done_button_text): Make a copy of the
6067 text, and free the previous value.
6069 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6071 * src/hildon-touch-selector-entry.c:
6072 (hildon_touch_selector_entry_print_func): Return the selected row's
6073 text if the entry is empty.
6075 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
6078 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
6080 * src/hildon-touch-selector-entry.c: Minor docs fixes.
6082 2008-10-09 Alberto Garcia <agarcia@igalia.com>
6085 * src/hildon-check-button.h
6086 * src/hildon-check-button.c
6087 * examples/hildon-check-button-example.c:
6088 HildonCheckButton is now a new widget. 'toggled' signal added.
6090 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6092 * src/hildon-program-private.h
6093 * src/hildon-program.c (hildon_program_init)
6094 (hildon_program_finalize): Removed unused variables group_leader
6095 and name from HildonProgramPrivate.
6097 2008-10-08 Alberto Garcia <agarcia@igalia.com>
6099 * src/hildon-check-button.c (hildon_check_button_set_active)
6100 (hildon_check_button_get_active, hildon_check_button_new): Use
6101 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
6103 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
6105 * src/hildon-touch-selector.h
6106 (hildon_touch_selector_set_column_attributes): added deprecation
6107 guard HILDON_DISABLE_DEPRECATED
6108 * src/hildon-time-selector.c
6109 (hildon_time_selector_set_time)
6110 (hildon_time_selector_get_time): Fixed a typo on documentation
6111 * src/hildon-touch-selector.c: update HildonTouchSelector and
6112 HildonTouchSelectorColumn documentation
6113 * src/hildon-touch-selector-entry.c: update "text-column" property
6115 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
6116 to be added to the general documentation.
6118 2008-10-08 Alejandro G. Castro <alex@igalia.com>
6120 * examples/hildon-pannable-area-example-4.c,
6122 * examples/hildon-pannable-area-example.c,
6123 (main): Modified the code in order to use the container add, with
6124 viewport treeviews could have problems if they are really big.
6126 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6128 * src/hildon-weekday-picker.c,
6129 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6130 the agreement regarding deprecation in the library.
6132 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6134 * examples/hildon-picker-button-multicolumn-example.c:
6135 (main): Use custom "done" button text.
6137 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6138 (hildon_picker_button_set_property),
6139 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6140 (hildon_picker_button_init),
6141 (+hildon_picker_button_get_done_button_text),
6142 (+hildon_picker_button_set_done_button_text): New methods to customize
6143 the "done" button label in the launched HildonPickerDialog. Also,
6146 * src/hildon-picker-button.h: add the public API.
6148 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6150 * src/hildon-date-selector.h:
6151 * src/hildon-picker-dialog.h:
6152 * src/hildon-time-selector.h:
6153 * src/hildon-touch-selector-column.h:
6154 * src/hildon-touch-selector.h:
6156 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6157 declarations. Fixes gtk-doc warnings.
6159 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6161 * src/hildon-picker-dialog.h
6162 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6163 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6165 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6166 long text is set as label for done button)
6168 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6170 * src/hildon-dialog.c (hildon_dialog_add_button):
6171 Set fixed width to all buttons in the HildonDialog.
6173 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6175 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6177 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6178 Set widget name using class name plus "-finger" or "-thumb".
6180 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6183 'clicked' when the state of the button is manually changed.
6185 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6187 * src/hildon-app-menu.c (hildon_app_menu_realize)
6188 (hildon_app_menu_unrealize, hildon_app_menu_init)
6189 (hildon_app_menu_class_init, item_visibility_changed):
6190 Change the menu layout when the size of the screen changes.
6191 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6192 Show warning only when changing the number of colums using the
6195 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6197 * debian/compat: Set to 5
6198 * debian/control: Update dependencies.
6199 * debian/libhildon1-dbg.install: Remove.
6200 * debian/libhildon1-dev.install: Update according to cdbs paths.
6201 * debian/libhildon1.install: Update according to cdbs paths.
6202 * debian/rules: Switch to cdbs.
6204 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6206 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6207 'item' variable renamed to 'filter'
6209 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6211 * src/hildon-app-menu.c (hildon_app_menu_insert)
6212 (hildon_app_menu_add_filter, remove_item_from_list)
6213 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6214 Don't leak hidden items when the menu is destroyed.
6216 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6218 * src/hildon-app-menu.c (hildon_app_menu_insert)
6219 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6220 (hildon_app_menu_set_columns, item_visibility_changed)
6221 (filter_visibility_changed, hildon_app_menu_repack_filters)
6222 (hildon_app_menu_repack_items):
6223 Repack items and filters separately.
6225 Don't repack all items, change only the ones that are needed to
6228 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6230 * src/Makefile.am: added hildon-touch-selector-column.h
6232 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6234 * src/hildon-touch-selector.c: added the property "text-column" to the
6235 class HildonTouchSelectorColumn, and related get/set functions
6236 (_default_printf_func): updated to use "text-column" property
6237 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6238 "text-column" in his documentation, as this is now included on
6239 HildonTouchSelectorColumn. The get/set_property can still be used,
6240 working as a wrapper to the concrete column "text-column" property
6241 (_text_column_modified): callback added in order to handle the signal
6242 "notify::text-column" of the concrete HildonTouchSelectorColumn
6243 (hildon_touch_selector_entry_get_text_column)
6244 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6245 modified in order to use the HildonTouchSelectorColumn "text-column"
6247 * src/hildon-time-selector.c:
6248 * src/hildon-date-selector.c:
6249 * examples/hildon-touch-selector-example.c
6250 * examples/hildon-touch-selector-multi-cells-example.c
6251 * examples/hildon-picker-button-multicolumn-example.c
6252 Set the right value to "text-column" property on the creation of a new
6253 column using hildon_touch_selector_append_column()
6255 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6257 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6259 * src/hildon-app-menu.c
6260 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6261 updating the layout of the menu, don't create all widgets again,
6262 just repack the items in their new places.
6264 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6266 * src/hildon-time-selector.c
6267 (hildon_time_selector_get_time)
6268 (hildon_time_selector_set_time)
6269 Added documentation of these public methods
6271 * src/hildon-date-button.h
6272 * src/hildon-touch-selector-column.h
6273 * src/hildon-time-button.h
6274 * src/hildon-picker-dialog.h
6275 * src/hildon-time-selector.h
6276 * src/hildon-picker-button.h
6277 * src/hildon-touch-selector.h
6278 * src/hildon-time-picker.h
6279 * src/hildon-date-selector.h
6280 * src/hildon-touch-selector-entry.h
6281 Modified in order to use hildon-widgets code style
6283 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6285 Added deprecated support to the compilation process using
6286 HILDON_DISABLE_DEPRECATED
6288 * configure.ac: Added the --disable-deprecated to the configure
6291 * src/hildon-weekday-picker.c:
6292 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6293 to use the deprecated support. We will update the other deprecated
6294 widgets status in a new patch.
6296 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6298 * configure.ac: Fixed typo with fatal warnings support, the
6299 variable name was not correct
6301 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6303 * src/hildon-app-menu.c
6304 * src/hildon-program.c: Update documentation.
6306 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6308 * configure.ac: Post-release version bump.
6310 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6315 * configure.ac: Pre-release version bump.
6316 * debian/changelog: Updates.
6318 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6320 * NEWS: Update news for previous releases.
6322 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6324 * examples/hildon-touch-selector-multi-cells-example.c:
6325 (create_selector): Update the example to use
6326 hildon_touch_selector_append_column() with a NULL renderer and set
6327 the renderers later.
6328 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6329 passed a NULL renderer. This is documented behavior now.
6331 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6332 This must be used if the developer wants full control on the layout of
6333 the renderers to be added to the column.
6335 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6337 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6339 * src/hildon-touch-selector.c: Documentation fixes.
6341 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-wizard-dialog-private.h: Remove image and box.
6344 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6345 (hildon_wizard_dialog_set_property), (response): Completely remove
6346 image/icon support, and the containers required for the layout.
6348 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6350 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6352 * src/hildon-app-menu.c: Updated documentation.
6354 * src/hildon-stackable-window.c
6355 (hildon_stackable_window_set_main_menu): Unref the old menu after
6356 ref'ing the new one.
6358 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6360 * src/hildon-stackable-window.c
6361 (hildon_stackable_window_set_main_menu): Unref the previous menu
6362 instead of destroying it.
6364 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6365 floating reference and set has_user_ref_count to FALSE to make
6366 HildonAppMenu act like a normal ref-counted widget and not a
6369 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6372 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6374 * src/hildon-touch-selector-column.h: new file
6375 * src/hildon-touch-selector.h
6376 * src/hildon-touch-selector.c
6377 Implemented GtkCellLayout interface, in order to allow to configure
6378 the cell layout on each individual selector column
6379 (hildon_touch_selector_set_column_attributes): marked as deprecated
6380 * examples/hildon-touch-selector-multi-cells-example.c
6381 Example of how to use the GtkCellLayout interface on the selector
6383 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6385 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6387 * src/hildon-app-menu.h
6388 * src/hildon-app-menu.c
6389 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6390 (hildon_app_menu_append, hildon_app_menu_prepend):
6391 New methods to prepend, insert and move items in the menu.
6393 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6395 * src/hildon-wizard-dialog.c:
6397 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6399 (create_title): Update logical IDs and related code.
6400 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6402 * src/hildon-wizard-dialog.h: Note that
6403 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6404 point, as it is not used anymore.
6406 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6408 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6410 * src/hildon-note.c:
6411 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6412 shown. Do not display an icon in confirmation notes nor information
6414 (hildon_note_set_button_text): Update logical ID for cancel button.
6416 Fixes: NB#88850 (Update HildonNote button strings + signals)
6418 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6420 * src/hildon-stackable-window.c
6421 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6423 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6425 * src/hildon-app-menu-private.h
6426 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6427 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6428 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6429 temporary property 'columns' to change the number of columns.
6431 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6433 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6435 * examples/hildon-note-example.c: (on_information_clicked),
6436 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6437 debugging information.
6438 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6440 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6441 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6442 in order to close: this will be handled by the WM from now on.
6444 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6446 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6448 * src/hildon-app-menu-private.h
6449 * src/hildon-app-menu.c
6450 (hildon_app_menu_append, hildon_app_menu_add_filter)
6451 (button_visibility_changed, hildon_app_menu_apply_style)
6452 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6453 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6454 layout everytime a button (item or filter) is shown or hidden.
6456 * src/hildon-stackable-window.c
6457 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6460 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6462 * src/hildon-touch-selector.c:
6463 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6464 that the treeview inside the touch selector is in fremantle hildon mode
6465 * examples/hildon-date-button-example.c
6466 * examples/hildon-picker-button-multicolumn-example.c
6467 * examples/hildon-touch-selector-entry-example.c
6468 * examples/hildon-touch-selector-example.c
6469 * examples/hildon-time-button-example.c
6470 * examples/hildon-picker-button-example.c:
6471 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6473 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6475 * examples/hildon-text-view-example.c: (main): Remove the
6476 gtkrc bits, now handled by the theme.
6478 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6480 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6483 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6485 * po/Makefile.am: Install properly the mo files.
6486 * po/en_GB.po: Update translation, to ease testing purposes.
6488 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6490 * examples/hildon-picker-button-example.c: (main): Select an item
6491 in the selector before setting it to the button.
6493 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6495 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6496 Update button's value if the selector has an item active.
6498 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6499 'value' with the selector)
6501 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6503 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6504 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6505 (hildon_picker_button_class_init): Plug the finalize method.
6506 (hildon_picker_button_set_selector): If there's a previously set
6507 selector, unref'it before setting a new one.
6509 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6510 HildonTouchSelector)
6512 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6514 * src/hildon-touch-selector-entry.c:
6515 (hildon_touch_selector_entry_changed): Check if there is no text
6516 selected before setting the entry text.
6519 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6521 * src/hildon-touch-selector.h
6522 * src/hildon-touch-selector.c
6523 (hildon_touch_selector_get_active)
6524 (hildon_touch_selector_set_active): New methods to set/get the
6525 index of the selected item.
6527 * src/hildon-picker-button.h
6528 * src/hildon-picker-button.c
6529 (hildon_picker_button_get_active)
6530 (hildon_picker_button_set_active): New methods to set/get the
6531 index of the selected item.
6533 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6535 * configure.ac: post-release version bump.
6537 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6541 * configure.ac: Pre-release version bump.
6542 * debian/changelog: Updates.
6543 * debian/control: Add myself as maintainer and depend on l10n
6546 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6548 * src/hildon-window.c
6549 (hildon_window_set_main_menu)
6550 * src/hildon-stackable-window.c
6551 (hildon_stackable_window_set_main_menu):
6552 Updated documentation.
6554 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6556 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6557 Don't free selector->priv manually.
6560 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6563 (hildon_gtk_window_set_progress_indicator):
6564 * src/hildon-gtk.h: Added the new API
6565 hildon_gtk_window_set_progress_indicator, it changes the state of
6566 the window progress hint.
6568 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6570 * src/hildon-button.c
6571 * src/hildon-stackable-window.c: Minor documentation updates.
6573 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6575 * src/hildon-stackable-window.c: Updated documentation.
6577 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6579 * src/hildon-defines.h: Update margins definitions
6580 to the Fremantle sizes.
6583 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6585 * src/hildon-touch-selector.c,
6586 (_hildon_touch_selector_set_model): Cleaning the code after
6587 review, removed g_print and #if 0 from the code.
6589 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6591 * src/hildon-edit-toolbar.c: Update documentation.
6593 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6595 * src/hildon-check-button.h
6596 * src/hildon-check-button.c
6597 (hildon_check_button_set_label, hildon_check_button_get_label)
6598 * examples/hildon-check-button-example.c
6599 (button_clicked_cb):
6600 Removed deprecated methods.
6602 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6604 * src/hildon-text-view.c:
6605 Add sample code to the documentation.
6607 * src/hildon-entry.h
6608 * src/hildon-text-view.h:
6609 Minor cosmetic changes.
6611 * src/hildon-entry.c:
6612 Add sample code to the documentation.
6613 (hildon_entry_init, hildon_entry_refresh_contents):
6614 Don't allow NULL values in the placeholder.
6616 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6618 * doc/hildon-docs.sgml
6620 * examples/Makefile.am
6621 * examples/hildon-text-view-example.c
6623 * src/hildon-text-view.c
6624 * src/hildon-text-view.h
6626 New HildonTextView widget, with example.
6628 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6630 * po/POTFILES.in: Add missing files with translatable strings.
6631 Partially fixes NB#88287.
6633 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6635 * examples/hildon-pannable-area-example-2.c: (main): No need to
6636 set the cellrenderer height inside hildon touch lists, the theme does
6639 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6641 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6642 they are integrated in the theme.
6644 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6646 * examples/hildon-entry-example.c: Update the example adding
6647 widgets to modify the text and the placeholder of the HildonEntry.
6649 * src/hildon-entry.c: Show the placeholder everytime the widget
6650 is empty and loses the focus.
6652 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6654 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6656 * src/hildon-pannable-area.c,
6657 (hildon_pannable_area_size_request): Fixed bug in height
6658 requisition, avoid increasing size and add border twice.
6660 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6662 * configure.ac: postrelease version bump.
6664 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6668 * configure.ac: Prerelease version bump.
6669 * debian/changelog: update.
6670 * debian/rules: make -dbg package contain useful debugging symbols.
6672 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6674 * src/hildon-dialog.h
6675 * src/hildon-dialog.c
6676 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6677 New methods to add buttons with finger size.
6678 (hildon_dialog_new_with_buttons):
6679 Create buttons with finger size.
6681 * examples/hildon-dialog-example.c (main): Use HildonDialog
6682 methods to add buttons.
6684 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6686 * src/hildon-entry.c: Updated HildonButton documentation.
6688 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6690 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6691 button value label with (FALSE, FALSE) to prevent NB#88126 from
6694 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6696 * examples/hildon-pannable-area-example.c,
6697 (main): Removed examples panning a vbox inside a pannable
6698 area. Check bug NB#87965
6700 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6702 Patch contributed by Kris Rietveld (kris@imendio.com)
6704 * src/hildon-pannable-area.c,
6705 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6706 get_size and get_position, this saves an X server roundtrip.
6708 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6710 * doc/hildon-docs.sgml
6712 * examples/Makefile.am
6713 * examples/hildon-entry-example.c
6715 * src/hildon-entry.c
6716 * src/hildon-entry.h
6718 New HildonEntry widget, with example.
6720 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6722 * src/hildon-button.c (hildon_button_construct_child): Pack the
6723 image with expand == fill == FALSE. This is a workaround for a bug
6726 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6728 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6729 labels for the text column, to make it more look more dynamic.
6731 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6733 * src/hildon-time-selector.c
6734 Define gettext auxiliar macro N_
6735 (_create_minutes_model)
6736 (_create_hours_model)
6737 (_create_ampm_model): use of strftime in order to fill the model
6738 * src/hildon-date-selector.c
6739 (hildon_date_selector_finalize):
6740 (_locales_init): remove the logic related to get the name of the months
6741 using nl_langinfo, as it is not required anymore
6743 (_create_year_model)
6744 (_create_month_model)
6745 (_update_day_model): use of strftime in order to fill the model properly
6748 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6750 * src/hildon-button.h
6751 * src/hildon-button.c (hildon_button_get_image): New method to
6754 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6756 * src/hildon-touch-selector.c:
6757 (hildon_touch_selector_remove_column): Remove from the correct parent
6758 and also remove the list element and free it.
6761 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6763 * src/hildon-time-selector.c
6764 (_create_hours_model): change the range on 12h ampm format in order to use
6765 a 12-11 range instead of previous 01-12 range
6766 (hildon_time_selector_set_time): change the way to select the current time
6767 on 12h ampm format, due the change on the range
6768 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6771 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6773 * src/hildon-touch-selector.c
6774 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6775 in order to allow use this function on multiple row selection mode if
6776 the column is different that the first one
6779 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6781 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6782 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6784 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6786 * src/hildon-date-selector.h: clean some comments, now on the .c
6787 * src/hildon-date-selector.c
6788 (hildon_date_selector_select_month): first implementation
6789 (hildon_date_selector_select_day): added documentation, reimplemented
6790 using hildon_date_selector_select_current_date to avoid repeat code
6793 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6795 Reviewed interaction logic based on device experiences, refactored
6798 * src/hildon-pannable-area.c,
6799 (hildon_pannable_area_class_init): Updated default vmax speed.
6800 (hildon_pannable_area_calculate_velocity): Added this function, it
6801 avoids duplicate valocity calculation. Adjusted calculation to
6802 avoid problems with zero dist events.
6804 (hildon_pannable_area_motion_notify_cb): Now we use the
6805 calculate_velocity function.
6807 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6809 * src/hildon-date-selector.c
6810 (hildon_date_selector_select_current_date): fix the day range check
6811 as it failed using the last day of the current month
6814 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6816 * src/hildon-touch-selector.c
6817 (hildon_touch_selector_get_num_columns): added a parameter validation
6820 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6822 * examples/Makefile.am
6823 * examples/hildon-edit-toolbar-example.c: Example of the
6824 HildonEditToolbar widget.
6826 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6828 * configure.ac: postrelease version bump.
6830 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6834 * configure.ac: prerelease version bump.
6835 * debian/changelog: update.
6837 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6839 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6840 renderer to display stock icons in the touch list. Also, set the sizes
6841 to the recommended in the style guide.
6843 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6844 * src/hildon-touch-selector.h
6845 (hildon_touch_selector_set_active_iter): renamed, now is
6846 hildon_touch_selector_select_iter
6847 (hildon_touch_selector_get_active_iter): renamed, now is
6848 hildon_touch_selector_get_selected
6849 (hildon_touch_selector_unselect_iter): added
6850 * src/hildon-touch-selector.c
6851 Update after API modification (methods renamed)
6852 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6853 order to avoid problems selecting multiple elements on the column
6854 (hildon_touch_selector_unselect_iter): added the implementation
6855 * src/hildon-time-selector.c
6856 * src/hildon-date-selector.c
6857 * src/hildon-touch-selector-entry.c
6858 Update methods calls after hildon-touch-selector.h API modification (methods
6861 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6863 * src/hildon-stackable-window.c
6864 (hildon_stackable_window_finalize): Call the parent class's finalize.
6866 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6868 * examples/hildon-touch-selector-example.c: (create_selector): Use
6869 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6872 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6874 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6875 set a cell background color, to respect theming.
6877 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6879 * doc/hildon-docs.sgml
6882 * src/hildon-edit-toolbar.c
6883 * src/hildon-edit-toolbar.h
6884 * src/hildon.h: New HildonEditToolbar widget.
6886 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6888 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6891 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6892 * src/hildon-touch-selector.c
6893 (_create_new_column): use g_object_set instead of two g_object_set_property
6895 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6896 * src/hildon-touch-selector.c
6897 (_create_new_column): use of hildon_gtk_tree_view_new to create
6898 the treeview, instead of use directly g_object_new
6899 (_create_new_column): update the property name "vindicator-mode" for the
6900 new one "vscrollbar-policy"
6901 * examples/hildon-date-button-example.c
6902 * examples/hildon-picker-button-multicolumn-example.c
6903 * examples/hildon-touch-selector-entry-example.c
6904 * examples/hildon-touch-selector-example.c
6905 * examples/hildon-time-button-example.c
6906 * examples/hildon-picker-button-example.c
6907 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6908 to all the treeviews inside a pannable area.
6910 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6912 * src/hildon-button.h
6913 * src/hildon-button.c (hildon_button_init)
6914 (hildon_button_set_arrangement, hildon_button_set_alignment)
6915 (hildon_button_set_title_alignment)
6916 (hildon_button_set_value_alignment)
6917 (hildon_button_set_image_alignment)
6918 (hildon_button_construct_child): New methods to set the alignment
6919 of the individual components of the button (title, value,
6920 image). Also, new method to alter the xscale and yscale properties
6921 of the GtkAlignment inside the button, so more complex layouts can
6924 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6926 * src/hildon-button.c (hildon_button_style_set)
6927 (hildon_button_class_init, hildon_button_set_arrangement)
6928 (hildon_button_construct_child): Apply style properties
6929 correctly. Use the 'image-spacing' style property too.
6931 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6933 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6934 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6937 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6939 * src/hildon-pannable-area.c,
6940 (hildon_pannable_area_size_request): Fixed problem with
6941 pannable-area size_request.
6943 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6945 Added management for the grab-focus to a child widget, like a
6946 range, we need to fade out the scrollbar when releasing.
6948 * src/hildon-pannable-area.c,
6949 (hildon_pannable_area_init): Connected the grab-focus signal to
6951 (hildon_pannable_area_grab_notify): Added this function in order
6952 to manage the situation when the grab-focus ends. We have to
6953 fade-out the scrollbar.
6955 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6957 * src/hildon-app-menu.c: Minor documentation update.
6959 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6961 * src/hildon-app-menu.c
6962 * examples/hildon-app-menu-example.c (create_menu): Update
6963 examples and documentation to explain how to connect callbacks.
6965 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6967 * examples/hildon-button-example.c
6968 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6969 hildon_stackable_window_new instead of gtk_window_new
6971 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6973 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6974 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6975 (hildon_pannable_area_set_property),
6976 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6977 (hildon_pannable_area_unrealize),
6978 (hildon_pannable_area_size_request),
6979 (hildon_pannable_area_size_allocate),
6980 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6981 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6982 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6983 (hildon_pannable_area_initial_effect),
6984 (hildon_pannable_area_redraw),
6985 (hildon_pannable_area_scroll_indicator_fade),
6986 (hildon_pannable_area_expose_event),
6987 (hildon_pannable_area_get_topmost), (synth_crossing),
6988 (hildon_pannable_area_button_press_cb),
6989 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6990 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6991 (hildon_pannable_area_motion_notify_cb),
6992 (hildon_pannable_area_button_release_cb),
6993 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6994 (hildon_pannable_area_remove),
6995 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6996 chage the code layout to a more GtkWidget like. Review the use of
6999 2008-08-21 Alejandro G. Castro <alex@igalia.com>
7001 * examples/hildon-pannable-area-example-4.c,
7002 (main): Modified the name of the hindicator_mode to
7005 * src/hildon-pannable-area.c,
7006 (hildon_pannable_area_class_init),
7007 (hildon_pannable_area_motion_notify_cb),
7008 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
7009 we have reduced the amount of signals and managed reviewed its
7010 rationale. Changed the default decelerate value.
7012 (hildon_pannable_area_add),
7013 (hildon_pannable_area_redraw): Refactored functions.
7015 (hildon_pannable_area_init),
7016 (hildon_pannable_area_get_property),
7017 (hildon_pannable_area_set_property):
7018 (hildon_pannable_draw_vscroll),
7019 (hildon_pannable_draw_hscroll),
7020 (hildon_pannable_area_initial_effect),
7021 (hildon_pannable_area_expose_event),
7022 (hildon_pannable_area_scroll),
7023 (hildon_pannable_area_button_press_cb),
7024 (hildon_pannable_area_realize): Replaced the names hindicator_mode
7025 and vindicator_mode with hscrollbar_policy and
7026 vscrollbar_policy. Replaced hscroll and vscroll with
7027 hscroll_visible and vscroll_visible.
7029 (hildon_pannable_area_refresh): Refactor the function, remove
7030 variables and check the calls to this function, added resize
7031 conditions in case the children change their layout.
7033 (hildon_pannable_area_size_request): Added more detailed
7034 size_request calculation.
7037 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
7039 * src/hildon-color-chooser.c
7040 (init_borders): use the correct gtk_border_free instead of g_free, to
7041 avoid a crash when this widget is used (ie: the three color selection
7044 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7046 * src/hildon-check-button.c,
7047 (hildon_check_button_set_active): Fixed problem when setting the
7048 active value, the widget was not redrawn.
7050 2008-08-20 Alejandro G. Castro <alex@igalia.com>
7052 * src/hildon-pannable-area.c,
7053 (hildon_pannable_area_refresh),
7054 (hildon_pannable_area_scroll),
7055 (hildon_pannable_area_motion_notify_cb): Small code style change.
7057 (hildon_pannable_area_class_init): Default initial_hint set to
7058 FALSE, it is not in the specs.
7060 (hildon_pannable_area_initial_effect),
7061 (hildon_pannable_area_expose_event),
7062 (hildon_pannable_area_map),
7063 (hildon_pannable_area_init): Moved the launching point of the
7064 initial effect, it was in map but the sizes where not correct in
7065 that method so we do not know if we have the reproduce it. Now it
7066 is placed in the expose_event method and uses a variable to
7067 reproduce it just once.
7069 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7071 * src/hildon-pannable-area.c,
7072 (hildon_pannable_draw_vscroll),
7073 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
7074 position allowed for the scrollbars.
7076 (hildon_pannable_area_size_allocate): Small style change.
7078 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7080 * src/hildon-pannable-area.c,
7081 (hildon_pannable_area_scroll_indicator_fade),
7082 (hildon_pannable_area_button_press_cb),
7083 (hildon_pannable_area_button_release_cb),
7084 (hildon_pannable_area_scroll_cb),
7085 (hildon_pannable_area_expose_event),
7086 (hildon_pannable_area_init): Added the define parameter
7087 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
7088 and refactor the fade variable.
7090 2008-08-19 Alejandro G. Castro <alex@igalia.com>
7092 * src/hildon-pannable-area.c,
7093 (hildon_pannable_area_redraw),
7094 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
7095 lines, we were reimplemeting the redraw code.
7097 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7099 * src/hildon-pannable-area.c,
7100 (hildon_pannable_area_scroll_cb),
7101 (hildon_pannable_area_realize),
7102 (hildon_pannable_area_class_init): Added scroll_event management
7103 for pannable area, now we can scroll the usual desktop method.
7105 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
7106 initialization of the parameters should depend on idle_id.
7108 (hildon_pannable_area_init),
7109 (hildon_pannable_area_map): Small code style modifications
7111 2008-08-18 Alejandro G. Castro <alex@igalia.com>
7113 * src/hildon-pannable-area.c
7114 (hildon_pannable_area_button_press_cb),
7115 (hildon_pannable_area_motion_notify_cb),
7116 (hildon_pannable_area_button_release_cb),
7117 (hildon_pannable_area_size_allocate),
7118 (hildon_pannable_area_scroll_to): Improved the timeouts
7119 management, we avoid creating them each time.
7121 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7123 * src/hildon-pannable-area.c:
7124 (hildon_pannable_area_refresh),
7125 (hildon_pannable_area_motion_notify_cb),
7126 (hildon_pannable_area_class_init):
7127 * src/hildon-pannable-area.h:
7128 * src/hildon-touch-selector.c
7129 (_create_new_column):
7130 * examples/hildon-pannable-area-example-4.c:
7131 (horizontal_movement),
7132 (vertical_movement),
7134 Replaced the names of enums in the HildonPannableArea:
7135 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7136 HILDON_MOVEMENT_MODE_*
7137 - HILDON_PANNABLE_AREA_MOV_* ->
7139 - Removed HildonPannableAreaIndicatorMode, now we
7142 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7144 * examples/hildon-pannable-area-touch-grid-example.c
7145 * examples/hildon-pannable-area-touch-list-example.c: Fix
7146 compilation warnings.
7148 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7150 * src/hildon-gtk.c (hildon_gtk_button_new)
7151 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7152 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7153 images overriding the value of the "gtk-button-images" setting.
7155 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7157 * src/hildon-check-button.c (hildon_check_button_new):
7158 Instead of using a custom container, display the label and the
7159 checkbox using the standard GtkButton API.
7161 * examples/hildon-check-button-example.c (main): Don't use
7162 hildon_check_button_set_label() anymore
7164 * src/hildon-check-button.h
7165 * src/hildon-check-button.c
7166 (hildon_check_button_set_label, hildon_check_button_get_label):
7167 Set as deprecated, now we're using gtk_button_{get,set}_label()
7169 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7171 * src/hildon-pannable-area.c,
7172 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7173 GtkTreeview first line we detected it after the inclusion of the
7174 GtkWindowImpl in gtk+. We now check if the window is visible, not
7175 just if the pointer is over the window.
7176 (hildon_pannable_axis_scroll),
7177 (hildon_pannable_area_expose_event): Small style changes.
7179 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7181 * src/hildon-button.c: Update documentation.
7183 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7185 * examples/hildon-button-example.c: Add a switch to show images in
7188 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7190 * doc/hildon-docs.sgml: Some docs reorganization.
7192 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7194 * examples/hildon-pannable-area-touch-list-example.c
7196 * examples/hildon-pannable-area-touch-grid-example.c
7197 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7198 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7199 Fix memory leak when setting the tree model.
7201 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7205 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7207 * doc/hildon.types: Remove duplicated hildon_window_get_type
7208 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7209 documentation comment.
7211 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7213 * doc/Makefile.am: Complete list of private headers.
7215 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7217 * doc/hildon-docs.sgml
7218 * src/hildon-app-menu.c
7219 * src/hildon-bread-crumb.c
7220 * src/hildon-button.c
7222 * src/hildon-program.c
7223 * src/hildon-stackable-window.c
7224 * src/hildon-window.c: Lots of documentation updates.
7226 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7228 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7230 * configure.ac: Require Gtk+ 2.12.9 at least
7232 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7234 * src/hildon-pannable-area.c
7235 (hildon_pannable_area_scroll_indicator_fade),
7236 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7237 to protect the return of this timeout callbacks, avoiding deadlocks.
7239 2008-08-12 Christian Dywan <christian@imendio.com>
7242 * src/hildon-*.h: Ensure a consistent include order,
7243 include <gtk/gtk.h> instead of particular files and
7244 only include the topmost header in the gtk stack. See NB #39857
7246 2008-08-12 Christian Dywan <christian@imendio.com>
7248 * src/hildon-picker-dialog.c
7249 * src/hildon-touch-selector.c: Fix warnings about unused and
7250 uninitialized variables.
7252 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7254 * examples/Makefile.am
7255 * examples/hildon-check-button-example.c: Example of the hildon
7258 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7260 * src/hildon-window.h
7261 * src/hildon-window.c (hildon_window_class_init)
7262 (hildon_window_unset_program): Don't make
7263 hildon_window_unset_program a virtual function anymore.
7265 * src/hildon-stackable-window.c: Update documentation
7267 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7270 * doc/hildon-docs.sgml
7271 * doc/visual_index.xml
7272 * src/hildon-defines.c
7274 * src/hildon-helper.c
7275 * src/hildon-range-editor.c: Lots of documentation fixes.
7277 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7279 * examples/hildon-picker-button-multicolumn-example.c
7280 (create_touch_selector): Fix compilation warning.
7282 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7284 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7285 (hildon_pannable_area_button_release_cb)
7286 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7288 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7290 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7293 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7295 * src/hildon-bread-crumb-trail.h
7296 * src/hildon-date-editor.c
7297 * src/hildon-date-selector.c
7298 * src/hildon-pannable-area.c
7299 * src/hildon-picker-dialog.c
7300 * src/hildon-time-selector.c
7301 * src/hildon-touch-selector-entry.c
7302 * src/hildon-touch-selector.c
7303 * src/hildon-touch-selector.h: Misc documentation fixes
7305 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7307 * examples/hildon-date-editor-example.c (main): Updated date
7310 * examples/hildon-note-example.c (on_confirmation_clicked):
7311 Updated confirmation note example.
7313 * src/hildon-date-editor.c
7314 * src/hildon-note.c: Updated sample programs in documentation.
7317 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7319 * src/hildon-date-button.h:
7320 * src/hildon-picker-button.h:
7321 * src/hildon-time-button.c:
7322 * src/hildon-time-button.h:
7324 Some declarations changes to allow gtk-doc to document the widgets
7327 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7329 * src/hildon-date-button.c: Document the widget.
7330 * src/hildon-time-button.c: Document the widget.
7332 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7334 * src/hildon-picker-button.c: Document the widget.
7335 * src/hildon-touch-selector-entry.c: Document the widget.
7337 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7339 * doc/hildon-docs.sgml
7342 * src/hildon-check-button.h
7343 * src/hildon-check-button.c: New functions to create the Hildon
7347 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7349 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7351 * src/hildon-button.h
7352 * src/hildon-button.c
7353 (hildon_button_add_title_size_group)
7354 (hildon_button_add_value_size_group)
7355 (hildon_button_add_image_size_group)
7356 (hildon_button_add_size_groups): New functions to set size groups
7357 for the button labels and image.
7358 (hildon_button_new_full): Removed
7360 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7362 * src/hildon-time-selector.c
7363 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7364 in order to avoid a crash if gconf is not available
7366 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7368 * src/hildon-button.c (hildon_button_set_arrangement)
7369 (hildon_button_construct_child): Don't construct the button child
7370 before setting the arrangement.
7372 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7374 * src/hildon-program-private.h
7375 * src/hildon-program.c
7376 * src/hildon-program.h
7377 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7378 (hildon_program_peek_window_stack)
7379 (hildon_program_pop_window_stack)
7380 (hildon_program_go_to_root_window): HildonProgram now has a
7381 separate list for stackable windows. Functions are provided to
7382 manage that list with a stack-like API.
7384 * src/hildon-stackable-window.c: Stackable window management is
7385 now much simpler with the new HildonProgram API. Windows no
7386 longer need to be manually added to the program, they're
7387 automatically pushed to the top of the stack when shown.
7389 * examples/hildon-stackable-window-example.c: Updated example to
7390 reflect the API changes.
7392 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7394 * src/hildon-touch-selector.c: Comment out unimplemented
7395 hildon_touch_selector_insert_column() to avoid a compile warning.
7397 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7399 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7400 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7401 (hildon_touch_selector_set_column_selection_mode),
7402 (_hildon_touch_selector_set_model),
7403 (hildon_touch_selector_set_model):
7405 Complete review of HildonTouchSelector documentation.
7407 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7409 * doc/hildon-docs.sgml
7413 * src/hildon-gtk.c: Convenience functions for standard Gtk
7414 widgets, used to easily perform frequent operations.
7416 * src/hildon-button-helpers.h
7417 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7419 * src/hildon-helper.h
7420 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7421 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7423 * src/hildon-button.h
7424 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7426 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7428 * src/hildon-button.c (hildon_button_init)
7429 (hildon_button_set_arrangement, hildon_button_construct_child):
7430 Pack the image and the labels inside the same GtkAlignment so
7431 gtk_button_set_alignment() can be used
7433 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7435 * src/hildon-button.h
7436 * src/hildon-button.c
7437 (hildon_button_init, hildon_button_set_image)
7438 (hildon_button_set_image_position)
7439 (hildon_button_construct_child): New functions to add an image to
7442 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7444 * src/hildon-date-button.c
7445 * src/hildon-picker-button.c
7446 * src/hildon-time-button.c
7447 * src/hildon-button.c:
7448 (hildon_button_class_init): "size-flags" renamed to "size"
7449 (hildon_button_set_title): Hide the title label if set to NULL.
7451 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7453 HildonButtonFlags split into HildonButtonArrangement (to set the
7454 button layout) and HildonSizeType (which can be used for any
7457 * src/hildon-button.h
7458 * src/hildon-button.c
7459 (hildon_button_class_init)
7460 (hildon_button_set_arrangement)
7461 (hildon_button_set_property): New "size-flags"
7462 property. "arrangement-flags" renamed to "arrangement".
7463 (hildon_button_new, hildon_button_new_with_text)
7464 (hildon_button_new_full): Constructors updated to reflect type changes.
7466 * src/hildon-helper.h
7467 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7468 to set the size of a widget.
7472 * src/hildon-button-helpers.c
7473 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7475 * src/hildon-date-button.c
7476 * src/hildon-date-button.h
7477 * src/hildon-picker-button.c
7478 * src/hildon-picker-button.h
7479 * src/hildon-time-button.c
7480 * src/hildon-time-button.h: Updated widgets to reflect
7481 HildonButton API changes.
7483 * examples/hildon-button-example.c
7484 * examples/hildon-date-button-example.c
7485 * examples/hildon-picker-button-example.c
7486 * examples/hildon-picker-button-multicolumn-example.c
7487 * examples/hildon-time-button-example.c
7488 * examples/hildon-touch-selector-entry-example.c
7489 * examples/hildon-touch-selector-example.c: Updated examples to
7490 reflect HildonButton API changes.
7492 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7494 * doc/hildon-docs.sgml:
7496 * examples/Makefile.am:
7497 * examples/hildon-touch-selector-entry-example.c:
7499 * src/hildon-touch-selector-entry.c:
7500 * src/hildon-touch-selector-entry.h:
7503 Moved HildonTouchSelectorEntry from sandbox. Added its
7504 documentation and examples.
7506 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7508 * src/hildon-touch-selector.h:
7509 * examples/hildon-picker-button-multicolumn-example.c:
7510 (hildon_touch_selector_append_text_column): Add a gboolean
7511 parameter to determine if text must be centered in the column.
7513 * src/hildon-date-selector.c: (hildon_date_selector_init):
7514 * src/hildon-time-selector.c: (hildon_time_selector_init):
7515 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7516 (create_touch_selector): Update widgets and example to reflect
7519 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7521 * src/hildon-touch-selector.c:
7522 (hildon_touch_selector_set_active_iter): Set also the cursor in
7525 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7527 * doc/hildon-docs.sgml
7530 * src/hildon-toggle-button.c
7531 * src/hildon-toggle-button.h
7532 * src/hildon.h: Removed HildonToggleButton widget, a derived
7533 class is not necessary for this.
7535 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7537 * src/hildon-pannable-area.c,
7538 (hildon_pannable_area_realize),
7539 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7542 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7544 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7545 "done" button the default widget for the dialog.
7547 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7549 * src/hildon-touch-selector.c:
7550 (hildon_touch_selector_class_init),
7551 (hildon_touch_selector_get_property),
7552 (_hildon_touch_selector_set_model),
7553 (_hildon_touch_selector_has_multiple_selection),
7554 (hildon_touch_selector_has_multiple_selection):
7555 Add a "has-multiple-selection" property with a virtual
7556 has_multiple_selection() method to allow derived classes to
7557 override the default value for it. See the method and property
7558 documentation for details.
7560 * src/hildon-touch-selector.h: Add the new API.
7562 * src/hildon-picker-dialog.c: (requires_done_button): Call
7563 hildon_touch_selector_has_multiple_selection() instead of
7564 determining the need for a button itself.
7566 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7568 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7569 (_hildon_touch_selector_set_model),
7570 (hildon_touch_selector_set_model): Move working code to
7571 _hildon_touch_selector_set_mode(). Call the class method instead.
7573 * src/hildon-touch-selector.h: Add (*set_model) to
7574 HildonTouchSelectorClass.
7576 Make hildon_touch_selector_set_model() a virtual method, so that
7577 derived classes can extend it and do fancy stuff with the model.
7579 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7581 * configure.ac: Set back the tarname in AC_INIT to hildon.
7583 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7587 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7588 instead of libesd (NB#86876). Volume handling is still an open issue.
7590 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7593 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7595 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7596 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7597 derived class to ease placement of an entry widget in
7598 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7599 end, where the selector columns are packed now.
7601 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7603 * src/hildon-picker-button.c: Removed the simple _text() API.
7604 * src/hildon-picker-button.h: Likewise.
7606 * src/hildon-touch-selector.h:
7607 * src/hildon-touch-selector.c:
7608 (hildon_touch_selector_new_text),
7609 (hildon_touch_selector_append_text),
7610 (hildon_touch_selector_prepend_text),
7611 (hildon_touch_selector_insert_text):
7613 Moved the simple _text() API from HildonPickerButton to
7614 HildonTouchPicker, to provide better escalability and not to tie
7615 that API to HildonPickerButton.
7617 * examples/hildon-picker-button-example.c: (main): Example updated.
7619 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7621 * src/hildon-button.c: Updated documentation.
7623 * examples/hildon-button-example.c: Add the posibility to create
7624 the buttons using horizontal layout for title and value.
7626 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7628 * src/hildon-app-menu-private.h
7629 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7630 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7631 GtkSizeGroup for the filters, use the 'homogeneous' property of
7634 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7636 * examples/hildon-button-example.c: Updated example.
7638 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7640 * doc/hildon-docs.sgml:
7643 Update documentation.
7645 * examples/Makefile.am: Update renamed examples.
7647 * examples/hildon-picker-button-multicolumn-example.c:
7648 (create_touch_selector), (main): Update after the rename.
7650 * examples/hildon-touch-picker-example.c: Removed.
7651 * examples/hildon-touch-selector-example.c: (value_changed),
7652 (create_selector), (get_visible_content), (main): Renamed from
7653 hildon-touch-picker-example.c
7655 * src/Makefile.am: Updated renamed files.
7657 * src/hildon-date-button.c: (hildon_date_button_init),
7658 (hildon_date_button_get_date), (hildon_date_button_set_date):
7659 * src/hildon-date-selector.c: (hildon_date_selector_init),
7660 (_custom_print_func), (_update_day_model),
7661 (_manage_selector_change_cb),
7662 (hildon_date_selector_select_current_date),
7663 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7664 * src/hildon-date-selector.h:
7665 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7666 (hildon_picker_button_set_property),
7667 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7668 (hildon_picker_button_init), (hildon_picker_button_new_text),
7669 (hildon_picker_button_append_text),
7670 (hildon_picker_button_prepend_text),
7671 (hildon_picker_button_insert_text),
7672 (hildon_picker_button_set_selector),
7673 (hildon_picker_button_get_selector):
7674 * src/hildon-picker-button.h:
7675 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7676 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7677 (_update_title_on_selector_changed_cb), (requires_done_button),
7678 (_hildon_picker_dialog_set_selector),
7679 (hildon_picker_dialog_set_selector),
7680 (hildon_picker_dialog_get_selector):
7681 * src/hildon-picker-dialog.h:
7682 * src/hildon-time-button.c: (hildon_time_button_init),
7683 (hildon_time_button_get_time), (hildon_time_button_set_time):
7684 * src/hildon-time-selector.c: (hildon_time_selector_init),
7685 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7686 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7687 * src/hildon-time-selector.h:
7690 Massive code updates after the rename.
7692 * src/hildon-touch-picker.c: Removed.
7693 * src/hildon-touch-picker.h: Removed.
7695 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7696 (hildon_touch_selector_init), (hildon_touch_selector_map),
7697 (hildon_touch_selector_remove), (_default_print_func),
7698 (_selection_changed_cb), (_create_new_column),
7699 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7700 (hildon_touch_selector_append_text_column),
7701 (hildon_touch_selector_remove_column),
7702 (hildon_touch_selector_set_column_attributes),
7703 (hildon_touch_selector_insert_column),
7704 (hildon_touch_selector_get_num_columns),
7705 (hildon_touch_selector_get_column_selection_mode),
7706 (hildon_touch_selector_set_column_selection_mode),
7707 (hildon_touch_selector_set_print_func),
7708 (hildon_touch_selector_get_print_func),
7709 (hildon_touch_selector_get_active_iter),
7710 (hildon_touch_selector_set_active_iter),
7711 (hildon_touch_selector_get_selected_rows),
7712 (hildon_touch_selector_get_model),
7713 (hildon_touch_selector_set_model),
7714 (hildon_touch_selector_get_current_text),
7715 (_hildon_touch_selector_center_on_selected_items):
7716 * src/hildon-touch-selector.h: Renamed from
7717 hildon-touch-picker.[ch]
7719 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7720 references, code examples, and related documentation.
7722 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7724 * doc/hildon-docs.sgml
7727 * src/hildon-toggle-button.c
7728 * src/hildon-toggle-button.h
7729 * src/hildon.h: New HildonToggleButton widget.
7731 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7733 * src/hildon-button.c: Add API documentation.
7734 (hildon_button_set_size_groups): Check input parameters
7736 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7738 * src/hildon-pannable-area.c
7739 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7740 effect after reaching the movement thredshold. This way we start
7741 using the distance after passing the thredshold.
7743 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7745 * src/hildon-button.c: (hildon_button_set_property): Use the
7746 appropriate g_value_get_flags() method.
7748 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7750 * doc/hildon-docs.sgml:
7753 Add the touch pickers, picker dialogs, and picker button widgets
7754 to the documentation.
7756 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7758 * src/hildon-button.c: (hildon_button_set_property),
7759 (hildon_button_class_init): Make "arrangement-flags" a proper
7760 G_TYPE_FLAGS derived property.
7762 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7764 * examples/Makefile.am: Add below examples.
7765 * examples/hildon-date-button-example.c:
7766 * examples/hildon-picker-button-example.c:
7767 * examples/hildon-picker-button-multicolumn-example.c:
7768 * examples/hildon-time-button-example.c:
7769 * examples/hildon-touch-picker-example.c:
7771 Add examples for the recently added touch pickers,
7772 picker dialogs, and picker button widgets.
7774 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7776 * src/hildon-button.c: Add some API documentation
7778 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7780 * src/hildon-button.h
7781 * src/hildon-button.c
7783 (hildon_button_new_with_text): New constructor to create a button
7784 with no text at all.
7785 (hildon_button_init, hildon_button_set_arrangement)
7786 (hildon_button_set_title, hildon_button_set_value)
7787 (hildon_button_set_text)
7788 (hildon_button_construct_child): Hide the value when it's not used
7789 so the rest of the text is properly aligned.
7790 Allow creating buttons with arbitrary widgets inside (not just
7791 title/value labels).
7793 * examples/hildon-button-example.c (vertical_buttons_window)
7794 (horizontal_buttons_window): Update example to use new API.
7796 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7798 * src/Makefile.am: Added HildonTimeButton.
7799 * src/hildon-time-button.c: Added missing LGPL header.
7800 * src/hildon-time-button.h: Added missing LGPL header.
7801 * src/hildon.h: Add hildon-time-button.h
7803 Copied HildonTimeButton from sandbox to trunk. Future work on this
7804 widget must take place in trunk.
7806 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7808 * src/Makefile.am: Added HildonDateButton.
7809 * src/hildon-date-button.c: Update includes.
7810 * src/hildon.h: Add hildon-date-button.h
7812 Copied HildonDateButton from sandbox to trunk. Future work on this
7813 widget must take place in trunk.
7815 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7817 * src/Makefile.am: Added HildonPickerButton.
7818 * src/hildon-picker-button.h: Update includes.
7819 * src/hildon.h: Add hildon-picker-button.h
7821 Copied HildonPickerButton from sandbox to trunk. Future work on
7822 this widget must take place in trunk.
7824 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7826 * src/Makefile.am: Added HildonPickerDialog.
7827 * src/hildon-picker-dialog.c: Update includes.
7828 * src/hildon.h: Add hildon-picker-dialog.h
7830 Copied HildonPickerDialog from sandbox to trunk. Future work
7831 on this widget must take place in trunk.
7833 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7835 * src/Makefile.am: Added HildonTimeSelector.
7836 * src/hildon.h: Add hildon-time-selector.h
7838 Copied HildonTimeSelector widget from sandbox to trunk. Future
7839 work on this widget must happen in trunk.
7841 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7843 * src/Makefile.am: Added HildonDateSelector.
7844 * src/hildon.h: Add hildon-date-selector.h
7846 Copied HildonDateSelector widget from sandbox to trunk. Future
7847 work on this widget must happen in trunk.
7849 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7851 * src/Makefile.am: Added HildonTouchPicker.
7852 * src/hildon-touch-picker.c: Update includes.
7853 * src/hildon.h: Add hildon-touch-picker.h
7855 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7856 on this widget must happen in trunk.
7858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7860 * src/hildon-pannable-area.c:
7861 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7863 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7865 * examples/hildon-app-menu-example.c (main): Let the window
7868 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7870 * src/hildon-pannable-area.c
7871 (hildon_pannable_area_class_init): Set the min value of the
7872 overshoot properties to zero, which points out that not
7873 overshooting allowed.
7875 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7877 Modified the procedure to get the widget at a point inside the
7878 pannable area when using the movement type signals. Now the user
7879 has to call a function to get the child, that way we just
7880 calculate the child in case the user really want to use it and not
7883 * src/hildon-marshalers.list: Modified the marshallers, now we do
7884 not have the widget as a parameter.
7886 * src/hildon-pannable-area.c
7887 (hildon_pannable_area_motion_notify_cb),
7888 (hildon_pannable_area_class_init),
7889 (hildon_pannable_get_child_widget_at): Removed the widget
7890 parameter from the signal callback. We have also refactored the
7891 emission of the signals.
7893 * src/hildon-pannable-area.h: Added a new method to the API to
7894 calculate a widget at a point inside the pannable area,
7895 hildon_pannable_get_child_widget_at.
7897 * examples/hildon-pannable-area-example-4.c
7898 (horizontal_movement): Modified the example to use the new API,
7899 added condition to control which widget is under the event. This
7900 way we can avoid scrolling laterally over other widgets.
7902 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7904 * src/hildon-pannable-area.c
7905 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7906 modes, we stop getting the pointer events due to returning the
7907 callback without properly calling the get pointer again. Fixed
7908 also an error using the hscroll and vscroll.
7910 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7912 * src/hildon-app-menu-private.h
7913 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7914 (hildon_app_menu_button_release, hildon_app_menu_init)
7915 (hildon_app_menu_class_init): Don't hide the menu on button
7916 release if the user didn't press outside first.
7918 * src/hildon-window.h
7919 * src/hildon-window.c (hildon_window_toggle_menu)
7920 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7921 hildon_window_toggle_menu a virtual function for the stackable
7922 window to override it.
7924 * src/hildon-stackable-window.h
7925 * src/hildon-stackable-window-private.h
7926 * src/hildon-stackable-window.c
7927 (hildon_stackable_window_realize)
7928 (hildon_stackable_window_finalize)
7929 (hildon_stackable_window_class_init)
7930 (hildon_stackable_window_init)
7931 (hildon_stackable_window_set_main_menu): New function to set the
7932 app menu of a HildonStackableWindow.
7934 * examples/hildon-app-menu-example.c: Remove the button to show
7935 the app menu, now it'll be shown when clicking on the title bar
7938 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7940 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7941 set the widget name if the arrangement flags do not specify
7944 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7946 * src/hildon-button.c: (hildon_button_set_property),
7947 (hildon_button_class_init), (hildon_button_new_full),
7948 (hildon_button_set_arrangement): Added "arrangement-flags"
7951 Make the HildonButtonFlags a construction-only property, to allow
7952 subclasses to set them properly.
7954 2008-07-21 Tim Janik <timj@imendio.com>
7956 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7957 insertion position after backspace, so additional digits are appended,
7960 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7962 * src/hildon-pannable-area.c,
7963 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7964 TODO list, it was complete and removed the g_debug and g_print
7967 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7969 Added the movement modes to the hildon-pannable-area, with this
7970 modes the developers can control in which directions the widget
7971 can scroll. They can also connect to signals in order to do
7972 something when that happens, allowing applications scroll. There
7973 is an example uploaded showing how to use it.
7975 * examples/Makefile.am:
7976 * examples/hildon-pannable-area-example-4.c: Added this example of
7977 an application using the modes.
7979 * src/hildon-marshalers.list: Added a new marshaller for the new
7982 * src/hildon-pannable-area.h: Added new enumerations and flags in
7983 order to control the movement modes and the new signals to warn
7984 about the movements in the area.
7986 * src/hildon-pannable-area.c:
7987 (hildon_pannable_axis_scroll),
7988 (hildon_pannable_area_scroll),
7989 (hildon_pannable_area_motion_notify_cb),
7990 (hildon_pannable_area_get_property),
7991 (hildon_pannable_area_set_property),
7992 (hildon_pannable_area_map),
7993 (hildon_pannable_area_class_init),
7994 (hildon_pannable_area_init),
7995 (hildon_pannable_area_jump_to): Added the modes to control the
7996 movement in the widget. We have added properties to control it,
7997 signals to warn about the movements and refactored some code.
7999 2008-07-15 Alejandro G. Castro <alex@igalia.com>
8001 Changes required in order to allow vfast_factor set to zero to
8004 * src/hildon-pannable-area.c:
8005 (hildon_pannable_area_button_press_cb): Changed the condition, it
8006 is required for not allowing click when vfast_factor is zero.
8007 (hildon_pannable_area_timeout): Initialized velocity variables
8008 when we stop moving, it was less than 1 but not zero and we need
8009 to check zero in some situations.
8010 (hildon_pannable_area_class_init): Changed the default value of
8011 the speed factor, now the button_press is just sent in case the
8012 speed is 2 per cent of the max speed.
8013 (hildon_pannable_area_init): Initialization with 0.
8015 2008-07-04 Alejandro G. Castro <alex@igalia.com>
8017 * src/hildon-pannable-area.c,
8018 (hildon_pannable_area_get_topmost): replaced
8019 gdk_window_get_children with gdk_window_peek_children, this way we
8020 do not have to free the list because it is not a copy.
8022 (hildon_pannable_axis_scroll),
8023 (hildon_pannable_area_scroll),
8024 (hildon_pannable_area_timeout),
8025 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
8026 two parameters that were only used inside the
8027 hildon_pannable_area_scroll function.
8029 * examples/hildon-pannable-area-example.c,
8030 (get_sawtooth_label): Fixed small memory leak.
8032 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8034 More checks for the case where the overshoot is bigger than the
8037 * src/hildon-pannable-area.c:
8038 (hildon_pannable_draw_vscroll),
8039 (hildon_pannable_draw_hscroll): with this new calculation we avoid
8040 to draw the slider of the scrollbar under the other scrollbar.
8041 (hildon_pannable_area_expose_event): added new checks to control
8042 the drawing of the overshooting area rectangle, in case it is too
8043 big for the area of the widget.
8044 (hildon_pannable_area_size_allocate): add more checks to avoid
8045 setting a position to the child widget outside the area.
8047 2008-07-03 Alejandro G. Castro <alex@igalia.com>
8049 * src/hildon-pannable-area.c
8050 (hildon_pannable_area_size_allocate): Added conditions to control
8051 when overshooting is bigger than the allocated space for the
8052 children, this avoids negative allocations.
8054 2008-07-02 Alberto Garcia <agarcia@igalia.com>
8056 * doc/hildon-docs.sgml
8058 * examples/Makefile.am
8059 * examples/hildon-button-example.c
8061 * src/hildon-button.c
8062 * src/hildon-button.h
8063 * src/hildon.h: Initial version of the new HildonButton widget,
8066 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
8068 * src/hildon-pannable-area.c:
8069 (hildon_pannable_area_button_press_cb),
8070 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
8071 (hildon_pannable_area_motion_notify_cb),
8072 (hildon_pannable_area_button_release_cb),
8073 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
8074 (hildon_pannable_area_jump_to_child):
8076 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
8078 2008-07-01 Alberto Garcia <agarcia@igalia.com>
8080 * examples/Makefile.am
8081 * examples/hildon-pannable-area-touch-grid-example.c
8082 * examples/hildon-pannable-area-touch-list-example.c: Examples of
8083 the Hildon Touch List and Hildon Touch Grid using the
8084 HildonPannableArea widget.
8086 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8088 * src/hildon-pannable-area.c,
8089 (hildon_pannable_area_button_press_cb),
8090 (hildon_pannable_area_refresh),
8091 (hildon_pannable_area_scroll),
8092 (hildon_pannable_area_motion_notify_cb),
8093 (hildon_pannable_area_button_release_cb),
8094 (hildon_pannable_area_expose_event),
8095 (hildon_pannable_area_add),
8096 (hildon_pannable_area_remove),
8097 (hildon_pannable_area_realize),
8098 (hildon_pannable_area_size_allocate),
8099 (hildon_pannable_area_class_init),
8100 (hildon_pannable_area_init),
8101 (hildon_pannable_area_scroll_to_child),
8102 (hildon_pannable_area_jump_to_child): Fixed the problem of
8103 removing the child from the GtkBin, we have rearranged the widget
8104 hierarchy, now there is no GtkAlignment which was not doing
8105 anything interesting but breaking some of the assumptions of
8106 GtkContainer. Now developers if they want to add a GtkAlignment
8107 they could, but it is not inside the area.
8109 We had to review the whole allocation/expose process, now it is
8110 improved and we save at least three signals which would be saving
8111 some time when rendering the widget. The allocation of the
8112 scrollbars is now made in the allocate method as usual.
8114 We have also added some conditions in order to control when there
8115 is no child of the pannable area. Maybe we will need more work
8118 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8120 * src/hildon-pannable-area.c,
8121 (hildon_pannable_area_dispose): Released the fade-out timeout when
8122 disposing the widget.
8124 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8126 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8127 zero, we are going to use that property in order to deactivate the
8129 (hildon_pannable_axis_scroll),
8130 (hildon_pannable_area_size_allocate): Added conditions to control
8131 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8132 call, now it is called in all situations and we can remove calls
8133 in the allocate method.
8134 (hildon_pannable_area_map): Control the situation when
8135 overshoot_max is zero, we do not need the timeout.
8136 (hildon_pannable_area_class_init): Added documentation in order to
8137 point out that setting zero to overshoot_max means deactivate
8140 NOTE: removed trailing whitespaces from my previous comments of
8143 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8145 * src/hildon-pannable-area.c
8146 (hildon_pannable_area_get_property),
8147 (hildon_pannable_area_set_property),
8148 (hildon_pannable_area_map),
8149 (hildon_pannable_area_class_init),
8150 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8151 to cause the widget give a hint about its panning abilities upon
8154 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8156 * src/hildon-pannable-area.c: Several documentation improvements.
8158 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8160 * src/hildon-program.c
8161 * src/hildon-stackable-window.c: Update documentation.
8163 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8165 * src/hildon-stackable-window.c (get_previous_window_if_last):
8166 Renamed get_last_window()
8167 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8168 (hildon_stackable_window_unset_program):
8170 (get_previous_window_if_last):
8171 Detect if the window hasn't been added to a HildonProgram.
8173 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8175 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8177 * src/hildon-pannable-area.c
8178 (hildon_pannable_area_button_press_cb),
8179 (hildon_pannable_axis_scroll),
8180 (hildon_pannable_area_scroll),
8181 (hildon_pannable_area_timeout),
8182 (hildon_pannable_calculate_vel_factor),
8183 (hildon_pannable_area_get_property),
8184 (hildon_pannable_area_set_property),
8185 (hildon_pannable_area_class_init),
8186 (hildon_pannable_area_init),
8187 (hildon_pannable_area_scroll_to),
8188 (hildon_pannable_area_jump_to),
8189 (hildon_pannable_area_scroll_to_child),
8190 (hildon_pannable_area_jump_to_child):
8191 * src/hildon-pannable-area.h: Added the new API functions:
8192 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8193 hildon_pannable_area_scroll_to_child,
8194 hildon_pannable_area_jump_to_child
8197 * examples/Makefile.am
8198 * examples/hildon-pannable-area-example-2.c
8199 * examples/hildon-pannable-area-example-3.c: Added these two new
8200 examples in order to test and show how the new APIs work.
8202 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8204 * examples/hildon-stackable-window-example.c (new_window):
8205 * src/Makefile.am (noinst_HEADERS):
8206 * src/hildon-program.c (hildon_program_go_to_root_window):
8207 * src/hildon-program.h:
8208 * src/hildon-stackable-window-private.h:
8209 * src/hildon-stackable-window.c:
8210 * src/hildon-stackable-window.h:
8211 Create hildon-stackable-window-private.h
8212 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8214 * examples/hildon-app-menu-example.c (create_menu):
8215 * examples/hildon-hvolumebar-insensitive-example.c (main):
8216 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8217 * examples/hildon-toolbar-seekbar-example.c (main):
8218 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8219 * src/hildon-banner.c (hildon_banner_set_property):
8220 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8221 Fix compilation warnings
8223 * src/hildon-window.c:
8226 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8228 * src/hildon-stackable-window.c
8229 (hildon_stackable_window_unset_program):
8230 Calculate correctly whether to show the previous window if the
8231 last one is removed from the stack.
8232 (hildon_stackable_window_go_to_root_window):
8233 Send delete events starting from the topmost window.
8234 Stop if one of the windows is not destroyed.
8236 (hildon_stackable_window_delete_event)
8237 (hildon_stackable_window_class_init):
8238 Ignore the delete event if the window is not the topmost one.
8240 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8242 * src/hildon-pannable-area.c
8243 (hildon_pannable_area_expose_event): Fixed a problem when
8244 selecting the background color of the scrollbars.
8246 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8248 * examples/hildon-stackable-window-example.c
8249 * src/hildon-stackable-window.c
8250 * src/hildon-stackable-window.h
8251 hildon_stackable_window_go_home() renamed to
8252 hildon_stackable_window_go_to_root_window()
8253 Send delete events to windows rather than closing them with
8254 gtk_widget_destroy()
8256 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8258 * src/hildon-pannable-area.c
8259 (hildon_pannable_area_button_release_cb): Fix overshooting in
8262 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8264 * src/hildon-pannable-area.c
8265 (hildon_pannable_area_init): Initially show the scroll indicators.
8266 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8268 Add initial effect showing the widget is pannable.
8270 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8272 * src/hildon-pannable-area.c
8273 (hildon_pannable_area_class_init)
8274 (hildon_pannable_area_set_property)
8275 (hildon_pannable_area_get_property)
8276 (hildon_pannable_area_button_press_cb):
8277 New 'velocity_fast_factor' property to decide which velocity is
8280 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8282 * src/hildon-pannable-area.c
8283 (hildon_pannable_draw_hscroll)
8284 (hildon_pannable_draw_vscroll):
8285 Use float variables to calculate the size of the scrollbars to
8286 avoid error propagation and resizing during scrolling.
8288 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8290 * src/hildon-pannable-area.c
8291 (hildon_pannable_draw_vscroll)
8292 (hildon_pannable_draw_hscroll):
8293 Define a minimum size for the scroll bars
8295 * src/hildon-stackable-window.c
8296 (hildon_stackable_window_go_home): Fix compilation warning
8297 (get_last_window): Minor optimizations
8298 (hildon_stackable_window_class_init): Fix initialization of
8301 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8303 * src/hildon-stackable-window.c: Fixed typos in doc
8305 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8307 * src/hildon-pannable-area.c
8308 (hildon_pannable_area_scroll):
8309 Calculate here whether we need to scroll instead of using the booleans
8310 that tell us whether to /draw/ the scrolling bars.
8312 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8314 * src/hildon-app-menu.h
8316 * src/hildon-app-menu.c
8317 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8318 multiple filter groups related code and API. Now we support only
8320 * examples/hildon-app-menu-example.c:
8322 Update to reflect API changes.
8324 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8326 * src/hildon-stackable-window.c
8327 (hildon_stackable_window_class_init):
8328 Add hildon_stackable_window_realize.
8329 (hildon_stackable_window_realize):
8330 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8331 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8332 to apply theming and behavior specific to HildonStackableWindow
8335 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8337 * src/hildon-note.c (hildon_note_button_release):
8338 Close information notes also when tapping on them
8340 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8342 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8343 ELASTICITY, refactor and review, fix some issues with drawing
8346 * src/hildon-pannable-area.c:
8347 (hildon_pannable_area_button_press_cb): removed the conditions to
8348 avoid clicks when overshooting. It is not required
8350 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8351 define. Refatored and reviewed the code, now we do not need to
8352 manage velocity in motion_notify.
8354 (hildon_pannable_area_motion_notify_cb): We have moved the code
8355 that controls the area_scroll to the axis_scroll function and get
8356 rid of duplicated code.
8358 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8360 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8362 (hildon_pannable_draw_vscroll),
8363 (hildon_pannable_draw_hscroll): Fixed the problems with the
8364 scrollbar drawing, now we do not use two surfaces, it is easier
8365 and saves resources.
8367 (hildon_pannable_area_get_property): Style modification.
8369 (hildon_pannable_area_class_init): Changed some default values.
8371 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8373 * src/hildon-stackable-window.c: Fix some typos in the
8376 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8378 * src/hildon-dialog.c:
8379 Change indentation style
8382 (hildon_note_button_release):
8383 Use root coordinates to check if the release event happened
8386 * src/hildon-app-menu.c
8387 (hildon_app_menu_button_release):
8388 Remove unnecessary check
8390 * examples/hildon-app-menu-example.c
8392 Add cast to fix warning
8394 * src/hildon-app-menu.c
8395 (hildon_app_menu_class_init):
8396 New inner-border style property.
8397 Set all default spacings to 16
8398 (hildon_app_menu_init):
8399 Use vertical-spacing to set the space between filter buttons and
8400 regular menu buttons.
8401 Set the default container border using the inner-border value.
8403 * examples/hildon-app-menu-example.c
8405 Don't set the menu border explicitly, now we have the inner-border
8406 style property for that.
8408 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8410 * src/hildon-app-menu.c (hildon_app_menu_init):
8411 Make the window modal
8413 * src/hildon-note.c (hildon_note_map)
8414 * src/hildon-app-menu.c (hildon_app_menu_map):
8415 Destroy the grab window if we're unable to grab the pointer
8417 * src/hildon-app-menu-private.h
8418 * src/hildon-app-menu.c
8419 (hildon_app_menu_init, hildon_app_menu_finalize)
8420 (hildon_app_menu_map, hildon_app_menu_unmap)
8421 (hildon_app_menu_button_release)
8422 (grab_transfer_window_get):
8423 Bring back the grab window
8424 (hildon_app_menu_realize):
8425 Decorate the window, set WM hint for Matchbox
8427 * src/hildon-note.c (hildon_note_realize):
8428 * src/hildon-banner.c (hildon_banner_realize):
8429 Add WM hints for Matchbox
8431 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8433 * src/hildon-app-menu-private.h
8434 * src/hildon-app-menu.c
8435 (hildon_app_menu_init, hildon_app_menu_finalize)
8436 (hildon_app_menu_map, hildon_app_menu_unmap)
8437 (hildon_app_menu_button_release):
8438 Remove the grab window, it's not needed anymore
8440 * src/hildon-program.c
8441 Fixed typo in documentation
8443 * src/hildon-app-menu.h
8444 * src/hildon-app-menu.c
8445 * examples/hildon-app-menu-example.c
8446 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8448 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8451 Added new transfer_window and close_if_pressed_outside private
8453 (hildon_note_rebuild):
8454 Don't add a cancel button to the information note. It will be
8455 closed when tapping outside
8456 Remove the comment about the OK button in the documentation
8457 (hildon_note_realize):
8458 Set the notification type hint
8459 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8460 Grab/ungrab pointer and keyboard if the note has to be closed when
8462 (hildon_note_button_release):
8463 Close the note when tapping outside (if applicable)
8465 * src/hildon-app-menu.c
8466 Grab/ungrab pointer and keyboard on map/unmap
8467 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8468 Close the menu on button release, not button press
8470 * src/hildon-banner.c
8471 (hildon_banner_set_property)
8472 (hildon_banner_check_position):
8473 Make the banner use the full width of the screen
8474 (hildon_banner_show_information)
8475 (hildon_banner_show_information_with_markup):
8476 Don't display an icon by default
8478 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8480 Added fading scrollbars and adapted all the overshooting code to
8481 horizontal scrolling. We have also fixed bugs with overshooting
8482 and current fading implementation.
8484 * src/hildon-pannable-area.c
8485 (hildon_pannable_area_scroll_indicator_fade): Time out function
8486 used to change the transparency of the scrollbars.
8488 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8489 control and fixed a problem with fading, we now remove the fade
8490 timeout before adding a new one.
8492 (hildon_pannable_axis_scroll):
8493 (hildon_pannable_area_scroll):
8494 (hildon_pannable_area_timeout): Added this functions so we can use
8495 the scroll code both for vertical and horizontal.
8497 (hildon_pannable_area_motion_notify_cb):
8498 (hildon_pannable_area_button_release_cb): Added the horizontal
8499 scrolling control, fixed a problem with the overshooting timeout.
8501 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8502 painting of the scrolls.
8504 (hildon_pannable_draw_vscroll):
8505 (hildon_pannable_draw_hscroll):
8506 (hildon_pannable_area_expose_event):
8507 Draw both scrollbars and rectangles in the overshooting area.
8509 (hildon_pannable_area_get_property):
8510 (hildon_pannable_area_set_property):
8511 Modified the overshoot property to overshoot_max
8513 (hildon_pannable_area_map):
8514 Replaced the comments symbols.
8516 (hildon_pannable_area_size_allocate):
8517 (hildon_pannable_area_class_init):
8518 (hildon_pannable_area_init): Added horizontal scroll, fading
8519 effect properties, fixed a problem when overshooting in the bottom
8522 * examples/hildon-pannable-area-example.c:
8523 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8524 looks better in the example.
8526 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8528 * src/hildon-window.c
8529 * src/hildon-window.h
8530 (hildon_window_class_init)
8531 (hildon_window_unset_program)
8532 (hildon_window_unset_program_real):
8533 Make unset_program a virtual function
8535 * src/hildon-stackable-window.c
8536 * src/hildon-stackable-window.h
8537 Added hildon_stackable_window_go_home()
8539 * examples/Makefile.am
8540 * examples/hildon-stackable-window-example.c
8541 HildonStackableWindow example
8543 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8545 * hildon-pannable-area.c: Added the overshoot property and removed
8546 the OVERSHOOT define. Fixed an indent style error.
8547 (hildon_pannable_area_motion_notify_cb):
8548 (hildon_pannable_area_get_property):
8549 (hildon_pannable_area_set_property): Add overshoot property.
8551 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8554 (hildon_pannable_area_class_init): Installed the new property.
8556 * hildon-pannable-area-example.c: Added a sawtooth function, this
8557 way it is easier to check the movement in the pannable.
8558 (get_sawtooth_label): Added this function.
8559 (main): Now we get the labels from the new get_sawtooth_label
8562 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8564 * src/hildon-app-menu.h
8565 * src/hildon-app-menu.c
8566 Renamed API variables for consistency
8568 (hildon_app_menu_popup): Use also the default window size to
8569 decide where to place the menu
8571 (hildon_app_menu_init, hildon_app_menu_class_init): New
8572 external-border style property
8574 2008-05-26 Michael Natterer <mitch@imendio.com>
8576 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8577 widget_class->tap_and_hold_setup signal slot doesn't exist any
8578 longer, stop overriding it.
8580 (hildon_time_editor_init): g_signal_connect() to the
8581 tap-and-hold-setup signal instead.
8583 (hildon_time_editor_entry_keypress): add cast to fix warning.
8585 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8587 * doc/hildon-docs.sgml
8589 * examples/Makefile.am
8590 * examples/hildon-app-menu-example.c
8592 * src/hildon-app-menu-private.h
8593 * src/hildon-app-menu.c
8594 * src/hildon-app-menu.h
8596 New HildonAppMenu widget
8598 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8600 Rearranged the inheritance of the pannable area, now it inherits
8601 from GtkBin. This will allow us to control the event_window and
8602 the allocation process of the widget, required for some effects.
8604 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8605 GtkBin structures. * src/hildon-pannable-area.c: Added the
8606 event_window variable.
8607 (hildon_pannable_area_button_press_cb):
8608 (hildon_pannable_area_button_release_cb):
8609 (hildon_pannable_area_motion_notify_cb):
8610 Changed the signature of the method, now we override the event
8611 callback instead of connecting to the signal.
8613 (hildon_pannable_area_realize):
8614 (hildon_pannable_area_unrealize):
8615 (hildon_pannable_area_map):
8616 (hildon_pannable_area_unmap):
8617 (hildon_pannable_area_size_allocate):
8618 Added functions to control the widget construction. We add a
8619 INPUT_ONLY window and we put it over the widgets inside the
8620 container, this event_window handles the events.
8622 (hildon_pannable_area_class_init):
8623 Replaced the signal connections with overrides of the event
8626 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8628 Bouncing effect added when touching the borders, you can change
8629 the elasticity of the border changing the ELASTICITY define.
8631 * src/hildon-pannable-area.c: Added ELASTICITY define.
8632 (hildon_pannable_area_timeout): Added inverse velocity when
8633 touching the border of the child widget, that causes a bounce.
8635 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8637 Improved performance, we now do not go to the X server in order to
8638 get the list of window children. Apparently the effect is the
8639 same, we have to be careful and check if this breaks something in
8642 * src/hildon-pannable-area.c:
8643 (get_ordered_children): Removed this function.
8644 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8645 the children windows function with gdk_window_get_children.
8647 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8649 * src/hildon-pannable-area.c:
8650 (hildon_pannable_area_dispose): Fixed a crash when closing the
8651 window and kinetics is activated.
8653 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8655 * src/hildon-pannable-area.h
8656 * src/hildon-pannable-area.c
8657 Changed indentation style to meet the one used in Hildon
8659 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8661 Reviewed the interaction of the AUTO mode, now we use the time
8662 attribute of the events and calculate the velocity in the motion,
8663 doing a gimp like calculation. The velocity is calculated in each
8664 motion event using the last velocity and the current one, the
8665 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8667 * src/hildon-pannable-area.c: Replaced the time based algorithm
8669 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8670 timeout for the AUTO mode when we are still moving the cursor. We
8671 added also the velocity calculation in this function.
8672 (hildon_pannable_area_button_release_cb): launch the timeout in
8673 case we are in AUTO mode. There are still some constants here that
8674 come from the old implementation that should be reviewed and
8677 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8679 * doc/hildon-docs.sgml
8682 * src/hildon-stackable-window.c
8683 * src/hildon-stackable-window.h
8685 New HildonStackableWindow widget
8687 * examples/hildon-dialog-example.c
8688 * examples/hildon-pannable-area-example.c
8691 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8693 * src/hildon-dialog.c
8694 (hildon_dialog_new_with_buttons): New constructor.
8696 * examples/hildon-dialog-example.c
8697 (main): Update the example to use the new
8698 hildon_dialog_new_with_buttons().
8700 * examples/hildon-pannable-area-example.c
8701 (main): Update example.
8703 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8705 * doc/hildon-docs.sgml
8707 Added HildonPannableArea to the documentation.
8709 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8711 * doc/visual_index.xml
8712 Fix reference to HildonLoginDialog in documentation
8714 * doc/hildon-docs.sgml
8716 * examples/Makefile.am
8717 * examples/hildon-dialog-example.c
8719 * src/hildon-dialog.c
8720 * src/hildon-dialog.h
8722 New HildonDialog widget.
8724 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8726 * src/hildon-pannable-area.c
8727 Merge latest changes (r4318, r4342) from libmokoui trunk
8729 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8731 * examples/Makefile.am
8732 * examples/hildon-pannable-area-example.c
8734 * src/hildon-pannable-area.c
8735 * src/hildon-pannable-area.h
8737 New HildonPannableArea widget.
8739 2008-04-15 18:05:19 <timj@imendio.com>
8741 * src/hildon-banner.c: revert the recent change, that introduced
8742 gtk_window_present() calls. this reopens:
8743 Bug 78481 - [freetest] information banners are hidden under browser menu
8744 But resolves another variant of:
8745 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8747 2008-04-15 13:21:13 <timj@imendio.com>
8749 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8750 recreated its layout, spotted by Kris. this fixes all remaining
8751 artefacts and stability issues with the banner code. in particular:
8752 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8754 2008-04-14 16:52:59 <timj@imendio.com>
8756 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8757 operating on unrealized widgets, fixes:
8758 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8760 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8762 2008-04-09 Kristian Rietveld <kris@imendio.com>
8764 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8765 makes banner disappear.
8766 Fixes: NB#79182: info banner flickering with certain message lengts.
8768 * src/hildon-banner.c (hildon_banner_constructor),
8769 (hildon_banner_init), (hildon_banner_set_text),
8770 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8771 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8772 FALSE, reset size requests of label and banner,
8773 (force_to_wrap_truncated): when the text is too wide, always enforce
8774 the maximum possible width instead of recalculating it from the
8775 layout; enforce the maximum banner height of 3 lines,
8776 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8777 nicer wrapping and no truncated chars if space gets tight.
8779 * src/hildon-banner-private.h: add has_been_wrapped and
8780 has_been_truncated fields.
8782 2008-04-07 Sven Herzberg <sven@imendio.com>
8784 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8785 local values in hildon_date_editor_size_allocate
8787 * src/hildon-date-editor.c: moved the real allocation code into the
8790 2008-04-07 Sven Herzberg <sven@imendio.com>
8792 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8793 local values in hildon_date_editor_size_allocate
8795 * src/hildon-date-editor.c: merged the two if() branches together
8797 2008-04-07 Sven Herzberg <sven@imendio.com>
8799 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8800 local values in hildon_date_editor_size_allocate
8802 * src/hildon-date-editor.c: changed the arguments of the if()
8805 2008-04-07 Sven Herzberg <sven@imendio.com>
8807 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8808 local values in hildon_date_editor_size_allocate
8810 * src/hildon-date-editor.c: split the calculation of the allocation
8811 from the real allocation
8813 2008-03-27 Michael Natterer <mitch@imendio.com>
8815 Fixes: NB#81696: The passcode is not overwritten even after
8818 * src/hildon-code-dialog.c
8819 (hildon_code_dialog_button_clicked)
8820 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8821 because that doesn't overwrite selected text. Instead, emit the
8822 "commit" signal on the entry's im_context so the entry's normal
8823 insert logic is triggered. Set the cursor to the end of the entry
8824 after each insert operation so that we *only* insert in the middle
8825 of the text if something was selected.
8827 2008-03-27 Michael Natterer <mitch@imendio.com>
8829 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8830 selector cannot be opened
8832 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8833 when the popup color selector is created. Please connect to this
8834 signal in order to set the dialog's help ID.
8836 2008-03-25 Sven Herzberg <sven@imendio.com>
8838 Fixes: MB#1212: Hide info banners (infoprints) on click
8840 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8841 extracted the close event simulation into an extra function
8842 (hildon_banner_button_press_event): simulate a close event and destroy
8843 the widget if the event wasn't handled
8844 (hildon_banner_class_init): added the button_press_event handler
8845 (hildon_banner_init): added button-press events to the widget
8847 2008-03-25 Sven Herzberg <sven@imendio.com>
8849 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8850 Patch from: Mohammad Anwari <mdamt@maemo.org>
8852 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8853 instead of the right in RTL mode
8854 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8855 breadcrumb button list in RTL mode
8856 * src/hildon-caption.c: mirror the appearance of the caption widget in
8858 * src/hildon-date-editor.c: mirror appearance of the date editor in
8860 * src/hildon-time-editor.c: mirror appearance of the time editor in
8862 * src/hildon-window.c: fix the position of the popup in RTL mode
8864 2008-03-25 Sven Herzberg <sven@imendio.com>
8866 Amendment to the fix of NB#22072. Fix compilation.
8868 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8870 2008-03-19 Sven Herzberg <sven@imendio.com>
8872 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8875 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8876 timeout id properly when the timeout will disappear this leaves no
8877 artifacts around in the destroy(); there will only be the timeout
8878 created by hildon_banner_ensure_timeout() and adding a new timeout
8879 will also work if the timeout gets removed because the timeout_handler
8882 2008-03-19 Michael Natterer <mitch@imendio.com>
8884 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8886 * src/hildon-volumebar.c
8887 * src/hildon-vvolumebar.c
8888 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8889 the widget becomes focussable at all.
8891 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8892 set the focus to wither the mute button or the volumebar.
8894 Remove own "can-focus" property and instead listen to
8895 notify::can-focus in order to update the widget's state.
8897 Implement GtkWidget::focus() and make sure we can also *leave* the
8898 widget, not only enter it, depending on volumebar orientation and
8899 requested focus direction.
8901 Clean up set_mute() to cooperate nicely with all the above.
8903 2008-03-04 Michael Natterer <mitch@imendio.com>
8905 Fixes: NB#78481: information banners are hidden under browser menu
8907 * src/hildon-banner.c: call gtk_window_present() on the banners so
8908 they are risen if they are already visible.
8910 2008-03-03 Sven Herzberg <sven@imendio.com>
8912 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8914 * examples/hildon-window-menu-example.c: (main): extended the window
8915 menu example to serve as a testcase for automatically added
8916 accelerator groups, too
8917 * src/hildon-window.c: (hildon_window_add_accel_group),
8918 (hildon_window_set_menu): added patch by Tommi Komulainen
8920 2008-03-03 Sven Herzberg <sven@imendio.com>
8922 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8924 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8925 knowledge about the border allocators used within GTK+
8927 2008-02-26 Sven Herzberg <sven@imendio.com>
8929 Fixes: MB#2981: Build with asserts broken
8931 * src/hildon-date-editor.c,
8932 * src/hildon-number-editor.c,
8933 * src/hildon-time-editor.c,
8934 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8935 the proper GType instance check
8937 2008-02-25 Sven Herzberg <sven@imendio.com>
8939 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8941 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8942 * examples/hildon-window-menu-example.c: (main): explicitly show
8944 * src/hildon-window.c:
8945 (hildon_window_set_main_menu): moved most of the code from set_menu()
8946 to this place; skipped the call to gtk_widget_show_all(); also didn't
8947 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8948 (hildon_window_set_menu): removed most of the code, just keep the
8949 questionable gtk_widget_show_all()
8950 * src/hildon-window.h: added the new function and deprecate the old
8953 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8959 * debian/changelog: Updating.
8961 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8964 * pkgconfig/Makefile.am:
8965 * pkgconfig/hildon.pc.in:
8968 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8969 use newly created API_MAJOR_VERSION.
8971 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8977 * debian/changelog: Updating.
8979 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8981 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8983 Add outer_border style property, we use it but don't define it (!).
8987 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8989 * examples/hildon-bread-crumb-trail-example.c (main):
8993 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8995 Fix logic for the bread crumb trail node removal.
8999 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * debian/changelog: Updating.
9007 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 Patch by Alejandro to get/set passwords dialogs accesibility.
9011 * hildon-1/src/hildon-get-password-dialog.c:
9012 * hildon-1/src/hildon-set-password-dialog.c:
9013 Set atk_set_name to the passwd entries in order to allow
9014 accessibility by name on this entries.
9016 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * debian/control: Updating gtk dep.
9023 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
9025 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
9026 USE_MAEMO_GTK is enabled.
9028 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
9030 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
9031 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
9033 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * debian/changelog: Updating.
9041 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9043 * examples/Makefile.am:
9044 * examples/hildon-logical-color-example.c:
9045 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
9046 applied + adding a test case. Fixes: NB#71660.
9048 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
9050 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
9051 to be visible, fixes warning on map for windows without toolbars.
9053 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
9055 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
9056 2.11.0, add a check for that besides the MAEMO_GTK check.
9058 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 * debian/changelog: Updating.
9066 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9068 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
9069 visibility. Fixes: NB#70842 and MB#615.
9071 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9073 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
9074 set the separator as no-show-all so it doesn't unintentionally appear when
9075 someone does a show_all.
9077 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
9079 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
9080 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
9081 toplevel item. Fixes: NB#62031
9083 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
9085 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
9086 fix the name of the function in the docs.
9088 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9094 * debian/changelog: Updating.
9096 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9098 * examples/hildon-banner-long-example.c: Adding a test-case for long
9101 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
9103 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9105 * src/hildon-color-chooser-dialog.c:
9106 * src/hildon-color-chooser.c:
9107 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
9108 memory leaks in font selector and color selector. Fixes: NB#70499 and
9111 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
9113 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
9115 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9117 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
9118 little bit bigger. Fixes: #NB63694.
9120 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9126 * debian/changelog: Updating.
9128 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9131 * doc/hildon-docs.sgml:
9132 * doc/images/bread-crumb-trail.png:
9133 * doc/images/calendar-popup.png:
9134 * doc/images/caption.png:
9135 * doc/images/code-dialog.png:
9136 * doc/images/color-button.png:
9137 * doc/images/color-chooser-dialog.png:
9138 * doc/images/color-chooser.png:
9139 * doc/images/controlbar.png:
9140 * doc/images/date-editor.png:
9141 * doc/images/font-selection-dialog.png:
9142 * doc/images/get-password-dialog.png:
9143 * doc/images/hvolumebar.png:
9144 * doc/images/login-dialog.png:
9145 * doc/images/note.png:
9146 * doc/images/number-editor.png:
9147 * doc/images/range-editor.png:
9148 * doc/images/seekbar.png:
9149 * doc/images/set-password-dialog.png:
9150 * doc/images/sort-dialog.png:
9151 * doc/images/time-editor.png:
9152 * doc/images/time-picker.png:
9153 * doc/images/vvolumebar.png:
9154 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9155 Adding the bread-crumb-trial and helpers to the documentation.
9157 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9159 * examples/hildon-find-toolbar-example.c:
9160 * src/hildon-find-toolbar.c:
9161 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9162 actually continue firing the other handlers if connected. Adding a new
9164 hildon_find_toolbar_get_last_index that gets the index of the most
9165 recently added (last) item. Fixes: NB#52301.
9167 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9169 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9170 behaviour. Fixes: NB#68610.
9172 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9177 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9179 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9180 when realizing the banner. Should make the infonbanner effect a bit more
9183 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * src/hildon-volumebar.c:
9186 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9187 hildon_volumebar_set_range_insensitive_message and
9188 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9190 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9192 * src/hildon-window.c: Fixing the border freeing on destroy.
9194 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9196 * src/hildon-code-dialog-private.h:
9197 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9198 kw keyboard support in HildonCodeDialog.
9200 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9206 * debian/changelog: Updating.
9208 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * src/hildon-date-editor.c:
9211 * src/hildon-number-editor.c:
9212 * src/hildon-private.c:
9213 * src/hildon-private.h:
9214 * src/hildon-time-editor.c:
9215 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9216 handling in subclassed composite widgets. Fixes: NB#66628.
9218 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9220 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9221 from destroy_ callback as it introduces problems in async dbus signal
9222 handlers. Fixes NB#66673.
9224 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9226 * examples/hildon-hvolumebar-example.c:
9227 * src/hildon-volumebar.c: Improving the focus handling in the
9228 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9229 set_property accessor so that "mute" property can be actually set. I'm
9230 scared that nobody noticed it's totally broken.
9232 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9234 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9237 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9239 * src/hildon-calendar.c:
9240 * src/hildon-number-editor.c:
9241 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9242 matches the spec of 6 chars per second. Fixes: NB#60489.
9244 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9246 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9247 gtk_style_lookup_color sometime returns FALSE even though color was
9248 found and values were filled properly. Weird. Removing the warning for the
9251 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9254 expand vertically. Adding some extra space to the find toolbar buttons to
9255 make them thumbable. Fixes NB#66060.
9257 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9259 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9260 popup with "Ok" and "Cancel". Fixes NB#59299.
9262 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9264 * src/hildon-calendar.c: Process all window updates before executing next
9265 timeout. Fixes: NB#54146.
9267 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9273 * debian/changelog: Updating.
9275 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9277 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9278 the client event and ignore it, since we use the delete event to close
9281 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9283 * src/hildon-helper.c: Remove the bogus warning about color not being
9284 found. Fixes NB#58352.
9286 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9288 * examples/Makefile.am:
9289 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9290 HildonSeekbar widget inside a toolbar.
9292 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9294 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9295 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9296 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9297 don't want to be closed by non-temporary windows on map.
9299 Also use G_DEFINE_TYPE instead of manually typed code.
9301 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9308 * debian/rules: Updating.
9310 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9312 * examples/Makefile.am:
9313 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9314 bug NB#61128. Strangely it works.
9316 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9318 * src/hildon-date-editor.c: When the date editor entry has been changed
9319 but the numbers of characters < max, turn off the skip validation flag.
9320 Prevents a situation when we enter first a valid year and later re-write
9321 it with an invalid one. Fixes NB#60154.
9323 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9325 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9326 code dialog. Fixes NB#64355.
9328 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9330 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9331 switching the page. Fixes NB#49374.
9333 * examples/Makefile.am:
9334 * examples/hildon-wizard-dialog-example.c: Adding an example for
9335 HildonWizardDialog that shows how to handle manual sensitivity setting on
9338 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9342 * src/hildon-version.h.in:
9343 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9345 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9347 * src/hildon-volumebar.c: Updating the docs.
9349 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9355 * debian/changelog: Updating.
9357 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9359 * src/hildon-find-toolbar.c:
9360 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9361 selected item: hildon_find_toolbar_set_active,
9362 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9363 hildon_find_toolbar_get_active_iter . They correspond to respective
9364 GtkComboBox functions.
9366 * examples/Makefile.am:
9367 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9370 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9372 * examples/Makefile.am:
9373 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9376 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9377 when font size > 32 and we pack a focusable widget inside. Actually using
9378 the default response would work too, but since we don't show default
9379 response state in any way (no theming) it would not be visible to the
9380 user. Fixes NB#63430.
9382 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9384 * src/hildon-date-editor.c: Adding the missing variable setter in the
9385 set_property handler. Fixes NB#54182.
9387 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9389 * src/hildon-window.h: Changing the long key press time from 1500ms to
9390 800ms as requested in NB#63700. I have a bad feeling about this, let's
9391 see... Fixes NB#63700.
9393 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9395 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9396 hildon_time_picker_map, hildon_time_picker_realize,
9397 hildon_time_picker_style_set): Split the contents of map to more
9398 appropriate functions; set window decorations on realize and update
9399 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9401 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9406 * debian/changelog: Updating.
9408 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9410 * src/Makefile.am: fixed installation of the header files
9412 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9418 * debian/changelog: Updating.
9420 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9422 * configure.ac: Removing some remaining of --enable-xan.
9424 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9426 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9427 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9429 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9430 2.10.12-osso6 because the move-focus signal needs to be available in
9433 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9435 * examples/Makefile.am:
9436 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9437 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9438 fine. Prolly NB#61128 is fixed now.
9440 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9442 * src/hildon-volumebar.c:
9443 * src/hildon-volumebar.h: Adding the
9444 hildon_volumebar_set_range_insensitive_message and
9445 hildon_volumebar_set_range_insensitive_messagef functions to set
9446 insensitive message on the slider of the volumebar. Fixes NB#61129.
9448 * examples/Makefile.am:
9449 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9450 test the new insensitive messsage functionality on HildonVolumebar.
9452 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9454 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9457 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9459 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9460 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9461 button on after clearing the trail.
9463 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9465 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9467 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9469 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9470 by splitting the installed headers in generated and non-generated groups. Use
9471 only the non-generated headers to create the hildon-enum-types.h file.
9473 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9475 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9477 * src/hildon-window.c: Hide the window before performing the destroy.
9478 Should make the app closing a little tiny bit more snappy.
9480 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9482 * src/hildon-seekbar.c: add gtkrange.h header
9483 * src/hildon-caption.c: remove unused variable
9485 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9487 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9490 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9496 * debian/changelog: Updating.
9498 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9500 * src/hildon-window.c (hildon_window_window_state_event,
9501 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9502 escape timeout on focus-out-event rather than notify::is-topmost; the
9503 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9505 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9507 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9508 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9510 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9512 * src/hildon-window: actually, you need to use the macro always, there's
9513 no private pointer in the instance structure. We should have cleaned this up
9514 when we had the chance...
9516 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9518 * src/hildon-window.c: do not get the private date from HildonWindow before
9519 it passes the g_return_if_fail check. Once it's passed the test, there's no
9520 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9521 if you are only going to access the data once. Whitespace cleanups.
9523 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9525 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9526 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9528 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9534 * debian/changelog: Updating.
9536 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9538 * src/hildon-window.c: When destroying the window, remove (if exists) the
9539 escape timeout handler. Fixes #NB59276.
9541 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9543 * src/hildon-banner.c: When realizing the widget, set the window
9544 transiency. Setting the transiency in the gobject constructor is not
9545 good, as the widget is not realized at that point. Fixes: #NB56624.
9547 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9549 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9550 Add padding for future expansions.
9552 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9554 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9555 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9556 will fake an activation on the previous to the last item of the trail, so
9557 the effect can be overrided by the developer as usual.
9558 Also change the callback for the back button to do the same thing, so its
9559 effect can be overrided too. Fixes: NB#58982
9561 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9563 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9564 HildonCaption. Fixes NB#52379.
9566 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9568 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9569 the internal state of the trail after the user has had the chance of executing
9570 his handler for the signal. Specifically, it may happen that the activated button
9571 is removed and the user still lets the default handler run. This would segfault
9574 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9576 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9577 scrollbar to the preview dialog. Fixes NB#54147.
9579 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9581 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9582 max/min year properties can be altered, so the client can modify it
9583 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9585 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9587 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9588 hildonlike by default. Fixing a problem with disappearing arrows when
9589 scrolling through months and years. Fixes NB#54127.
9591 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9593 * examples/hildon-date-editor-example.c: Adding error callback to the date
9596 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9602 * configure.ac: Updating.
9604 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9606 * configure.ac: Adding a special '--enable-xan' configure option that
9607 turns off the -Werror compilation setting. Usefull for development.
9609 * src/hildon-calendar.c:
9610 * src/hildon-number-editor.c:
9611 * src/hildon-time-picker.c: Adding the 5* multiplier to
9614 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9616 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9617 instead of g_object_ref + gtk_object_sink.
9619 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9625 * debian/changelog: Updating.
9627 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9629 * src/hildon-color-chooser-dialog.c:
9630 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9631 straight from Tommi labs.
9633 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9635 * examples/hildon-finger-example.c: Correcting the header file path.
9637 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9638 the changed signal. Fixes a small memory leak.
9640 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9644 * src/hildon-banner.c: Importing several usefull fixes from the
9645 ubuntu-mobile branch.
9647 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9649 * examples/Makefile.am:
9650 * examples/hildon-finger-example.c: Adding a finger-checking code
9653 * src/hildon-font-selection-dialog.c: Do not allocate the color
9654 structure using the g_new. Fixes NB#54061.
9656 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9658 * src/hildon-helper.c: Correcting tabs in file.
9660 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9662 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9663 control the visibility of the children.
9665 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9667 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9673 * debian/changelog: Updating.
9675 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9677 * src/hildon-bread-crumb-trail.c:
9678 (hildon_bread_crumb_trail_size_allocate):
9680 Make the back button always a square.
9682 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9684 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9685 from the .c file as it's a private file.
9687 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9689 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9690 uses slightly bigger height.
9692 * src/hildon-font-selection-dialog.c: Adding some checks before
9693 freeing memory in the font selection dialog.
9695 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9697 * src/hildon-font-selection-dialog.c: Adding a small check when
9700 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9701 buttons sensitivity on page switching.
9703 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9705 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9706 internal details of adding a bread crumb to the trail.
9708 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9714 * debian/changelog: Updating.
9716 * src/hildon-bread-crumb-trail.h:
9717 * src/hildon-bread-crumb.h: Changing the API guard to
9718 HILDON_ENABLE_UNSTABLE_API.
9720 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9728 * src/hildon-helper.h: Updating.
9730 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9738 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9742 * src/hildon-helper.h: Small fix to make the package actually compile.
9744 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9746 * src/hildon-bread-crumb-trail.h:
9747 * src/hildon-bread-crumb.h:
9749 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9750 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9752 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9754 * examples/hildon-bread-crumb-trail-example.c:
9756 * src/hildon-bread-crumb-trail.c:
9757 * src/hildon-bread-crumb-trail.h:
9758 * src/hildon-bread-crumb.c:
9759 * src/hildon-bread-crumb.h:
9760 * src/hildon-marshalers.list:
9761 * src/hildon-bread-crumb-widget.c:
9762 * src/hildon-bread-crumb-widget.h:
9764 Slight change in the widget design. The bread crumb trail API is
9765 unchanged, but HildonBreadCrumb is now an interface. A *private*
9766 implementation, hildon-bread-crumb-widget, is provided and used
9767 internally by the trail for the push_text/push_icon functions.
9769 The generic push API is still available, so anyone can implement
9770 and use its own bread crumb widget.
9772 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9774 * debian/rules: Fixing the shlibs.
9776 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9778 * src/hildon-banner.c: Fixing a problem with timed banners having
9779 their parrent destroyed before they are.
9781 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9783 * src/hildon-bread-crumb.c:
9784 * src/hildon-bread-crumb.h:
9786 Make the get_natural_size function a vfunc.
9788 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9790 * src/hildon-bread-crumb.c:
9791 * src/hildon-bread-crumb-trail.c:
9795 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9802 * debian/changelog: Updating for release.
9804 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9806 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9807 don't leak the pango layout.
9809 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9812 * examples/hildon-bread-crumb-trail-example.c:
9816 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9818 * debian/changelog: Removing the bug-fixed entries that were actually
9819 resolved as WONTFIX.
9821 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9824 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9826 * src/hildon-bread-crumb-trail.c:
9827 * src/hildon-bread-crumb-trail.h:
9828 * src/hildon-bread-crumb.c:
9829 * src/hildon-bread-crumb.h:
9833 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9835 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9836 until it's passed the type check.
9838 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9840 * examples/hildon-bread-crumb-trail-example.c
9844 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9846 * examples/Makefile.am
9847 * examples/hildon-bread-crumb-trail-example.c
9849 * src/hildon-bread-crumb-trail.c
9850 * src/hildon-bread-crumb-trail.h
9851 * src/hildon-bread-crumb.c
9852 * src/hildon-bread-crumb.h
9854 New HildonBreadCrumbTrail widget.
9856 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9858 * src/hildon-range-editor.c (hildon_range_editor_init),
9859 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9860 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9861 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9862 hildon_time_editor_class_init, hildon_time_editor_init),
9863 src/hildon-get-password-dialog.c (invalid_input,
9864 hildon_get_password_set_property, hildon_get_password_get_property,
9865 create_contents, hildon_get_password_dialog_set_max_characters),
9866 src/hildon-set-password-dialog.c (create_contents),
9867 src/hildon-date-editor.c (hildon_date_editor_init),
9868 src/hildon-login-dialog.c (hildon_login_dialog_init),
9869 src/hildon-number-editor.c (hildon_number_editor_init),
9870 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9871 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9872 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9873 configure option and adding the respective checks in the code.
9874 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9875 hildon_calendar_drag_data_received): fixed some build warnings.
9877 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9879 * debian/changelog: A 1.0.0 release notes.