1 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
4 Use the event coordinates instead of gdk_window_get_pointer(). Also,
5 request more motions after using it.
7 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
9 * src/hildon-calendar.c (hildon_calendar_expose),
10 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
11 Remove unused variables.
13 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
15 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
18 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
20 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
21 Check the return value of gtk_tree_selection_get_selected()
24 2009-04-06 Alberto Garcia <agarcia@igalia.com>
26 * src/hildon-animation-actor.c
29 * src/hildon-pannable-area.c
30 * src/hildon-picker-button.c
31 * src/hildon-program.c
32 * src/hildon-remote-texture.c
33 * src/hildon-text-view.c
34 * src/hildon-touch-selector.c
35 * src/hildon-window-stack.c
36 * src/hildon-window.c:
37 Add missing 'Since: 2.2' tags.
39 * doc/hildon-sections.txt:
40 Add some missing symbols.
42 * doc/hildon-docs.sgml:
43 New 'Other' section for HildonAnimationActor and
46 2009-04-06 Alberto Garcia <agarcia@igalia.com>
48 Patch by Iván Gómez (igomez@igalia.com)
52 * doc/hildon-docs.sgml
53 * doc/hildon-sections.txt
57 New chapters on using the Hildon library.
58 Updated the general structure of the reference manual.
59 Other minor documentation fixes.
61 * src/hildon-calendar-popup.c
62 * src/hildon-calendar.c
63 * src/hildon-controlbar.c
64 * src/hildon-date-editor.c
66 * src/hildon-hvolumebar.c
67 * src/hildon-number-editor.c
68 * src/hildon-range-editor.c
69 * src/hildon-sort-dialog.c
70 * src/hildon-time-editor.c
71 * src/hildon-time-picker.c
72 * src/hildon-volumebar-range.c
73 * src/hildon-volumebar.c
74 * src/hildon-vvolumebar.c
75 * src/hildon-weekday-picker.c:
78 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
79 Document 'horizontal-movement' and 'vertical-movement' signals.
81 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
86 * configure.ac: Bump version.
87 * debian/changelog: Updates.
89 2009-04-06 Alejandro G. Castro <alex@igalia.com>
91 * src/hildon-pannable-area.c,
92 (hildon_pannable_area_class_init): increased the minimum velocity.
93 (hildon_pannable_area_button_release_cb): Updated the
94 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
95 setup. Review the code to control that last event.
97 Fixes: NB#109790 (Releasing finger in pannable area easily causes
100 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
102 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
104 * src/hildon-get-password-dialog.c
105 (hildon_get_password_set_property),
106 (hildon_get_password_get_property), (create_contents):
107 * src/hildon-login-dialog-private.h:
108 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
109 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
110 (hildon_login_dialog_get_password):
111 * src/hildon-set-password-dialog-private.h:
112 * src/hildon-set-password-dialog.c
113 (hildon_set_password_set_property),
114 (hildon_set_password_get_property), (create_contents),
115 (hildon_set_password_response_change),
116 (hildon_set_password_response_set), (hildon_checkbox_toggled):
118 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
119 instead and look more Fremantle style.
121 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
123 2009-04-03 Alberto Garcia <agarcia@igalia.com>
125 * doc/hildon-sections.txt
126 * src/hildon-window-stack.h
127 * src/hildon-window-stack.c
128 (+hildon_window_stack_get_windows):
129 New API to obtain the list of windows on a stack.
131 2009-04-02 Alberto Garcia <agarcia@igalia.com>
133 * src/hildon-app-menu.c (hildon_app_menu_popup)
134 (hildon_app_menu_class_init, -hildon_app_menu_show):
135 Remove hildon_app_menu_show() and move all its checks to
136 hildon_app_menu_popup()
138 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
140 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
141 (_hildon_picker_dialog_set_selector): removed call to
142 gtk_widget_set_size_request
143 * src/hildon-touch-selector.c
144 (_create_new_column): change the pannable size request policy
146 Avoid to use a hardcoded height for the hildon picker dialog. In order
147 to get that, we needed to change the hildon pannable size request
149 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
151 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
153 * src/hildon-window.c (hildon_window_map): Check for vbox to be
154 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
157 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
159 * debian/control: Depend on osso-system-lock localization package.
160 * src/hildon-code-dialog.c: Obtain the secu_application_title
161 translation from osso-system-lock.
162 * src/hildon-get-password-dialog.c (create_contents): Do not mark
163 for translation the atk related strings, that's not necessary.
164 * src/hildon-set-password-dialog.c (create_contents): Ditto.
165 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
166 cancel button, it is not required.
168 2009-04-02 Alejandro G. Castro <alex@igalia.com>
170 * src/hildon-pannable-area.c,
171 (hildon_pannable_area_class_init): Modified the default value of
172 the overshooting max speed, we have reduced it.
174 2009-04-02 Alberto Garcia <agarcia@igalia.com>
176 * doc/hildon-sections.txt
177 * src/hildon-window-private.h
178 * src/hildon-window.h
179 * src/hildon-window.c (hildon_window_class_init)
180 (hildon_window_init, hildon_window_finalize)
181 (hildon_window_realize, hildon_window_get_property)
182 (hildon_window_set_property, hildon_window_update_markup)
183 (hildon_window_get_markup, hildon_window_set_markup):
184 New "markup" property and hildon_window_{get,set}_markup() methods.
186 * examples/hildon-stackable-window-example.c (new_window):
187 Update example to use hildon_window_set_markup()
189 Fixes: NB#106375 (Need API to retitle a window with a title
192 2009-04-01 Alejandro G. Castro <alex@igalia.com>
194 * src/hildon-pannable-area.c,
195 (hildon_pannable_area_class_init): Changed the default value of
196 the initial_hint to TRUE.
197 (hildon_pannable_area_initial_effect): Changed the initial effect,
198 not the effect is just the fade-out of the scrollbars.
200 Fixes: NB#107775 (No scrollbars can be seen when several items are
201 available in a dialog)
203 2009-04-01 Alberto Garcia <agarcia@igalia.com>
205 * src/hildon-program.c (hildon_program_update_top_most):
208 Fixes: NB#109179 (Memory leak in Hildon program)
210 2009-04-01 Alberto Garcia <agarcia@igalia.com>
212 * src/hildon-banner.c (-get_current_app_window):
213 Remove unused function.
215 2009-04-01 Alejandro G. Castro <alex@igalia.com>
217 * src/hildon-pannable-area.c: Modified the documentation of the
218 get adjustments functions to explain the problem of using the
220 (hildon_pannable_area_class_init): Improved the explanation about
223 2009-04-01 Alberto Garcia <agarcia@igalia.com>
225 * src/hildon-app-menu-private.h
226 * src/hildon-app-menu.c
227 (hildon_app_menu_class_init):
228 Bring back the 'external-border' style property
229 (hildon_app_menu_class_init, hildon_app_menu_init)
230 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
231 Set a fixed width-request for the menu, independent of the number
234 Fixes: NB#94957 (Smoothly opened application menu)
236 2009-03-30 Alberto Garcia <agarcia@igalia.com>
238 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
240 * src/hildon-banner.c
241 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
243 Make sure that the banner is correctly placed the first time it's
245 (hildon_banner_check_position, -check_fullscreen_state):
246 Show the banner in the same place no matter if the window is in
247 fullscreen mode or not.
249 Fixes: NB#107386 (Odd stacking behaviour for information banners)
251 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
253 * src/hildon-touch-selector.c (_default_print_func): reorder
254 concatenation for clarity.
256 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
258 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
259 for multicolumn selectors.
261 Fixes: NB#109099 (Memory leak in Hildon touch selector)
263 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
268 * configure.ac: Bump version.
269 * debian/changelog: Updates.
271 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
273 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
276 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
278 * configure.ac: removed libcangerra-gtk dependency
279 * debian/control: removed libcanberra-gtk dependency
280 * src/Makefile.am: removed libcanberra gtk related flags
281 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
282 context, and manage a global canberra context instead
284 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
286 2009-03-26 Alberto Garcia <agarcia@igalia.com>
288 Patch by Daniel Borgmann (danielb@openismus.com)
290 * src/hildon-edit-toolbar.c:
291 Adjust the left padding.
292 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
293 Paint background of the edit toolbar.
295 Fixes: NB#107897 (Patch to make editmodetoolbar background
296 themeable and adjust margin)
298 2009-03-25 Alberto Garcia <agarcia@igalia.com>
300 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
302 * src/hildon-program.c (hildon_program_update_top_most):
303 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
305 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
306 change when the user tasks in/out of an application)
308 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
310 * configure.ac: added libcangerra-gtk dependency
311 * debian/control: added libcanberra-gtk dependency
312 * src/Makefile.am: added libcanberra gtk related flags
313 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
316 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
318 2009-03-25 Alberto Garcia <agarcia@igalia.com>
320 * src/hildon-program.c (hildon_program_remove_window)
321 (hildon_program_add_window): Add checks for the window
322 parameter. Don't decrease the window counter if the window is not
325 2009-03-24 Alejandro G. Castro <alex@igalia.com>
327 * src/hildon-pannable-area.c,
328 (hildon_pannable_area_realize): Fixed position of the event_window
329 in the realize method.
331 2009-03-24 Alberto Garcia <agarcia@igalia.com>
333 * src/hildon-app-menu-private.h
334 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
335 (hildon_app_menu_map, hildon_app_menu_hide_idle)
336 (hildon_app_menu_key_press, hildon_app_menu_init)
337 (hildon_app_menu_finalize):
338 Make sure that all idle functions are removed when the widget is
341 Fixes: NB#107583 (Hildon app menu crashes in various applications)
343 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
348 * configure.ac: Bump version.
349 * debian/changelog: Updates.
351 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
354 (+hildon_entry_show_placeholder),
355 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
356 that replace hildon_entry_update_contents().
357 (hildon_entry_set_text),
358 (hildon_entry_set_placeholder),
359 (hildon_entry_focus_in_event),
360 (hildon_entry_focus_out_event): Determine when it is needed
361 either to show or hide the placeholder and call the above methods.
363 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
364 when the placeholder text is already set)
366 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
368 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
369 simple GdkPixbufAnim using the new icons for the banner.
370 (hildon_banner_show_animation): Use the above mentioned method to
371 create the animation widget.
373 Fixes: NB#103564 (Make hildon animation banner use individual
374 image files as the animation)
376 2009-03-24 Alejandro G. Castro <alex@igalia.com>
378 * src/hildon-pannable-area.c,
379 (hildon_pannable_leave_notify_event): Check if the child is NULL
380 to avoid sending the leave.
382 2009-03-24 Alejandro G. Castro <alex@igalia.com>
384 * src/hildon-pannable-area.c,
385 (hildon_pannable_area_class_init),
386 (hildon_pannable_leave_notify_event): Added a handler of the
387 leave-notify-signal to consider when no motion notify before
390 Fixes: NB#107494 (Items stay selected when clicking and moving
391 away when inside pannable area)
393 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
398 * configure.ac: Bump version.
399 * debian/changelog: Updates.
401 2009-03-19 Alejandro G. Castro <alex@igalia.com>
403 Patch by Alberto Garcia (agarcia@igalia.com)
405 * src/hildon-date-button.c,
406 (hildon_date_button_class_init),
407 (hildon_date_button_init): Removed the construct property handling
408 and created a default selector in the init method.
409 * src/hildon-picker-button.c,
410 (hildon_picker_button_class_init): Removed the construct flag of the
413 2009-03-18 Alberto Garcia <agarcia@igalia.com>
415 * src/hildon-main.c (hildon_init):
416 Don't allow hildon_init() to be called more than once.
418 Fixes: NB#106607 (hildon_init should issue error message upon
421 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
423 * examples/hildon-pannable-area-touch-list-example.c
424 * examples/hildon-pannagle-area-touch-grid-example.c
425 * examples/hildon-edit-toolbar-example.c
426 * examples/hildon-touch-selector-multi-cells-example.c
427 Removed the call to gtk_rc_parse_string, as it is not required since
430 2009-03-17 Alejandro G. Castro <alex@igalia.com>
432 * src/hildon-pannable-area.c,
433 (hildon_pannable_area_class_init): Modified the default panning
434 threshold of the widget to 6px.
436 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
437 than the threshold value ) within the button is not sending the
440 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
442 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
443 for the treeview in the new column. This way, the touch list will never
446 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
447 be selected manually for the HW keys to work)
449 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
451 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
452 comparison instead of using strcmp(). Fixes a compiler warning as well.
454 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
456 * doc/hildon-docs.sgml: Do not set the library version in the
457 document title, use the releaseinfo tag for that purpose instead.
459 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
461 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
462 Do not jump to the first item if the text in the entry is removed.
464 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
469 * configure.ac: Bump version.
470 * debian/changelog: Updates.
472 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
474 * src/hildon-entry.c (hildon_entry_refresh_contents):
475 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
476 Use "ReversedSecondaryTextColor" for the placeholder text.
478 2009-03-12 Alberto Garcia <agarcia@igalia.com>
480 * src/hildon-text-view.c: Fix compilation warning.
482 2009-03-12 Alberto Garcia <agarcia@igalia.com>
484 * src/hildon-button.c (hildon_button_class_init): Don't make
485 "title" and "value" construction properties, to prevent them from
486 overwriting labels set from derived classes.
488 * src/hildon-picker-button.c
489 (hildon_picker_button_set_selector): Allow setting a NULL selector.
490 (hildon_picker_button_class_init): Make touch-selector a
491 construction property.
493 * src/hildon-date-button.c (hildon_date_button_class_init)
494 (+hildon_date_button_constructed): Add a default date selector if
497 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
499 * src/hildon-touch-selector.c: Small documentation fixes.
501 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
503 Based on a patch by Daniel Borgmann (danielb@openismus.com)
505 * src/hildon-entry.c (hildon_entry_refresh_contents),
506 (hildon_entry_get_text), (hildon_entry_init): Do not use the
507 widget name, set the logical color directly instead and a boolean
508 showing_placeholder instead.
509 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
510 use the widget name here either.
512 Fixes: NB#105678 (HildonTextView should use logical colours
513 instead of setting widget name)
515 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
517 Patch by Daniel Elster (danielk@openismus.com)
519 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
520 Add user_data parameter.
521 (hildon_touch_selector_set_print_func_full): New function akin
522 hildon_touch_selector_set_print_func() but with support for user
523 data and a destroy callback.
524 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
525 to clean up the print function user data.
526 (hildon_touch_selector_class_init): Install dispose function.
527 (HildonTouchSelectorPrivate::print_user_data),
528 (HildonTouchSelectorPrivate::print_destroy_func): New private
530 (hildon_touch_selector_init): Initialize new private members.
531 (hildon_touch_selector_get_current_text): Pass along user data
532 to the print function.
533 (_default_print_func): Add dummy user_data to parameter list.
534 * hildon-date-selector.c (_custom_print_func): ditto,
535 * hildon-time-selector.c (_custom_print_func): ditto,
536 * hildon-touch-selector-entry.c
537 (hildon_touch_selector_entry_print_func): ditto.
539 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
541 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
543 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
545 2009-03-12 Alejandro G. Castro <alex@igalia.com>
547 * src/hildon-pannable-area.c,
548 (hildon_pannable_area_init),
549 (hildon_pannable_area_button_press_cb),
550 (hildon_pannable_area_motion_notify_cb): We have added code to
551 handle the leave and enter events when using the motion events.
553 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
555 2009-03-11 Alberto Garcia <agarcia@igalia.com>
557 * src/hildon-date-button.c (hildon_date_button_get_date)
558 (hildon_date_button_set_date): Make sure that the button has a
561 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
563 2009-03-11 Alejandro G. Castro <alex@igalia.com>
565 * src/hildon-pannable-area.c,
566 (hildon_pannable_area_class_init),
567 (hildon_pannable_area_calculate_velocity): Modify the use of the
568 force and adapt the value.
570 2009-03-10 Alberto Garcia <agarcia@igalia.com>
572 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
573 (hildon_app_menu_class_init): Hide the menu if it receives a
574 delete-event, but don't destroy it
576 Fixes: NB#104485 (Not able to address the call when application
577 menu is opened at background)
579 2009-03-10 Alberto Garcia <agarcia@igalia.com>
581 * src/hildon-app-menu.c
582 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
583 Remove the "external-border" style property, let the menu take its
584 natural size (or the one set by the window manager)
585 (hildon_app_menu_repack_items):
586 Don't reshow the menu, avoid flickers.
588 Partially fixes NB#94957 (Smoothly opened application menu)
590 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
595 * configure.ac: Bump version.
596 * debian/changelog: Updates.
598 2009-03-10 Alejandro G. Castro <alex@igalia.com>
600 * src/hildon-pannable-area.c,
601 (hildon_pannable_area_motion_notify_cb): We control that the
602 direction error margin is used just in case the movement is
603 allowed in the other direction.
605 Fixes: NB#105012 (buttons inside a pannable area not getting
606 release event when dragging/releasing)
608 2009-03-10 Alejandro G. Castro <alex@igalia.com>
610 * src/hildon-pannable-area.c,
611 (hildon_pannable_area_class_init),
612 (hildon_pannable_area_get_property),
613 (hildon_pannable_area_set_property),
614 (hildon_pannable_area_initial_effect),
615 (hildon_pannable_axis_scroll),
616 (hildon_pannable_area_button_release_cb): Reviewed the
617 overshooting effect, now it has its own max
618 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
621 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
626 * configure.ac: Bump version.
627 * debian/changelog: Updates.
629 2009-03-09 Alejandro G. Castro <alex@igalia.com>
631 * src/hildon-pannable-area.c,
632 (hildon_pannable_area_class_init): Changed the max speed, now
633 users can launch the widget very fast. Reduced the default force,
634 that way it is easier to control the launch speed.
636 2009-03-09 Alejandro G. Castro <alex@igalia.com>
638 * src/hildon-pannable-area.c,
639 (hildon_pannable_area_button_release_cb): Removed this check
640 because it causes problems when the device is overloaded.
642 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
644 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
645 add a current_text field to store the text entered in the
646 touch selector entry.
647 (_clean_current_selection): clean up the current text as well.
648 (_save_current_selection), (_restore_current_selection):
649 Save/restore the text in the entry if the selector is a
650 HildonTouchSelectorEntry.
652 Fixes: NB#102541 (value entered in the touch selector entry is not
653 shown when opened for second time)
655 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
657 * doc/hildon-sections.txt:
658 * src/hildon-touch-selector-entry.c
659 (+hildon_touch_selector_entry_get_entry):
660 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
662 Fixes: NB#104815 (I need accessor to the entry inside
663 HildonTouchSelectorEntry)
665 2009-03-06 Alberto Garcia <agarcia@igalia.com>
667 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
668 (hildon_app_menu_class_init):
669 New "filter-vertical-spacing" style property.
671 2009-03-06 Alberto Garcia <agarcia@igalia.com>
673 * src/hildon-find-toolbar.c
674 (hildon_find_toolbar_emit_close)
675 (hildon_find_toolbar_emit_invalid_input)
676 (hildon_find_toolbar_entry_activate):
677 Use g_signal_emit() instead of g_signal_emit_by_name()
679 2009-03-06 Alberto Garcia <agarcia@igalia.com>
681 Patch by Mox Soini (ext-mox.soini@nokia.com)
683 * tests/TEST-CASES.txt
684 * tests/check-hildon-banner.c
685 * tests/check-hildon-note.c
686 * src/hildon-banner.c
687 * src/hildon-code-dialog.c
688 * src/hildon-date-editor.c (real_set_calendar_icon_state)
689 * src/hildon-time-editor.c
690 * examples/hildon-lookup-example.c (main):
691 Replace obsolete icon names with new ones.
693 * src/hildon-find-toolbar-private.h:
694 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
695 (-hildon_find_toolbar_emit_search):
696 Remove find button and change icon of close button.
698 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
700 2009-03-05 Alberto Garcia <agarcia@igalia.com>
702 * src/hildon-time-button.c (hildon_time_button_new_step):
703 Use the "touch-selector" property to set the selector directly
704 when creating the object.
706 2009-03-05 Alejandro G. Castro <alex@igalia.com>
708 Added a new example application that allows tuning the pannable
709 area and replaced defines with properties in order to simplify the
710 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
711 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
712 PROP_DIRECTION_ERROR_MARGIN.
714 * examples/hildon-pannable-area-tuning-example.c: New example
716 * src/hildon-pannable-area.c,
717 (hildon_pannable_area_class_init),
718 (hildon_pannable_area_init),
719 (hildon_pannable_area_get_property),
720 (hildon_pannable_area_set_property),
721 (hildon_pannable_area_launch_fade_timeout),
722 (hildon_pannable_area_adjust_value_changed),
723 (hildon_pannable_axis_scroll),
724 (hildon_pannable_area_motion_notify_cb),
725 (hildon_pannable_area_scroll_cb),
726 (hildon_pannable_area_button_release_cb): We have converted some
727 of the defines that control the widget to properties to simplify
730 2009-03-05 Alberto Garcia <agarcia@igalia.com>
732 * src/hildon-app-menu.c (hildon_app_menu_map)
733 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
734 so it's closed if a new window appears.
736 Fixes: NB#104485 (Not able to address the call when application
737 menu is opened at background)
739 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
741 * src/hildon-color-button.c (hildon_color_button_get_property):Add
742 missing 'break' statement in in 'case' construct to avoid
745 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
747 * src/hildon-touch-selector-entry.c
748 (hildon_touch_selector_entry_get_property),
749 (hildon_touch_selector_entry_set_property): Add missing 'break'
750 statements in in 'case' constructs to avoid incorrect warnings.
752 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
754 * src/hildon-time-editor.c
755 (hildon_time_editor_get_time_separators): Do not crash if
756 the first label is NULL.
758 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
760 * src/hildon-date-selector.c (_month_days): Check for month to be
761 strictly less than 12, since otherwise we may overrun the array.
763 2009-03-04 Alberto Garcia <agarcia@igalia.com>
765 * src/hildon-date-button.c (+hildon_date_button_new_full)
766 (hildon_date_button_new, hildon_date_button_new_with_year_range)
767 (hildon_date_button_init): Set the date selector using a
768 construction property, to make it happen after HildonButton's
769 "value" property is set.
771 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
772 current date by default)
774 2009-03-04 Alberto Garcia <agarcia@igalia.com>
776 * doc/hildon-sections.txt
777 * src/hildon-program.c
778 * src/hildon-stackable-window.c
779 * src/hildon-window.c:
780 Documentation updates
782 2009-03-04 Alberto Garcia <agarcia@igalia.com>
784 * src/hildon-window-stack.c (hildon_window_stack_get_default)
785 (hildon_window_stack_new, +hildon_window_stack_set_property)
786 (+hildon_window_stack_get_property)
787 (hildon_window_stack_class_init)
788 (+hildon_window_stack_set_window_group)
789 (+hildon_window_stack_get_window_group):
790 Make the window group a construction property.
792 2009-03-04 Alberto Garcia <agarcia@igalia.com>
794 * doc/hildon-sections.txt
795 * src/hildon-stackable-window-private.h
796 * src/hildon-stackable-window.h
797 * src/hildon-stackable-window.c
798 (-hildon_stackable_window_set_app_menu)
799 (-hildon_stackable_window_get_app_menu)
800 (-hildon_stackable_window_toggle_menu)
801 (-hildon_stackable_window_finalize)
802 (hildon_stackable_window_class_init)
803 (hildon_stackable_window_init)
804 * src/hildon-window-private.h
805 * src/hildon-window.h
806 * src/hildon-window.c (hildon_window_init)
807 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
808 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
809 (hildon_window_get_main_menu, hildon_window_set_main_menu)
810 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
811 Moved all HildonAppMenu code to HildonWindow. The menu does not
812 require a HildonStackableWindow anymore.
814 * src/hildon-app-menu.c
815 * src/hildon-program.c
816 * examples/hildon-app-menu-example.c (main):
817 Update examples and documentation to reflect HildonAppMenu
820 2009-03-04 Alberto Garcia <agarcia@igalia.com>
822 * src/hildon-remote-texture.c
823 * src/hildon-animation-actor.c:
824 Don't include unused private headers.
826 2009-03-04 Alberto Garcia <agarcia@igalia.com>
828 * src/hildon-program-private.h
829 * src/hildon-program.c
830 (hildon_program_set_common_menu)
831 (hildon_program_get_common_menu)
832 (hildon_program_set_common_app_menu)
833 (hildon_program_get_common_app_menu):
834 Change common menu pointers from GtkWidget* to GtkMenu* and
835 HildonAppMenu* to avoid unnecessary casts.
837 2009-03-03 Alberto Garcia <agarcia@igalia.com>
839 * src/hildon-window.c (hildon_window_set_main_menu):
840 Removed incorrect 'Since:' tag
842 2009-03-03 Alejandro G. Castro <alex@igalia.com>
844 * src/hildon-pannable-area.c,
845 (hildon_pannable_area_calculate_velocity): We use now the
846 RATIO_TOLERANCE here to check the distance, fixed typo in the
848 (hildon_pannable_area_motion_notify_cb): We have to set the type
849 and time even if we are not sending the motion.
851 2009-03-02 Alberto Garcia <agarcia@igalia.com>
853 * doc/hildon-sections.txt
854 * src/hildon-app-menu.h
855 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
856 (+hildon_app_menu_get_filters): New methods to get the contents of
859 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
862 2009-03-02 Alberto Garcia <agarcia@igalia.com>
864 * src/hildon-app-menu.c (hildon_app_menu_popup):
867 2009-03-02 Alberto Garcia <agarcia@igalia.com>
869 * src/hildon-window.h
870 * src/hildon-window.c (+hildon_window_get_main_menu)
871 (hildon_window_get_menu): Created hildon_window_get_main_menu()
872 and deprecated hildon_window_get_menu().
874 * src/hildon-stackable-window.h
875 * src/hildon-stackable-window.c
876 (+hildon_stackable_window_set_app_menu)
877 (+hildon_stackable_window_get_app_menu)
878 (hildon_stackable_window_set_main_menu): Created
879 hildon_stackable_window_{get,set}_app_menu() and deprecated
880 hildon_stackable_window_set_main_menu().
882 * doc/hildon-sections.txt
883 * examples/hildon-app-menu-example.c (main)
884 * src/hildon-app-menu.c
885 * src/hildon-program.c:
886 Updated examples and documentation.
888 Fixes: NB#103758 (No way to obtain a menu from a
889 HildonStackableWindow)
891 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
896 * configure.ac: Bump version.
897 * debian/changelog: Updates.
899 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
901 * examples/hildon-remote-texture-example.c: Include
902 hildon-remote-texture.h explicitely.
903 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
904 applications not defining _XOPEN_SOURCE which don't require this header.
906 2009-02-27 Alberto Garcia <agarcia@igalia.com>
908 * doc/hildon-sections.txt
909 * src/hildon-app-menu.h
910 * src/hildon-app-menu.c (+hildon_app_menu_popup):
911 New function to pop up a HildonAppMenu
913 * src/hildon-stackable-window.c
914 (hildon_stackable_window_toggle_menu):
915 Use hildon_app_menu_popup() to show the menu.
917 2009-02-27 Alberto Garcia <agarcia@igalia.com>
919 * src/hildon-app-menu.c (hildon_app_menu_show)
920 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
921 menu if there's another window between it and its parent window.
923 Fixes: NB#100468 (Application menu window is launched even when a
924 new secondary-window/dialog is pending to be shown/realized)
926 2009-02-27 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-window-stack.c (hildon_window_stack_push)
929 (hildon_window_stack_pop_and_push):
930 Don't forget to push/pop the first window.
931 Reverse the window list before calling _push_list()
933 2009-02-27 Alberto Garcia <agarcia@igalia.com>
935 * src/hildon-picker-button.h
936 * src/hildon-picker-button.c (hildon_picker_button_class_init):
937 Remove "value_changed" slot to avoid ABI breakage
939 2009-02-26 Alejandro G. Castro <alex@igalia.com>
941 * src/hildon-pannable-area.c,
942 (hildon_pannable_area_realize),
943 (hildon_pannable_area_unrealize),
944 (hildon_pannable_draw_vscroll),
945 (hildon_pannable_draw_hscroll): Changed the method to handle the
946 GC used to draw the transparent scrollbar, this way we avoid
947 creating the GC all the time when drawing the scrollbars.
949 2009-02-26 Alejandro G. Castro <alex@igalia.com>
951 * src/hildon-pannable-area.c,
952 (hildon_pannable_area_init),
953 (hildon_pannable_area_remove): Removed some unnecessary casts.
954 (hildon_pannable_area_dispose): Disconnected some signals before
955 releasing the adjustments.
957 2009-02-26 Alberto Garcia <agarcia@igalia.com>
959 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
960 Make sure that all widgets contained in the toolbar are shown.
962 2009-02-25 Alberto Garcia <agarcia@igalia.com>
964 * doc/hildon-sections.txt
965 * src/hildon-picker-button.h
966 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
967 (_selection_changed, hildon_picker_button_on_dialog_response)
968 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
969 New hildon_picker_button_value_changed() method.
972 * src/hildon-picker-button-private.h
973 * src/hildon-picker-button.c (hildon_picker_button_init)
974 (+hildon_picker_button_disable_value_changed): Add protected
975 function for disabling the "value-changed" signal.
977 * src/hildon-date-button.c (hildon_date_button_set_date):
978 Don't emit "value-changed" for each one of the three columns.
980 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
981 before actual change of values)
983 2009-02-24 Alejandro G. Castro <alex@igalia.com>
985 * src/hildon-pannable-area.c,
986 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
987 for the treeview overshooting.
989 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
991 * src/hildon-banner.c (+hildon_banner_bind_style):
992 Renamed from hildon_banner_bind_label_style(), now naming the
993 banner itself as well.
994 (hildon_banner_show_information),
995 (hildon_banner_show_information_with_markup),
996 (hildon_banner_show_animation), (hildon_banner_show_progress):
997 Name the widgets and labels, based on their type.
999 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1002 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1004 * src/hildon-note.c (hildon_note_set_property): call
1005 hildon_note_rename() on HildonNote:note-type set.
1006 (hildon_note_rename): Name the note and its label, based on the
1007 HildonNote:note-type property.
1009 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1012 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1014 * src/hildon-pannable-area.c,
1015 (hildon_pannable_area_class_init),
1016 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1017 panning parameters, increased SPS and deceleration factor. Added
1018 also a margin to control fake directions.
1020 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1022 Patch by Sven Herzberg (sven@imendio.com)
1024 * configure.ac: Add missing AM_PROG_CC_C_0
1025 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1027 See NB#101420 (Update unit tests and fix make check)
1029 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1031 This patch was applied before but reverted because it caused
1032 problems, we have changed the main condition and tested the
1033 regressions we detected before and they work ok. We have done a
1034 complete review of the topmost algorithm in order to get a more
1037 * src/hildon-pannable-area.c,
1038 (hildon_pannable_area_get_topmost): Added a new parameter to
1039 filter the the windows that do not include those events.
1040 (hildon_pannable_area_button_press_cb),
1041 (hildon_pannable_area_button_release_cb),
1042 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1043 topmost function, we have added the new parameter.
1045 Fixes: NB#97458 (Pannable area prevents propagation of button
1048 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1050 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1051 if all columns in the selector have an item selected.
1052 (_on_dialog_response): Stop "response" signal emission if there is
1053 any selector column without selected items.
1055 Fixes: NB#101889 (Picker dialog should not close when nothing is
1056 selected in multiple selection list)
1058 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1060 * src/hildon-font-selection-dialog.c
1061 (hildon_font_selection_dialog_class_init),
1062 (hildon_font_selection_dialog_init): Remove the preview
1063 button and dialog, since previewing with default theming is likely
1064 to be overcomplicated. The :preview property has now no effect.
1065 Update documentation blurbs to inform about this.
1067 Fixes: NB#92297 (Preview content is not clearly visible for
1068 default colour text)
1070 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1072 Reviewed the geometry that handles the children size and
1073 scrollbar, now it tries a size and reviews the results depending
1074 on the scrollbars visibility.
1076 * src/hildon-pannable-area.c,
1077 (hildon_pannable_area_realize): Fixed a typo.
1078 (hildon_pannable_area_child_allocate_calculate): Added this
1079 function to calculate the child allocation.
1080 (hildon_pannable_area_size_allocate): Reviewed the allocation
1082 (hildon_pannable_area_check_scrollbars),
1083 (hildon_pannable_area_refresh): Refactored refresh function, this
1084 way we can call the code handling the scrollbars without causing a
1085 size_request, it is interesting in the allocate.
1086 (hildon_pannable_area_init): Replace the callbacks of the
1087 value_changed and changed signals to propertly deal with the
1089 (hildon_pannable_area_grab_notify),
1090 (hildon_pannable_area_initial_effect),
1091 (hildon_pannable_area_launch_fade_timeout),
1092 (hildon_pannable_area_adjust_changed),
1093 (hildon_pannable_area_adjust_value_changed),
1094 (hildon_pannable_area_redraw),
1095 (hildon_pannable_area_button_press_cb),
1096 (hildon_pannable_area_button_release_cb),
1097 (hildon_pannable_area_scroll_cb),
1098 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1099 code and use the new functions adjust_changed and
1100 adjust_value_changed.
1102 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1103 Contact editor dialog)
1105 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1110 * configure.ac: Bump version.
1111 * debian/changelog: Updates.
1113 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1115 * src/hildon-pannable-area.c,
1116 (hildon_pannable_area_get_topmost),
1117 (hildon_pannable_area_button_press_cb),
1118 (hildon_pannable_area_button_release_cb),
1119 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1120 topmost function adding the event mask. We have to try a
1121 differente approach because it is still causing problems (NB#9745,
1124 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1126 * src/hildon-banner.c:
1127 Update the maximum width of timed banners.
1128 (force_to_wrap_truncated): Enforce the maximum text width if the
1131 Fixes: NB#102413 (The text margins (wrapping) in information
1132 banner should be HILDON_MARGIN_TRIPLE)
1134 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1136 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1138 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1139 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1140 bound when calculating the scroll indicator position.
1142 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1143 treat ->lower correctly)
1145 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1147 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1148 expose event handling, since it is not necessary to draw the focus
1151 Fixes: NB#102467 (Do not show highlight on the text in
1154 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1156 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1157 full height of the toolbar for the button and the label.
1159 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1161 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1162 padding before the label and after the button.
1164 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1166 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1168 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1169 Add a GtkVSeparator between the button and the back arrow.
1170 Let the button have automatic size.
1171 Set a name to the widget for theming handling.
1173 Fixes: NB#101793 (Make edit toolbar the same height as window
1174 title bar (use title area theming))
1176 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1178 * src/hildon-helper.c (attach_new_color_element): Fix memory
1181 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1183 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1185 * examples/hildon-button-example.c (common_buttons_window): Don't
1188 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1190 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1191 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1193 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1195 * src/hildon-gtk.c: Check that the window is realized.
1197 Fixes: NB#102225 (Crash setting the progress indicator to a non
1200 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1202 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1203 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1204 instead of modifying the one in the widget style.
1206 Fixes: NB#101043 (Second row of all the command button are
1207 displayed in transparent mode.)
1209 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1211 * src/hildon-date-button.c
1212 * src/hildon-time-button.c: Add gettext macros
1214 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1216 * src/hildon-date-button.c (hildon_date_button_new):
1217 * src/hildon-time-button.c (hildon_time_button_new_step):
1218 Use new logical strings to set the button default title.
1220 Fixes: NB#99915 (Date and Time options are not localised in Date
1223 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1225 * src/hildon-pannable-area.c
1226 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1227 the PANNING_THRESHOLD.
1229 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1231 * src/hildon-pannable-area.c,
1232 (hildon_pannable_area_class_init): Increased the maximum speed.
1233 (hildon_pannable_area_get_property),
1234 (hildon_pannable_area_set_property),
1235 (hildon_pannable_area_timeout): Added a new low friction mode, it
1236 allows the user avoid friction when launching the widget fast
1237 enough. It is interesting to traverse long lists.
1239 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1242 (+hildon_stackable_window_delete_event): Ignore delete events if
1243 the window is not the topmost one.
1245 Fixes: NB#101698 (Back button long press and delete-event handling)
1247 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1249 * src/hildon-pannable-area.c,
1250 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1251 gtk-dnd-drag-threshold, it was too big. We have defined our own
1252 dnd define and set a smaller value: PANNIG_THRESHOLD.
1254 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1257 user-defined icons, use always the default one.
1259 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1261 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1263 This patch was applied before but reverted because it caused
1264 problems, we have changed the main condition and tested the
1265 regressions we detected before and they work ok.
1267 * src/hildon-pannable-area.c,
1268 (hildon_pannable_area_get_topmost): Added a new parameter to
1269 filter the the windows that do not include those events. Added
1270 also a condition when finding the window to filter windows that do
1271 not ask for those events.
1272 (hildon_pannable_area_button_press_cb),
1273 (hildon_pannable_area_button_release_cb),
1274 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1275 topmost function, we have added the new parameter.
1277 Fixes: NB#97458 (Pannable area prevents propagation of button
1280 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1282 * tests/check-hildon-color-button.c (START_TEST): do not leak
1285 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1287 * src/hildon-font-selection-dialog.c
1288 (hildon_font_selection_dialog_get_preview_text): Return NULL
1289 instead of FALSE on the g_return_val_if_fail().
1291 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1293 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1294 * src/hildon-date-selector.c
1295 (hildon_date_selector_select_current_date):
1296 Do not compare unsigned integers to be greater than or equal 0,
1297 because it's always TRUE.
1299 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1301 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1302 (hildon_date_selector_constructor): Do not select the current
1303 date until we are handle the "changed" signal, to avoid having bogus
1304 elements in the days model.
1306 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1308 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1309 for num_days, since _month_days() can return a negative value.
1311 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1313 * src/hildon-caption.c (hildon_caption_size_allocate):
1314 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1315 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1317 Initialize allocation variables to 0, to avoid eventually using
1318 unitialized variables.
1320 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1322 * src/hildon-bread-crumb-trail.c
1323 (hildon_bread_crumb_trail_size_allocate):
1324 * src/hildon-calendar.c (hildon_calendar_set_background):
1325 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1326 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1327 * src/hildon-seekbar.c (hildon_seekbar_init):
1328 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1329 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1330 * src/hildon-touch-selector-entry.c
1331 (hildon_touch_selector_get_text_from_model):
1332 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1333 * src/hildon-window.c (hildon_window_finalize):
1335 Remove many unused variables.
1337 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1339 * src/hildon-seekbar.c: (hildon_seekbar_init),
1340 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1342 Remove unnecessary g_assert() calls.
1344 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1346 * src/hildon-caption.c: (hildon_caption_expose),
1347 (hildon_caption_set_property), (hildon_caption_init),
1348 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1349 (hildon_caption_size_request), (hildon_caption_size_allocate),
1350 (hildon_caption_forall), (hildon_caption_set_separator),
1351 (hildon_caption_activate), (hildon_caption_set_child_expand),
1352 (hildon_caption_set_label_text),
1353 (hildon_caption_get_label_alignment):
1355 Remove unnecessary g_assert() calls.
1357 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1359 * src/hildon-banner.c
1360 (hildon_banner_map, hildon_banner_init): Make banner temporary
1361 before mapping it to avoid closing other temporary windows, but
1362 make it non-temporary afterwards to avoid being closed by other
1363 non-temporary windows.
1364 (-hildon_banner_client_event, hildon_banner_init):
1365 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1367 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1370 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1372 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1375 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1377 * src/hildon-remote-texture.c
1378 * src/hildon-remote-texture.h
1379 * src/hildon-remote-texture-private.h
1380 * examples/hildon-remote-texture-example.c:
1381 Updates/fixes to remote-texture and its example.
1383 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1385 Patch by Mox Soini (ext-mox.soini@nokia.com)
1387 * src/hildon-code-dialog.c: Update logical id.
1388 * src/hildon-set-password-dialog.c: Update logical id.
1390 Fixes: NB#100646 (Logical strings is shown for ok in set
1391 password,Password needed dialogs)
1393 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1396 * src/hildon-remote-texture.c
1397 * src/hildon-remote-texture.h
1398 * src/hildon-remote-texture-private.h
1400 Added remote texture widget (for Clutter shared memory textures)
1402 * examples/hildon-remote-texture-example.c
1403 * examples/Makefile.am
1404 Added example file for remote texture usage
1406 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1408 * configure.ac: post release version bump.
1409 * debian/changelog: version bump.
1411 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1416 * configure.ac: Bump version.
1417 * debian/changelog: Updates.
1419 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1421 * src/hildon-date-selector.c (hildon_date_selector_init)
1422 (hildon_date_selector_constructor): Don't connect to the "changed"
1423 signal until the selector is completely constructed.
1425 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1427 * src/hildon-touch-selector.c: (_create_new_column),
1428 (hildon_touch_selector_append_column),
1429 (hildon_touch_selector_set_column_selection_mode),
1430 (hildon_touch_selector_set_active),
1431 (hildon_touch_selector_select_iter):
1432 Emit the HildonTouchSelector::changed signal every time selection
1433 is changed in any of the methods above. This behavior was already
1434 documented but not fully functional.
1436 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1437 selection is programmatically changed)
1439 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1441 * doc/hildon-sections.txt: Remove obsolete icon
1442 sizes from here as well.
1444 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1446 * examples/hildon-stackable-window-example.c (add_window): Remove
1449 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1451 * src/hildon-app-menu.c
1452 (hildon_app_menu_show): Check whether the parent window of a menu
1453 is topmost before popping it up.
1455 Fixes: NB#100468 (Application menu window is launched even when a
1456 new secondary-window/dialog is pending to be shown/realized.)
1458 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1460 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1463 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1465 Patch by Mox Soini (ext-mox.soini@nokia.com)
1467 * src/hildon-banner.c: (hildon_banner_show_animation):
1468 use stylus size instead of obsolete note size.
1469 * src/hildon-defines.h: Update icon sizes.
1471 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1473 * src/hildon-touch-selector-entry.c:
1474 (hildon_touch_selector_entry_init): Disable unsupported
1476 (hildon_touch_selector_entry_get_text_column): Emit a warning
1477 if an unsupported input modes is used and explicitile state
1478 these modes in the documentation.
1480 Fixes: NB#99802 (Hildon touch selector entry not working properly
1481 for some of the input modes)
1483 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1485 * src/hildon-pannable-area.c,
1486 (hildon_pannable_area_init): Added the changed signal handlers of
1489 Fixes: NB#100320 (HildonPannableArea does not listen to
1490 GtkAdjustment "change" signals)
1492 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1494 * doc/hildon-sections.txt
1495 * src/hildon-window-private.h
1496 * src/hildon-window.h
1497 * src/hildon-window.c (hildon_window_init)
1498 (hildon_window_realize, hildon_window_unrealize)
1499 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1500 (hildon_window_size_request, hildon_window_size_allocate)
1501 (hildon_window_forall, hildon_window_show_all)
1502 (hildon_window_destroy, +paint_edit_toolbar)
1503 (+hildon_window_set_edit_toolbar):
1504 New hildon_window_set_edit_toolbar() method, to add a
1505 HildonEditToolbar to a window without having to pack it manually.
1507 Reorganize hildon_window_size_allocate()
1509 * src/hildon-edit-toolbar.c: Update documentation.
1511 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1512 example to use the new API.
1514 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1516 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1518 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1519 Remove from stack before calling parent's hide.
1521 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1523 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1524 window is removed from the middle of the stack, update the
1525 transiency of the previous one.
1527 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1530 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1532 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1533 block/unblock the signal handler if it's not actually being used.
1534 Fixes some critical warnings.
1536 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1538 Based on a patch by Iván Gómez (igomez@igalia.com)
1540 * src/hildon-banner.c
1544 * src/hildon-pannable-area.c
1545 * src/hildon-picker-dialog.c
1546 * src/hildon-wizard-dialog.h
1547 * src/hildon-wizard-dialog.c: Documentation updates.
1549 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1550 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1552 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1554 * configure.ac: post release version bump.
1555 * debian/changelog: version bump.
1557 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1562 * configure.ac: Bump version.
1563 * debian/changelog: Updates.
1565 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1567 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1568 a stock icon nor change the relief of the back arrow.
1570 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1571 graphics from theme)
1573 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1575 * src/hildon-button.c (hildon_button_set_alignment): Use
1576 priv->alignment if the button has no child yet.
1578 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1580 * src/hildon-button.c: (hildon_button_init): Set the
1581 button style during initialization to give it the proper
1584 Fixes: NB#99713 (HildonButton value label color is wrong)
1586 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1588 * src/hildon-touch-selector.c: Document
1589 hildon_touch_selector_center_on_selected()
1591 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1593 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1594 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1595 all menu items, but not the menu itself.
1596 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1597 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1598 items after adding them to the menu so keyboard accelerators work.
1599 (hildon_app_menu_show): Don't show the menu if it contains items
1600 but none of them are visible.
1602 * examples/hildon-app-menu-example.c (create_menu): Use
1603 gtk_widget_show_all() to show all menu items.
1605 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1607 * src/hildon-picker-dialog.c:
1608 (-_update_title_on_selector_changed_cb),
1609 (-_dialog_update_title): Removed.
1610 (_select_on_selector_changed_cb), (_on_dialog_response),
1611 (on_selector_columns_changed): Do not update the dialog title.
1612 (setup_interaction_mode): Do not connect to
1613 HildonTouchSelector::changed signal if there's a "done" button, as
1614 the dialog title doesn't need to be updated.
1616 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1619 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1621 Patch by Kristian Rietveld (kris@imendio.com)
1623 * src/hildon-touch-selector.c: (_create_new_column): Use new
1624 GtkTreeView::hildon-row-tapped signal to react to user interactions
1625 instead of ::changed.
1627 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1628 with some dynamic tree model)
1630 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1632 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1633 (+screen_size_changed, +label_size_request)
1634 (hildon_note_class_init): Make the Hildon information note have a
1635 minimum height, and make its text hvae a maximum width.
1637 Fixes: NB#98614 (Hildon information note (background) should have
1638 minimum height and maximum text width)
1640 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1642 * src/hildon-banner.h
1643 * src/hildon-banner.c (hildon_banner_show_information)
1644 (hildon_banner_show_informationf)
1645 (hildon_banner_show_information_with_markup): Update documentation
1646 to reflect that the icon_name parameter is not used anymore.
1647 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1648 Remove all code from these functions and mark them as deprecated.
1649 (hildon_banner_show_progress): Mark as deprecated.
1651 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1653 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1655 * src/hildon-pannable-area.c,
1656 (hildon_pannable_area_class_init),
1657 (tranparency_color),
1658 (hildon_pannable_draw_vscroll),
1659 (hildon_pannable_draw_hscroll),
1660 (hildon_pannable_area_expose_event): Added a new way to render the
1661 scrollbars of the pannable area avoiding using cairo at all. This
1662 way we improve the performance of the pannable area rendering. The
1663 cairo rendering procedure is still in the code, we can control
1664 which one to use changing the value of the define
1665 USE_CAIRO_SCROLLBARS.
1667 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1669 * configure.ac: post release version bump.
1670 * debian/changelog: version bump.
1672 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1677 * configure.ac: Bump version.
1678 * debian/changelog: Updates.
1680 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1682 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1683 banners instead of destroying them when they receive a button
1686 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1688 Reverted commit 34028, it was causing regressions, probably the
1689 topmost condition is not correct, we have to check it in more
1690 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1691 propagation of button press events)
1693 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1695 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1696 that the selection is not empty before attempting to retrieve the
1697 current ampm selection.
1699 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1701 * src/hildon-picker-button.c:
1702 (hildon_picker_button_on_dialog_response): Directly update the
1703 button contents when required instead of calling _selection_changed.
1705 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1707 * src/hildon-program.c (hildon_program_update_top_most): Update
1708 'is-topmost' property also when wm_hints is not set.
1710 Fixes: NB#98383 (is-topmost signal is not emitted when task
1711 switcher is clicked.)
1713 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1715 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1719 * src/hildon-animation-actor.c,
1720 * src/hildon-animation-actor.h: Added the animation actor class,
1721 this widget represents an animation actor for WM-assisted
1722 animation effects in the Hildon framework.
1724 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1726 * src/hildon-window-stack-private.h
1727 * src/hildon-window-stack.c
1728 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1729 Avoid calling gtk_widget_show() again indirectly from
1730 hildon_stackable_window_show()
1732 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1734 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1737 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1739 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1740 (hildon_time_selector_init): Move the construction of the hours and
1741 ampm columns to the constructor to preserve the order the columns
1744 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1746 * src/hildon-picker-dialog.c:
1747 (hildon_picker_dialog_class_init): Connect a realize method.
1748 (+hildon_picker_dialog_realize): Setup the interaction mode here
1750 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1751 yet, do it during the realize instead.
1752 (_on_dialog_response):
1753 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1754 if the widget is not realized, to avoid the dialog response before it
1757 Avoid premature responses in the HildonPickerDialog that can cause it
1758 to be hidden before it's even shown.
1760 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1762 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1763 (on_selector_columns_changed), (requires_done_button),
1764 (+prepare_action_area), (setup_interaction_mode),
1765 (_hildon_picker_dialog_set_selector):
1767 Split the interaction mode setup into preparation of the
1768 action area (prepare_action_area()) and the connection of
1769 the signals in setup_interaction_mode() and update the code to
1772 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1774 * src/hildon-pannable-area.c,
1775 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1776 per second to 15, we will check if this is ok regarding
1779 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1781 * src/hildon-pannable-area.c,
1782 (hildon_pannable_axis_scroll): Avoid resize if we already have
1783 reached overshoot_max.
1785 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1787 * src/hildon-pannable-area.c,
1788 (hildon_pannable_area_init),
1789 (hildon_pannable_area_realize),
1790 (hildon_pannable_area_size_allocate),
1791 (hildon_pannable_area_map),
1792 (hildon_pannable_area_unmap),
1793 (hildon_pannable_draw_vscroll),
1794 (hildon_pannable_draw_hscroll),
1795 (hildon_pannable_area_expose_event),
1796 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1797 pannable are to avoid the expose events go to the window and
1798 redraw the window. We save this way that part of the stack and the
1799 paint_boxes. We had to change the positions of the elements when
1802 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1804 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1805 * src/hildon-color-chooser-dialog.c:
1806 (hildon_color_chooser_dialog_init):
1807 * src/hildon-font-selection-dialog.c:
1808 (hildon_font_selection_dialog_init),
1809 (hildon_font_selection_dialog_show_preview):
1810 * src/hildon-get-password-dialog.c:
1811 * src/hildon-login-dialog.c:
1812 * src/hildon-set-password-dialog.c:
1813 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1814 * src/hildon-time-picker.c: (hildon_time_picker_init):
1816 Remove obsolete logical string IDs and update to the appropriate ones.
1818 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1820 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1822 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1823 that happens if the window hasn't been realized yet.
1825 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1826 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1828 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1830 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1831 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1834 Fixes: NB#98537 (Device hangs in account settings dialog)
1836 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1838 * configure.ac: post release version bump.
1839 * debian/changelog: version bump
1841 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1846 * configure.ac: Bump version.
1847 * debian/changelog: Updates.
1849 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1851 Added a new function to the HildonTimeButton widget that allows to
1852 change the step of the minutes in the selector associated with the
1853 button: hildon_time_button_new_step
1855 * src/hildon-time-button.c,
1856 (hildon_time_button_init),
1857 (hildon_time_button_new),
1858 (hildon_time_button_new_step):
1859 * src/hildon-time-button.h: Added the new function and refactored
1861 * examples/hildon-time-button-example.c,
1862 (main): We have replaced the function without parameters with the
1863 function with the steps set to 5
1865 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1867 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1869 * src/hildon-time-selector.c,
1870 (hildon_time_selector_class_init),
1871 (hildon_time_selector_constructor),
1872 (hildon_time_selector_get_property),
1873 (hildon_time_selector_set_property),
1874 (_create_minutes_model),
1875 (hildon_time_selector_new_step),
1876 (hildon_time_selector_set_time),
1877 * src/hildon-time-selector.h: Added a new property to the
1878 HildonTimeSelector (minutes-step), we use that property to control
1879 the steps between the minutes in the list of the selector. We have
1880 added a new function to the API to create a widget changing the
1881 step: hildon_time_selector_new_step.
1883 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1885 * src/hildon-time-selector.c,
1886 (hildon_time_selector_class_init),
1887 (hildon_time_selector_constructor),
1888 (hildon_time_selector_init): Overrided the construct function when
1889 creating the time selector object. We have moved the minutes model
1890 handling code from the init to the new construction function:
1891 hildon_time_selector_constructor.
1893 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1895 * examples/hildon-date-button-example.c: (main): Use the new
1896 hildon_date_button_new_with_year_range() method in the example.
1897 * src/hildon-date-button.c:
1898 (+hildon_date_button_new_with_year_range): New public method
1899 to conveniently create a HildonDateButton with a custom year range
1900 in its HildonDateSelector.
1901 * src/hildon-date-button.h: Add the new public method definition.
1903 Fixes: NB#97908 (Not possible to change the year range in
1904 HildonDateSelector/HildonDateButton)
1906 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1908 * src/hildon-date-selector.c:
1909 (+hildon_date_selector_set_property),
1910 (+hildon_date_selector_get_property),
1911 (hildon_date_selector_class_init): Install new properties "min-year"
1912 and "max-year" to define boundaries for the year column.
1913 (_create_year_model): Use the boundary properties to populate the model.
1914 (+hildon_date_selector_new_with_year_range): New public method to
1915 create a HildonDateSelector with a user defined year range.
1916 (hildon_date_selector_select_current_date): Use the new boundaries to
1917 calculate the iterator of current year.
1918 * src/hildon-date-selector.h: Add the new public method definition.
1920 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1922 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1923 Install a constructor method.
1924 (+hildon_date_selector_construct_ui): construct the widget.
1925 (+hildon_date_selector_constructor): new constructor.
1926 (+hildon_date_selector_init): move out widget construction code to
1927 the new constructor.
1929 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1931 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1932 that there's actually a month or year selected before obtaining them.
1933 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1934 of the HildonTouchSelector::changed signal, as it was emitted on every
1935 single item selection.
1937 Fix some warnings and possible crashers due to the selection restoring.
1939 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1941 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1942 the signal handlers only after creating the dialog instead of on every
1945 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1947 * src/hildon-button.c (hildon_button_init)
1948 * src/hildon-check-button.c (hildon_check_button_init)
1949 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1950 focus when clicked by default.
1952 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1954 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1957 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1959 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1960 Alejandro G. Castro (alex@igalia.com)
1962 * src/hildon-picker-dialog.c:
1963 (hildon_picker_dialog_class_init): install new "center-on-show"
1965 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1966 (hildon_picker_dialog_set_property): add setter code for the new
1968 (hildon_picker_dialog_get_property): add getter code for the new
1970 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1971 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1974 Fixes: NB#92849 (Selected item is not always visible when
1975 HildonTouchSelector is shown)
1977 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1979 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1980 Alejandro G. Castro (alex@igalia.com)
1982 * src/hildon-touch-selector.c:
1983 (_create_new_column): Do not connect to the "realize" signal of the
1985 (hildon_touch_selector_append_column): center on the selected items
1986 when a new column is appended.
1987 (hildon_touch_selector_select_iter): Factor out the code to select a
1988 column to hildon_touch_selector_scroll_to().
1989 (+search_nearest_element): Method to retrieve the nearest selected
1990 element to the visible area of the pannable area in a column.
1991 (+on_realize_cb): scroll to the initially selected item.
1992 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1993 the pannable area is realized, otherwise delay this until it is.
1994 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1995 selected items of a given column.
1996 (+hildon_touch_selector_center_on_selected): Public method to center
1997 all columns on the nearest selected item.
1998 * src/hildon-touch-selector.h: Add definition for
1999 hildon_touch_selector_center_on_selected().
2001 Implement public API to ensure visibility of all selected items in
2002 a HildonTouchSelector.
2004 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2006 Fixed a problem in the fading when calling the scroll_to API, and
2007 improve scrollbar fading handling.
2009 * src/hildon-pannable-area.c,
2010 (hildon_pannable_area_grab_notify): avoid the timeout when the
2012 (hildon_pannable_area_button_press_cb),
2013 (hildon_pannable_area_motion_notify_cb): Code style changes.
2014 (hildon_pannable_area_button_release_cb): Review the conditions
2015 when releasing the mouse button to avoid unrequired fading
2017 (hildon_pannable_area_scroll_to): Do not calculate and set the
2018 velocity if the scroll is not required.
2020 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2022 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2023 Don't check whether the new selector is NULL: it cannot be.
2024 Hold a reference to the selector while doing the replacement.
2026 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2028 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2029 unnecessary size_request in a removed widget.
2031 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2033 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2034 an unnecessary reference tracking that was leaking.
2036 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2038 Added delayed motion notify event handling, this way we can
2039 discard redrawing if more than 25 events arrive per second.
2041 * src/hildon-pannable-area.c,
2042 (hildon_pannable_area_init): Initialized the new private atributes
2043 controlling this timeout
2044 (hildon_pannable_area_dispose): Remove the timeout that controls
2045 the motion notify events.
2046 (hildon_pannable_area_scroll): Added a condition to control the
2047 use of the acceleration.
2048 (hildon_pannable_area_motion_event_scroll_timeout),
2049 (hildon_pannable_area_motion_event_scroll): Added this two
2050 functions, they handle the motion notify events inside the
2052 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2053 to the scroll method with the new function.
2054 (hildon_pannable_area_button_release_cb): We have to remove the
2055 timeout handler and move to the last position if the last motion
2056 events were not handled.
2058 Fixes: NB#97028 (Pannable area updates on every motion event)
2060 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2062 * src/hildon-pannable-area.c,
2063 (hildon_pannable_area_get_topmost): Added a new parameter to
2064 filter the the windows that do not include those events. Added
2065 also a condition when finding the window to filter windows that do
2066 not ask for those events.
2067 (hildon_pannable_area_button_press_cb),
2068 (hildon_pannable_area_button_release_cb),
2069 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2070 topmost function, we have added the new parameter.
2072 Fixes: NB#97458 (Pannable area prevents propagation of button
2075 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2077 * src/hildon-pannable-area.c,
2078 (hildon_pannable_area_initial_effect): Added controls before
2079 launching the timeout and the idle functions.
2080 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2081 of the method, in some situations it can return with TRUE and 0 in
2083 (hildon_pannable_area_button_press_cb): We do not need to set
2084 DELAY for fading out here.
2086 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2088 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2091 post-cleaning if the selection is not NULL.
2093 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2095 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2096 all items before restoring the selection.
2098 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2100 * src/hildon-touch-selector.c:
2101 (+hildon_touch_selector_unselect_all):
2102 * src/hildon-touch-selector.h: New API to unselect all items in a
2103 column of the touch selector.
2105 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2107 * src/hildon-pannable-area.c,
2108 (hildon_pannable_area_redraw): Added a call to the refresh
2109 function inside the redraw because apparently in some cases the
2110 change in the adjustment does not imply a size allocate.
2112 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2113 despite the view not being scrollable)
2115 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2118 leak. Check for NULL before attempting to set the window title.
2120 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2122 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2123 whether to show or not the 'Done' button each time the dialog is
2124 shown, as it depends on the HildonTouchSelector selection mode.
2126 Fixes: NB#96226 (In multiple selection mode Done button is shown
2127 sometimes in listpicker)
2129 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2132 for the number of columns in the HildonTouchSelector more than once.
2134 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2136 * src/hildon-touch-selector.c: Minor documentation fixes.
2138 * src/hildon-picker-dialog.c (+_dialog_update_title)
2139 (_select_on_selector_changed_cb)
2140 (_update_title_on_selector_changed_cb)
2141 (on_selector_columns_changed): Update dialog title when there's no
2142 'Done' button and also when the number of columns in the selector
2146 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2147 (+_selection_changed, hildon_picker_button_on_dialog_response)
2148 (hildon_picker_button_selector_selection_changed)
2149 (+hildon_picker_button_selector_columns_changed)
2150 (hildon_picker_button_set_selector): Update button value and emit
2151 'value-changed' when the number of columns in the selector
2155 Fixes: NB#96225 (Dialog titles are not shown according to the
2156 values selected in the list picker)
2158 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2160 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2161 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2162 New "arrow-width" and "arrow-height" style properties to set the
2163 size of the arrow button.
2164 Set name of arrow button ("hildon-edit-toolbar-arrow").
2166 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2167 graphics from theme)
2169 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2171 * src/hildon-picker-button.c:
2172 (hildon_picker_button_selector_selection_changed): Use
2173 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2174 the dialog is present.
2176 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2177 the selection is accepted in the dialog)
2179 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2181 * src/hildon-color-chooser.h
2182 * src/hildon-color-chooser-dialog.h:
2183 Added G_BEGIN_DECLS and G_END_DECLS
2185 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2187 (_clean_current_selection): plug a leak in the list.
2189 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2191 * src/hildon-picker-dialog.c:
2192 (+free_path_list): Method to free a GList of GtkTreePaths.
2193 (_clean_current_selection), (_save_current_selection),
2194 (_restore_current_selection): Save the current selection in
2195 as a list of lists, to support multiple selection properly.
2197 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2199 patch by Claudio Saavedra (csaavedra@igalia.com)
2201 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2202 Store the press position.
2203 (+hildon_text_view_button_release_event): If the release position is
2204 close enough to the press position, move the cursor here. Otherwise,
2206 (hildon_text_view_class_init): Override GtkTextView press, release, and
2207 motion event handlers, disabling this way text selection through
2208 pointer interaction, and allowing the container widget to handle the
2211 Fixes: NB#95828 (HildonTextView functionality)
2213 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2215 Based on a patch by Iván Gómez (igomez@igalia.com)
2217 * src/hildon-button.[ch]
2218 * src/hildon-calendar.c
2219 * src/hildon-check-button.c
2220 * src/hildon-date-editor.c
2221 * src/hildon-date-selector.c
2222 * src/hildon-picker-button.c
2223 * src/hildon-time-editor.c
2224 * src/hildon-time-selector.c
2225 * src/hildon-touch-selector.[ch]:
2226 Documentation updates
2228 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2230 * src/hildon-pannable-area.c,
2231 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2232 threshold, it was required due to X events handling.
2234 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2236 * src/hildon-pannable-area.c,
2237 (hildon_pannable_area_grab_notify),
2238 (hildon_pannable_area_initial_effect),
2239 (hildon_pannable_area_button_press_cb),
2240 (hildon_pannable_area_button_release_cb),
2241 (hildon_pannable_area_scroll_cb),
2242 (hildon_pannable_area_scroll_to): Review the timeout management of
2243 the scrollbar, the frecuency was incorrectly set.
2245 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2247 * src/hildon-picker-button.c:
2248 (+hildon_picker_button_on_dialog_response),
2249 (hildon_picker_button_clicked): Present the dialog instead of
2250 running it with gtk_dialog_run().
2252 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2255 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2257 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2258 (hildon_app_menu_finalize): When a window is hidden it doesn't
2259 emit notify::is-topmost, so make sure than the menu also
2260 disappears in that case.
2261 (parent_window_topmost_notify): Renamed from parent_window_hidden
2263 Fixes: NB#94460 (stackable window's menu is not closed when its
2266 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2268 * src/hildon-touch-selector-entry.c:
2269 (+hildon_touch_selector_entry_set_input_mode),
2270 (+hildon_touch_selector_entry_get_input_mode):
2271 * src/hildon-touch-selector-entry.h: New methods to access the input
2272 mode in the selector's entry.
2274 Fixes: NB#93410 (API required for setting IM mode in
2275 HildonTouchSelectorEntry)
2277 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2279 * configure.ac: post release version bump.
2280 * debian/changelog: version bump
2282 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2287 * configure.ac: Bump version.
2288 * debian/changelog: Updates.
2290 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2292 * src/hildon-touch-selector.c:
2293 (_hildon_touch_selector_has_multiple_selection): No need
2294 to initialize the variables here.
2296 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2298 * src/hildon-note-private.h
2299 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2300 (hildon_note_finalize, hildon_note_rebuild): Close information
2301 notes when they receive a button press.
2303 Fixes: NB#89890 (Information notes does not get disappeared after
2306 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2309 mark from the wizard title, as it's not really necessary. Also,
2310 do not display the page title if not set.
2312 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2315 (parent_window_hidden): Use the window's "is-topmost" property to
2316 detect when to hide the menu.
2318 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2320 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2321 (hildon_app_menu_finalize): If the parent window of the menu is
2322 hidden, hide the menu too.
2324 Fixes: NB#94460 (stackable window's menu is not closed when its
2327 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2330 * debian/libhildon1-examples.install
2332 * examples/Makefile.am:
2333 Use dh_install to install all examples.
2334 Use DEB_SRCDIR instead of defining SOURCE_DIR
2336 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2338 * configure.ac: post release version bump.
2339 * debian/changelog: version bump
2341 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2346 * configure.ac: bump version
2347 * debian/changelog: updates
2348 * debian/control: bump gtk+ dependency
2350 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2352 patch by Christian Dywan (christian@imendio.com)
2354 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2355 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2357 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2359 * src/hildon-check-button.c (hildon_check_button_init)
2360 (hildon_check_button_class_init, hildon_check_button_style_set)
2361 (hildon_check_button_apply_style):
2362 New "checkbox-size" style property.
2364 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2365 larger / configurable size)
2367 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2369 * configure.ac: post release version bump.
2370 * debian/changelog: version bump
2372 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2377 * configure.ac: bump version
2378 * debian/changelog: updates
2380 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2382 * doc/hildon-sections.txt
2383 * src/hildon-pannable-area.c
2384 * src/hildon-program.c
2385 * src/hildon-time-editor.c
2386 * src/hildon-touch-selector-entry.c:
2388 More documentation updates.
2390 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2392 * doc/hildon-sections.txt
2393 * src/hildon-caption.c
2394 * src/hildon-code-dialog.c
2395 * src/hildon-color-button.c
2396 * src/hildon-controlbar.c
2397 * src/hildon-date-editor.c
2398 * src/hildon-date-selector.c
2399 * src/hildon-edit-toolbar.c
2400 * src/hildon-find-toolbar.c
2401 * src/hildon-font-selection-dialog.c
2403 * src/hildon-program.c
2404 * src/hildon-range-editor.c
2405 * src/hildon-seekbar.c
2406 * src/hildon-time-editor.c
2407 * src/hildon-time-selector.c
2408 * src/hildon-volumebar-range.c
2409 * src/hildon-volumebar.c
2410 * src/hildon-vvolumebar.c
2411 * src/hildon-weekday-picker.c
2412 * src/hildon-window.c
2413 * src/hildon-wizard-dialog.c:
2415 Lots of documentation fixes.
2417 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2419 Patch contributed by Iván Gómez (igomez@igalia.com)
2421 * src/hildon-check-button.c:
2422 * src/hildon-date-button.c:
2423 * src/hildon-date-selector.c:
2424 * src/hildon-dialog.c:
2425 * src/hildon-edit-toolbar.c:
2426 * src/hildon-entry.c:
2427 * src/hildon-picker-button.c:
2428 * src/hildon-program.c:
2429 * src/hildon-text-view.c:
2430 * src/hildon-time-button.c:
2431 * src/hildon-touch-selector-entry.c:
2432 * src/hildon-window-stack.c:
2434 Add more "since" tags to the new API.
2436 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2438 * doc/hildon-sections.txt: Add below method.
2439 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2440 version for the hildonized scale.
2441 * src/hildon-gtk.h: Add the definition.
2443 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2445 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2447 * doc/hildon-sections.txt: Add missing entries for new methods.
2449 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2451 Added API to pannable are in order to get its adjustments. We
2452 added two properties to manage the values we had in the private
2455 * src/hildon-pannable-area.c:
2456 (hildon_pannable_area_class_init): Added hadjustment and
2457 vadjustment properties in order to expose horizontal and vertical
2459 (hildon_pannable_area_get_property),
2460 (hildon_pannable_area_set_property): Added code to handle the new
2462 (hildon_pannable_area_get_hadjustment),
2463 (hildon_pannable_area_get_vadjustment): API functions to get the
2465 * src/hildon-pannable-area.h:
2466 (hildon_pannable_area_get_hadjustment),
2467 (hildon_pannable_area_get_vadjustment): API functions to get the
2470 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2472 Fixed some leaks, after valgrinding.
2474 * src/hildon-touch-selector.c:
2475 (_default_print_func): Fixed a leak.
2476 (hildon_touch_selector_append_column): Fixed a leak.
2477 * src/hildon-date-button.c:
2478 (hildon_date_button_init): Fixed a leak.
2479 * src/hildon-date-selector.c
2480 (hildon_date_selector_finalize): Fixed a leak.
2482 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2484 Based on a patch by Christian Dywan (christian@imendio.com)
2486 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2488 * src/hildon-gtk.h: Add definition.
2490 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2492 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2494 * src/hildon-picker-button.c: (hildon_picker_button_init),
2495 (hildon_picker_button_new): Set the HildonButton::style property
2496 in the init method, to propagate the value to the derived classes.
2498 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2500 * src/hildon-button.c: (hildon_button_class_init): Do not make
2501 the "style" property a construct property.
2503 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-wizard-dialog.h
2506 * src/hildon-wizard-dialog.c
2507 (hildon_wizard_dialog_set_forward_page_func)
2508 * src/hildon-pannable-area.h
2509 * src/hildon-pannable-area.c
2510 (hildon_pannable_area_set_size_request_policy):
2511 Documentation fixes.
2513 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2515 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2517 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2519 * doc/hildon-sections.txt: Added sections file.
2521 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2524 * src/*.[ch]: Updates.
2526 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2528 * examples/hildon-progress-indicator-example.c: new file
2529 * examples/Makefile.am: include the new example program
2531 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2533 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2535 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2537 * configure.ac: post release version bump
2538 * debian/changelog: version bump
2540 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2545 * configure.ac: bump version
2546 * debian/changelog: updates
2547 * debian/control: bump gtk+ dependency
2549 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2551 * src/hildon-dialog.c: Mark as deprecated.
2552 * src/hildon-dialog.h: Mark as deprecated.
2553 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2554 from HildonDialog and still work, even if
2555 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2556 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2558 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2559 maemo changes) instead)
2561 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2563 * src/hildon-pannable_area.h:
2564 * src/hildon-pannable_area.c:
2565 (hildon_pannable_area_class_init),
2566 (hildon_pannable_area_set_property),
2567 (hildon_pannable_area_get_property),
2568 (hildon_pannable_area_size_request),
2569 (hildon_pannable_area_get_size_request_policy),
2570 (hildon_pannable_area_set_size_request_policy): Added new API
2571 allowing applications to control the request policy. Now they can
2572 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2573 children allocation (HILDON_MOVEMENT_CHILDREN).
2575 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2579 (hildon_gtk_tree_view_set_ui_mode)
2580 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2581 mode of treeviews and iconviews.
2583 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-touch-selector-entry.c:
2586 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2587 of a GtkEntry to get proper theming.
2589 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2590 widget, not GtkEntry)
2592 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2594 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2595 no HildonWizardDialogPageFunc.
2597 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2599 Patch contributed by Iván Gómez (igomez@igalia.com)
2601 * src/hildon-app-menu.c:
2602 * src/hildon-button.c:
2603 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2604 * src/hildon-stackable-window.c:
2605 * src/hildon-time-selector.c:
2606 * src/hildon-touch-selector.c:
2607 * src/hildon-window.c:
2609 Add more "since" tags to the new API in hildon 2.2.
2611 2008-12-05 Tim Janik <timj@imendio.com>
2613 Patch contributed by Christian Dywan (christian@imendio.com)
2615 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2616 HildonSizeType, which are supplied by Gtk+ now.
2618 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2620 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2621 (with maemo changes) instead)
2623 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2625 Patch contributed by Iván Gómez (igomez@igalia.com)
2627 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2630 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2632 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2633 (some_page_func), (main): Update the example to use a
2634 HildonWizardDialogPageFunc function.
2636 * src/hildon-wizard-dialog-private.h: Add private data for
2637 the HildonWizardDialogPageFunc function usage.
2639 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2640 (destroy), (hildon_wizard_dialog_init), (response),
2641 (hildon_wizard_dialog_set_forward_page_func):
2642 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2643 that applications can use to stop a HildonWizardDialog to jump to
2646 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2649 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2651 * src/hildon-program.h
2652 * src/hildon-program-private.h
2653 * src/hildon-program.c (hildon_program_init)
2654 (hildon_program_set_common_app_menu)
2655 (hildon_program_get_common_app_menu):
2656 New API for setting a common HildonAppMenu for all
2657 HildonStackableWindows registered with the HildonProgram.
2659 * src/hildon-stackable-window.c
2660 (hildon_stackable_window_toggle_menu):
2661 Use the common HildonAppMenu if a window doesn't have a specific
2664 * src/hildon-app-menu-private.h
2665 * src/hildon-app-menu.c
2666 (hildon_app_menu_get_parent_window):
2667 Function to obtain the window a HildonAppMenu is attached to.
2668 (hildon_app_menu_set_parent_window):
2669 Hide the menu if the parent window is set to NULL.
2671 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2674 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2675 search widget to popup.
2677 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2679 * configure.ac: post release version bump
2680 * debian/changelog: version bump
2682 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2687 * configure.ac: bump version
2688 * debian/changelog: updates
2690 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2692 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2694 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2695 (hildon_window_stack_window_realized)
2696 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2697 Set the leader GdkWindow when a window is stacked and realized,
2698 unset it when it's unstacked.
2699 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2701 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2703 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2705 * src/hildon-stackable-window.h
2706 * src/hildon-window-stack.h:
2707 Protect definition of HildonWindowStack using the preprocessor.
2709 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2712 Fix warning if all menu items are hidden.
2714 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2716 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2718 * src/hildon-controlbar.c:
2719 * src/hildon-hvolumebar.c:
2720 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2721 Multiple scale size defines updates.
2723 Fixes: NB#94322 (Scale Updates)
2725 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2727 * examples/hildon-app-menu-example.c (create_menu)
2728 Show items after adding them to the menu, as in the future the
2729 menu will no longer call gtk_widget_show() on the added items.
2731 * src/hildon-app-menu.c:
2732 Update example as explained above.
2734 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-app-menu.c
2737 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2738 Make sure that all menu items have finger height.
2740 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2742 * src/hildon-picker-dialog.c:
2743 (_on_dialog_response), (_save_current_selection),
2744 (_restore_current_selection), (_clean_current_selection),
2745 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2746 Defined new functions in order to save the current internal selector
2747 selection previous open the dialog, in case that the use cancel the
2748 interaction, so the widget restores the previous selection.
2750 Fixes: NB#92032 (In calendar application, date values in 'new event'
2753 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2755 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2757 * src/hildon-button.c: Add a reference to the button examples in
2758 hildon-button-example.c
2760 * examples/hildon-button-example.c: Added examples of the most
2761 common button layouts.
2763 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2765 * src/hildon-app-menu.c (hildon_app_menu_show)
2766 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2768 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2770 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2772 * src/hildon-picker-dialog.c:
2773 (hildon_picker_dialog_init): Initialize the signal id for
2774 HildonTouchSelector::columns-changed.
2775 (+on_selector_columns_changed): Set up the interaction mode everytime a
2776 column is added or removed from the HildonTouchSelector.
2777 (_hildon_picker_dialog_set_selector): Connect to
2778 HildonTouchSelector::columns-changed and keep track of it.
2780 Make sure to update the interaction mode of the dialog everytime a
2781 column is added or removed in the HildonTouchSelector.
2783 Fixes: NB#93228 (Done button is not shown always in listpicker)
2785 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2787 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2788 a new ::columns-changed signal.
2789 (hildon_touch_selector_append_column): Emit ::columns-changed.
2790 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2792 Add a ::columns-changed signal, emitted when the number of columns in a
2793 HildonTouchSelector changes.
2795 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2797 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2798 (_hildon_picker_dialog_set_selector): Factor out the code
2799 to set up the dialog interaction mode.
2801 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2803 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2804 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2805 to signal_changed_id.
2807 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2809 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2812 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2814 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2815 Updated the logical ids related to ampm format, as now it is required to
2816 show it correctly localized even on languages with no default
2817 abbreviations for am or pm
2818 (_check_am_pm_format): check correctly the 24h format gconf property
2820 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2822 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2824 * src/hildon-button.c: Documentation updates.
2826 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2828 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2829 * src/hildon-caption.c: (hildon_caption_class_init):
2830 * src/hildon-color-button.c: (hildon_color_button_class_init):
2831 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2832 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2833 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2834 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2836 Remove deprecated GTK+ marshalers and replace them with the ones
2837 provided by GLib, for those available, add a marshaler for
2838 BOOLEAN:VOID, which is not available in GLib, and use it.
2840 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2842 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2843 the text from the previous column if there is no
2844 HildonTouchSelectorColumn::text-property set.
2846 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-button.h
2849 * src/hildon-button.c (hildon_button_set_property)
2850 (hildon_button_get_property, hildon_button_class_init)
2851 (hildon_button_set_style, hildon_button_get_style):
2852 New "style" property to change the visual appearance of the
2855 * src/hildon-picker-button.c (hildon_picker_button_new):
2856 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2858 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2859 HildonButton look like PickerButton)
2861 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2863 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2864 column while building the default string.
2866 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2868 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2869 scroll indicator by default.
2871 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2873 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2875 * src/hildon-main.c: Fix the documentation for hildon_init()
2877 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2879 * doc/hildon-docs.sgml
2883 * src/hildon-window-stack-private.h
2884 * src/hildon-window-stack.h
2885 * src/hildon-window-stack.c:
2886 New HildonWindowStack object, that adds support for multiple
2887 stacks of windows per process.
2889 * src/hildon-stackable-window-private.h
2890 * src/hildon-stackable-window.h
2891 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2892 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2893 (hildon_stackable_window_show, hildon_stackable_window_hide)
2894 (hildon_stackable_window_class_init)
2895 (hildon_stackable_window_init):
2896 Use HildonWindowStack for stack management.
2898 * src/hildon-program.c (hildon_program_pop_window_stack)
2899 (hildon_program_peek_window_stack)
2900 (hildon_program_go_to_root_window):
2901 Add a fallback implementation to the deprecated functions using
2904 * examples/hildon-stackable-window-example.c:
2905 Use the new HildonWindowStack API.
2907 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2909 * src/hildon-stackable-window-private.h
2910 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2911 (hildon_stackable_window_hide, hildon_stackable_window_init):
2912 Remove all window stack management.
2914 * src/hildon-program-private.h
2915 * src/hildon-program.h
2916 * src/hildon-program.c (hildon_program_init)
2917 (hildon_program_pop_window_stack)
2918 (hildon_program_peek_window_stack)
2919 (hildon_program_go_to_root_window):
2920 Remove all window stack management and mark functions as
2923 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2925 * src/hildon-app-menu.c (hildon_app_menu_realize):
2926 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2928 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2930 * configure.ac: post release version bump
2931 * debian/changelog: version bump
2933 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2938 * configure.ac: bump version
2939 * debian/changelog: updates
2941 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2943 Based on initial code by Christian Dywan (christian@imendio.com)
2945 * doc/hildon-docs.sgml: Add section for hildon-main.
2946 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2947 * src/Makefile.am: Add new hildon-main.[ch]
2948 * src/hildon-defines.h: Update the icon sizes.
2949 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2950 new library initialization files and register icon sizes.
2951 * src/hildon-main.h: New declarations.
2952 * src/hildon.h: Include hildon-main.h
2954 Add new initialization functions to the library. These methods
2955 will register the hildon specific icon sizes and can be used in the
2956 future for other hildon specific bits.
2958 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2960 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2962 * src/hildon-window.c: (hildon_window_realize),
2963 (hildon_window_notify), (-hildon_window_update_title): Do not set
2964 the application name in the window title.
2966 Fixes: NB#89754 (Applications shouldn't display their names in the
2969 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2971 * src/hildon-note-private.h:
2972 * src/hildon-note.c: (hildon_note_set_property),
2973 (hildon_note_get_property), (hildon_note_class_init),
2974 (hildon_note_init), (hildon_note_finalize),
2975 (hildon_note_new_confirmation_with_icon_name),
2976 (hildon_note_new_information_with_icon_name):
2978 No need to mark as deprecated the actual code. Revert
2979 to avoid missing symbols in widgets using deprecated API.
2981 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2983 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2985 * src/hildon-volumebar.h
2986 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2987 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2989 * src/hildon-helper.h
2990 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2991 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2993 * examples/Makefile.am:
2994 Deprecate hildon-insensitive-example
2996 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2998 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3000 * examples/hildon-pannable-area-buttons-scroll-example.c:
3001 Make all buttons finger height
3003 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3005 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3007 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3008 update the day model only if it is really required, and to avoid the
3009 full-reconstruction aproach. Now it only add or remove the required days.
3011 The purpose of this is avoid superfluous HildonTouchSelector::changed
3014 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3015 with strange parameters)
3017 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3019 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3021 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3022 the WINDOW_TYPE property.
3024 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3026 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3029 Fix dependency to allow parallel compilation with make -jX
3031 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3033 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3034 color frame and some minor tweaks to make it more consistent with
3037 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3038 highlighted but not visible)
3040 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3042 * examples/Makefile.am: Fixed typo in the Makefile.am.
3044 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3046 Reviewed the use of MAEMO_GTK define, now we add the define in the
3047 compilation line, and we also add it to the pc file.
3049 * configure.ac: Added MAEMO_GTK define to the compilation command
3050 and removed it from the config.h.
3052 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3053 do not have to take care about this define if the library was
3057 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3059 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3061 * examples/Makefile.am,
3062 * examples/hildon-pannable-area-buttons-scroll-example.c,
3063 * examples/hildon-pannable-area-gesture-signals-example.c,
3064 * examples/hildon-pannable-area-scroll-jump-example.c,
3065 * examples/hildon-pannable-area-tree-view-example.c:
3066 Renamed the pannable area examples, now they have more meaningful
3069 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3071 * src/hildon-touch-selector.c:
3072 (hildon_touch_selector_set_column_selection_mode): Used of
3073 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3074 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3075 to avoid re-seting the same selection mode.
3077 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3078 breaks HildonPickerDialog)
3080 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3082 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3083 conditional in the Makefile.am
3085 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3087 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3088 Remove unused methods.
3090 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3092 * src/hildon-button.c (hildon_button_init):
3093 Make button images center-aligned by default
3095 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3098 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3099 activated, we have to think about how to deal with both defines
3100 MAEMO_GTK and MAEMO_CHANGES.
3102 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3104 * examples/hildon-app-menu-example.c (create_menu): Make all
3105 buttons finger size.
3107 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3109 Fixed the compilation without maemo gtk adding ifdefs with
3110 MAEMO_GTK define to the code, we have to check this version more
3113 * examples/Makefile.am: Added control to avoid some examples that
3114 just make sense with maemo gtk.
3117 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3118 hildon modes with the define.
3120 * examples/hildon-edit-toolbar-example.c,
3121 (create_icon_view): Create the icon view without hildon-gtk
3122 helpers if we are not using maemo gtk.
3124 * src/hildon-touch-selector.c,
3125 (_create_new_column): Create the treeview without hildon-gtk
3126 helpers if we are not using maemo gtk.
3128 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3130 * src/hildon-pnnable-area.c,
3131 (hildon_pannable_area_dispose),
3132 (hildon_pannable_area_button_press_cb),
3133 (hildon_pannable_area_child_mapped),
3134 (hildon_pannable_area_add),
3135 (hildon_pannable_area_remove): Added code to control the position
3136 of the event_window when adding and removing children from the
3137 pannable. We have to raise the event window when the child is
3140 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3141 selection mode using custom widget inside pannable)
3143 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3145 * configure.ac: post release version bump
3146 * debian/changelog: version bump
3148 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3153 * configure.ac: bump version
3154 * debian/changelog: updates
3156 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3158 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3159 search mode, in order to avoid lose the focus on the treeview when
3160 a hw key (like enter) is pressed.
3162 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3163 in HildonDateSelector dialog)
3165 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3167 * debian/rules: Added --enable-maintainer-mode
3168 * Makefile.am: Added ACLOCAL_AMFLAGS
3170 This allows to properly regenerate the Makefiles if you modify the
3171 configure.ac or any Makefile.am.
3173 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3175 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3176 properties, not needed at all.
3178 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3180 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3182 * src/hildon-note.c: (hildon_note_set_property),
3183 (hildon_note_get_property), (hildon_note_class_init),
3184 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3185 (hildon_note_new_confirmation_add_buttons): Remove icons.
3186 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3187 (hildon_note_new_information_with_icon_name): Deprecate.
3188 (hildon_note_new_confirmation): Act directly, without calling
3189 the deprecated constructor.
3190 (hildon_note_new_information): Act directly, without calling
3191 the deprecated constructor.
3192 * src/hildon-note.h: Mark deprecate methods as such.
3193 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3194 not run tests on the deprecated methods if built with deprecation
3197 Fixes: NB#91688 (Never show icons in information notes/confirmation
3200 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3202 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3203 (hildon_app_menu_key_press): Remove leftover usage of the
3204 private structure in HildonAppMenu struct.
3205 * src/hildon-app-menu.h: Remove leftover private structure
3206 from the HildonAppMenu struct.
3208 Fixes a crasher when using the HildonAppMenu.
3210 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3212 * src/hildon-picker-dialog.c: Use appropriate logical id
3213 for the default "Done" text.
3215 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3217 * configure.ac: post release version bump
3218 * debian/changelog: version bump
3220 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3222 Modified the way to scroll to the current selection just when the touch
3223 selector is shown on the screen, avoiding a g_idle. Added too a property
3224 to configure this behaviour. See hildon_pannable_area_jump_to_child
3225 documentation for more information.
3227 * src/hildon-touch-selector.c
3228 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3229 Added 'initial-scroll' property
3230 (hildon_touch_selector_set_property): Added
3231 (hildon_touch_selector_map): Removed as not required anymore
3232 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3233 only a concrete column, instead of iterate along all the columns
3235 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3240 * configure.ac: bump version
3241 * debian/changelog: updates
3243 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3245 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3246 compilation time warnings.
3248 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3250 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3251 the default value for HildonPannableArea::mov-mode to
3252 HILDON_PANNABLE_AREA_MODE_VERT.
3254 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3256 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3258 Reverting following commit:
3260 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3262 * src/hildon-app-menu-private.h
3263 * src/hildon-app-menu.[ch]
3264 * src/hildon-button.[ch]
3265 * src/hildon-check-button.[ch]
3266 * src/hildon-entry.[ch]
3267 * src/hildon-pannable-area.[ch]
3268 * src/hildon-text-view.[ch]:
3269 Added private field to the object's structure.
3271 because it causes an ABI breakage. We will need to introduce these
3272 changes later at some point. See NB#91636 for an extensive
3273 explanation and status.
3275 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3277 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3279 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3280 remove special cases that are no longer necessary.
3282 Fixes: NB#91016 (Change toolbar sizes, simplification)
3284 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3286 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3287 is shown in the cancel note.
3289 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3291 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3292 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3293 (hildon_seekbar_init): Remove steppers, remove expose event.
3294 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3296 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3298 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3301 label font to "SmallSystemFont" for vertically arranged buttons.
3303 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3306 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3308 * src/hildon-check-button.c
3309 (hildon_check_button_set_active, hildon_check_button_clicked):
3310 Don't access private parts directly, use getters instead.
3312 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-check-button.c (hildon_check_button_new):
3315 Align the contents of the check button to the left.
3317 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3319 * src/hildon-pannable-area.c,
3320 (hildon_pannable_area_scroll_to),
3321 (hildon_pannable_area_jump_to),
3322 (hildon_pannable_area_scroll_to_child),
3323 (hildon_pannable_area_jump_to_child): Replace the mapped
3324 precondition of these functions with the realized, it is the
3325 correct state of the widget in this case. Changed the
3326 documentation according to this modification.
3328 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3330 Added a new EXTRA_CFLAGS option to add the deprecated define to
3331 the compilation command. This way we can avoid using the define in
3332 the documentation compilation.
3334 * configure.ac: Defined EXTRA_CFLAGS.
3336 * examples/Makefile.am:
3338 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3340 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3342 * src/hildon-picker-dialog.c:
3343 Defined a utility macro with the desired touch selector height
3344 Removed currently unused separator, and title_label variables from
3346 (hildon_picker_dialog_init): Removed code related to the creation
3347 of unused private variables title_label and separator.
3348 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3349 to ensure correct visualization of the touch selector inside the dialog.
3350 * src/hildon-touch-selector.c
3351 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3352 ensure a concrete height of the widget.
3354 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3357 * tests/Makefile.am:
3359 Remove spurious whitespaces.
3361 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3363 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3364 compilation warning after the cancel button removal.
3366 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3368 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3370 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3371 Makefile.am, that way we can choose not to compile some examples
3372 and tests of the deprecated widgets.
3374 * examples/Makefile.am: Divided the sources in deprecated and
3377 * src/Makefile.am: Added undef statement of the deprecated
3378 symbol to the enums file generation process.
3380 * src/hildon-color-chooser-dialog.c
3381 * src/hildon-color-chooser-dialog.h
3382 * src/hildon-color-button.c
3383 * src/hildon-color-button.h
3384 * src/hildon-color-chooser.c
3385 * src/hildon-color-chooser.h
3386 * src/hildon-controlbar.c
3387 * src/hildon-controlbar.h
3388 * src/hildon-date-editor.c
3389 * src/hildon-date-editor.h
3390 * src/hildon-hvolumebar.c
3391 * src/hildon-hvolumebar.h
3392 * src/hildon-private.c
3393 * src/hildon-private.h
3394 * src/hildon-range-editor.c
3395 * src/hildon-range-editor.h
3396 * src/hildon-seekbar.c
3397 * src/hildon-seekbar.h
3398 * src/hildon-time-editor.c
3399 * src/hildon-time-editor.h
3400 * src/hildon-time-picker.c
3401 * src/hildon-time-picker.h
3402 * src/hildon-volumebar.c
3403 * src/hildon-volumebar.h
3404 * src/hildon-vvolumebar.c
3405 * src/hildon-vvolumebar.h
3406 * src/hildon-bread-crumb-trail.h
3407 * src/hildon-bread-crumb-trail.c
3408 * src/hildon-calendar-popup.c
3409 * src/hildon-calendar-popup.h
3410 * src/hildon-weekday-picker.c:
3411 * src/hildon-weekday-picker.h:
3412 * src/hildon-bread-crumb-widget.c:
3413 * src/hildon-bread-crumb-widget.h:
3414 * src/hildon-bread-crumb.c:
3415 * src/hildon-bread-crumb.h:
3416 * src/hildon-calendar.c:
3417 * src/hildon-calendar.h:
3418 * src/hildon-caption.c:
3419 * src/hildon-code-dialog.c:
3420 * src/hildon-code-dialog.h:
3421 * src/hildon-font-selection-dialog.c:
3422 * src/hildon-font-selection-dialog.h:
3423 * src/hildon-get-password-dialog.c:
3424 * src/hildon-get-password-dialog.h:
3425 * src/hildon-login-dialog.c:
3426 * src/hildon-login-dialog.h:
3427 * src/hildon-number-editor.c:
3428 * src/hildon-number-editor.h:
3429 * src/hildon-set-password-dialog.c:
3430 * src/hildon-set-password-dialog.h:
3431 * src/hildon-sort-dialog.c:
3432 * src/hildon-sort-dialog.h: This is the list of deprecated
3435 * src/hildon-touch-selector.c:
3436 * src/hildon-window.c: Added undef statement to avoid compilation
3439 * tests/Makefile.am: Divided the sources in deprecated and
3442 * tests/check_test.c,
3443 (configure_tests): Marked the deprecated code that was adding
3444 suites with deprecated tests.
3446 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3448 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3450 * src/hildon-touch-selector.c: (_default_print_func): Do not
3451 duplicate a string returned by gtk_tree_model_get(), it is already
3454 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3457 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3459 * src/hildon-pannable-area.c
3460 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3461 method, it had problems when adding a widget with viewport the
3462 second time. Now checks if it already has a viewport and uses it.
3464 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3467 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3469 * src/hildon-pannable-area.c,
3470 (hildon_pannable_area_scroll_to),
3471 (hildon_pannable_area_jump_to),
3472 (hildon_pannable_area_scroll_to_child),
3473 (hildon_pannable_area_jump_to_child): Added a precondition to the
3474 scroll and jump to functions: the widget must be mapped before we
3475 can safely call these functions. We have also added documentation
3476 to the functions to explain how to use them in this situation.
3479 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3481 Reviewed the threading handling of the pannable widget, we have
3482 used the gdk_threads_add_timeout function instead of the usual
3483 glib handlers. This avoids some problems with the threads.
3485 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3486 (hildon_pannable_area_initial_effect),
3487 (hildon_pannable_area_scroll_indicator_fade),
3488 (hildon_pannable_area_button_press_cb),
3489 (hildon_pannable_area_timeout),
3490 (hildon_pannable_area_motion_notify_cb),
3491 (hildon_pannable_area_button_release_cb),
3492 (hildon_pannable_area_scroll_cb),
3493 (hildon_pannable_area_scroll_to): Removed the
3494 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3495 gdk_threads_add_timeout.
3497 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3499 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3504 * configure.ac: bump version
3505 * debian/changelog: updates
3507 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3509 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3510 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3511 * src/hildon-color-chooser-dialog.c:
3512 (hildon_color_chooser_dialog_init):
3513 * src/hildon-font-selection-dialog.c:
3514 (hildon_font_selection_dialog_init):
3515 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3517 Remove all cancel/close-like dialogs, as these are not going to be
3520 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3522 * src/hildon-note.c: (hildon_note_rebuild),
3523 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3526 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3528 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3531 sure all buttons are shown, even the Cancel/Close-like ones.
3533 Fixes: NB#90861 (Custom Confirmation dialogs should be
3534 protected from cancel button removal)
3536 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3538 * debian/control: Change libhildon1-examples dependency from libhildon1
3540 * debian/libhildon1-examples.install
3542 * Makefile.am: Modified the final install directory for the examples on
3543 package libhildon1-examples
3544 * Makefile.static: Update clean target in order to remove all the binary
3547 Changes suggested by Claudio after review new libhildon1-examples package
3549 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3551 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3552 * src/hildon-touch-selector.c: Ditto.
3554 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3556 * debian/control: Added new package libhildon1-examples, in order to pack
3557 the current hildon examples as documentation
3558 * debian/rules: Not to compress .c files, modify some includes on the
3559 examples (as normally are compiled locally, but when installed it will
3560 require to include the installed libhildon1 library), and rename
3562 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3563 install all the example files on the new example package
3564 * examples/Makefile.static: Added static makefile that can be used to
3565 compile the examples, once installed the new example package
3566 * examples: Most of the examples were modified in order to grant that
3567 all use only '#include "hildon.h"', in order to be easy to prepare
3568 it on the example package
3570 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3573 * debian/libhildon1-dev.install
3574 * debian/libhildon1-doc.install:
3575 Move all gtk-doc files to a separate libhildon1-doc package.
3577 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3579 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3581 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3583 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3585 * debian/rules: Fixed a error in order to avoid unnecessary calls
3586 to autogen.sh on package building
3588 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3590 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3592 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3594 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3597 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3599 * src/hildon-picker-button.c
3600 (hildon_picker_button_finalize):
3601 Free priv->done_button_text
3603 * src/hildon-time-button.c
3604 (hildon_time_button_set_time)
3605 * src/hildon-picker-button.c
3606 (hildon_picker_button_clicked)
3607 (hildon_picker_button_selector_selection_changed)
3608 (hildon_picker_button_set_selector)
3609 * src/hildon-date-button.c
3610 (hildon_date_button_set_date):
3611 Free strings returned by hildon_touch_selector_get_current_text()
3613 * src/hildon-button.c (hildon_button_construct_child):
3614 Fix leaks in priv->image and priv->label_box
3616 Fixes: NB#90535 (Memory leak in picker button)
3618 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3620 * src/hildon-button.c: (hildon_button_get_property): Do not access
3621 private elements directly, use getters instead.
3623 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3625 * src/hildon-app-menu-private.h
3626 * src/hildon-app-menu.c
3627 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3628 Store the menu's parent window.
3630 * src/hildon-stackable-window.c
3631 (hildon_stackable_window_toggle_menu)
3632 (hildon_stackable_window_finalize):
3633 Set the menu's parent window when the menu is shown, unset it when
3636 * src/hildon-app-menu.c
3637 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3638 (hildon_app_menu_class_init):
3639 Send unhandled keyboard accelerators to the parent window.
3641 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3643 * src/hildon-stackable-window.c
3644 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3646 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3648 * configure.ac: post release version bump
3650 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3653 * configure.ac: Bump version
3654 * debian/changelog: Updates
3655 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3658 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3660 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3663 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3664 GtkMenu with Hildon style.
3666 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3668 * src/hildon-picker-button.c:
3669 (hildon_picker_button_set_done_button_text): Set the dialog's
3670 done button text here as well.
3672 Fixes: NB#90232 (Picker button does not set the label on done button
3673 for the second time)
3675 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3677 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3680 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3682 * src/hildon-app-menu.c (hildon_app_menu_insert)
3683 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3684 the HildonAppMenu to be activatable using keyboard accelerators
3685 when the menu is not being shown.
3687 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3689 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3691 * src/hildon-stackable-window.c
3692 (hildon_stackable_window_show):
3693 Don't hide old windows automatically when new windows are shown:
3694 this is now a task for the window manager.
3695 (hildon_stackable_window_class_init)
3696 (hildon_stackable_window_hide):
3697 Remove windows from the stack everytime they're hidden.
3698 (hildon_stackable_window_realize):
3699 Don't change the _NET_WM_WINDOW_TYPE property. Use
3700 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3701 it as a stackable window.
3703 * src/hildon-program.c
3704 (hildon_program_pop_window_stack):
3705 Just hide the window to remove it from the stack.
3706 (hildon_program_go_to_root_window):
3707 Don't call gtk_widget_show(), this is now a task for the window
3710 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3712 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3714 * src/hildon-button.c
3715 (hildon_button_construct_child):
3716 Don't pack anything in the button until text or image are
3717 set. This allows adding a custom child after creating the button
3718 with hildon_button_new().
3719 (hildon_button_finalize, hildon_button_class_init)
3720 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3721 alignment and the label box even when they're not packed in the
3724 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3726 * src/hildon-touch-selector.h:
3727 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3728 currently the type definition was using GTK_TYPE_VBOX
3729 * src/hildon-touch-selector.c:
3730 Added some implementation notes in order to clarify that any other widget
3731 added without the column related API will not be included on the
3732 selection logic, and how the widget is freed, as some people ask about
3734 (hildon_touch_selector_remove): Reimplemented in order to free properly
3735 the column related data when you remove the private hbox.
3736 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3737 to get a proper HildonTouchSelectorColumn documentation
3739 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3741 * src/hildon-touch-selector-entry.c:
3742 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3743 text in the GtkEntry and there is no item selected. Fixes a
3746 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-app-menu-private.h
3749 * src/hildon-app-menu.[ch]
3750 * src/hildon-button.[ch]
3751 * src/hildon-check-button.[ch]
3752 * src/hildon-entry.[ch]
3753 * src/hildon-pannable-area.[ch]
3754 * src/hildon-text-view.[ch]:
3755 Added private field to the object's structure.
3757 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3759 * configure.ac: post-release version bump
3761 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3765 * configure.ac: pre-release version bump
3767 * debian/changelog: updates.
3769 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3771 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3772 Disconnect the handler for HildonTouchSelector::changed.
3774 (hildon_picker_button_selector_selection_changed): Update the button
3775 value if the selection change was not triggered by the
3778 (hildon_picker_button_set_selector): connect to
3779 HildonTouchSelector::changed.
3781 Fixes: NB#89650 (Picker button is not updated, when selection in
3782 selector has changed)
3784 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3786 * src/hildon-picker-dialog.c
3787 (hildon_picker_dialog_realize): Removed as not required
3788 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3789 * src/hildon-picker-button.c
3790 (_current_selector_empty): New function, checks if the selector is empty
3791 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3792 if the current selector is empty, in order to avoid to show the dialog
3793 close the dialog in this case (and shows a g_warning).
3795 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3797 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3799 * src/hildon-pannable-area.c,
3800 (hildon_pannable_area_scroll): Added clause to stop movement when
3801 the child of pannable is smaller than one page.
3802 (hildon_pannable_area_scroll_to): Added conditions to avoid
3803 starting the scrolling movement if the child is smaller than one
3804 page, the complete child is in the screen, we do not have to move.
3806 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3808 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3810 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3811 this is managed automatically by the widget when the size of the
3814 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3816 * src/hildon-picker-button.c
3817 (hildon_picker_button_set_done_button_text): Make a copy of the
3818 text, and free the previous value.
3820 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3822 * src/hildon-touch-selector-entry.c:
3823 (hildon_touch_selector_entry_print_func): Return the selected row's
3824 text if the entry is empty.
3826 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3829 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3831 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3833 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3836 * src/hildon-check-button.h
3837 * src/hildon-check-button.c
3838 * examples/hildon-check-button-example.c:
3839 HildonCheckButton is now a new widget. 'toggled' signal added.
3841 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3843 * src/hildon-program-private.h
3844 * src/hildon-program.c (hildon_program_init)
3845 (hildon_program_finalize): Removed unused variables group_leader
3846 and name from HildonProgramPrivate.
3848 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3850 * src/hildon-check-button.c (hildon_check_button_set_active)
3851 (hildon_check_button_get_active, hildon_check_button_new): Use
3852 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3854 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3856 * src/hildon-touch-selector.h
3857 (hildon_touch_selector_set_column_attributes): added deprecation
3858 guard HILDON_DISABLE_DEPRECATED
3859 * src/hildon-time-selector.c
3860 (hildon_time_selector_set_time)
3861 (hildon_time_selector_get_time): Fixed a typo on documentation
3862 * src/hildon-touch-selector.c: update HildonTouchSelector and
3863 HildonTouchSelectorColumn documentation
3864 * src/hildon-touch-selector-entry.c: update "text-column" property
3866 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3867 to be added to the general documentation.
3869 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3871 * examples/hildon-pannable-area-example-4.c,
3873 * examples/hildon-pannable-area-example.c,
3874 (main): Modified the code in order to use the container add, with
3875 viewport treeviews could have problems if they are really big.
3877 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3879 * src/hildon-weekday-picker.c,
3880 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3881 the agreement regarding deprecation in the library.
3883 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3885 * examples/hildon-picker-button-multicolumn-example.c:
3886 (main): Use custom "done" button text.
3888 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3889 (hildon_picker_button_set_property),
3890 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3891 (hildon_picker_button_init),
3892 (+hildon_picker_button_get_done_button_text),
3893 (+hildon_picker_button_set_done_button_text): New methods to customize
3894 the "done" button label in the launched HildonPickerDialog. Also,
3897 * src/hildon-picker-button.h: add the public API.
3899 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3901 * src/hildon-date-selector.h:
3902 * src/hildon-picker-dialog.h:
3903 * src/hildon-time-selector.h:
3904 * src/hildon-touch-selector-column.h:
3905 * src/hildon-touch-selector.h:
3907 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3908 declarations. Fixes gtk-doc warnings.
3910 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3912 * src/hildon-picker-dialog.h
3913 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3914 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3916 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3917 long text is set as label for done button)
3919 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3921 * src/hildon-dialog.c (hildon_dialog_add_button):
3922 Set fixed width to all buttons in the HildonDialog.
3924 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3926 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3928 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3929 Set widget name using class name plus "-finger" or "-thumb".
3931 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3933 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3934 'clicked' when the state of the button is manually changed.
3936 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3938 * src/hildon-app-menu.c (hildon_app_menu_realize)
3939 (hildon_app_menu_unrealize, hildon_app_menu_init)
3940 (hildon_app_menu_class_init, item_visibility_changed):
3941 Change the menu layout when the size of the screen changes.
3942 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3943 Show warning only when changing the number of colums using the
3946 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3948 * debian/compat: Set to 5
3949 * debian/control: Update dependencies.
3950 * debian/libhildon1-dbg.install: Remove.
3951 * debian/libhildon1-dev.install: Update according to cdbs paths.
3952 * debian/libhildon1.install: Update according to cdbs paths.
3953 * debian/rules: Switch to cdbs.
3955 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3957 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3958 'item' variable renamed to 'filter'
3960 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3962 * src/hildon-app-menu.c (hildon_app_menu_insert)
3963 (hildon_app_menu_add_filter, remove_item_from_list)
3964 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3965 Don't leak hidden items when the menu is destroyed.
3967 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3969 * src/hildon-app-menu.c (hildon_app_menu_insert)
3970 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3971 (hildon_app_menu_set_columns, item_visibility_changed)
3972 (filter_visibility_changed, hildon_app_menu_repack_filters)
3973 (hildon_app_menu_repack_items):
3974 Repack items and filters separately.
3976 Don't repack all items, change only the ones that are needed to
3979 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3981 * src/Makefile.am: added hildon-touch-selector-column.h
3983 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3985 * src/hildon-touch-selector.c: added the property "text-column" to the
3986 class HildonTouchSelectorColumn, and related get/set functions
3987 (_default_printf_func): updated to use "text-column" property
3988 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3989 "text-column" in his documentation, as this is now included on
3990 HildonTouchSelectorColumn. The get/set_property can still be used,
3991 working as a wrapper to the concrete column "text-column" property
3992 (_text_column_modified): callback added in order to handle the signal
3993 "notify::text-column" of the concrete HildonTouchSelectorColumn
3994 (hildon_touch_selector_entry_get_text_column)
3995 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3996 modified in order to use the HildonTouchSelectorColumn "text-column"
3998 * src/hildon-time-selector.c:
3999 * src/hildon-date-selector.c:
4000 * examples/hildon-touch-selector-example.c
4001 * examples/hildon-touch-selector-multi-cells-example.c
4002 * examples/hildon-picker-button-multicolumn-example.c
4003 Set the right value to "text-column" property on the creation of a new
4004 column using hildon_touch_selector_append_column()
4006 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4008 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4010 * src/hildon-app-menu.c
4011 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4012 updating the layout of the menu, don't create all widgets again,
4013 just repack the items in their new places.
4015 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4017 * src/hildon-time-selector.c
4018 (hildon_time_selector_get_time)
4019 (hildon_time_selector_set_time)
4020 Added documentation of these public methods
4022 * src/hildon-date-button.h
4023 * src/hildon-touch-selector-column.h
4024 * src/hildon-time-button.h
4025 * src/hildon-picker-dialog.h
4026 * src/hildon-time-selector.h
4027 * src/hildon-picker-button.h
4028 * src/hildon-touch-selector.h
4029 * src/hildon-time-picker.h
4030 * src/hildon-date-selector.h
4031 * src/hildon-touch-selector-entry.h
4032 Modified in order to use hildon-widgets code style
4034 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4036 Added deprecated support to the compilation process using
4037 HILDON_DISABLE_DEPRECATED
4039 * configure.ac: Added the --disable-deprecated to the configure
4042 * src/hildon-weekday-picker.c:
4043 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4044 to use the deprecated support. We will update the other deprecated
4045 widgets status in a new patch.
4047 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4049 * configure.ac: Fixed typo with fatal warnings support, the
4050 variable name was not correct
4052 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4054 * src/hildon-app-menu.c
4055 * src/hildon-program.c: Update documentation.
4057 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4059 * configure.ac: Post-release version bump.
4061 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4066 * configure.ac: Pre-release version bump.
4067 * debian/changelog: Updates.
4069 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4071 * NEWS: Update news for previous releases.
4073 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4075 * examples/hildon-touch-selector-multi-cells-example.c:
4076 (create_selector): Update the example to use
4077 hildon_touch_selector_append_column() with a NULL renderer and set
4078 the renderers later.
4079 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4080 passed a NULL renderer. This is documented behavior now.
4082 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4083 This must be used if the developer wants full control on the layout of
4084 the renderers to be added to the column.
4086 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4088 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4090 * src/hildon-touch-selector.c: Documentation fixes.
4092 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4094 * src/hildon-wizard-dialog-private.h: Remove image and box.
4095 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4096 (hildon_wizard_dialog_set_property), (response): Completely remove
4097 image/icon support, and the containers required for the layout.
4099 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4101 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4103 * src/hildon-app-menu.c: Updated documentation.
4105 * src/hildon-stackable-window.c
4106 (hildon_stackable_window_set_main_menu): Unref the old menu after
4107 ref'ing the new one.
4109 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4111 * src/hildon-stackable-window.c
4112 (hildon_stackable_window_set_main_menu): Unref the previous menu
4113 instead of destroying it.
4115 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4116 floating reference and set has_user_ref_count to FALSE to make
4117 HildonAppMenu act like a normal ref-counted widget and not a
4120 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4123 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4125 * src/hildon-touch-selector-column.h: new file
4126 * src/hildon-touch-selector.h
4127 * src/hildon-touch-selector.c
4128 Implemented GtkCellLayout interface, in order to allow to configure
4129 the cell layout on each individual selector column
4130 (hildon_touch_selector_set_column_attributes): marked as deprecated
4131 * examples/hildon-touch-selector-multi-cells-example.c
4132 Example of how to use the GtkCellLayout interface on the selector
4134 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4136 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4138 * src/hildon-app-menu.h
4139 * src/hildon-app-menu.c
4140 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4141 (hildon_app_menu_append, hildon_app_menu_prepend):
4142 New methods to prepend, insert and move items in the menu.
4144 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4146 * src/hildon-wizard-dialog.c:
4148 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4150 (create_title): Update logical IDs and related code.
4151 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4153 * src/hildon-wizard-dialog.h: Note that
4154 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4155 point, as it is not used anymore.
4157 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4159 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4161 * src/hildon-note.c:
4162 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4163 shown. Do not display an icon in confirmation notes nor information
4165 (hildon_note_set_button_text): Update logical ID for cancel button.
4167 Fixes: NB#88850 (Update HildonNote button strings + signals)
4169 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4171 * src/hildon-stackable-window.c
4172 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4174 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4176 * src/hildon-app-menu-private.h
4177 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4178 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4179 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4180 temporary property 'columns' to change the number of columns.
4182 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4184 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4186 * examples/hildon-note-example.c: (on_information_clicked),
4187 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4188 debugging information.
4189 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4191 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4192 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4193 in order to close: this will be handled by the WM from now on.
4195 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4197 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4199 * src/hildon-app-menu-private.h
4200 * src/hildon-app-menu.c
4201 (hildon_app_menu_append, hildon_app_menu_add_filter)
4202 (button_visibility_changed, hildon_app_menu_apply_style)
4203 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4204 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4205 layout everytime a button (item or filter) is shown or hidden.
4207 * src/hildon-stackable-window.c
4208 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4211 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4213 * src/hildon-touch-selector.c:
4214 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4215 that the treeview inside the touch selector is in fremantle hildon mode
4216 * examples/hildon-date-button-example.c
4217 * examples/hildon-picker-button-multicolumn-example.c
4218 * examples/hildon-touch-selector-entry-example.c
4219 * examples/hildon-touch-selector-example.c
4220 * examples/hildon-time-button-example.c
4221 * examples/hildon-picker-button-example.c:
4222 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4224 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4226 * examples/hildon-text-view-example.c: (main): Remove the
4227 gtkrc bits, now handled by the theme.
4229 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4231 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4234 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4236 * po/Makefile.am: Install properly the mo files.
4237 * po/en_GB.po: Update translation, to ease testing purposes.
4239 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4241 * examples/hildon-picker-button-example.c: (main): Select an item
4242 in the selector before setting it to the button.
4244 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4247 Update button's value if the selector has an item active.
4249 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4250 'value' with the selector)
4252 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4254 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4255 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4256 (hildon_picker_button_class_init): Plug the finalize method.
4257 (hildon_picker_button_set_selector): If there's a previously set
4258 selector, unref'it before setting a new one.
4260 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4261 HildonTouchSelector)
4263 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4265 * src/hildon-touch-selector-entry.c:
4266 (hildon_touch_selector_entry_changed): Check if there is no text
4267 selected before setting the entry text.
4270 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-touch-selector.h
4273 * src/hildon-touch-selector.c
4274 (hildon_touch_selector_get_active)
4275 (hildon_touch_selector_set_active): New methods to set/get the
4276 index of the selected item.
4278 * src/hildon-picker-button.h
4279 * src/hildon-picker-button.c
4280 (hildon_picker_button_get_active)
4281 (hildon_picker_button_set_active): New methods to set/get the
4282 index of the selected item.
4284 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4286 * configure.ac: post-release version bump.
4288 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4292 * configure.ac: Pre-release version bump.
4293 * debian/changelog: Updates.
4294 * debian/control: Add myself as maintainer and depend on l10n
4297 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4299 * src/hildon-window.c
4300 (hildon_window_set_main_menu)
4301 * src/hildon-stackable-window.c
4302 (hildon_stackable_window_set_main_menu):
4303 Updated documentation.
4305 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4307 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4308 Don't free selector->priv manually.
4311 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4314 (hildon_gtk_window_set_progress_indicator):
4315 * src/hildon-gtk.h: Added the new API
4316 hildon_gtk_window_set_progress_indicator, it changes the state of
4317 the window progress hint.
4319 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4321 * src/hildon-button.c
4322 * src/hildon-stackable-window.c: Minor documentation updates.
4324 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4326 * src/hildon-stackable-window.c: Updated documentation.
4328 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4330 * src/hildon-defines.h: Update margins definitions
4331 to the Fremantle sizes.
4334 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4336 * src/hildon-touch-selector.c,
4337 (_hildon_touch_selector_set_model): Cleaning the code after
4338 review, removed g_print and #if 0 from the code.
4340 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4342 * src/hildon-edit-toolbar.c: Update documentation.
4344 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4346 * src/hildon-check-button.h
4347 * src/hildon-check-button.c
4348 (hildon_check_button_set_label, hildon_check_button_get_label)
4349 * examples/hildon-check-button-example.c
4350 (button_clicked_cb):
4351 Removed deprecated methods.
4353 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4355 * src/hildon-text-view.c:
4356 Add sample code to the documentation.
4358 * src/hildon-entry.h
4359 * src/hildon-text-view.h:
4360 Minor cosmetic changes.
4362 * src/hildon-entry.c:
4363 Add sample code to the documentation.
4364 (hildon_entry_init, hildon_entry_refresh_contents):
4365 Don't allow NULL values in the placeholder.
4367 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4369 * doc/hildon-docs.sgml
4371 * examples/Makefile.am
4372 * examples/hildon-text-view-example.c
4374 * src/hildon-text-view.c
4375 * src/hildon-text-view.h
4377 New HildonTextView widget, with example.
4379 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4381 * po/POTFILES.in: Add missing files with translatable strings.
4382 Partially fixes NB#88287.
4384 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4386 * examples/hildon-pannable-area-example-2.c: (main): No need to
4387 set the cellrenderer height inside hildon touch lists, the theme does
4390 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4392 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4393 they are integrated in the theme.
4395 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4397 * examples/hildon-entry-example.c: Update the example adding
4398 widgets to modify the text and the placeholder of the HildonEntry.
4400 * src/hildon-entry.c: Show the placeholder everytime the widget
4401 is empty and loses the focus.
4403 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4405 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4407 * src/hildon-pannable-area.c,
4408 (hildon_pannable_area_size_request): Fixed bug in height
4409 requisition, avoid increasing size and add border twice.
4411 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4413 * configure.ac: postrelease version bump.
4415 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4419 * configure.ac: Prerelease version bump.
4420 * debian/changelog: update.
4421 * debian/rules: make -dbg package contain useful debugging symbols.
4423 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4425 * src/hildon-dialog.h
4426 * src/hildon-dialog.c
4427 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4428 New methods to add buttons with finger size.
4429 (hildon_dialog_new_with_buttons):
4430 Create buttons with finger size.
4432 * examples/hildon-dialog-example.c (main): Use HildonDialog
4433 methods to add buttons.
4435 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4437 * src/hildon-entry.c: Updated HildonButton documentation.
4439 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4441 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4442 button value label with (FALSE, FALSE) to prevent NB#88126 from
4445 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4447 * examples/hildon-pannable-area-example.c,
4448 (main): Removed examples panning a vbox inside a pannable
4449 area. Check bug NB#87965
4451 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4453 Patch contributed by Kris Rietveld (kris@imendio.com)
4455 * src/hildon-pannable-area.c,
4456 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4457 get_size and get_position, this saves an X server roundtrip.
4459 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4461 * doc/hildon-docs.sgml
4463 * examples/Makefile.am
4464 * examples/hildon-entry-example.c
4466 * src/hildon-entry.c
4467 * src/hildon-entry.h
4469 New HildonEntry widget, with example.
4471 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4473 * src/hildon-button.c (hildon_button_construct_child): Pack the
4474 image with expand == fill == FALSE. This is a workaround for a bug
4477 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4479 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4480 labels for the text column, to make it more look more dynamic.
4482 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4484 * src/hildon-time-selector.c
4485 Define gettext auxiliar macro N_
4486 (_create_minutes_model)
4487 (_create_hours_model)
4488 (_create_ampm_model): use of strftime in order to fill the model
4489 * src/hildon-date-selector.c
4490 (hildon_date_selector_finalize):
4491 (_locales_init): remove the logic related to get the name of the months
4492 using nl_langinfo, as it is not required anymore
4494 (_create_year_model)
4495 (_create_month_model)
4496 (_update_day_model): use of strftime in order to fill the model properly
4499 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4501 * src/hildon-button.h
4502 * src/hildon-button.c (hildon_button_get_image): New method to
4505 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4507 * src/hildon-touch-selector.c:
4508 (hildon_touch_selector_remove_column): Remove from the correct parent
4509 and also remove the list element and free it.
4512 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4514 * src/hildon-time-selector.c
4515 (_create_hours_model): change the range on 12h ampm format in order to use
4516 a 12-11 range instead of previous 01-12 range
4517 (hildon_time_selector_set_time): change the way to select the current time
4518 on 12h ampm format, due the change on the range
4519 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4522 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4524 * src/hildon-touch-selector.c
4525 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4526 in order to allow use this function on multiple row selection mode if
4527 the column is different that the first one
4530 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4532 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4533 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4535 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4537 * src/hildon-date-selector.h: clean some comments, now on the .c
4538 * src/hildon-date-selector.c
4539 (hildon_date_selector_select_month): first implementation
4540 (hildon_date_selector_select_day): added documentation, reimplemented
4541 using hildon_date_selector_select_current_date to avoid repeat code
4544 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4546 Reviewed interaction logic based on device experiences, refactored
4549 * src/hildon-pannable-area.c,
4550 (hildon_pannable_area_class_init): Updated default vmax speed.
4551 (hildon_pannable_area_calculate_velocity): Added this function, it
4552 avoids duplicate valocity calculation. Adjusted calculation to
4553 avoid problems with zero dist events.
4555 (hildon_pannable_area_motion_notify_cb): Now we use the
4556 calculate_velocity function.
4558 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4560 * src/hildon-date-selector.c
4561 (hildon_date_selector_select_current_date): fix the day range check
4562 as it failed using the last day of the current month
4565 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4567 * src/hildon-touch-selector.c
4568 (hildon_touch_selector_get_num_columns): added a parameter validation
4571 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4573 * examples/Makefile.am
4574 * examples/hildon-edit-toolbar-example.c: Example of the
4575 HildonEditToolbar widget.
4577 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4579 * configure.ac: postrelease version bump.
4581 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4585 * configure.ac: prerelease version bump.
4586 * debian/changelog: update.
4588 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4590 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4591 renderer to display stock icons in the touch list. Also, set the sizes
4592 to the recommended in the style guide.
4594 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4595 * src/hildon-touch-selector.h
4596 (hildon_touch_selector_set_active_iter): renamed, now is
4597 hildon_touch_selector_select_iter
4598 (hildon_touch_selector_get_active_iter): renamed, now is
4599 hildon_touch_selector_get_selected
4600 (hildon_touch_selector_unselect_iter): added
4601 * src/hildon-touch-selector.c
4602 Update after API modification (methods renamed)
4603 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4604 order to avoid problems selecting multiple elements on the column
4605 (hildon_touch_selector_unselect_iter): added the implementation
4606 * src/hildon-time-selector.c
4607 * src/hildon-date-selector.c
4608 * src/hildon-touch-selector-entry.c
4609 Update methods calls after hildon-touch-selector.h API modification (methods
4612 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4614 * src/hildon-stackable-window.c
4615 (hildon_stackable_window_finalize): Call the parent class's finalize.
4617 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4619 * examples/hildon-touch-selector-example.c: (create_selector): Use
4620 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4623 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4625 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4626 set a cell background color, to respect theming.
4628 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4630 * doc/hildon-docs.sgml
4633 * src/hildon-edit-toolbar.c
4634 * src/hildon-edit-toolbar.h
4635 * src/hildon.h: New HildonEditToolbar widget.
4637 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4639 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4642 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4643 * src/hildon-touch-selector.c
4644 (_create_new_column): use g_object_set instead of two g_object_set_property
4646 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4647 * src/hildon-touch-selector.c
4648 (_create_new_column): use of hildon_gtk_tree_view_new to create
4649 the treeview, instead of use directly g_object_new
4650 (_create_new_column): update the property name "vindicator-mode" for the
4651 new one "vscrollbar-policy"
4652 * examples/hildon-date-button-example.c
4653 * examples/hildon-picker-button-multicolumn-example.c
4654 * examples/hildon-touch-selector-entry-example.c
4655 * examples/hildon-touch-selector-example.c
4656 * examples/hildon-time-button-example.c
4657 * examples/hildon-picker-button-example.c
4658 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4659 to all the treeviews inside a pannable area.
4661 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4663 * src/hildon-button.h
4664 * src/hildon-button.c (hildon_button_init)
4665 (hildon_button_set_arrangement, hildon_button_set_alignment)
4666 (hildon_button_set_title_alignment)
4667 (hildon_button_set_value_alignment)
4668 (hildon_button_set_image_alignment)
4669 (hildon_button_construct_child): New methods to set the alignment
4670 of the individual components of the button (title, value,
4671 image). Also, new method to alter the xscale and yscale properties
4672 of the GtkAlignment inside the button, so more complex layouts can
4675 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4677 * src/hildon-button.c (hildon_button_style_set)
4678 (hildon_button_class_init, hildon_button_set_arrangement)
4679 (hildon_button_construct_child): Apply style properties
4680 correctly. Use the 'image-spacing' style property too.
4682 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4684 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4685 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4688 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4690 * src/hildon-pannable-area.c,
4691 (hildon_pannable_area_size_request): Fixed problem with
4692 pannable-area size_request.
4694 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4696 Added management for the grab-focus to a child widget, like a
4697 range, we need to fade out the scrollbar when releasing.
4699 * src/hildon-pannable-area.c,
4700 (hildon_pannable_area_init): Connected the grab-focus signal to
4702 (hildon_pannable_area_grab_notify): Added this function in order
4703 to manage the situation when the grab-focus ends. We have to
4704 fade-out the scrollbar.
4706 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4708 * src/hildon-app-menu.c: Minor documentation update.
4710 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4712 * src/hildon-app-menu.c
4713 * examples/hildon-app-menu-example.c (create_menu): Update
4714 examples and documentation to explain how to connect callbacks.
4716 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4718 * examples/hildon-button-example.c
4719 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4720 hildon_stackable_window_new instead of gtk_window_new
4722 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4724 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4725 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4726 (hildon_pannable_area_set_property),
4727 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4728 (hildon_pannable_area_unrealize),
4729 (hildon_pannable_area_size_request),
4730 (hildon_pannable_area_size_allocate),
4731 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4732 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4733 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4734 (hildon_pannable_area_initial_effect),
4735 (hildon_pannable_area_redraw),
4736 (hildon_pannable_area_scroll_indicator_fade),
4737 (hildon_pannable_area_expose_event),
4738 (hildon_pannable_area_get_topmost), (synth_crossing),
4739 (hildon_pannable_area_button_press_cb),
4740 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4741 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4742 (hildon_pannable_area_motion_notify_cb),
4743 (hildon_pannable_area_button_release_cb),
4744 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4745 (hildon_pannable_area_remove),
4746 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4747 chage the code layout to a more GtkWidget like. Review the use of
4750 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4752 * examples/hildon-pannable-area-example-4.c,
4753 (main): Modified the name of the hindicator_mode to
4756 * src/hildon-pannable-area.c,
4757 (hildon_pannable_area_class_init),
4758 (hildon_pannable_area_motion_notify_cb),
4759 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4760 we have reduced the amount of signals and managed reviewed its
4761 rationale. Changed the default decelerate value.
4763 (hildon_pannable_area_add),
4764 (hildon_pannable_area_redraw): Refactored functions.
4766 (hildon_pannable_area_init),
4767 (hildon_pannable_area_get_property),
4768 (hildon_pannable_area_set_property):
4769 (hildon_pannable_draw_vscroll),
4770 (hildon_pannable_draw_hscroll),
4771 (hildon_pannable_area_initial_effect),
4772 (hildon_pannable_area_expose_event),
4773 (hildon_pannable_area_scroll),
4774 (hildon_pannable_area_button_press_cb),
4775 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4776 and vindicator_mode with hscrollbar_policy and
4777 vscrollbar_policy. Replaced hscroll and vscroll with
4778 hscroll_visible and vscroll_visible.
4780 (hildon_pannable_area_refresh): Refactor the function, remove
4781 variables and check the calls to this function, added resize
4782 conditions in case the children change their layout.
4784 (hildon_pannable_area_size_request): Added more detailed
4785 size_request calculation.
4788 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4790 * src/hildon-color-chooser.c
4791 (init_borders): use the correct gtk_border_free instead of g_free, to
4792 avoid a crash when this widget is used (ie: the three color selection
4795 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4797 * src/hildon-check-button.c,
4798 (hildon_check_button_set_active): Fixed problem when setting the
4799 active value, the widget was not redrawn.
4801 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4803 * src/hildon-pannable-area.c,
4804 (hildon_pannable_area_refresh),
4805 (hildon_pannable_area_scroll),
4806 (hildon_pannable_area_motion_notify_cb): Small code style change.
4808 (hildon_pannable_area_class_init): Default initial_hint set to
4809 FALSE, it is not in the specs.
4811 (hildon_pannable_area_initial_effect),
4812 (hildon_pannable_area_expose_event),
4813 (hildon_pannable_area_map),
4814 (hildon_pannable_area_init): Moved the launching point of the
4815 initial effect, it was in map but the sizes where not correct in
4816 that method so we do not know if we have the reproduce it. Now it
4817 is placed in the expose_event method and uses a variable to
4818 reproduce it just once.
4820 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4822 * src/hildon-pannable-area.c,
4823 (hildon_pannable_draw_vscroll),
4824 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4825 position allowed for the scrollbars.
4827 (hildon_pannable_area_size_allocate): Small style change.
4829 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4831 * src/hildon-pannable-area.c,
4832 (hildon_pannable_area_scroll_indicator_fade),
4833 (hildon_pannable_area_button_press_cb),
4834 (hildon_pannable_area_button_release_cb),
4835 (hildon_pannable_area_scroll_cb),
4836 (hildon_pannable_area_expose_event),
4837 (hildon_pannable_area_init): Added the define parameter
4838 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4839 and refactor the fade variable.
4841 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4843 * src/hildon-pannable-area.c,
4844 (hildon_pannable_area_redraw),
4845 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4846 lines, we were reimplemeting the redraw code.
4848 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4850 * src/hildon-pannable-area.c,
4851 (hildon_pannable_area_scroll_cb),
4852 (hildon_pannable_area_realize),
4853 (hildon_pannable_area_class_init): Added scroll_event management
4854 for pannable area, now we can scroll the usual desktop method.
4856 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4857 initialization of the parameters should depend on idle_id.
4859 (hildon_pannable_area_init),
4860 (hildon_pannable_area_map): Small code style modifications
4862 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4864 * src/hildon-pannable-area.c
4865 (hildon_pannable_area_button_press_cb),
4866 (hildon_pannable_area_motion_notify_cb),
4867 (hildon_pannable_area_button_release_cb),
4868 (hildon_pannable_area_size_allocate),
4869 (hildon_pannable_area_scroll_to): Improved the timeouts
4870 management, we avoid creating them each time.
4872 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4874 * src/hildon-pannable-area.c:
4875 (hildon_pannable_area_refresh),
4876 (hildon_pannable_area_motion_notify_cb),
4877 (hildon_pannable_area_class_init):
4878 * src/hildon-pannable-area.h:
4879 * src/hildon-touch-selector.c
4880 (_create_new_column):
4881 * examples/hildon-pannable-area-example-4.c:
4882 (horizontal_movement),
4883 (vertical_movement),
4885 Replaced the names of enums in the HildonPannableArea:
4886 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4887 HILDON_MOVEMENT_MODE_*
4888 - HILDON_PANNABLE_AREA_MOV_* ->
4890 - Removed HildonPannableAreaIndicatorMode, now we
4893 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4895 * examples/hildon-pannable-area-touch-grid-example.c
4896 * examples/hildon-pannable-area-touch-list-example.c: Fix
4897 compilation warnings.
4899 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-gtk.c (hildon_gtk_button_new)
4902 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4903 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4904 images overriding the value of the "gtk-button-images" setting.
4906 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4908 * src/hildon-check-button.c (hildon_check_button_new):
4909 Instead of using a custom container, display the label and the
4910 checkbox using the standard GtkButton API.
4912 * examples/hildon-check-button-example.c (main): Don't use
4913 hildon_check_button_set_label() anymore
4915 * src/hildon-check-button.h
4916 * src/hildon-check-button.c
4917 (hildon_check_button_set_label, hildon_check_button_get_label):
4918 Set as deprecated, now we're using gtk_button_{get,set}_label()
4920 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4922 * src/hildon-pannable-area.c,
4923 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4924 GtkTreeview first line we detected it after the inclusion of the
4925 GtkWindowImpl in gtk+. We now check if the window is visible, not
4926 just if the pointer is over the window.
4927 (hildon_pannable_axis_scroll),
4928 (hildon_pannable_area_expose_event): Small style changes.
4930 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-button.c: Update documentation.
4934 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4936 * examples/hildon-button-example.c: Add a switch to show images in
4939 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4941 * doc/hildon-docs.sgml: Some docs reorganization.
4943 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4945 * examples/hildon-pannable-area-touch-list-example.c
4947 * examples/hildon-pannable-area-touch-grid-example.c
4948 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4949 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4950 Fix memory leak when setting the tree model.
4952 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4956 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4958 * doc/hildon.types: Remove duplicated hildon_window_get_type
4959 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4960 documentation comment.
4962 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4964 * doc/Makefile.am: Complete list of private headers.
4966 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4968 * doc/hildon-docs.sgml
4969 * src/hildon-app-menu.c
4970 * src/hildon-bread-crumb.c
4971 * src/hildon-button.c
4973 * src/hildon-program.c
4974 * src/hildon-stackable-window.c
4975 * src/hildon-window.c: Lots of documentation updates.
4977 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4979 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4981 * configure.ac: Require Gtk+ 2.12.9 at least
4983 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4985 * src/hildon-pannable-area.c
4986 (hildon_pannable_area_scroll_indicator_fade),
4987 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4988 to protect the return of this timeout callbacks, avoiding deadlocks.
4990 2008-08-12 Christian Dywan <christian@imendio.com>
4993 * src/hildon-*.h: Ensure a consistent include order,
4994 include <gtk/gtk.h> instead of particular files and
4995 only include the topmost header in the gtk stack. See NB #39857
4997 2008-08-12 Christian Dywan <christian@imendio.com>
4999 * src/hildon-picker-dialog.c
5000 * src/hildon-touch-selector.c: Fix warnings about unused and
5001 uninitialized variables.
5003 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5005 * examples/Makefile.am
5006 * examples/hildon-check-button-example.c: Example of the hildon
5009 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5011 * src/hildon-window.h
5012 * src/hildon-window.c (hildon_window_class_init)
5013 (hildon_window_unset_program): Don't make
5014 hildon_window_unset_program a virtual function anymore.
5016 * src/hildon-stackable-window.c: Update documentation
5018 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5021 * doc/hildon-docs.sgml
5022 * doc/visual_index.xml
5023 * src/hildon-defines.c
5025 * src/hildon-helper.c
5026 * src/hildon-range-editor.c: Lots of documentation fixes.
5028 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5030 * examples/hildon-picker-button-multicolumn-example.c
5031 (create_touch_selector): Fix compilation warning.
5033 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5035 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5036 (hildon_pannable_area_button_release_cb)
5037 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5039 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5041 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5044 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5046 * src/hildon-bread-crumb-trail.h
5047 * src/hildon-date-editor.c
5048 * src/hildon-date-selector.c
5049 * src/hildon-pannable-area.c
5050 * src/hildon-picker-dialog.c
5051 * src/hildon-time-selector.c
5052 * src/hildon-touch-selector-entry.c
5053 * src/hildon-touch-selector.c
5054 * src/hildon-touch-selector.h: Misc documentation fixes
5056 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5058 * examples/hildon-date-editor-example.c (main): Updated date
5061 * examples/hildon-note-example.c (on_confirmation_clicked):
5062 Updated confirmation note example.
5064 * src/hildon-date-editor.c
5065 * src/hildon-note.c: Updated sample programs in documentation.
5068 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5070 * src/hildon-date-button.h:
5071 * src/hildon-picker-button.h:
5072 * src/hildon-time-button.c:
5073 * src/hildon-time-button.h:
5075 Some declarations changes to allow gtk-doc to document the widgets
5078 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5080 * src/hildon-date-button.c: Document the widget.
5081 * src/hildon-time-button.c: Document the widget.
5083 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5085 * src/hildon-picker-button.c: Document the widget.
5086 * src/hildon-touch-selector-entry.c: Document the widget.
5088 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5090 * doc/hildon-docs.sgml
5093 * src/hildon-check-button.h
5094 * src/hildon-check-button.c: New functions to create the Hildon
5098 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5100 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5102 * src/hildon-button.h
5103 * src/hildon-button.c
5104 (hildon_button_add_title_size_group)
5105 (hildon_button_add_value_size_group)
5106 (hildon_button_add_image_size_group)
5107 (hildon_button_add_size_groups): New functions to set size groups
5108 for the button labels and image.
5109 (hildon_button_new_full): Removed
5111 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5113 * src/hildon-time-selector.c
5114 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5115 in order to avoid a crash if gconf is not available
5117 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5119 * src/hildon-button.c (hildon_button_set_arrangement)
5120 (hildon_button_construct_child): Don't construct the button child
5121 before setting the arrangement.
5123 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5125 * src/hildon-program-private.h
5126 * src/hildon-program.c
5127 * src/hildon-program.h
5128 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5129 (hildon_program_peek_window_stack)
5130 (hildon_program_pop_window_stack)
5131 (hildon_program_go_to_root_window): HildonProgram now has a
5132 separate list for stackable windows. Functions are provided to
5133 manage that list with a stack-like API.
5135 * src/hildon-stackable-window.c: Stackable window management is
5136 now much simpler with the new HildonProgram API. Windows no
5137 longer need to be manually added to the program, they're
5138 automatically pushed to the top of the stack when shown.
5140 * examples/hildon-stackable-window-example.c: Updated example to
5141 reflect the API changes.
5143 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5145 * src/hildon-touch-selector.c: Comment out unimplemented
5146 hildon_touch_selector_insert_column() to avoid a compile warning.
5148 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5150 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5151 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5152 (hildon_touch_selector_set_column_selection_mode),
5153 (_hildon_touch_selector_set_model),
5154 (hildon_touch_selector_set_model):
5156 Complete review of HildonTouchSelector documentation.
5158 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5160 * doc/hildon-docs.sgml
5164 * src/hildon-gtk.c: Convenience functions for standard Gtk
5165 widgets, used to easily perform frequent operations.
5167 * src/hildon-button-helpers.h
5168 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5170 * src/hildon-helper.h
5171 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5172 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5174 * src/hildon-button.h
5175 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5177 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5179 * src/hildon-button.c (hildon_button_init)
5180 (hildon_button_set_arrangement, hildon_button_construct_child):
5181 Pack the image and the labels inside the same GtkAlignment so
5182 gtk_button_set_alignment() can be used
5184 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5186 * src/hildon-button.h
5187 * src/hildon-button.c
5188 (hildon_button_init, hildon_button_set_image)
5189 (hildon_button_set_image_position)
5190 (hildon_button_construct_child): New functions to add an image to
5193 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5195 * src/hildon-date-button.c
5196 * src/hildon-picker-button.c
5197 * src/hildon-time-button.c
5198 * src/hildon-button.c:
5199 (hildon_button_class_init): "size-flags" renamed to "size"
5200 (hildon_button_set_title): Hide the title label if set to NULL.
5202 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5204 HildonButtonFlags split into HildonButtonArrangement (to set the
5205 button layout) and HildonSizeType (which can be used for any
5208 * src/hildon-button.h
5209 * src/hildon-button.c
5210 (hildon_button_class_init)
5211 (hildon_button_set_arrangement)
5212 (hildon_button_set_property): New "size-flags"
5213 property. "arrangement-flags" renamed to "arrangement".
5214 (hildon_button_new, hildon_button_new_with_text)
5215 (hildon_button_new_full): Constructors updated to reflect type changes.
5217 * src/hildon-helper.h
5218 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5219 to set the size of a widget.
5223 * src/hildon-button-helpers.c
5224 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5226 * src/hildon-date-button.c
5227 * src/hildon-date-button.h
5228 * src/hildon-picker-button.c
5229 * src/hildon-picker-button.h
5230 * src/hildon-time-button.c
5231 * src/hildon-time-button.h: Updated widgets to reflect
5232 HildonButton API changes.
5234 * examples/hildon-button-example.c
5235 * examples/hildon-date-button-example.c
5236 * examples/hildon-picker-button-example.c
5237 * examples/hildon-picker-button-multicolumn-example.c
5238 * examples/hildon-time-button-example.c
5239 * examples/hildon-touch-selector-entry-example.c
5240 * examples/hildon-touch-selector-example.c: Updated examples to
5241 reflect HildonButton API changes.
5243 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5245 * doc/hildon-docs.sgml:
5247 * examples/Makefile.am:
5248 * examples/hildon-touch-selector-entry-example.c:
5250 * src/hildon-touch-selector-entry.c:
5251 * src/hildon-touch-selector-entry.h:
5254 Moved HildonTouchSelectorEntry from sandbox. Added its
5255 documentation and examples.
5257 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5259 * src/hildon-touch-selector.h:
5260 * examples/hildon-picker-button-multicolumn-example.c:
5261 (hildon_touch_selector_append_text_column): Add a gboolean
5262 parameter to determine if text must be centered in the column.
5264 * src/hildon-date-selector.c: (hildon_date_selector_init):
5265 * src/hildon-time-selector.c: (hildon_time_selector_init):
5266 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5267 (create_touch_selector): Update widgets and example to reflect
5270 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5272 * src/hildon-touch-selector.c:
5273 (hildon_touch_selector_set_active_iter): Set also the cursor in
5276 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5278 * doc/hildon-docs.sgml
5281 * src/hildon-toggle-button.c
5282 * src/hildon-toggle-button.h
5283 * src/hildon.h: Removed HildonToggleButton widget, a derived
5284 class is not necessary for this.
5286 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5288 * src/hildon-pannable-area.c,
5289 (hildon_pannable_area_realize),
5290 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5293 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5295 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5296 "done" button the default widget for the dialog.
5298 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5300 * src/hildon-touch-selector.c:
5301 (hildon_touch_selector_class_init),
5302 (hildon_touch_selector_get_property),
5303 (_hildon_touch_selector_set_model),
5304 (_hildon_touch_selector_has_multiple_selection),
5305 (hildon_touch_selector_has_multiple_selection):
5306 Add a "has-multiple-selection" property with a virtual
5307 has_multiple_selection() method to allow derived classes to
5308 override the default value for it. See the method and property
5309 documentation for details.
5311 * src/hildon-touch-selector.h: Add the new API.
5313 * src/hildon-picker-dialog.c: (requires_done_button): Call
5314 hildon_touch_selector_has_multiple_selection() instead of
5315 determining the need for a button itself.
5317 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5319 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5320 (_hildon_touch_selector_set_model),
5321 (hildon_touch_selector_set_model): Move working code to
5322 _hildon_touch_selector_set_mode(). Call the class method instead.
5324 * src/hildon-touch-selector.h: Add (*set_model) to
5325 HildonTouchSelectorClass.
5327 Make hildon_touch_selector_set_model() a virtual method, so that
5328 derived classes can extend it and do fancy stuff with the model.
5330 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5332 * configure.ac: Set back the tarname in AC_INIT to hildon.
5334 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5338 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5339 instead of libesd (NB#86876). Volume handling is still an open issue.
5341 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5344 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5346 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5347 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5348 derived class to ease placement of an entry widget in
5349 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5350 end, where the selector columns are packed now.
5352 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5354 * src/hildon-picker-button.c: Removed the simple _text() API.
5355 * src/hildon-picker-button.h: Likewise.
5357 * src/hildon-touch-selector.h:
5358 * src/hildon-touch-selector.c:
5359 (hildon_touch_selector_new_text),
5360 (hildon_touch_selector_append_text),
5361 (hildon_touch_selector_prepend_text),
5362 (hildon_touch_selector_insert_text):
5364 Moved the simple _text() API from HildonPickerButton to
5365 HildonTouchPicker, to provide better escalability and not to tie
5366 that API to HildonPickerButton.
5368 * examples/hildon-picker-button-example.c: (main): Example updated.
5370 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5372 * src/hildon-button.c: Updated documentation.
5374 * examples/hildon-button-example.c: Add the posibility to create
5375 the buttons using horizontal layout for title and value.
5377 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5379 * src/hildon-app-menu-private.h
5380 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5381 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5382 GtkSizeGroup for the filters, use the 'homogeneous' property of
5385 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5387 * examples/hildon-button-example.c: Updated example.
5389 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5391 * doc/hildon-docs.sgml:
5394 Update documentation.
5396 * examples/Makefile.am: Update renamed examples.
5398 * examples/hildon-picker-button-multicolumn-example.c:
5399 (create_touch_selector), (main): Update after the rename.
5401 * examples/hildon-touch-picker-example.c: Removed.
5402 * examples/hildon-touch-selector-example.c: (value_changed),
5403 (create_selector), (get_visible_content), (main): Renamed from
5404 hildon-touch-picker-example.c
5406 * src/Makefile.am: Updated renamed files.
5408 * src/hildon-date-button.c: (hildon_date_button_init),
5409 (hildon_date_button_get_date), (hildon_date_button_set_date):
5410 * src/hildon-date-selector.c: (hildon_date_selector_init),
5411 (_custom_print_func), (_update_day_model),
5412 (_manage_selector_change_cb),
5413 (hildon_date_selector_select_current_date),
5414 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5415 * src/hildon-date-selector.h:
5416 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5417 (hildon_picker_button_set_property),
5418 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5419 (hildon_picker_button_init), (hildon_picker_button_new_text),
5420 (hildon_picker_button_append_text),
5421 (hildon_picker_button_prepend_text),
5422 (hildon_picker_button_insert_text),
5423 (hildon_picker_button_set_selector),
5424 (hildon_picker_button_get_selector):
5425 * src/hildon-picker-button.h:
5426 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5427 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5428 (_update_title_on_selector_changed_cb), (requires_done_button),
5429 (_hildon_picker_dialog_set_selector),
5430 (hildon_picker_dialog_set_selector),
5431 (hildon_picker_dialog_get_selector):
5432 * src/hildon-picker-dialog.h:
5433 * src/hildon-time-button.c: (hildon_time_button_init),
5434 (hildon_time_button_get_time), (hildon_time_button_set_time):
5435 * src/hildon-time-selector.c: (hildon_time_selector_init),
5436 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5437 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5438 * src/hildon-time-selector.h:
5441 Massive code updates after the rename.
5443 * src/hildon-touch-picker.c: Removed.
5444 * src/hildon-touch-picker.h: Removed.
5446 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5447 (hildon_touch_selector_init), (hildon_touch_selector_map),
5448 (hildon_touch_selector_remove), (_default_print_func),
5449 (_selection_changed_cb), (_create_new_column),
5450 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5451 (hildon_touch_selector_append_text_column),
5452 (hildon_touch_selector_remove_column),
5453 (hildon_touch_selector_set_column_attributes),
5454 (hildon_touch_selector_insert_column),
5455 (hildon_touch_selector_get_num_columns),
5456 (hildon_touch_selector_get_column_selection_mode),
5457 (hildon_touch_selector_set_column_selection_mode),
5458 (hildon_touch_selector_set_print_func),
5459 (hildon_touch_selector_get_print_func),
5460 (hildon_touch_selector_get_active_iter),
5461 (hildon_touch_selector_set_active_iter),
5462 (hildon_touch_selector_get_selected_rows),
5463 (hildon_touch_selector_get_model),
5464 (hildon_touch_selector_set_model),
5465 (hildon_touch_selector_get_current_text),
5466 (_hildon_touch_selector_center_on_selected_items):
5467 * src/hildon-touch-selector.h: Renamed from
5468 hildon-touch-picker.[ch]
5470 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5471 references, code examples, and related documentation.
5473 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5475 * doc/hildon-docs.sgml
5478 * src/hildon-toggle-button.c
5479 * src/hildon-toggle-button.h
5480 * src/hildon.h: New HildonToggleButton widget.
5482 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5484 * src/hildon-button.c: Add API documentation.
5485 (hildon_button_set_size_groups): Check input parameters
5487 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5489 * src/hildon-pannable-area.c
5490 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5491 effect after reaching the movement thredshold. This way we start
5492 using the distance after passing the thredshold.
5494 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5496 * src/hildon-button.c: (hildon_button_set_property): Use the
5497 appropriate g_value_get_flags() method.
5499 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5501 * doc/hildon-docs.sgml:
5504 Add the touch pickers, picker dialogs, and picker button widgets
5505 to the documentation.
5507 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5509 * src/hildon-button.c: (hildon_button_set_property),
5510 (hildon_button_class_init): Make "arrangement-flags" a proper
5511 G_TYPE_FLAGS derived property.
5513 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5515 * examples/Makefile.am: Add below examples.
5516 * examples/hildon-date-button-example.c:
5517 * examples/hildon-picker-button-example.c:
5518 * examples/hildon-picker-button-multicolumn-example.c:
5519 * examples/hildon-time-button-example.c:
5520 * examples/hildon-touch-picker-example.c:
5522 Add examples for the recently added touch pickers,
5523 picker dialogs, and picker button widgets.
5525 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5527 * src/hildon-button.c: Add some API documentation
5529 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5531 * src/hildon-button.h
5532 * src/hildon-button.c
5534 (hildon_button_new_with_text): New constructor to create a button
5535 with no text at all.
5536 (hildon_button_init, hildon_button_set_arrangement)
5537 (hildon_button_set_title, hildon_button_set_value)
5538 (hildon_button_set_text)
5539 (hildon_button_construct_child): Hide the value when it's not used
5540 so the rest of the text is properly aligned.
5541 Allow creating buttons with arbitrary widgets inside (not just
5542 title/value labels).
5544 * examples/hildon-button-example.c (vertical_buttons_window)
5545 (horizontal_buttons_window): Update example to use new API.
5547 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5549 * src/Makefile.am: Added HildonTimeButton.
5550 * src/hildon-time-button.c: Added missing LGPL header.
5551 * src/hildon-time-button.h: Added missing LGPL header.
5552 * src/hildon.h: Add hildon-time-button.h
5554 Copied HildonTimeButton from sandbox to trunk. Future work on this
5555 widget must take place in trunk.
5557 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5559 * src/Makefile.am: Added HildonDateButton.
5560 * src/hildon-date-button.c: Update includes.
5561 * src/hildon.h: Add hildon-date-button.h
5563 Copied HildonDateButton from sandbox to trunk. Future work on this
5564 widget must take place in trunk.
5566 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5568 * src/Makefile.am: Added HildonPickerButton.
5569 * src/hildon-picker-button.h: Update includes.
5570 * src/hildon.h: Add hildon-picker-button.h
5572 Copied HildonPickerButton from sandbox to trunk. Future work on
5573 this widget must take place in trunk.
5575 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5577 * src/Makefile.am: Added HildonPickerDialog.
5578 * src/hildon-picker-dialog.c: Update includes.
5579 * src/hildon.h: Add hildon-picker-dialog.h
5581 Copied HildonPickerDialog from sandbox to trunk. Future work
5582 on this widget must take place in trunk.
5584 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5586 * src/Makefile.am: Added HildonTimeSelector.
5587 * src/hildon.h: Add hildon-time-selector.h
5589 Copied HildonTimeSelector widget from sandbox to trunk. Future
5590 work on this widget must happen in trunk.
5592 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5594 * src/Makefile.am: Added HildonDateSelector.
5595 * src/hildon.h: Add hildon-date-selector.h
5597 Copied HildonDateSelector widget from sandbox to trunk. Future
5598 work on this widget must happen in trunk.
5600 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5602 * src/Makefile.am: Added HildonTouchPicker.
5603 * src/hildon-touch-picker.c: Update includes.
5604 * src/hildon.h: Add hildon-touch-picker.h
5606 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5607 on this widget must happen in trunk.
5609 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5611 * src/hildon-pannable-area.c:
5612 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5614 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5616 * examples/hildon-app-menu-example.c (main): Let the window
5619 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5621 * src/hildon-pannable-area.c
5622 (hildon_pannable_area_class_init): Set the min value of the
5623 overshoot properties to zero, which points out that not
5624 overshooting allowed.
5626 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5628 Modified the procedure to get the widget at a point inside the
5629 pannable area when using the movement type signals. Now the user
5630 has to call a function to get the child, that way we just
5631 calculate the child in case the user really want to use it and not
5634 * src/hildon-marshalers.list: Modified the marshallers, now we do
5635 not have the widget as a parameter.
5637 * src/hildon-pannable-area.c
5638 (hildon_pannable_area_motion_notify_cb),
5639 (hildon_pannable_area_class_init),
5640 (hildon_pannable_get_child_widget_at): Removed the widget
5641 parameter from the signal callback. We have also refactored the
5642 emission of the signals.
5644 * src/hildon-pannable-area.h: Added a new method to the API to
5645 calculate a widget at a point inside the pannable area,
5646 hildon_pannable_get_child_widget_at.
5648 * examples/hildon-pannable-area-example-4.c
5649 (horizontal_movement): Modified the example to use the new API,
5650 added condition to control which widget is under the event. This
5651 way we can avoid scrolling laterally over other widgets.
5653 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5655 * src/hildon-pannable-area.c
5656 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5657 modes, we stop getting the pointer events due to returning the
5658 callback without properly calling the get pointer again. Fixed
5659 also an error using the hscroll and vscroll.
5661 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5663 * src/hildon-app-menu-private.h
5664 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5665 (hildon_app_menu_button_release, hildon_app_menu_init)
5666 (hildon_app_menu_class_init): Don't hide the menu on button
5667 release if the user didn't press outside first.
5669 * src/hildon-window.h
5670 * src/hildon-window.c (hildon_window_toggle_menu)
5671 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5672 hildon_window_toggle_menu a virtual function for the stackable
5673 window to override it.
5675 * src/hildon-stackable-window.h
5676 * src/hildon-stackable-window-private.h
5677 * src/hildon-stackable-window.c
5678 (hildon_stackable_window_realize)
5679 (hildon_stackable_window_finalize)
5680 (hildon_stackable_window_class_init)
5681 (hildon_stackable_window_init)
5682 (hildon_stackable_window_set_main_menu): New function to set the
5683 app menu of a HildonStackableWindow.
5685 * examples/hildon-app-menu-example.c: Remove the button to show
5686 the app menu, now it'll be shown when clicking on the title bar
5689 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5691 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5692 set the widget name if the arrangement flags do not specify
5695 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5697 * src/hildon-button.c: (hildon_button_set_property),
5698 (hildon_button_class_init), (hildon_button_new_full),
5699 (hildon_button_set_arrangement): Added "arrangement-flags"
5702 Make the HildonButtonFlags a construction-only property, to allow
5703 subclasses to set them properly.
5705 2008-07-21 Tim Janik <timj@imendio.com>
5707 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5708 insertion position after backspace, so additional digits are appended,
5711 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5713 * src/hildon-pannable-area.c,
5714 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5715 TODO list, it was complete and removed the g_debug and g_print
5718 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5720 Added the movement modes to the hildon-pannable-area, with this
5721 modes the developers can control in which directions the widget
5722 can scroll. They can also connect to signals in order to do
5723 something when that happens, allowing applications scroll. There
5724 is an example uploaded showing how to use it.
5726 * examples/Makefile.am:
5727 * examples/hildon-pannable-area-example-4.c: Added this example of
5728 an application using the modes.
5730 * src/hildon-marshalers.list: Added a new marshaller for the new
5733 * src/hildon-pannable-area.h: Added new enumerations and flags in
5734 order to control the movement modes and the new signals to warn
5735 about the movements in the area.
5737 * src/hildon-pannable-area.c:
5738 (hildon_pannable_axis_scroll),
5739 (hildon_pannable_area_scroll),
5740 (hildon_pannable_area_motion_notify_cb),
5741 (hildon_pannable_area_get_property),
5742 (hildon_pannable_area_set_property),
5743 (hildon_pannable_area_map),
5744 (hildon_pannable_area_class_init),
5745 (hildon_pannable_area_init),
5746 (hildon_pannable_area_jump_to): Added the modes to control the
5747 movement in the widget. We have added properties to control it,
5748 signals to warn about the movements and refactored some code.
5750 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5752 Changes required in order to allow vfast_factor set to zero to
5755 * src/hildon-pannable-area.c:
5756 (hildon_pannable_area_button_press_cb): Changed the condition, it
5757 is required for not allowing click when vfast_factor is zero.
5758 (hildon_pannable_area_timeout): Initialized velocity variables
5759 when we stop moving, it was less than 1 but not zero and we need
5760 to check zero in some situations.
5761 (hildon_pannable_area_class_init): Changed the default value of
5762 the speed factor, now the button_press is just sent in case the
5763 speed is 2 per cent of the max speed.
5764 (hildon_pannable_area_init): Initialization with 0.
5766 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5768 * src/hildon-pannable-area.c,
5769 (hildon_pannable_area_get_topmost): replaced
5770 gdk_window_get_children with gdk_window_peek_children, this way we
5771 do not have to free the list because it is not a copy.
5773 (hildon_pannable_axis_scroll),
5774 (hildon_pannable_area_scroll),
5775 (hildon_pannable_area_timeout),
5776 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5777 two parameters that were only used inside the
5778 hildon_pannable_area_scroll function.
5780 * examples/hildon-pannable-area-example.c,
5781 (get_sawtooth_label): Fixed small memory leak.
5783 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5785 More checks for the case where the overshoot is bigger than the
5788 * src/hildon-pannable-area.c:
5789 (hildon_pannable_draw_vscroll),
5790 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5791 to draw the slider of the scrollbar under the other scrollbar.
5792 (hildon_pannable_area_expose_event): added new checks to control
5793 the drawing of the overshooting area rectangle, in case it is too
5794 big for the area of the widget.
5795 (hildon_pannable_area_size_allocate): add more checks to avoid
5796 setting a position to the child widget outside the area.
5798 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5800 * src/hildon-pannable-area.c
5801 (hildon_pannable_area_size_allocate): Added conditions to control
5802 when overshooting is bigger than the allocated space for the
5803 children, this avoids negative allocations.
5805 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5807 * doc/hildon-docs.sgml
5809 * examples/Makefile.am
5810 * examples/hildon-button-example.c
5812 * src/hildon-button.c
5813 * src/hildon-button.h
5814 * src/hildon.h: Initial version of the new HildonButton widget,
5817 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5819 * src/hildon-pannable-area.c:
5820 (hildon_pannable_area_button_press_cb),
5821 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5822 (hildon_pannable_area_motion_notify_cb),
5823 (hildon_pannable_area_button_release_cb),
5824 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5825 (hildon_pannable_area_jump_to_child):
5827 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5829 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5831 * examples/Makefile.am
5832 * examples/hildon-pannable-area-touch-grid-example.c
5833 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5834 the Hildon Touch List and Hildon Touch Grid using the
5835 HildonPannableArea widget.
5837 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5839 * src/hildon-pannable-area.c,
5840 (hildon_pannable_area_button_press_cb),
5841 (hildon_pannable_area_refresh),
5842 (hildon_pannable_area_scroll),
5843 (hildon_pannable_area_motion_notify_cb),
5844 (hildon_pannable_area_button_release_cb),
5845 (hildon_pannable_area_expose_event),
5846 (hildon_pannable_area_add),
5847 (hildon_pannable_area_remove),
5848 (hildon_pannable_area_realize),
5849 (hildon_pannable_area_size_allocate),
5850 (hildon_pannable_area_class_init),
5851 (hildon_pannable_area_init),
5852 (hildon_pannable_area_scroll_to_child),
5853 (hildon_pannable_area_jump_to_child): Fixed the problem of
5854 removing the child from the GtkBin, we have rearranged the widget
5855 hierarchy, now there is no GtkAlignment which was not doing
5856 anything interesting but breaking some of the assumptions of
5857 GtkContainer. Now developers if they want to add a GtkAlignment
5858 they could, but it is not inside the area.
5860 We had to review the whole allocation/expose process, now it is
5861 improved and we save at least three signals which would be saving
5862 some time when rendering the widget. The allocation of the
5863 scrollbars is now made in the allocate method as usual.
5865 We have also added some conditions in order to control when there
5866 is no child of the pannable area. Maybe we will need more work
5869 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5871 * src/hildon-pannable-area.c,
5872 (hildon_pannable_area_dispose): Released the fade-out timeout when
5873 disposing the widget.
5875 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5877 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5878 zero, we are going to use that property in order to deactivate the
5880 (hildon_pannable_axis_scroll),
5881 (hildon_pannable_area_size_allocate): Added conditions to control
5882 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5883 call, now it is called in all situations and we can remove calls
5884 in the allocate method.
5885 (hildon_pannable_area_map): Control the situation when
5886 overshoot_max is zero, we do not need the timeout.
5887 (hildon_pannable_area_class_init): Added documentation in order to
5888 point out that setting zero to overshoot_max means deactivate
5891 NOTE: removed trailing whitespaces from my previous comments of
5894 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/hildon-pannable-area.c
5897 (hildon_pannable_area_get_property),
5898 (hildon_pannable_area_set_property),
5899 (hildon_pannable_area_map),
5900 (hildon_pannable_area_class_init),
5901 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5902 to cause the widget give a hint about its panning abilities upon
5905 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5907 * src/hildon-pannable-area.c: Several documentation improvements.
5909 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5911 * src/hildon-program.c
5912 * src/hildon-stackable-window.c: Update documentation.
5914 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5916 * src/hildon-stackable-window.c (get_previous_window_if_last):
5917 Renamed get_last_window()
5918 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5919 (hildon_stackable_window_unset_program):
5921 (get_previous_window_if_last):
5922 Detect if the window hasn't been added to a HildonProgram.
5924 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5926 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5928 * src/hildon-pannable-area.c
5929 (hildon_pannable_area_button_press_cb),
5930 (hildon_pannable_axis_scroll),
5931 (hildon_pannable_area_scroll),
5932 (hildon_pannable_area_timeout),
5933 (hildon_pannable_calculate_vel_factor),
5934 (hildon_pannable_area_get_property),
5935 (hildon_pannable_area_set_property),
5936 (hildon_pannable_area_class_init),
5937 (hildon_pannable_area_init),
5938 (hildon_pannable_area_scroll_to),
5939 (hildon_pannable_area_jump_to),
5940 (hildon_pannable_area_scroll_to_child),
5941 (hildon_pannable_area_jump_to_child):
5942 * src/hildon-pannable-area.h: Added the new API functions:
5943 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5944 hildon_pannable_area_scroll_to_child,
5945 hildon_pannable_area_jump_to_child
5948 * examples/Makefile.am
5949 * examples/hildon-pannable-area-example-2.c
5950 * examples/hildon-pannable-area-example-3.c: Added these two new
5951 examples in order to test and show how the new APIs work.
5953 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5955 * examples/hildon-stackable-window-example.c (new_window):
5956 * src/Makefile.am (noinst_HEADERS):
5957 * src/hildon-program.c (hildon_program_go_to_root_window):
5958 * src/hildon-program.h:
5959 * src/hildon-stackable-window-private.h:
5960 * src/hildon-stackable-window.c:
5961 * src/hildon-stackable-window.h:
5962 Create hildon-stackable-window-private.h
5963 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5965 * examples/hildon-app-menu-example.c (create_menu):
5966 * examples/hildon-hvolumebar-insensitive-example.c (main):
5967 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5968 * examples/hildon-toolbar-seekbar-example.c (main):
5969 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5970 * src/hildon-banner.c (hildon_banner_set_property):
5971 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5972 Fix compilation warnings
5974 * src/hildon-window.c:
5977 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5979 * src/hildon-stackable-window.c
5980 (hildon_stackable_window_unset_program):
5981 Calculate correctly whether to show the previous window if the
5982 last one is removed from the stack.
5983 (hildon_stackable_window_go_to_root_window):
5984 Send delete events starting from the topmost window.
5985 Stop if one of the windows is not destroyed.
5987 (hildon_stackable_window_delete_event)
5988 (hildon_stackable_window_class_init):
5989 Ignore the delete event if the window is not the topmost one.
5991 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5993 * src/hildon-pannable-area.c
5994 (hildon_pannable_area_expose_event): Fixed a problem when
5995 selecting the background color of the scrollbars.
5997 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5999 * examples/hildon-stackable-window-example.c
6000 * src/hildon-stackable-window.c
6001 * src/hildon-stackable-window.h
6002 hildon_stackable_window_go_home() renamed to
6003 hildon_stackable_window_go_to_root_window()
6004 Send delete events to windows rather than closing them with
6005 gtk_widget_destroy()
6007 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6009 * src/hildon-pannable-area.c
6010 (hildon_pannable_area_button_release_cb): Fix overshooting in
6013 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6015 * src/hildon-pannable-area.c
6016 (hildon_pannable_area_init): Initially show the scroll indicators.
6017 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6019 Add initial effect showing the widget is pannable.
6021 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6023 * src/hildon-pannable-area.c
6024 (hildon_pannable_area_class_init)
6025 (hildon_pannable_area_set_property)
6026 (hildon_pannable_area_get_property)
6027 (hildon_pannable_area_button_press_cb):
6028 New 'velocity_fast_factor' property to decide which velocity is
6031 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6033 * src/hildon-pannable-area.c
6034 (hildon_pannable_draw_hscroll)
6035 (hildon_pannable_draw_vscroll):
6036 Use float variables to calculate the size of the scrollbars to
6037 avoid error propagation and resizing during scrolling.
6039 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6041 * src/hildon-pannable-area.c
6042 (hildon_pannable_draw_vscroll)
6043 (hildon_pannable_draw_hscroll):
6044 Define a minimum size for the scroll bars
6046 * src/hildon-stackable-window.c
6047 (hildon_stackable_window_go_home): Fix compilation warning
6048 (get_last_window): Minor optimizations
6049 (hildon_stackable_window_class_init): Fix initialization of
6052 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-stackable-window.c: Fixed typos in doc
6056 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6058 * src/hildon-pannable-area.c
6059 (hildon_pannable_area_scroll):
6060 Calculate here whether we need to scroll instead of using the booleans
6061 that tell us whether to /draw/ the scrolling bars.
6063 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6065 * src/hildon-app-menu.h
6067 * src/hildon-app-menu.c
6068 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6069 multiple filter groups related code and API. Now we support only
6071 * examples/hildon-app-menu-example.c:
6073 Update to reflect API changes.
6075 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6077 * src/hildon-stackable-window.c
6078 (hildon_stackable_window_class_init):
6079 Add hildon_stackable_window_realize.
6080 (hildon_stackable_window_realize):
6081 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6082 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6083 to apply theming and behavior specific to HildonStackableWindow
6086 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-note.c (hildon_note_button_release):
6089 Close information notes also when tapping on them
6091 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6093 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6094 ELASTICITY, refactor and review, fix some issues with drawing
6097 * src/hildon-pannable-area.c:
6098 (hildon_pannable_area_button_press_cb): removed the conditions to
6099 avoid clicks when overshooting. It is not required
6101 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6102 define. Refatored and reviewed the code, now we do not need to
6103 manage velocity in motion_notify.
6105 (hildon_pannable_area_motion_notify_cb): We have moved the code
6106 that controls the area_scroll to the axis_scroll function and get
6107 rid of duplicated code.
6109 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6111 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6113 (hildon_pannable_draw_vscroll),
6114 (hildon_pannable_draw_hscroll): Fixed the problems with the
6115 scrollbar drawing, now we do not use two surfaces, it is easier
6116 and saves resources.
6118 (hildon_pannable_area_get_property): Style modification.
6120 (hildon_pannable_area_class_init): Changed some default values.
6122 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6124 * src/hildon-stackable-window.c: Fix some typos in the
6127 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6129 * src/hildon-dialog.c:
6130 Change indentation style
6133 (hildon_note_button_release):
6134 Use root coordinates to check if the release event happened
6137 * src/hildon-app-menu.c
6138 (hildon_app_menu_button_release):
6139 Remove unnecessary check
6141 * examples/hildon-app-menu-example.c
6143 Add cast to fix warning
6145 * src/hildon-app-menu.c
6146 (hildon_app_menu_class_init):
6147 New inner-border style property.
6148 Set all default spacings to 16
6149 (hildon_app_menu_init):
6150 Use vertical-spacing to set the space between filter buttons and
6151 regular menu buttons.
6152 Set the default container border using the inner-border value.
6154 * examples/hildon-app-menu-example.c
6156 Don't set the menu border explicitly, now we have the inner-border
6157 style property for that.
6159 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6161 * src/hildon-app-menu.c (hildon_app_menu_init):
6162 Make the window modal
6164 * src/hildon-note.c (hildon_note_map)
6165 * src/hildon-app-menu.c (hildon_app_menu_map):
6166 Destroy the grab window if we're unable to grab the pointer
6168 * src/hildon-app-menu-private.h
6169 * src/hildon-app-menu.c
6170 (hildon_app_menu_init, hildon_app_menu_finalize)
6171 (hildon_app_menu_map, hildon_app_menu_unmap)
6172 (hildon_app_menu_button_release)
6173 (grab_transfer_window_get):
6174 Bring back the grab window
6175 (hildon_app_menu_realize):
6176 Decorate the window, set WM hint for Matchbox
6178 * src/hildon-note.c (hildon_note_realize):
6179 * src/hildon-banner.c (hildon_banner_realize):
6180 Add WM hints for Matchbox
6182 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6184 * src/hildon-app-menu-private.h
6185 * src/hildon-app-menu.c
6186 (hildon_app_menu_init, hildon_app_menu_finalize)
6187 (hildon_app_menu_map, hildon_app_menu_unmap)
6188 (hildon_app_menu_button_release):
6189 Remove the grab window, it's not needed anymore
6191 * src/hildon-program.c
6192 Fixed typo in documentation
6194 * src/hildon-app-menu.h
6195 * src/hildon-app-menu.c
6196 * examples/hildon-app-menu-example.c
6197 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6199 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6202 Added new transfer_window and close_if_pressed_outside private
6204 (hildon_note_rebuild):
6205 Don't add a cancel button to the information note. It will be
6206 closed when tapping outside
6207 Remove the comment about the OK button in the documentation
6208 (hildon_note_realize):
6209 Set the notification type hint
6210 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6211 Grab/ungrab pointer and keyboard if the note has to be closed when
6213 (hildon_note_button_release):
6214 Close the note when tapping outside (if applicable)
6216 * src/hildon-app-menu.c
6217 Grab/ungrab pointer and keyboard on map/unmap
6218 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6219 Close the menu on button release, not button press
6221 * src/hildon-banner.c
6222 (hildon_banner_set_property)
6223 (hildon_banner_check_position):
6224 Make the banner use the full width of the screen
6225 (hildon_banner_show_information)
6226 (hildon_banner_show_information_with_markup):
6227 Don't display an icon by default
6229 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6231 Added fading scrollbars and adapted all the overshooting code to
6232 horizontal scrolling. We have also fixed bugs with overshooting
6233 and current fading implementation.
6235 * src/hildon-pannable-area.c
6236 (hildon_pannable_area_scroll_indicator_fade): Time out function
6237 used to change the transparency of the scrollbars.
6239 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6240 control and fixed a problem with fading, we now remove the fade
6241 timeout before adding a new one.
6243 (hildon_pannable_axis_scroll):
6244 (hildon_pannable_area_scroll):
6245 (hildon_pannable_area_timeout): Added this functions so we can use
6246 the scroll code both for vertical and horizontal.
6248 (hildon_pannable_area_motion_notify_cb):
6249 (hildon_pannable_area_button_release_cb): Added the horizontal
6250 scrolling control, fixed a problem with the overshooting timeout.
6252 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6253 painting of the scrolls.
6255 (hildon_pannable_draw_vscroll):
6256 (hildon_pannable_draw_hscroll):
6257 (hildon_pannable_area_expose_event):
6258 Draw both scrollbars and rectangles in the overshooting area.
6260 (hildon_pannable_area_get_property):
6261 (hildon_pannable_area_set_property):
6262 Modified the overshoot property to overshoot_max
6264 (hildon_pannable_area_map):
6265 Replaced the comments symbols.
6267 (hildon_pannable_area_size_allocate):
6268 (hildon_pannable_area_class_init):
6269 (hildon_pannable_area_init): Added horizontal scroll, fading
6270 effect properties, fixed a problem when overshooting in the bottom
6273 * examples/hildon-pannable-area-example.c:
6274 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6275 looks better in the example.
6277 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6279 * src/hildon-window.c
6280 * src/hildon-window.h
6281 (hildon_window_class_init)
6282 (hildon_window_unset_program)
6283 (hildon_window_unset_program_real):
6284 Make unset_program a virtual function
6286 * src/hildon-stackable-window.c
6287 * src/hildon-stackable-window.h
6288 Added hildon_stackable_window_go_home()
6290 * examples/Makefile.am
6291 * examples/hildon-stackable-window-example.c
6292 HildonStackableWindow example
6294 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6296 * hildon-pannable-area.c: Added the overshoot property and removed
6297 the OVERSHOOT define. Fixed an indent style error.
6298 (hildon_pannable_area_motion_notify_cb):
6299 (hildon_pannable_area_get_property):
6300 (hildon_pannable_area_set_property): Add overshoot property.
6302 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6305 (hildon_pannable_area_class_init): Installed the new property.
6307 * hildon-pannable-area-example.c: Added a sawtooth function, this
6308 way it is easier to check the movement in the pannable.
6309 (get_sawtooth_label): Added this function.
6310 (main): Now we get the labels from the new get_sawtooth_label
6313 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6315 * src/hildon-app-menu.h
6316 * src/hildon-app-menu.c
6317 Renamed API variables for consistency
6319 (hildon_app_menu_popup): Use also the default window size to
6320 decide where to place the menu
6322 (hildon_app_menu_init, hildon_app_menu_class_init): New
6323 external-border style property
6325 2008-05-26 Michael Natterer <mitch@imendio.com>
6327 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6328 widget_class->tap_and_hold_setup signal slot doesn't exist any
6329 longer, stop overriding it.
6331 (hildon_time_editor_init): g_signal_connect() to the
6332 tap-and-hold-setup signal instead.
6334 (hildon_time_editor_entry_keypress): add cast to fix warning.
6336 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6338 * doc/hildon-docs.sgml
6340 * examples/Makefile.am
6341 * examples/hildon-app-menu-example.c
6343 * src/hildon-app-menu-private.h
6344 * src/hildon-app-menu.c
6345 * src/hildon-app-menu.h
6347 New HildonAppMenu widget
6349 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6351 Rearranged the inheritance of the pannable area, now it inherits
6352 from GtkBin. This will allow us to control the event_window and
6353 the allocation process of the widget, required for some effects.
6355 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6356 GtkBin structures. * src/hildon-pannable-area.c: Added the
6357 event_window variable.
6358 (hildon_pannable_area_button_press_cb):
6359 (hildon_pannable_area_button_release_cb):
6360 (hildon_pannable_area_motion_notify_cb):
6361 Changed the signature of the method, now we override the event
6362 callback instead of connecting to the signal.
6364 (hildon_pannable_area_realize):
6365 (hildon_pannable_area_unrealize):
6366 (hildon_pannable_area_map):
6367 (hildon_pannable_area_unmap):
6368 (hildon_pannable_area_size_allocate):
6369 Added functions to control the widget construction. We add a
6370 INPUT_ONLY window and we put it over the widgets inside the
6371 container, this event_window handles the events.
6373 (hildon_pannable_area_class_init):
6374 Replaced the signal connections with overrides of the event
6377 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6379 Bouncing effect added when touching the borders, you can change
6380 the elasticity of the border changing the ELASTICITY define.
6382 * src/hildon-pannable-area.c: Added ELASTICITY define.
6383 (hildon_pannable_area_timeout): Added inverse velocity when
6384 touching the border of the child widget, that causes a bounce.
6386 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6388 Improved performance, we now do not go to the X server in order to
6389 get the list of window children. Apparently the effect is the
6390 same, we have to be careful and check if this breaks something in
6393 * src/hildon-pannable-area.c:
6394 (get_ordered_children): Removed this function.
6395 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6396 the children windows function with gdk_window_get_children.
6398 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6400 * src/hildon-pannable-area.c:
6401 (hildon_pannable_area_dispose): Fixed a crash when closing the
6402 window and kinetics is activated.
6404 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6406 * src/hildon-pannable-area.h
6407 * src/hildon-pannable-area.c
6408 Changed indentation style to meet the one used in Hildon
6410 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6412 Reviewed the interaction of the AUTO mode, now we use the time
6413 attribute of the events and calculate the velocity in the motion,
6414 doing a gimp like calculation. The velocity is calculated in each
6415 motion event using the last velocity and the current one, the
6416 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6418 * src/hildon-pannable-area.c: Replaced the time based algorithm
6420 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6421 timeout for the AUTO mode when we are still moving the cursor. We
6422 added also the velocity calculation in this function.
6423 (hildon_pannable_area_button_release_cb): launch the timeout in
6424 case we are in AUTO mode. There are still some constants here that
6425 come from the old implementation that should be reviewed and
6428 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6430 * doc/hildon-docs.sgml
6433 * src/hildon-stackable-window.c
6434 * src/hildon-stackable-window.h
6436 New HildonStackableWindow widget
6438 * examples/hildon-dialog-example.c
6439 * examples/hildon-pannable-area-example.c
6442 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-dialog.c
6445 (hildon_dialog_new_with_buttons): New constructor.
6447 * examples/hildon-dialog-example.c
6448 (main): Update the example to use the new
6449 hildon_dialog_new_with_buttons().
6451 * examples/hildon-pannable-area-example.c
6452 (main): Update example.
6454 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6456 * doc/hildon-docs.sgml
6458 Added HildonPannableArea to the documentation.
6460 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6462 * doc/visual_index.xml
6463 Fix reference to HildonLoginDialog in documentation
6465 * doc/hildon-docs.sgml
6467 * examples/Makefile.am
6468 * examples/hildon-dialog-example.c
6470 * src/hildon-dialog.c
6471 * src/hildon-dialog.h
6473 New HildonDialog widget.
6475 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6477 * src/hildon-pannable-area.c
6478 Merge latest changes (r4318, r4342) from libmokoui trunk
6480 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6482 * examples/Makefile.am
6483 * examples/hildon-pannable-area-example.c
6485 * src/hildon-pannable-area.c
6486 * src/hildon-pannable-area.h
6488 New HildonPannableArea widget.
6490 2008-04-15 18:05:19 <timj@imendio.com>
6492 * src/hildon-banner.c: revert the recent change, that introduced
6493 gtk_window_present() calls. this reopens:
6494 Bug 78481 - [freetest] information banners are hidden under browser menu
6495 But resolves another variant of:
6496 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6498 2008-04-15 13:21:13 <timj@imendio.com>
6500 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6501 recreated its layout, spotted by Kris. this fixes all remaining
6502 artefacts and stability issues with the banner code. in particular:
6503 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6505 2008-04-14 16:52:59 <timj@imendio.com>
6507 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6508 operating on unrealized widgets, fixes:
6509 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6511 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6513 2008-04-09 Kristian Rietveld <kris@imendio.com>
6515 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6516 makes banner disappear.
6517 Fixes: NB#79182: info banner flickering with certain message lengts.
6519 * src/hildon-banner.c (hildon_banner_constructor),
6520 (hildon_banner_init), (hildon_banner_set_text),
6521 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6522 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6523 FALSE, reset size requests of label and banner,
6524 (force_to_wrap_truncated): when the text is too wide, always enforce
6525 the maximum possible width instead of recalculating it from the
6526 layout; enforce the maximum banner height of 3 lines,
6527 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6528 nicer wrapping and no truncated chars if space gets tight.
6530 * src/hildon-banner-private.h: add has_been_wrapped and
6531 has_been_truncated fields.
6533 2008-04-07 Sven Herzberg <sven@imendio.com>
6535 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6536 local values in hildon_date_editor_size_allocate
6538 * src/hildon-date-editor.c: moved the real allocation code into the
6541 2008-04-07 Sven Herzberg <sven@imendio.com>
6543 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6544 local values in hildon_date_editor_size_allocate
6546 * src/hildon-date-editor.c: merged the two if() branches together
6548 2008-04-07 Sven Herzberg <sven@imendio.com>
6550 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6551 local values in hildon_date_editor_size_allocate
6553 * src/hildon-date-editor.c: changed the arguments of the if()
6556 2008-04-07 Sven Herzberg <sven@imendio.com>
6558 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6559 local values in hildon_date_editor_size_allocate
6561 * src/hildon-date-editor.c: split the calculation of the allocation
6562 from the real allocation
6564 2008-03-27 Michael Natterer <mitch@imendio.com>
6566 Fixes: NB#81696: The passcode is not overwritten even after
6569 * src/hildon-code-dialog.c
6570 (hildon_code_dialog_button_clicked)
6571 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6572 because that doesn't overwrite selected text. Instead, emit the
6573 "commit" signal on the entry's im_context so the entry's normal
6574 insert logic is triggered. Set the cursor to the end of the entry
6575 after each insert operation so that we *only* insert in the middle
6576 of the text if something was selected.
6578 2008-03-27 Michael Natterer <mitch@imendio.com>
6580 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6581 selector cannot be opened
6583 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6584 when the popup color selector is created. Please connect to this
6585 signal in order to set the dialog's help ID.
6587 2008-03-25 Sven Herzberg <sven@imendio.com>
6589 Fixes: MB#1212: Hide info banners (infoprints) on click
6591 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6592 extracted the close event simulation into an extra function
6593 (hildon_banner_button_press_event): simulate a close event and destroy
6594 the widget if the event wasn't handled
6595 (hildon_banner_class_init): added the button_press_event handler
6596 (hildon_banner_init): added button-press events to the widget
6598 2008-03-25 Sven Herzberg <sven@imendio.com>
6600 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6601 Patch from: Mohammad Anwari <mdamt@maemo.org>
6603 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6604 instead of the right in RTL mode
6605 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6606 breadcrumb button list in RTL mode
6607 * src/hildon-caption.c: mirror the appearance of the caption widget in
6609 * src/hildon-date-editor.c: mirror appearance of the date editor in
6611 * src/hildon-time-editor.c: mirror appearance of the time editor in
6613 * src/hildon-window.c: fix the position of the popup in RTL mode
6615 2008-03-25 Sven Herzberg <sven@imendio.com>
6617 Amendment to the fix of NB#22072. Fix compilation.
6619 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6621 2008-03-19 Sven Herzberg <sven@imendio.com>
6623 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6626 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6627 timeout id properly when the timeout will disappear this leaves no
6628 artifacts around in the destroy(); there will only be the timeout
6629 created by hildon_banner_ensure_timeout() and adding a new timeout
6630 will also work if the timeout gets removed because the timeout_handler
6633 2008-03-19 Michael Natterer <mitch@imendio.com>
6635 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6637 * src/hildon-volumebar.c
6638 * src/hildon-vvolumebar.c
6639 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6640 the widget becomes focussable at all.
6642 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6643 set the focus to wither the mute button or the volumebar.
6645 Remove own "can-focus" property and instead listen to
6646 notify::can-focus in order to update the widget's state.
6648 Implement GtkWidget::focus() and make sure we can also *leave* the
6649 widget, not only enter it, depending on volumebar orientation and
6650 requested focus direction.
6652 Clean up set_mute() to cooperate nicely with all the above.
6654 2008-03-04 Michael Natterer <mitch@imendio.com>
6656 Fixes: NB#78481: information banners are hidden under browser menu
6658 * src/hildon-banner.c: call gtk_window_present() on the banners so
6659 they are risen if they are already visible.
6661 2008-03-03 Sven Herzberg <sven@imendio.com>
6663 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6665 * examples/hildon-window-menu-example.c: (main): extended the window
6666 menu example to serve as a testcase for automatically added
6667 accelerator groups, too
6668 * src/hildon-window.c: (hildon_window_add_accel_group),
6669 (hildon_window_set_menu): added patch by Tommi Komulainen
6671 2008-03-03 Sven Herzberg <sven@imendio.com>
6673 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6675 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6676 knowledge about the border allocators used within GTK+
6678 2008-02-26 Sven Herzberg <sven@imendio.com>
6680 Fixes: MB#2981: Build with asserts broken
6682 * src/hildon-date-editor.c,
6683 * src/hildon-number-editor.c,
6684 * src/hildon-time-editor.c,
6685 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6686 the proper GType instance check
6688 2008-02-25 Sven Herzberg <sven@imendio.com>
6690 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6692 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6693 * examples/hildon-window-menu-example.c: (main): explicitly show
6695 * src/hildon-window.c:
6696 (hildon_window_set_main_menu): moved most of the code from set_menu()
6697 to this place; skipped the call to gtk_widget_show_all(); also didn't
6698 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6699 (hildon_window_set_menu): removed most of the code, just keep the
6700 questionable gtk_widget_show_all()
6701 * src/hildon-window.h: added the new function and deprecate the old
6704 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6710 * debian/changelog: Updating.
6712 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6715 * pkgconfig/Makefile.am:
6716 * pkgconfig/hildon.pc.in:
6719 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6720 use newly created API_MAJOR_VERSION.
6722 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6728 * debian/changelog: Updating.
6730 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6732 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6734 Add outer_border style property, we use it but don't define it (!).
6738 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6740 * examples/hildon-bread-crumb-trail-example.c (main):
6744 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6746 Fix logic for the bread crumb trail node removal.
6750 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6756 * debian/changelog: Updating.
6758 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6760 Patch by Alejandro to get/set passwords dialogs accesibility.
6762 * hildon-1/src/hildon-get-password-dialog.c:
6763 * hildon-1/src/hildon-set-password-dialog.c:
6764 Set atk_set_name to the passwd entries in order to allow
6765 accessibility by name on this entries.
6767 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6772 * debian/control: Updating gtk dep.
6774 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6776 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6777 USE_MAEMO_GTK is enabled.
6779 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6781 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6782 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6784 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6790 * debian/changelog: Updating.
6792 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6794 * examples/Makefile.am:
6795 * examples/hildon-logical-color-example.c:
6796 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6797 applied + adding a test case. Fixes: NB#71660.
6799 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6801 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6802 to be visible, fixes warning on map for windows without toolbars.
6804 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6806 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6807 2.11.0, add a check for that besides the MAEMO_GTK check.
6809 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6815 * debian/changelog: Updating.
6817 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6819 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6820 visibility. Fixes: NB#70842 and MB#615.
6822 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6824 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6825 set the separator as no-show-all so it doesn't unintentionally appear when
6826 someone does a show_all.
6828 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6830 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6831 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6832 toplevel item. Fixes: NB#62031
6834 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6836 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6837 fix the name of the function in the docs.
6839 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6845 * debian/changelog: Updating.
6847 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6849 * examples/hildon-banner-long-example.c: Adding a test-case for long
6852 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6854 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6856 * src/hildon-color-chooser-dialog.c:
6857 * src/hildon-color-chooser.c:
6858 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6859 memory leaks in font selector and color selector. Fixes: NB#70499 and
6862 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6864 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6866 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6868 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6869 little bit bigger. Fixes: #NB63694.
6871 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6877 * debian/changelog: Updating.
6879 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6882 * doc/hildon-docs.sgml:
6883 * doc/images/bread-crumb-trail.png:
6884 * doc/images/calendar-popup.png:
6885 * doc/images/caption.png:
6886 * doc/images/code-dialog.png:
6887 * doc/images/color-button.png:
6888 * doc/images/color-chooser-dialog.png:
6889 * doc/images/color-chooser.png:
6890 * doc/images/controlbar.png:
6891 * doc/images/date-editor.png:
6892 * doc/images/font-selection-dialog.png:
6893 * doc/images/get-password-dialog.png:
6894 * doc/images/hvolumebar.png:
6895 * doc/images/login-dialog.png:
6896 * doc/images/note.png:
6897 * doc/images/number-editor.png:
6898 * doc/images/range-editor.png:
6899 * doc/images/seekbar.png:
6900 * doc/images/set-password-dialog.png:
6901 * doc/images/sort-dialog.png:
6902 * doc/images/time-editor.png:
6903 * doc/images/time-picker.png:
6904 * doc/images/vvolumebar.png:
6905 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6906 Adding the bread-crumb-trial and helpers to the documentation.
6908 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6910 * examples/hildon-find-toolbar-example.c:
6911 * src/hildon-find-toolbar.c:
6912 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6913 actually continue firing the other handlers if connected. Adding a new
6915 hildon_find_toolbar_get_last_index that gets the index of the most
6916 recently added (last) item. Fixes: NB#52301.
6918 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6920 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6921 behaviour. Fixes: NB#68610.
6923 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6925 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6928 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6930 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6931 when realizing the banner. Should make the infonbanner effect a bit more
6934 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6936 * src/hildon-volumebar.c:
6937 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6938 hildon_volumebar_set_range_insensitive_message and
6939 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6941 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6943 * src/hildon-window.c: Fixing the border freeing on destroy.
6945 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6947 * src/hildon-code-dialog-private.h:
6948 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6949 kw keyboard support in HildonCodeDialog.
6951 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6957 * debian/changelog: Updating.
6959 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6961 * src/hildon-date-editor.c:
6962 * src/hildon-number-editor.c:
6963 * src/hildon-private.c:
6964 * src/hildon-private.h:
6965 * src/hildon-time-editor.c:
6966 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6967 handling in subclassed composite widgets. Fixes: NB#66628.
6969 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6971 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6972 from destroy_ callback as it introduces problems in async dbus signal
6973 handlers. Fixes NB#66673.
6975 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6977 * examples/hildon-hvolumebar-example.c:
6978 * src/hildon-volumebar.c: Improving the focus handling in the
6979 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6980 set_property accessor so that "mute" property can be actually set. I'm
6981 scared that nobody noticed it's totally broken.
6983 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6985 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6988 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6990 * src/hildon-calendar.c:
6991 * src/hildon-number-editor.c:
6992 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6993 matches the spec of 6 chars per second. Fixes: NB#60489.
6995 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6997 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6998 gtk_style_lookup_color sometime returns FALSE even though color was
6999 found and values were filled properly. Weird. Removing the warning for the
7002 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7004 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7005 expand vertically. Adding some extra space to the find toolbar buttons to
7006 make them thumbable. Fixes NB#66060.
7008 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7010 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7011 popup with "Ok" and "Cancel". Fixes NB#59299.
7013 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7015 * src/hildon-calendar.c: Process all window updates before executing next
7016 timeout. Fixes: NB#54146.
7018 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7024 * debian/changelog: Updating.
7026 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7028 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7029 the client event and ignore it, since we use the delete event to close
7032 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7034 * src/hildon-helper.c: Remove the bogus warning about color not being
7035 found. Fixes NB#58352.
7037 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7039 * examples/Makefile.am:
7040 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7041 HildonSeekbar widget inside a toolbar.
7043 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7045 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7046 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7047 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7048 don't want to be closed by non-temporary windows on map.
7050 Also use G_DEFINE_TYPE instead of manually typed code.
7052 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7059 * debian/rules: Updating.
7061 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7063 * examples/Makefile.am:
7064 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7065 bug NB#61128. Strangely it works.
7067 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7069 * src/hildon-date-editor.c: When the date editor entry has been changed
7070 but the numbers of characters < max, turn off the skip validation flag.
7071 Prevents a situation when we enter first a valid year and later re-write
7072 it with an invalid one. Fixes NB#60154.
7074 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7076 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7077 code dialog. Fixes NB#64355.
7079 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7081 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7082 switching the page. Fixes NB#49374.
7084 * examples/Makefile.am:
7085 * examples/hildon-wizard-dialog-example.c: Adding an example for
7086 HildonWizardDialog that shows how to handle manual sensitivity setting on
7089 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7093 * src/hildon-version.h.in:
7094 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7096 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7098 * src/hildon-volumebar.c: Updating the docs.
7100 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7106 * debian/changelog: Updating.
7108 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7110 * src/hildon-find-toolbar.c:
7111 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7112 selected item: hildon_find_toolbar_set_active,
7113 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7114 hildon_find_toolbar_get_active_iter . They correspond to respective
7115 GtkComboBox functions.
7117 * examples/Makefile.am:
7118 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7121 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7123 * examples/Makefile.am:
7124 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7127 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7128 when font size > 32 and we pack a focusable widget inside. Actually using
7129 the default response would work too, but since we don't show default
7130 response state in any way (no theming) it would not be visible to the
7131 user. Fixes NB#63430.
7133 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7135 * src/hildon-date-editor.c: Adding the missing variable setter in the
7136 set_property handler. Fixes NB#54182.
7138 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7140 * src/hildon-window.h: Changing the long key press time from 1500ms to
7141 800ms as requested in NB#63700. I have a bad feeling about this, let's
7142 see... Fixes NB#63700.
7144 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7146 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7147 hildon_time_picker_map, hildon_time_picker_realize,
7148 hildon_time_picker_style_set): Split the contents of map to more
7149 appropriate functions; set window decorations on realize and update
7150 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7152 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7157 * debian/changelog: Updating.
7159 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7161 * src/Makefile.am: fixed installation of the header files
7163 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7169 * debian/changelog: Updating.
7171 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7173 * configure.ac: Removing some remaining of --enable-xan.
7175 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7177 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7178 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7180 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7181 2.10.12-osso6 because the move-focus signal needs to be available in
7184 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7186 * examples/Makefile.am:
7187 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7188 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7189 fine. Prolly NB#61128 is fixed now.
7191 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7193 * src/hildon-volumebar.c:
7194 * src/hildon-volumebar.h: Adding the
7195 hildon_volumebar_set_range_insensitive_message and
7196 hildon_volumebar_set_range_insensitive_messagef functions to set
7197 insensitive message on the slider of the volumebar. Fixes NB#61129.
7199 * examples/Makefile.am:
7200 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7201 test the new insensitive messsage functionality on HildonVolumebar.
7203 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7205 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7208 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7210 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7211 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7212 button on after clearing the trail.
7214 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7216 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7218 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7220 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7221 by splitting the installed headers in generated and non-generated groups. Use
7222 only the non-generated headers to create the hildon-enum-types.h file.
7224 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7226 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7228 * src/hildon-window.c: Hide the window before performing the destroy.
7229 Should make the app closing a little tiny bit more snappy.
7231 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7233 * src/hildon-seekbar.c: add gtkrange.h header
7234 * src/hildon-caption.c: remove unused variable
7236 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7238 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7241 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7247 * debian/changelog: Updating.
7249 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7251 * src/hildon-window.c (hildon_window_window_state_event,
7252 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7253 escape timeout on focus-out-event rather than notify::is-topmost; the
7254 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7256 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7258 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7259 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7261 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7263 * src/hildon-window: actually, you need to use the macro always, there's
7264 no private pointer in the instance structure. We should have cleaned this up
7265 when we had the chance...
7267 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7269 * src/hildon-window.c: do not get the private date from HildonWindow before
7270 it passes the g_return_if_fail check. Once it's passed the test, there's no
7271 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7272 if you are only going to access the data once. Whitespace cleanups.
7274 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7276 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7277 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7279 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7285 * debian/changelog: Updating.
7287 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7289 * src/hildon-window.c: When destroying the window, remove (if exists) the
7290 escape timeout handler. Fixes #NB59276.
7292 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7294 * src/hildon-banner.c: When realizing the widget, set the window
7295 transiency. Setting the transiency in the gobject constructor is not
7296 good, as the widget is not realized at that point. Fixes: #NB56624.
7298 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7300 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7301 Add padding for future expansions.
7303 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7305 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7306 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7307 will fake an activation on the previous to the last item of the trail, so
7308 the effect can be overrided by the developer as usual.
7309 Also change the callback for the back button to do the same thing, so its
7310 effect can be overrided too. Fixes: NB#58982
7312 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7314 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7315 HildonCaption. Fixes NB#52379.
7317 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7319 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7320 the internal state of the trail after the user has had the chance of executing
7321 his handler for the signal. Specifically, it may happen that the activated button
7322 is removed and the user still lets the default handler run. This would segfault
7325 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7327 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7328 scrollbar to the preview dialog. Fixes NB#54147.
7330 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7332 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7333 max/min year properties can be altered, so the client can modify it
7334 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7336 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7338 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7339 hildonlike by default. Fixing a problem with disappearing arrows when
7340 scrolling through months and years. Fixes NB#54127.
7342 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7344 * examples/hildon-date-editor-example.c: Adding error callback to the date
7347 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7353 * configure.ac: Updating.
7355 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7357 * configure.ac: Adding a special '--enable-xan' configure option that
7358 turns off the -Werror compilation setting. Usefull for development.
7360 * src/hildon-calendar.c:
7361 * src/hildon-number-editor.c:
7362 * src/hildon-time-picker.c: Adding the 5* multiplier to
7365 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7367 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7368 instead of g_object_ref + gtk_object_sink.
7370 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7376 * debian/changelog: Updating.
7378 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7380 * src/hildon-color-chooser-dialog.c:
7381 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7382 straight from Tommi labs.
7384 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7386 * examples/hildon-finger-example.c: Correcting the header file path.
7388 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7389 the changed signal. Fixes a small memory leak.
7391 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7395 * src/hildon-banner.c: Importing several usefull fixes from the
7396 ubuntu-mobile branch.
7398 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7400 * examples/Makefile.am:
7401 * examples/hildon-finger-example.c: Adding a finger-checking code
7404 * src/hildon-font-selection-dialog.c: Do not allocate the color
7405 structure using the g_new. Fixes NB#54061.
7407 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * src/hildon-helper.c: Correcting tabs in file.
7411 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7413 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7414 control the visibility of the children.
7416 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7418 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7424 * debian/changelog: Updating.
7426 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7428 * src/hildon-bread-crumb-trail.c:
7429 (hildon_bread_crumb_trail_size_allocate):
7431 Make the back button always a square.
7433 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7435 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7436 from the .c file as it's a private file.
7438 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7440 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7441 uses slightly bigger height.
7443 * src/hildon-font-selection-dialog.c: Adding some checks before
7444 freeing memory in the font selection dialog.
7446 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7448 * src/hildon-font-selection-dialog.c: Adding a small check when
7451 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7452 buttons sensitivity on page switching.
7454 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7456 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7457 internal details of adding a bread crumb to the trail.
7459 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7465 * debian/changelog: Updating.
7467 * src/hildon-bread-crumb-trail.h:
7468 * src/hildon-bread-crumb.h: Changing the API guard to
7469 HILDON_ENABLE_UNSTABLE_API.
7471 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * src/hildon-helper.h: Updating.
7481 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7489 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7493 * src/hildon-helper.h: Small fix to make the package actually compile.
7495 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7497 * src/hildon-bread-crumb-trail.h:
7498 * src/hildon-bread-crumb.h:
7500 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7501 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7503 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7505 * examples/hildon-bread-crumb-trail-example.c:
7507 * src/hildon-bread-crumb-trail.c:
7508 * src/hildon-bread-crumb-trail.h:
7509 * src/hildon-bread-crumb.c:
7510 * src/hildon-bread-crumb.h:
7511 * src/hildon-marshalers.list:
7512 * src/hildon-bread-crumb-widget.c:
7513 * src/hildon-bread-crumb-widget.h:
7515 Slight change in the widget design. The bread crumb trail API is
7516 unchanged, but HildonBreadCrumb is now an interface. A *private*
7517 implementation, hildon-bread-crumb-widget, is provided and used
7518 internally by the trail for the push_text/push_icon functions.
7520 The generic push API is still available, so anyone can implement
7521 and use its own bread crumb widget.
7523 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7525 * debian/rules: Fixing the shlibs.
7527 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7529 * src/hildon-banner.c: Fixing a problem with timed banners having
7530 their parrent destroyed before they are.
7532 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7534 * src/hildon-bread-crumb.c:
7535 * src/hildon-bread-crumb.h:
7537 Make the get_natural_size function a vfunc.
7539 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7541 * src/hildon-bread-crumb.c:
7542 * src/hildon-bread-crumb-trail.c:
7546 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7553 * debian/changelog: Updating for release.
7555 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7557 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7558 don't leak the pango layout.
7560 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7563 * examples/hildon-bread-crumb-trail-example.c:
7567 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7569 * debian/changelog: Removing the bug-fixed entries that were actually
7570 resolved as WONTFIX.
7572 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7575 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7577 * src/hildon-bread-crumb-trail.c:
7578 * src/hildon-bread-crumb-trail.h:
7579 * src/hildon-bread-crumb.c:
7580 * src/hildon-bread-crumb.h:
7584 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7586 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7587 until it's passed the type check.
7589 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7591 * examples/hildon-bread-crumb-trail-example.c
7595 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7597 * examples/Makefile.am
7598 * examples/hildon-bread-crumb-trail-example.c
7600 * src/hildon-bread-crumb-trail.c
7601 * src/hildon-bread-crumb-trail.h
7602 * src/hildon-bread-crumb.c
7603 * src/hildon-bread-crumb.h
7605 New HildonBreadCrumbTrail widget.
7607 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7609 * src/hildon-range-editor.c (hildon_range_editor_init),
7610 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7611 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7612 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7613 hildon_time_editor_class_init, hildon_time_editor_init),
7614 src/hildon-get-password-dialog.c (invalid_input,
7615 hildon_get_password_set_property, hildon_get_password_get_property,
7616 create_contents, hildon_get_password_dialog_set_max_characters),
7617 src/hildon-set-password-dialog.c (create_contents),
7618 src/hildon-date-editor.c (hildon_date_editor_init),
7619 src/hildon-login-dialog.c (hildon_login_dialog_init),
7620 src/hildon-number-editor.c (hildon_number_editor_init),
7621 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7622 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7623 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7624 configure option and adding the respective checks in the code.
7625 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7626 hildon_calendar_drag_data_received): fixed some build warnings.
7628 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * debian/changelog: A 1.0.0 release notes.