1 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
3 * src/hildon-picker-dialog.c
4 * src/hildon-touch-selector.c
5 Reverting the change that tried to avoid the hardcoded height on
6 the picker dialog, as causes problems on the hildon-touch-selector
9 Fixes: NB#110029 (selectors not scrolling to selected value)
11 2009-04-07 Alberto Garcia <agarcia@igalia.com>
13 * src/hildon-touch-selector.c: Fix typos
15 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
17 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
18 Use the event coordinates instead of gdk_window_get_pointer(). Also,
19 request more motions after using it.
21 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
23 * src/hildon-calendar.c (hildon_calendar_expose),
24 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
25 Remove unused variables.
27 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
29 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
32 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
34 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
35 Check the return value of gtk_tree_selection_get_selected()
38 2009-04-06 Alberto Garcia <agarcia@igalia.com>
40 * src/hildon-animation-actor.c
43 * src/hildon-pannable-area.c
44 * src/hildon-picker-button.c
45 * src/hildon-program.c
46 * src/hildon-remote-texture.c
47 * src/hildon-text-view.c
48 * src/hildon-touch-selector.c
49 * src/hildon-window-stack.c
50 * src/hildon-window.c:
51 Add missing 'Since: 2.2' tags.
53 * doc/hildon-sections.txt:
54 Add some missing symbols.
56 * doc/hildon-docs.sgml:
57 New 'Other' section for HildonAnimationActor and
60 2009-04-06 Alberto Garcia <agarcia@igalia.com>
62 Patch by Iván Gómez (igomez@igalia.com)
66 * doc/hildon-docs.sgml
67 * doc/hildon-sections.txt
71 New chapters on using the Hildon library.
72 Updated the general structure of the reference manual.
73 Other minor documentation fixes.
75 * src/hildon-calendar-popup.c
76 * src/hildon-calendar.c
77 * src/hildon-controlbar.c
78 * src/hildon-date-editor.c
80 * src/hildon-hvolumebar.c
81 * src/hildon-number-editor.c
82 * src/hildon-range-editor.c
83 * src/hildon-sort-dialog.c
84 * src/hildon-time-editor.c
85 * src/hildon-time-picker.c
86 * src/hildon-volumebar-range.c
87 * src/hildon-volumebar.c
88 * src/hildon-vvolumebar.c
89 * src/hildon-weekday-picker.c:
92 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
93 Document 'horizontal-movement' and 'vertical-movement' signals.
95 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
100 * configure.ac: Bump version.
101 * debian/changelog: Updates.
103 2009-04-06 Alejandro G. Castro <alex@igalia.com>
105 * src/hildon-pannable-area.c,
106 (hildon_pannable_area_class_init): increased the minimum velocity.
107 (hildon_pannable_area_button_release_cb): Updated the
108 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
109 setup. Review the code to control that last event.
111 Fixes: NB#109790 (Releasing finger in pannable area easily causes
114 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
116 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
118 * src/hildon-get-password-dialog.c
119 (hildon_get_password_set_property),
120 (hildon_get_password_get_property), (create_contents):
121 * src/hildon-login-dialog-private.h:
122 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
123 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
124 (hildon_login_dialog_get_password):
125 * src/hildon-set-password-dialog-private.h:
126 * src/hildon-set-password-dialog.c
127 (hildon_set_password_set_property),
128 (hildon_set_password_get_property), (create_contents),
129 (hildon_set_password_response_change),
130 (hildon_set_password_response_set), (hildon_checkbox_toggled):
132 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
133 instead and look more Fremantle style.
135 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
137 2009-04-03 Alberto Garcia <agarcia@igalia.com>
139 * doc/hildon-sections.txt
140 * src/hildon-window-stack.h
141 * src/hildon-window-stack.c
142 (+hildon_window_stack_get_windows):
143 New API to obtain the list of windows on a stack.
145 2009-04-02 Alberto Garcia <agarcia@igalia.com>
147 * src/hildon-app-menu.c (hildon_app_menu_popup)
148 (hildon_app_menu_class_init, -hildon_app_menu_show):
149 Remove hildon_app_menu_show() and move all its checks to
150 hildon_app_menu_popup()
152 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
154 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
155 (_hildon_picker_dialog_set_selector): removed call to
156 gtk_widget_set_size_request
157 * src/hildon-touch-selector.c
158 (_create_new_column): change the pannable size request policy
160 Avoid to use a hardcoded height for the hildon picker dialog. In order
161 to get that, we needed to change the hildon pannable size request
163 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
165 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
167 * src/hildon-window.c (hildon_window_map): Check for vbox to be
168 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
171 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
173 * debian/control: Depend on osso-system-lock localization package.
174 * src/hildon-code-dialog.c: Obtain the secu_application_title
175 translation from osso-system-lock.
176 * src/hildon-get-password-dialog.c (create_contents): Do not mark
177 for translation the atk related strings, that's not necessary.
178 * src/hildon-set-password-dialog.c (create_contents): Ditto.
179 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
180 cancel button, it is not required.
182 2009-04-02 Alejandro G. Castro <alex@igalia.com>
184 * src/hildon-pannable-area.c,
185 (hildon_pannable_area_class_init): Modified the default value of
186 the overshooting max speed, we have reduced it.
188 2009-04-02 Alberto Garcia <agarcia@igalia.com>
190 * doc/hildon-sections.txt
191 * src/hildon-window-private.h
192 * src/hildon-window.h
193 * src/hildon-window.c (hildon_window_class_init)
194 (hildon_window_init, hildon_window_finalize)
195 (hildon_window_realize, hildon_window_get_property)
196 (hildon_window_set_property, hildon_window_update_markup)
197 (hildon_window_get_markup, hildon_window_set_markup):
198 New "markup" property and hildon_window_{get,set}_markup() methods.
200 * examples/hildon-stackable-window-example.c (new_window):
201 Update example to use hildon_window_set_markup()
203 Fixes: NB#106375 (Need API to retitle a window with a title
206 2009-04-01 Alejandro G. Castro <alex@igalia.com>
208 * src/hildon-pannable-area.c,
209 (hildon_pannable_area_class_init): Changed the default value of
210 the initial_hint to TRUE.
211 (hildon_pannable_area_initial_effect): Changed the initial effect,
212 not the effect is just the fade-out of the scrollbars.
214 Fixes: NB#107775 (No scrollbars can be seen when several items are
215 available in a dialog)
217 2009-04-01 Alberto Garcia <agarcia@igalia.com>
219 * src/hildon-program.c (hildon_program_update_top_most):
222 Fixes: NB#109179 (Memory leak in Hildon program)
224 2009-04-01 Alberto Garcia <agarcia@igalia.com>
226 * src/hildon-banner.c (-get_current_app_window):
227 Remove unused function.
229 2009-04-01 Alejandro G. Castro <alex@igalia.com>
231 * src/hildon-pannable-area.c: Modified the documentation of the
232 get adjustments functions to explain the problem of using the
234 (hildon_pannable_area_class_init): Improved the explanation about
237 2009-04-01 Alberto Garcia <agarcia@igalia.com>
239 * src/hildon-app-menu-private.h
240 * src/hildon-app-menu.c
241 (hildon_app_menu_class_init):
242 Bring back the 'external-border' style property
243 (hildon_app_menu_class_init, hildon_app_menu_init)
244 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
245 Set a fixed width-request for the menu, independent of the number
248 Fixes: NB#94957 (Smoothly opened application menu)
250 2009-03-30 Alberto Garcia <agarcia@igalia.com>
252 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
254 * src/hildon-banner.c
255 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
257 Make sure that the banner is correctly placed the first time it's
259 (hildon_banner_check_position, -check_fullscreen_state):
260 Show the banner in the same place no matter if the window is in
261 fullscreen mode or not.
263 Fixes: NB#107386 (Odd stacking behaviour for information banners)
265 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
267 * src/hildon-touch-selector.c (_default_print_func): reorder
268 concatenation for clarity.
270 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
272 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
273 for multicolumn selectors.
275 Fixes: NB#109099 (Memory leak in Hildon touch selector)
277 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
282 * configure.ac: Bump version.
283 * debian/changelog: Updates.
285 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
287 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
290 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
292 * configure.ac: removed libcangerra-gtk dependency
293 * debian/control: removed libcanberra-gtk dependency
294 * src/Makefile.am: removed libcanberra gtk related flags
295 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
296 context, and manage a global canberra context instead
298 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
300 2009-03-26 Alberto Garcia <agarcia@igalia.com>
302 Patch by Daniel Borgmann (danielb@openismus.com)
304 * src/hildon-edit-toolbar.c:
305 Adjust the left padding.
306 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
307 Paint background of the edit toolbar.
309 Fixes: NB#107897 (Patch to make editmodetoolbar background
310 themeable and adjust margin)
312 2009-03-25 Alberto Garcia <agarcia@igalia.com>
314 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
316 * src/hildon-program.c (hildon_program_update_top_most):
317 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
319 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
320 change when the user tasks in/out of an application)
322 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
324 * configure.ac: added libcangerra-gtk dependency
325 * debian/control: added libcanberra-gtk dependency
326 * src/Makefile.am: added libcanberra gtk related flags
327 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
330 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
332 2009-03-25 Alberto Garcia <agarcia@igalia.com>
334 * src/hildon-program.c (hildon_program_remove_window)
335 (hildon_program_add_window): Add checks for the window
336 parameter. Don't decrease the window counter if the window is not
339 2009-03-24 Alejandro G. Castro <alex@igalia.com>
341 * src/hildon-pannable-area.c,
342 (hildon_pannable_area_realize): Fixed position of the event_window
343 in the realize method.
345 2009-03-24 Alberto Garcia <agarcia@igalia.com>
347 * src/hildon-app-menu-private.h
348 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
349 (hildon_app_menu_map, hildon_app_menu_hide_idle)
350 (hildon_app_menu_key_press, hildon_app_menu_init)
351 (hildon_app_menu_finalize):
352 Make sure that all idle functions are removed when the widget is
355 Fixes: NB#107583 (Hildon app menu crashes in various applications)
357 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
362 * configure.ac: Bump version.
363 * debian/changelog: Updates.
365 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
368 (+hildon_entry_show_placeholder),
369 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
370 that replace hildon_entry_update_contents().
371 (hildon_entry_set_text),
372 (hildon_entry_set_placeholder),
373 (hildon_entry_focus_in_event),
374 (hildon_entry_focus_out_event): Determine when it is needed
375 either to show or hide the placeholder and call the above methods.
377 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
378 when the placeholder text is already set)
380 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
382 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
383 simple GdkPixbufAnim using the new icons for the banner.
384 (hildon_banner_show_animation): Use the above mentioned method to
385 create the animation widget.
387 Fixes: NB#103564 (Make hildon animation banner use individual
388 image files as the animation)
390 2009-03-24 Alejandro G. Castro <alex@igalia.com>
392 * src/hildon-pannable-area.c,
393 (hildon_pannable_leave_notify_event): Check if the child is NULL
394 to avoid sending the leave.
396 2009-03-24 Alejandro G. Castro <alex@igalia.com>
398 * src/hildon-pannable-area.c,
399 (hildon_pannable_area_class_init),
400 (hildon_pannable_leave_notify_event): Added a handler of the
401 leave-notify-signal to consider when no motion notify before
404 Fixes: NB#107494 (Items stay selected when clicking and moving
405 away when inside pannable area)
407 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
412 * configure.ac: Bump version.
413 * debian/changelog: Updates.
415 2009-03-19 Alejandro G. Castro <alex@igalia.com>
417 Patch by Alberto Garcia (agarcia@igalia.com)
419 * src/hildon-date-button.c,
420 (hildon_date_button_class_init),
421 (hildon_date_button_init): Removed the construct property handling
422 and created a default selector in the init method.
423 * src/hildon-picker-button.c,
424 (hildon_picker_button_class_init): Removed the construct flag of the
427 2009-03-18 Alberto Garcia <agarcia@igalia.com>
429 * src/hildon-main.c (hildon_init):
430 Don't allow hildon_init() to be called more than once.
432 Fixes: NB#106607 (hildon_init should issue error message upon
435 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
437 * examples/hildon-pannable-area-touch-list-example.c
438 * examples/hildon-pannagle-area-touch-grid-example.c
439 * examples/hildon-edit-toolbar-example.c
440 * examples/hildon-touch-selector-multi-cells-example.c
441 Removed the call to gtk_rc_parse_string, as it is not required since
444 2009-03-17 Alejandro G. Castro <alex@igalia.com>
446 * src/hildon-pannable-area.c,
447 (hildon_pannable_area_class_init): Modified the default panning
448 threshold of the widget to 6px.
450 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
451 than the threshold value ) within the button is not sending the
454 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
456 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
457 for the treeview in the new column. This way, the touch list will never
460 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
461 be selected manually for the HW keys to work)
463 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
465 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
466 comparison instead of using strcmp(). Fixes a compiler warning as well.
468 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
470 * doc/hildon-docs.sgml: Do not set the library version in the
471 document title, use the releaseinfo tag for that purpose instead.
473 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
475 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
476 Do not jump to the first item if the text in the entry is removed.
478 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
483 * configure.ac: Bump version.
484 * debian/changelog: Updates.
486 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
488 * src/hildon-entry.c (hildon_entry_refresh_contents):
489 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
490 Use "ReversedSecondaryTextColor" for the placeholder text.
492 2009-03-12 Alberto Garcia <agarcia@igalia.com>
494 * src/hildon-text-view.c: Fix compilation warning.
496 2009-03-12 Alberto Garcia <agarcia@igalia.com>
498 * src/hildon-button.c (hildon_button_class_init): Don't make
499 "title" and "value" construction properties, to prevent them from
500 overwriting labels set from derived classes.
502 * src/hildon-picker-button.c
503 (hildon_picker_button_set_selector): Allow setting a NULL selector.
504 (hildon_picker_button_class_init): Make touch-selector a
505 construction property.
507 * src/hildon-date-button.c (hildon_date_button_class_init)
508 (+hildon_date_button_constructed): Add a default date selector if
511 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
513 * src/hildon-touch-selector.c: Small documentation fixes.
515 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
517 Based on a patch by Daniel Borgmann (danielb@openismus.com)
519 * src/hildon-entry.c (hildon_entry_refresh_contents),
520 (hildon_entry_get_text), (hildon_entry_init): Do not use the
521 widget name, set the logical color directly instead and a boolean
522 showing_placeholder instead.
523 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
524 use the widget name here either.
526 Fixes: NB#105678 (HildonTextView should use logical colours
527 instead of setting widget name)
529 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
531 Patch by Daniel Elster (danielk@openismus.com)
533 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
534 Add user_data parameter.
535 (hildon_touch_selector_set_print_func_full): New function akin
536 hildon_touch_selector_set_print_func() but with support for user
537 data and a destroy callback.
538 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
539 to clean up the print function user data.
540 (hildon_touch_selector_class_init): Install dispose function.
541 (HildonTouchSelectorPrivate::print_user_data),
542 (HildonTouchSelectorPrivate::print_destroy_func): New private
544 (hildon_touch_selector_init): Initialize new private members.
545 (hildon_touch_selector_get_current_text): Pass along user data
546 to the print function.
547 (_default_print_func): Add dummy user_data to parameter list.
548 * hildon-date-selector.c (_custom_print_func): ditto,
549 * hildon-time-selector.c (_custom_print_func): ditto,
550 * hildon-touch-selector-entry.c
551 (hildon_touch_selector_entry_print_func): ditto.
553 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
555 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
557 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
559 2009-03-12 Alejandro G. Castro <alex@igalia.com>
561 * src/hildon-pannable-area.c,
562 (hildon_pannable_area_init),
563 (hildon_pannable_area_button_press_cb),
564 (hildon_pannable_area_motion_notify_cb): We have added code to
565 handle the leave and enter events when using the motion events.
567 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
569 2009-03-11 Alberto Garcia <agarcia@igalia.com>
571 * src/hildon-date-button.c (hildon_date_button_get_date)
572 (hildon_date_button_set_date): Make sure that the button has a
575 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
577 2009-03-11 Alejandro G. Castro <alex@igalia.com>
579 * src/hildon-pannable-area.c,
580 (hildon_pannable_area_class_init),
581 (hildon_pannable_area_calculate_velocity): Modify the use of the
582 force and adapt the value.
584 2009-03-10 Alberto Garcia <agarcia@igalia.com>
586 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
587 (hildon_app_menu_class_init): Hide the menu if it receives a
588 delete-event, but don't destroy it
590 Fixes: NB#104485 (Not able to address the call when application
591 menu is opened at background)
593 2009-03-10 Alberto Garcia <agarcia@igalia.com>
595 * src/hildon-app-menu.c
596 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
597 Remove the "external-border" style property, let the menu take its
598 natural size (or the one set by the window manager)
599 (hildon_app_menu_repack_items):
600 Don't reshow the menu, avoid flickers.
602 Partially fixes NB#94957 (Smoothly opened application menu)
604 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
609 * configure.ac: Bump version.
610 * debian/changelog: Updates.
612 2009-03-10 Alejandro G. Castro <alex@igalia.com>
614 * src/hildon-pannable-area.c,
615 (hildon_pannable_area_motion_notify_cb): We control that the
616 direction error margin is used just in case the movement is
617 allowed in the other direction.
619 Fixes: NB#105012 (buttons inside a pannable area not getting
620 release event when dragging/releasing)
622 2009-03-10 Alejandro G. Castro <alex@igalia.com>
624 * src/hildon-pannable-area.c,
625 (hildon_pannable_area_class_init),
626 (hildon_pannable_area_get_property),
627 (hildon_pannable_area_set_property),
628 (hildon_pannable_area_initial_effect),
629 (hildon_pannable_axis_scroll),
630 (hildon_pannable_area_button_release_cb): Reviewed the
631 overshooting effect, now it has its own max
632 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
635 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
640 * configure.ac: Bump version.
641 * debian/changelog: Updates.
643 2009-03-09 Alejandro G. Castro <alex@igalia.com>
645 * src/hildon-pannable-area.c,
646 (hildon_pannable_area_class_init): Changed the max speed, now
647 users can launch the widget very fast. Reduced the default force,
648 that way it is easier to control the launch speed.
650 2009-03-09 Alejandro G. Castro <alex@igalia.com>
652 * src/hildon-pannable-area.c,
653 (hildon_pannable_area_button_release_cb): Removed this check
654 because it causes problems when the device is overloaded.
656 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
658 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
659 add a current_text field to store the text entered in the
660 touch selector entry.
661 (_clean_current_selection): clean up the current text as well.
662 (_save_current_selection), (_restore_current_selection):
663 Save/restore the text in the entry if the selector is a
664 HildonTouchSelectorEntry.
666 Fixes: NB#102541 (value entered in the touch selector entry is not
667 shown when opened for second time)
669 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
671 * doc/hildon-sections.txt:
672 * src/hildon-touch-selector-entry.c
673 (+hildon_touch_selector_entry_get_entry):
674 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
676 Fixes: NB#104815 (I need accessor to the entry inside
677 HildonTouchSelectorEntry)
679 2009-03-06 Alberto Garcia <agarcia@igalia.com>
681 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
682 (hildon_app_menu_class_init):
683 New "filter-vertical-spacing" style property.
685 2009-03-06 Alberto Garcia <agarcia@igalia.com>
687 * src/hildon-find-toolbar.c
688 (hildon_find_toolbar_emit_close)
689 (hildon_find_toolbar_emit_invalid_input)
690 (hildon_find_toolbar_entry_activate):
691 Use g_signal_emit() instead of g_signal_emit_by_name()
693 2009-03-06 Alberto Garcia <agarcia@igalia.com>
695 Patch by Mox Soini (ext-mox.soini@nokia.com)
697 * tests/TEST-CASES.txt
698 * tests/check-hildon-banner.c
699 * tests/check-hildon-note.c
700 * src/hildon-banner.c
701 * src/hildon-code-dialog.c
702 * src/hildon-date-editor.c (real_set_calendar_icon_state)
703 * src/hildon-time-editor.c
704 * examples/hildon-lookup-example.c (main):
705 Replace obsolete icon names with new ones.
707 * src/hildon-find-toolbar-private.h:
708 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
709 (-hildon_find_toolbar_emit_search):
710 Remove find button and change icon of close button.
712 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
714 2009-03-05 Alberto Garcia <agarcia@igalia.com>
716 * src/hildon-time-button.c (hildon_time_button_new_step):
717 Use the "touch-selector" property to set the selector directly
718 when creating the object.
720 2009-03-05 Alejandro G. Castro <alex@igalia.com>
722 Added a new example application that allows tuning the pannable
723 area and replaced defines with properties in order to simplify the
724 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
725 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
726 PROP_DIRECTION_ERROR_MARGIN.
728 * examples/hildon-pannable-area-tuning-example.c: New example
730 * src/hildon-pannable-area.c,
731 (hildon_pannable_area_class_init),
732 (hildon_pannable_area_init),
733 (hildon_pannable_area_get_property),
734 (hildon_pannable_area_set_property),
735 (hildon_pannable_area_launch_fade_timeout),
736 (hildon_pannable_area_adjust_value_changed),
737 (hildon_pannable_axis_scroll),
738 (hildon_pannable_area_motion_notify_cb),
739 (hildon_pannable_area_scroll_cb),
740 (hildon_pannable_area_button_release_cb): We have converted some
741 of the defines that control the widget to properties to simplify
744 2009-03-05 Alberto Garcia <agarcia@igalia.com>
746 * src/hildon-app-menu.c (hildon_app_menu_map)
747 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
748 so it's closed if a new window appears.
750 Fixes: NB#104485 (Not able to address the call when application
751 menu is opened at background)
753 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-color-button.c (hildon_color_button_get_property):Add
756 missing 'break' statement in in 'case' construct to avoid
759 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
761 * src/hildon-touch-selector-entry.c
762 (hildon_touch_selector_entry_get_property),
763 (hildon_touch_selector_entry_set_property): Add missing 'break'
764 statements in in 'case' constructs to avoid incorrect warnings.
766 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
768 * src/hildon-time-editor.c
769 (hildon_time_editor_get_time_separators): Do not crash if
770 the first label is NULL.
772 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
774 * src/hildon-date-selector.c (_month_days): Check for month to be
775 strictly less than 12, since otherwise we may overrun the array.
777 2009-03-04 Alberto Garcia <agarcia@igalia.com>
779 * src/hildon-date-button.c (+hildon_date_button_new_full)
780 (hildon_date_button_new, hildon_date_button_new_with_year_range)
781 (hildon_date_button_init): Set the date selector using a
782 construction property, to make it happen after HildonButton's
783 "value" property is set.
785 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
786 current date by default)
788 2009-03-04 Alberto Garcia <agarcia@igalia.com>
790 * doc/hildon-sections.txt
791 * src/hildon-program.c
792 * src/hildon-stackable-window.c
793 * src/hildon-window.c:
794 Documentation updates
796 2009-03-04 Alberto Garcia <agarcia@igalia.com>
798 * src/hildon-window-stack.c (hildon_window_stack_get_default)
799 (hildon_window_stack_new, +hildon_window_stack_set_property)
800 (+hildon_window_stack_get_property)
801 (hildon_window_stack_class_init)
802 (+hildon_window_stack_set_window_group)
803 (+hildon_window_stack_get_window_group):
804 Make the window group a construction property.
806 2009-03-04 Alberto Garcia <agarcia@igalia.com>
808 * doc/hildon-sections.txt
809 * src/hildon-stackable-window-private.h
810 * src/hildon-stackable-window.h
811 * src/hildon-stackable-window.c
812 (-hildon_stackable_window_set_app_menu)
813 (-hildon_stackable_window_get_app_menu)
814 (-hildon_stackable_window_toggle_menu)
815 (-hildon_stackable_window_finalize)
816 (hildon_stackable_window_class_init)
817 (hildon_stackable_window_init)
818 * src/hildon-window-private.h
819 * src/hildon-window.h
820 * src/hildon-window.c (hildon_window_init)
821 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
822 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
823 (hildon_window_get_main_menu, hildon_window_set_main_menu)
824 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
825 Moved all HildonAppMenu code to HildonWindow. The menu does not
826 require a HildonStackableWindow anymore.
828 * src/hildon-app-menu.c
829 * src/hildon-program.c
830 * examples/hildon-app-menu-example.c (main):
831 Update examples and documentation to reflect HildonAppMenu
834 2009-03-04 Alberto Garcia <agarcia@igalia.com>
836 * src/hildon-remote-texture.c
837 * src/hildon-animation-actor.c:
838 Don't include unused private headers.
840 2009-03-04 Alberto Garcia <agarcia@igalia.com>
842 * src/hildon-program-private.h
843 * src/hildon-program.c
844 (hildon_program_set_common_menu)
845 (hildon_program_get_common_menu)
846 (hildon_program_set_common_app_menu)
847 (hildon_program_get_common_app_menu):
848 Change common menu pointers from GtkWidget* to GtkMenu* and
849 HildonAppMenu* to avoid unnecessary casts.
851 2009-03-03 Alberto Garcia <agarcia@igalia.com>
853 * src/hildon-window.c (hildon_window_set_main_menu):
854 Removed incorrect 'Since:' tag
856 2009-03-03 Alejandro G. Castro <alex@igalia.com>
858 * src/hildon-pannable-area.c,
859 (hildon_pannable_area_calculate_velocity): We use now the
860 RATIO_TOLERANCE here to check the distance, fixed typo in the
862 (hildon_pannable_area_motion_notify_cb): We have to set the type
863 and time even if we are not sending the motion.
865 2009-03-02 Alberto Garcia <agarcia@igalia.com>
867 * doc/hildon-sections.txt
868 * src/hildon-app-menu.h
869 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
870 (+hildon_app_menu_get_filters): New methods to get the contents of
873 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
876 2009-03-02 Alberto Garcia <agarcia@igalia.com>
878 * src/hildon-app-menu.c (hildon_app_menu_popup):
881 2009-03-02 Alberto Garcia <agarcia@igalia.com>
883 * src/hildon-window.h
884 * src/hildon-window.c (+hildon_window_get_main_menu)
885 (hildon_window_get_menu): Created hildon_window_get_main_menu()
886 and deprecated hildon_window_get_menu().
888 * src/hildon-stackable-window.h
889 * src/hildon-stackable-window.c
890 (+hildon_stackable_window_set_app_menu)
891 (+hildon_stackable_window_get_app_menu)
892 (hildon_stackable_window_set_main_menu): Created
893 hildon_stackable_window_{get,set}_app_menu() and deprecated
894 hildon_stackable_window_set_main_menu().
896 * doc/hildon-sections.txt
897 * examples/hildon-app-menu-example.c (main)
898 * src/hildon-app-menu.c
899 * src/hildon-program.c:
900 Updated examples and documentation.
902 Fixes: NB#103758 (No way to obtain a menu from a
903 HildonStackableWindow)
905 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
910 * configure.ac: Bump version.
911 * debian/changelog: Updates.
913 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
915 * examples/hildon-remote-texture-example.c: Include
916 hildon-remote-texture.h explicitely.
917 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
918 applications not defining _XOPEN_SOURCE which don't require this header.
920 2009-02-27 Alberto Garcia <agarcia@igalia.com>
922 * doc/hildon-sections.txt
923 * src/hildon-app-menu.h
924 * src/hildon-app-menu.c (+hildon_app_menu_popup):
925 New function to pop up a HildonAppMenu
927 * src/hildon-stackable-window.c
928 (hildon_stackable_window_toggle_menu):
929 Use hildon_app_menu_popup() to show the menu.
931 2009-02-27 Alberto Garcia <agarcia@igalia.com>
933 * src/hildon-app-menu.c (hildon_app_menu_show)
934 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
935 menu if there's another window between it and its parent window.
937 Fixes: NB#100468 (Application menu window is launched even when a
938 new secondary-window/dialog is pending to be shown/realized)
940 2009-02-27 Alberto Garcia <agarcia@igalia.com>
942 * src/hildon-window-stack.c (hildon_window_stack_push)
943 (hildon_window_stack_pop_and_push):
944 Don't forget to push/pop the first window.
945 Reverse the window list before calling _push_list()
947 2009-02-27 Alberto Garcia <agarcia@igalia.com>
949 * src/hildon-picker-button.h
950 * src/hildon-picker-button.c (hildon_picker_button_class_init):
951 Remove "value_changed" slot to avoid ABI breakage
953 2009-02-26 Alejandro G. Castro <alex@igalia.com>
955 * src/hildon-pannable-area.c,
956 (hildon_pannable_area_realize),
957 (hildon_pannable_area_unrealize),
958 (hildon_pannable_draw_vscroll),
959 (hildon_pannable_draw_hscroll): Changed the method to handle the
960 GC used to draw the transparent scrollbar, this way we avoid
961 creating the GC all the time when drawing the scrollbars.
963 2009-02-26 Alejandro G. Castro <alex@igalia.com>
965 * src/hildon-pannable-area.c,
966 (hildon_pannable_area_init),
967 (hildon_pannable_area_remove): Removed some unnecessary casts.
968 (hildon_pannable_area_dispose): Disconnected some signals before
969 releasing the adjustments.
971 2009-02-26 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
974 Make sure that all widgets contained in the toolbar are shown.
976 2009-02-25 Alberto Garcia <agarcia@igalia.com>
978 * doc/hildon-sections.txt
979 * src/hildon-picker-button.h
980 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
981 (_selection_changed, hildon_picker_button_on_dialog_response)
982 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
983 New hildon_picker_button_value_changed() method.
986 * src/hildon-picker-button-private.h
987 * src/hildon-picker-button.c (hildon_picker_button_init)
988 (+hildon_picker_button_disable_value_changed): Add protected
989 function for disabling the "value-changed" signal.
991 * src/hildon-date-button.c (hildon_date_button_set_date):
992 Don't emit "value-changed" for each one of the three columns.
994 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
995 before actual change of values)
997 2009-02-24 Alejandro G. Castro <alex@igalia.com>
999 * src/hildon-pannable-area.c,
1000 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1001 for the treeview overshooting.
1003 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1005 * src/hildon-banner.c (+hildon_banner_bind_style):
1006 Renamed from hildon_banner_bind_label_style(), now naming the
1007 banner itself as well.
1008 (hildon_banner_show_information),
1009 (hildon_banner_show_information_with_markup),
1010 (hildon_banner_show_animation), (hildon_banner_show_progress):
1011 Name the widgets and labels, based on their type.
1013 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1016 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1018 * src/hildon-note.c (hildon_note_set_property): call
1019 hildon_note_rename() on HildonNote:note-type set.
1020 (hildon_note_rename): Name the note and its label, based on the
1021 HildonNote:note-type property.
1023 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1026 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1028 * src/hildon-pannable-area.c,
1029 (hildon_pannable_area_class_init),
1030 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1031 panning parameters, increased SPS and deceleration factor. Added
1032 also a margin to control fake directions.
1034 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1036 Patch by Sven Herzberg (sven@imendio.com)
1038 * configure.ac: Add missing AM_PROG_CC_C_0
1039 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1041 See NB#101420 (Update unit tests and fix make check)
1043 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1045 This patch was applied before but reverted because it caused
1046 problems, we have changed the main condition and tested the
1047 regressions we detected before and they work ok. We have done a
1048 complete review of the topmost algorithm in order to get a more
1051 * src/hildon-pannable-area.c,
1052 (hildon_pannable_area_get_topmost): Added a new parameter to
1053 filter the the windows that do not include those events.
1054 (hildon_pannable_area_button_press_cb),
1055 (hildon_pannable_area_button_release_cb),
1056 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1057 topmost function, we have added the new parameter.
1059 Fixes: NB#97458 (Pannable area prevents propagation of button
1062 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1064 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1065 if all columns in the selector have an item selected.
1066 (_on_dialog_response): Stop "response" signal emission if there is
1067 any selector column without selected items.
1069 Fixes: NB#101889 (Picker dialog should not close when nothing is
1070 selected in multiple selection list)
1072 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1074 * src/hildon-font-selection-dialog.c
1075 (hildon_font_selection_dialog_class_init),
1076 (hildon_font_selection_dialog_init): Remove the preview
1077 button and dialog, since previewing with default theming is likely
1078 to be overcomplicated. The :preview property has now no effect.
1079 Update documentation blurbs to inform about this.
1081 Fixes: NB#92297 (Preview content is not clearly visible for
1082 default colour text)
1084 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1086 Reviewed the geometry that handles the children size and
1087 scrollbar, now it tries a size and reviews the results depending
1088 on the scrollbars visibility.
1090 * src/hildon-pannable-area.c,
1091 (hildon_pannable_area_realize): Fixed a typo.
1092 (hildon_pannable_area_child_allocate_calculate): Added this
1093 function to calculate the child allocation.
1094 (hildon_pannable_area_size_allocate): Reviewed the allocation
1096 (hildon_pannable_area_check_scrollbars),
1097 (hildon_pannable_area_refresh): Refactored refresh function, this
1098 way we can call the code handling the scrollbars without causing a
1099 size_request, it is interesting in the allocate.
1100 (hildon_pannable_area_init): Replace the callbacks of the
1101 value_changed and changed signals to propertly deal with the
1103 (hildon_pannable_area_grab_notify),
1104 (hildon_pannable_area_initial_effect),
1105 (hildon_pannable_area_launch_fade_timeout),
1106 (hildon_pannable_area_adjust_changed),
1107 (hildon_pannable_area_adjust_value_changed),
1108 (hildon_pannable_area_redraw),
1109 (hildon_pannable_area_button_press_cb),
1110 (hildon_pannable_area_button_release_cb),
1111 (hildon_pannable_area_scroll_cb),
1112 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1113 code and use the new functions adjust_changed and
1114 adjust_value_changed.
1116 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1117 Contact editor dialog)
1119 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1124 * configure.ac: Bump version.
1125 * debian/changelog: Updates.
1127 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1129 * src/hildon-pannable-area.c,
1130 (hildon_pannable_area_get_topmost),
1131 (hildon_pannable_area_button_press_cb),
1132 (hildon_pannable_area_button_release_cb),
1133 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1134 topmost function adding the event mask. We have to try a
1135 differente approach because it is still causing problems (NB#9745,
1138 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1140 * src/hildon-banner.c:
1141 Update the maximum width of timed banners.
1142 (force_to_wrap_truncated): Enforce the maximum text width if the
1145 Fixes: NB#102413 (The text margins (wrapping) in information
1146 banner should be HILDON_MARGIN_TRIPLE)
1148 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1150 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1152 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1153 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1154 bound when calculating the scroll indicator position.
1156 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1157 treat ->lower correctly)
1159 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1161 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1162 expose event handling, since it is not necessary to draw the focus
1165 Fixes: NB#102467 (Do not show highlight on the text in
1168 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1170 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1171 full height of the toolbar for the button and the label.
1173 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1176 padding before the label and after the button.
1178 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1180 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1182 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1183 Add a GtkVSeparator between the button and the back arrow.
1184 Let the button have automatic size.
1185 Set a name to the widget for theming handling.
1187 Fixes: NB#101793 (Make edit toolbar the same height as window
1188 title bar (use title area theming))
1190 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1192 * src/hildon-helper.c (attach_new_color_element): Fix memory
1195 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1197 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1199 * examples/hildon-button-example.c (common_buttons_window): Don't
1202 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1204 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1205 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1207 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1209 * src/hildon-gtk.c: Check that the window is realized.
1211 Fixes: NB#102225 (Crash setting the progress indicator to a non
1214 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1216 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1217 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1218 instead of modifying the one in the widget style.
1220 Fixes: NB#101043 (Second row of all the command button are
1221 displayed in transparent mode.)
1223 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1225 * src/hildon-date-button.c
1226 * src/hildon-time-button.c: Add gettext macros
1228 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1230 * src/hildon-date-button.c (hildon_date_button_new):
1231 * src/hildon-time-button.c (hildon_time_button_new_step):
1232 Use new logical strings to set the button default title.
1234 Fixes: NB#99915 (Date and Time options are not localised in Date
1237 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1239 * src/hildon-pannable-area.c
1240 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1241 the PANNING_THRESHOLD.
1243 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1245 * src/hildon-pannable-area.c,
1246 (hildon_pannable_area_class_init): Increased the maximum speed.
1247 (hildon_pannable_area_get_property),
1248 (hildon_pannable_area_set_property),
1249 (hildon_pannable_area_timeout): Added a new low friction mode, it
1250 allows the user avoid friction when launching the widget fast
1251 enough. It is interesting to traverse long lists.
1253 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1255 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1256 (+hildon_stackable_window_delete_event): Ignore delete events if
1257 the window is not the topmost one.
1259 Fixes: NB#101698 (Back button long press and delete-event handling)
1261 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1263 * src/hildon-pannable-area.c,
1264 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1265 gtk-dnd-drag-threshold, it was too big. We have defined our own
1266 dnd define and set a smaller value: PANNIG_THRESHOLD.
1268 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1270 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1271 user-defined icons, use always the default one.
1273 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1275 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1277 This patch was applied before but reverted because it caused
1278 problems, we have changed the main condition and tested the
1279 regressions we detected before and they work ok.
1281 * src/hildon-pannable-area.c,
1282 (hildon_pannable_area_get_topmost): Added a new parameter to
1283 filter the the windows that do not include those events. Added
1284 also a condition when finding the window to filter windows that do
1285 not ask for those events.
1286 (hildon_pannable_area_button_press_cb),
1287 (hildon_pannable_area_button_release_cb),
1288 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1289 topmost function, we have added the new parameter.
1291 Fixes: NB#97458 (Pannable area prevents propagation of button
1294 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1296 * tests/check-hildon-color-button.c (START_TEST): do not leak
1299 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1301 * src/hildon-font-selection-dialog.c
1302 (hildon_font_selection_dialog_get_preview_text): Return NULL
1303 instead of FALSE on the g_return_val_if_fail().
1305 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1307 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1308 * src/hildon-date-selector.c
1309 (hildon_date_selector_select_current_date):
1310 Do not compare unsigned integers to be greater than or equal 0,
1311 because it's always TRUE.
1313 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1315 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1316 (hildon_date_selector_constructor): Do not select the current
1317 date until we are handle the "changed" signal, to avoid having bogus
1318 elements in the days model.
1320 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1322 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1323 for num_days, since _month_days() can return a negative value.
1325 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1327 * src/hildon-caption.c (hildon_caption_size_allocate):
1328 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1329 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1331 Initialize allocation variables to 0, to avoid eventually using
1332 unitialized variables.
1334 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1336 * src/hildon-bread-crumb-trail.c
1337 (hildon_bread_crumb_trail_size_allocate):
1338 * src/hildon-calendar.c (hildon_calendar_set_background):
1339 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1340 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1341 * src/hildon-seekbar.c (hildon_seekbar_init):
1342 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1343 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1344 * src/hildon-touch-selector-entry.c
1345 (hildon_touch_selector_get_text_from_model):
1346 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1347 * src/hildon-window.c (hildon_window_finalize):
1349 Remove many unused variables.
1351 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1353 * src/hildon-seekbar.c: (hildon_seekbar_init),
1354 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1356 Remove unnecessary g_assert() calls.
1358 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1360 * src/hildon-caption.c: (hildon_caption_expose),
1361 (hildon_caption_set_property), (hildon_caption_init),
1362 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1363 (hildon_caption_size_request), (hildon_caption_size_allocate),
1364 (hildon_caption_forall), (hildon_caption_set_separator),
1365 (hildon_caption_activate), (hildon_caption_set_child_expand),
1366 (hildon_caption_set_label_text),
1367 (hildon_caption_get_label_alignment):
1369 Remove unnecessary g_assert() calls.
1371 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1373 * src/hildon-banner.c
1374 (hildon_banner_map, hildon_banner_init): Make banner temporary
1375 before mapping it to avoid closing other temporary windows, but
1376 make it non-temporary afterwards to avoid being closed by other
1377 non-temporary windows.
1378 (-hildon_banner_client_event, hildon_banner_init):
1379 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1381 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1384 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1389 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1391 * src/hildon-remote-texture.c
1392 * src/hildon-remote-texture.h
1393 * src/hildon-remote-texture-private.h
1394 * examples/hildon-remote-texture-example.c:
1395 Updates/fixes to remote-texture and its example.
1397 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1399 Patch by Mox Soini (ext-mox.soini@nokia.com)
1401 * src/hildon-code-dialog.c: Update logical id.
1402 * src/hildon-set-password-dialog.c: Update logical id.
1404 Fixes: NB#100646 (Logical strings is shown for ok in set
1405 password,Password needed dialogs)
1407 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1410 * src/hildon-remote-texture.c
1411 * src/hildon-remote-texture.h
1412 * src/hildon-remote-texture-private.h
1414 Added remote texture widget (for Clutter shared memory textures)
1416 * examples/hildon-remote-texture-example.c
1417 * examples/Makefile.am
1418 Added example file for remote texture usage
1420 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1422 * configure.ac: post release version bump.
1423 * debian/changelog: version bump.
1425 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1430 * configure.ac: Bump version.
1431 * debian/changelog: Updates.
1433 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1435 * src/hildon-date-selector.c (hildon_date_selector_init)
1436 (hildon_date_selector_constructor): Don't connect to the "changed"
1437 signal until the selector is completely constructed.
1439 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1441 * src/hildon-touch-selector.c: (_create_new_column),
1442 (hildon_touch_selector_append_column),
1443 (hildon_touch_selector_set_column_selection_mode),
1444 (hildon_touch_selector_set_active),
1445 (hildon_touch_selector_select_iter):
1446 Emit the HildonTouchSelector::changed signal every time selection
1447 is changed in any of the methods above. This behavior was already
1448 documented but not fully functional.
1450 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1451 selection is programmatically changed)
1453 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1455 * doc/hildon-sections.txt: Remove obsolete icon
1456 sizes from here as well.
1458 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1460 * examples/hildon-stackable-window-example.c (add_window): Remove
1463 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-app-menu.c
1466 (hildon_app_menu_show): Check whether the parent window of a menu
1467 is topmost before popping it up.
1469 Fixes: NB#100468 (Application menu window is launched even when a
1470 new secondary-window/dialog is pending to be shown/realized.)
1472 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1474 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1477 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1479 Patch by Mox Soini (ext-mox.soini@nokia.com)
1481 * src/hildon-banner.c: (hildon_banner_show_animation):
1482 use stylus size instead of obsolete note size.
1483 * src/hildon-defines.h: Update icon sizes.
1485 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1487 * src/hildon-touch-selector-entry.c:
1488 (hildon_touch_selector_entry_init): Disable unsupported
1490 (hildon_touch_selector_entry_get_text_column): Emit a warning
1491 if an unsupported input modes is used and explicitile state
1492 these modes in the documentation.
1494 Fixes: NB#99802 (Hildon touch selector entry not working properly
1495 for some of the input modes)
1497 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1499 * src/hildon-pannable-area.c,
1500 (hildon_pannable_area_init): Added the changed signal handlers of
1503 Fixes: NB#100320 (HildonPannableArea does not listen to
1504 GtkAdjustment "change" signals)
1506 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1508 * doc/hildon-sections.txt
1509 * src/hildon-window-private.h
1510 * src/hildon-window.h
1511 * src/hildon-window.c (hildon_window_init)
1512 (hildon_window_realize, hildon_window_unrealize)
1513 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1514 (hildon_window_size_request, hildon_window_size_allocate)
1515 (hildon_window_forall, hildon_window_show_all)
1516 (hildon_window_destroy, +paint_edit_toolbar)
1517 (+hildon_window_set_edit_toolbar):
1518 New hildon_window_set_edit_toolbar() method, to add a
1519 HildonEditToolbar to a window without having to pack it manually.
1521 Reorganize hildon_window_size_allocate()
1523 * src/hildon-edit-toolbar.c: Update documentation.
1525 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1526 example to use the new API.
1528 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1530 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1532 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1533 Remove from stack before calling parent's hide.
1535 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1537 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1538 window is removed from the middle of the stack, update the
1539 transiency of the previous one.
1541 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1544 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1546 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1547 block/unblock the signal handler if it's not actually being used.
1548 Fixes some critical warnings.
1550 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1552 Based on a patch by Iván Gómez (igomez@igalia.com)
1554 * src/hildon-banner.c
1558 * src/hildon-pannable-area.c
1559 * src/hildon-picker-dialog.c
1560 * src/hildon-wizard-dialog.h
1561 * src/hildon-wizard-dialog.c: Documentation updates.
1563 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1564 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1566 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1568 * configure.ac: post release version bump.
1569 * debian/changelog: version bump.
1571 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1576 * configure.ac: Bump version.
1577 * debian/changelog: Updates.
1579 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1581 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1582 a stock icon nor change the relief of the back arrow.
1584 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1585 graphics from theme)
1587 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1589 * src/hildon-button.c (hildon_button_set_alignment): Use
1590 priv->alignment if the button has no child yet.
1592 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1594 * src/hildon-button.c: (hildon_button_init): Set the
1595 button style during initialization to give it the proper
1598 Fixes: NB#99713 (HildonButton value label color is wrong)
1600 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1602 * src/hildon-touch-selector.c: Document
1603 hildon_touch_selector_center_on_selected()
1605 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1607 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1608 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1609 all menu items, but not the menu itself.
1610 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1611 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1612 items after adding them to the menu so keyboard accelerators work.
1613 (hildon_app_menu_show): Don't show the menu if it contains items
1614 but none of them are visible.
1616 * examples/hildon-app-menu-example.c (create_menu): Use
1617 gtk_widget_show_all() to show all menu items.
1619 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1621 * src/hildon-picker-dialog.c:
1622 (-_update_title_on_selector_changed_cb),
1623 (-_dialog_update_title): Removed.
1624 (_select_on_selector_changed_cb), (_on_dialog_response),
1625 (on_selector_columns_changed): Do not update the dialog title.
1626 (setup_interaction_mode): Do not connect to
1627 HildonTouchSelector::changed signal if there's a "done" button, as
1628 the dialog title doesn't need to be updated.
1630 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1633 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1635 Patch by Kristian Rietveld (kris@imendio.com)
1637 * src/hildon-touch-selector.c: (_create_new_column): Use new
1638 GtkTreeView::hildon-row-tapped signal to react to user interactions
1639 instead of ::changed.
1641 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1642 with some dynamic tree model)
1644 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1646 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1647 (+screen_size_changed, +label_size_request)
1648 (hildon_note_class_init): Make the Hildon information note have a
1649 minimum height, and make its text hvae a maximum width.
1651 Fixes: NB#98614 (Hildon information note (background) should have
1652 minimum height and maximum text width)
1654 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-banner.h
1657 * src/hildon-banner.c (hildon_banner_show_information)
1658 (hildon_banner_show_informationf)
1659 (hildon_banner_show_information_with_markup): Update documentation
1660 to reflect that the icon_name parameter is not used anymore.
1661 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1662 Remove all code from these functions and mark them as deprecated.
1663 (hildon_banner_show_progress): Mark as deprecated.
1665 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1667 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1669 * src/hildon-pannable-area.c,
1670 (hildon_pannable_area_class_init),
1671 (tranparency_color),
1672 (hildon_pannable_draw_vscroll),
1673 (hildon_pannable_draw_hscroll),
1674 (hildon_pannable_area_expose_event): Added a new way to render the
1675 scrollbars of the pannable area avoiding using cairo at all. This
1676 way we improve the performance of the pannable area rendering. The
1677 cairo rendering procedure is still in the code, we can control
1678 which one to use changing the value of the define
1679 USE_CAIRO_SCROLLBARS.
1681 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1683 * configure.ac: post release version bump.
1684 * debian/changelog: version bump.
1686 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1691 * configure.ac: Bump version.
1692 * debian/changelog: Updates.
1694 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1696 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1697 banners instead of destroying them when they receive a button
1700 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1702 Reverted commit 34028, it was causing regressions, probably the
1703 topmost condition is not correct, we have to check it in more
1704 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1705 propagation of button press events)
1707 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1710 that the selection is not empty before attempting to retrieve the
1711 current ampm selection.
1713 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1715 * src/hildon-picker-button.c:
1716 (hildon_picker_button_on_dialog_response): Directly update the
1717 button contents when required instead of calling _selection_changed.
1719 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1721 * src/hildon-program.c (hildon_program_update_top_most): Update
1722 'is-topmost' property also when wm_hints is not set.
1724 Fixes: NB#98383 (is-topmost signal is not emitted when task
1725 switcher is clicked.)
1727 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1729 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1733 * src/hildon-animation-actor.c,
1734 * src/hildon-animation-actor.h: Added the animation actor class,
1735 this widget represents an animation actor for WM-assisted
1736 animation effects in the Hildon framework.
1738 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1740 * src/hildon-window-stack-private.h
1741 * src/hildon-window-stack.c
1742 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1743 Avoid calling gtk_widget_show() again indirectly from
1744 hildon_stackable_window_show()
1746 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1748 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1751 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1753 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1754 (hildon_time_selector_init): Move the construction of the hours and
1755 ampm columns to the constructor to preserve the order the columns
1758 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1760 * src/hildon-picker-dialog.c:
1761 (hildon_picker_dialog_class_init): Connect a realize method.
1762 (+hildon_picker_dialog_realize): Setup the interaction mode here
1764 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1765 yet, do it during the realize instead.
1766 (_on_dialog_response):
1767 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1768 if the widget is not realized, to avoid the dialog response before it
1771 Avoid premature responses in the HildonPickerDialog that can cause it
1772 to be hidden before it's even shown.
1774 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1776 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1777 (on_selector_columns_changed), (requires_done_button),
1778 (+prepare_action_area), (setup_interaction_mode),
1779 (_hildon_picker_dialog_set_selector):
1781 Split the interaction mode setup into preparation of the
1782 action area (prepare_action_area()) and the connection of
1783 the signals in setup_interaction_mode() and update the code to
1786 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1788 * src/hildon-pannable-area.c,
1789 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1790 per second to 15, we will check if this is ok regarding
1793 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1795 * src/hildon-pannable-area.c,
1796 (hildon_pannable_axis_scroll): Avoid resize if we already have
1797 reached overshoot_max.
1799 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1801 * src/hildon-pannable-area.c,
1802 (hildon_pannable_area_init),
1803 (hildon_pannable_area_realize),
1804 (hildon_pannable_area_size_allocate),
1805 (hildon_pannable_area_map),
1806 (hildon_pannable_area_unmap),
1807 (hildon_pannable_draw_vscroll),
1808 (hildon_pannable_draw_hscroll),
1809 (hildon_pannable_area_expose_event),
1810 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1811 pannable are to avoid the expose events go to the window and
1812 redraw the window. We save this way that part of the stack and the
1813 paint_boxes. We had to change the positions of the elements when
1816 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1818 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1819 * src/hildon-color-chooser-dialog.c:
1820 (hildon_color_chooser_dialog_init):
1821 * src/hildon-font-selection-dialog.c:
1822 (hildon_font_selection_dialog_init),
1823 (hildon_font_selection_dialog_show_preview):
1824 * src/hildon-get-password-dialog.c:
1825 * src/hildon-login-dialog.c:
1826 * src/hildon-set-password-dialog.c:
1827 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1828 * src/hildon-time-picker.c: (hildon_time_picker_init):
1830 Remove obsolete logical string IDs and update to the appropriate ones.
1832 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1834 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1836 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1837 that happens if the window hasn't been realized yet.
1839 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1840 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1842 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1844 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1845 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1848 Fixes: NB#98537 (Device hangs in account settings dialog)
1850 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1852 * configure.ac: post release version bump.
1853 * debian/changelog: version bump
1855 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1860 * configure.ac: Bump version.
1861 * debian/changelog: Updates.
1863 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1865 Added a new function to the HildonTimeButton widget that allows to
1866 change the step of the minutes in the selector associated with the
1867 button: hildon_time_button_new_step
1869 * src/hildon-time-button.c,
1870 (hildon_time_button_init),
1871 (hildon_time_button_new),
1872 (hildon_time_button_new_step):
1873 * src/hildon-time-button.h: Added the new function and refactored
1875 * examples/hildon-time-button-example.c,
1876 (main): We have replaced the function without parameters with the
1877 function with the steps set to 5
1879 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1881 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1883 * src/hildon-time-selector.c,
1884 (hildon_time_selector_class_init),
1885 (hildon_time_selector_constructor),
1886 (hildon_time_selector_get_property),
1887 (hildon_time_selector_set_property),
1888 (_create_minutes_model),
1889 (hildon_time_selector_new_step),
1890 (hildon_time_selector_set_time),
1891 * src/hildon-time-selector.h: Added a new property to the
1892 HildonTimeSelector (minutes-step), we use that property to control
1893 the steps between the minutes in the list of the selector. We have
1894 added a new function to the API to create a widget changing the
1895 step: hildon_time_selector_new_step.
1897 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1899 * src/hildon-time-selector.c,
1900 (hildon_time_selector_class_init),
1901 (hildon_time_selector_constructor),
1902 (hildon_time_selector_init): Overrided the construct function when
1903 creating the time selector object. We have moved the minutes model
1904 handling code from the init to the new construction function:
1905 hildon_time_selector_constructor.
1907 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1909 * examples/hildon-date-button-example.c: (main): Use the new
1910 hildon_date_button_new_with_year_range() method in the example.
1911 * src/hildon-date-button.c:
1912 (+hildon_date_button_new_with_year_range): New public method
1913 to conveniently create a HildonDateButton with a custom year range
1914 in its HildonDateSelector.
1915 * src/hildon-date-button.h: Add the new public method definition.
1917 Fixes: NB#97908 (Not possible to change the year range in
1918 HildonDateSelector/HildonDateButton)
1920 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1922 * src/hildon-date-selector.c:
1923 (+hildon_date_selector_set_property),
1924 (+hildon_date_selector_get_property),
1925 (hildon_date_selector_class_init): Install new properties "min-year"
1926 and "max-year" to define boundaries for the year column.
1927 (_create_year_model): Use the boundary properties to populate the model.
1928 (+hildon_date_selector_new_with_year_range): New public method to
1929 create a HildonDateSelector with a user defined year range.
1930 (hildon_date_selector_select_current_date): Use the new boundaries to
1931 calculate the iterator of current year.
1932 * src/hildon-date-selector.h: Add the new public method definition.
1934 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1936 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1937 Install a constructor method.
1938 (+hildon_date_selector_construct_ui): construct the widget.
1939 (+hildon_date_selector_constructor): new constructor.
1940 (+hildon_date_selector_init): move out widget construction code to
1941 the new constructor.
1943 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1945 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1946 that there's actually a month or year selected before obtaining them.
1947 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1948 of the HildonTouchSelector::changed signal, as it was emitted on every
1949 single item selection.
1951 Fix some warnings and possible crashers due to the selection restoring.
1953 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1955 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1956 the signal handlers only after creating the dialog instead of on every
1959 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1961 * src/hildon-button.c (hildon_button_init)
1962 * src/hildon-check-button.c (hildon_check_button_init)
1963 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1964 focus when clicked by default.
1966 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1968 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1971 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1973 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1974 Alejandro G. Castro (alex@igalia.com)
1976 * src/hildon-picker-dialog.c:
1977 (hildon_picker_dialog_class_init): install new "center-on-show"
1979 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1980 (hildon_picker_dialog_set_property): add setter code for the new
1982 (hildon_picker_dialog_get_property): add getter code for the new
1984 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1985 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1988 Fixes: NB#92849 (Selected item is not always visible when
1989 HildonTouchSelector is shown)
1991 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1993 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1994 Alejandro G. Castro (alex@igalia.com)
1996 * src/hildon-touch-selector.c:
1997 (_create_new_column): Do not connect to the "realize" signal of the
1999 (hildon_touch_selector_append_column): center on the selected items
2000 when a new column is appended.
2001 (hildon_touch_selector_select_iter): Factor out the code to select a
2002 column to hildon_touch_selector_scroll_to().
2003 (+search_nearest_element): Method to retrieve the nearest selected
2004 element to the visible area of the pannable area in a column.
2005 (+on_realize_cb): scroll to the initially selected item.
2006 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2007 the pannable area is realized, otherwise delay this until it is.
2008 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2009 selected items of a given column.
2010 (+hildon_touch_selector_center_on_selected): Public method to center
2011 all columns on the nearest selected item.
2012 * src/hildon-touch-selector.h: Add definition for
2013 hildon_touch_selector_center_on_selected().
2015 Implement public API to ensure visibility of all selected items in
2016 a HildonTouchSelector.
2018 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2020 Fixed a problem in the fading when calling the scroll_to API, and
2021 improve scrollbar fading handling.
2023 * src/hildon-pannable-area.c,
2024 (hildon_pannable_area_grab_notify): avoid the timeout when the
2026 (hildon_pannable_area_button_press_cb),
2027 (hildon_pannable_area_motion_notify_cb): Code style changes.
2028 (hildon_pannable_area_button_release_cb): Review the conditions
2029 when releasing the mouse button to avoid unrequired fading
2031 (hildon_pannable_area_scroll_to): Do not calculate and set the
2032 velocity if the scroll is not required.
2034 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2036 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2037 Don't check whether the new selector is NULL: it cannot be.
2038 Hold a reference to the selector while doing the replacement.
2040 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2042 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2043 unnecessary size_request in a removed widget.
2045 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2047 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2048 an unnecessary reference tracking that was leaking.
2050 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2052 Added delayed motion notify event handling, this way we can
2053 discard redrawing if more than 25 events arrive per second.
2055 * src/hildon-pannable-area.c,
2056 (hildon_pannable_area_init): Initialized the new private atributes
2057 controlling this timeout
2058 (hildon_pannable_area_dispose): Remove the timeout that controls
2059 the motion notify events.
2060 (hildon_pannable_area_scroll): Added a condition to control the
2061 use of the acceleration.
2062 (hildon_pannable_area_motion_event_scroll_timeout),
2063 (hildon_pannable_area_motion_event_scroll): Added this two
2064 functions, they handle the motion notify events inside the
2066 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2067 to the scroll method with the new function.
2068 (hildon_pannable_area_button_release_cb): We have to remove the
2069 timeout handler and move to the last position if the last motion
2070 events were not handled.
2072 Fixes: NB#97028 (Pannable area updates on every motion event)
2074 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2076 * src/hildon-pannable-area.c,
2077 (hildon_pannable_area_get_topmost): Added a new parameter to
2078 filter the the windows that do not include those events. Added
2079 also a condition when finding the window to filter windows that do
2080 not ask for those events.
2081 (hildon_pannable_area_button_press_cb),
2082 (hildon_pannable_area_button_release_cb),
2083 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2084 topmost function, we have added the new parameter.
2086 Fixes: NB#97458 (Pannable area prevents propagation of button
2089 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2091 * src/hildon-pannable-area.c,
2092 (hildon_pannable_area_initial_effect): Added controls before
2093 launching the timeout and the idle functions.
2094 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2095 of the method, in some situations it can return with TRUE and 0 in
2097 (hildon_pannable_area_button_press_cb): We do not need to set
2098 DELAY for fading out here.
2100 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2102 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2104 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2105 post-cleaning if the selection is not NULL.
2107 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2109 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2110 all items before restoring the selection.
2112 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2114 * src/hildon-touch-selector.c:
2115 (+hildon_touch_selector_unselect_all):
2116 * src/hildon-touch-selector.h: New API to unselect all items in a
2117 column of the touch selector.
2119 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2121 * src/hildon-pannable-area.c,
2122 (hildon_pannable_area_redraw): Added a call to the refresh
2123 function inside the redraw because apparently in some cases the
2124 change in the adjustment does not imply a size allocate.
2126 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2127 despite the view not being scrollable)
2129 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2132 leak. Check for NULL before attempting to set the window title.
2134 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2136 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2137 whether to show or not the 'Done' button each time the dialog is
2138 shown, as it depends on the HildonTouchSelector selection mode.
2140 Fixes: NB#96226 (In multiple selection mode Done button is shown
2141 sometimes in listpicker)
2143 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2145 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2146 for the number of columns in the HildonTouchSelector more than once.
2148 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-touch-selector.c: Minor documentation fixes.
2152 * src/hildon-picker-dialog.c (+_dialog_update_title)
2153 (_select_on_selector_changed_cb)
2154 (_update_title_on_selector_changed_cb)
2155 (on_selector_columns_changed): Update dialog title when there's no
2156 'Done' button and also when the number of columns in the selector
2160 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2161 (+_selection_changed, hildon_picker_button_on_dialog_response)
2162 (hildon_picker_button_selector_selection_changed)
2163 (+hildon_picker_button_selector_columns_changed)
2164 (hildon_picker_button_set_selector): Update button value and emit
2165 'value-changed' when the number of columns in the selector
2169 Fixes: NB#96225 (Dialog titles are not shown according to the
2170 values selected in the list picker)
2172 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2175 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2176 New "arrow-width" and "arrow-height" style properties to set the
2177 size of the arrow button.
2178 Set name of arrow button ("hildon-edit-toolbar-arrow").
2180 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2181 graphics from theme)
2183 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2185 * src/hildon-picker-button.c:
2186 (hildon_picker_button_selector_selection_changed): Use
2187 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2188 the dialog is present.
2190 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2191 the selection is accepted in the dialog)
2193 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-color-chooser.h
2196 * src/hildon-color-chooser-dialog.h:
2197 Added G_BEGIN_DECLS and G_END_DECLS
2199 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2201 (_clean_current_selection): plug a leak in the list.
2203 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2205 * src/hildon-picker-dialog.c:
2206 (+free_path_list): Method to free a GList of GtkTreePaths.
2207 (_clean_current_selection), (_save_current_selection),
2208 (_restore_current_selection): Save the current selection in
2209 as a list of lists, to support multiple selection properly.
2211 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2213 patch by Claudio Saavedra (csaavedra@igalia.com)
2215 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2216 Store the press position.
2217 (+hildon_text_view_button_release_event): If the release position is
2218 close enough to the press position, move the cursor here. Otherwise,
2220 (hildon_text_view_class_init): Override GtkTextView press, release, and
2221 motion event handlers, disabling this way text selection through
2222 pointer interaction, and allowing the container widget to handle the
2225 Fixes: NB#95828 (HildonTextView functionality)
2227 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2229 Based on a patch by Iván Gómez (igomez@igalia.com)
2231 * src/hildon-button.[ch]
2232 * src/hildon-calendar.c
2233 * src/hildon-check-button.c
2234 * src/hildon-date-editor.c
2235 * src/hildon-date-selector.c
2236 * src/hildon-picker-button.c
2237 * src/hildon-time-editor.c
2238 * src/hildon-time-selector.c
2239 * src/hildon-touch-selector.[ch]:
2240 Documentation updates
2242 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2244 * src/hildon-pannable-area.c,
2245 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2246 threshold, it was required due to X events handling.
2248 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2250 * src/hildon-pannable-area.c,
2251 (hildon_pannable_area_grab_notify),
2252 (hildon_pannable_area_initial_effect),
2253 (hildon_pannable_area_button_press_cb),
2254 (hildon_pannable_area_button_release_cb),
2255 (hildon_pannable_area_scroll_cb),
2256 (hildon_pannable_area_scroll_to): Review the timeout management of
2257 the scrollbar, the frecuency was incorrectly set.
2259 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2261 * src/hildon-picker-button.c:
2262 (+hildon_picker_button_on_dialog_response),
2263 (hildon_picker_button_clicked): Present the dialog instead of
2264 running it with gtk_dialog_run().
2266 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2269 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2271 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2272 (hildon_app_menu_finalize): When a window is hidden it doesn't
2273 emit notify::is-topmost, so make sure than the menu also
2274 disappears in that case.
2275 (parent_window_topmost_notify): Renamed from parent_window_hidden
2277 Fixes: NB#94460 (stackable window's menu is not closed when its
2280 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2282 * src/hildon-touch-selector-entry.c:
2283 (+hildon_touch_selector_entry_set_input_mode),
2284 (+hildon_touch_selector_entry_get_input_mode):
2285 * src/hildon-touch-selector-entry.h: New methods to access the input
2286 mode in the selector's entry.
2288 Fixes: NB#93410 (API required for setting IM mode in
2289 HildonTouchSelectorEntry)
2291 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2293 * configure.ac: post release version bump.
2294 * debian/changelog: version bump
2296 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2301 * configure.ac: Bump version.
2302 * debian/changelog: Updates.
2304 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2306 * src/hildon-touch-selector.c:
2307 (_hildon_touch_selector_has_multiple_selection): No need
2308 to initialize the variables here.
2310 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2312 * src/hildon-note-private.h
2313 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2314 (hildon_note_finalize, hildon_note_rebuild): Close information
2315 notes when they receive a button press.
2317 Fixes: NB#89890 (Information notes does not get disappeared after
2320 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2323 mark from the wizard title, as it's not really necessary. Also,
2324 do not display the page title if not set.
2326 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2328 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2329 (parent_window_hidden): Use the window's "is-topmost" property to
2330 detect when to hide the menu.
2332 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2335 (hildon_app_menu_finalize): If the parent window of the menu is
2336 hidden, hide the menu too.
2338 Fixes: NB#94460 (stackable window's menu is not closed when its
2341 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2344 * debian/libhildon1-examples.install
2346 * examples/Makefile.am:
2347 Use dh_install to install all examples.
2348 Use DEB_SRCDIR instead of defining SOURCE_DIR
2350 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2352 * configure.ac: post release version bump.
2353 * debian/changelog: version bump
2355 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2360 * configure.ac: bump version
2361 * debian/changelog: updates
2362 * debian/control: bump gtk+ dependency
2364 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2366 patch by Christian Dywan (christian@imendio.com)
2368 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2369 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2371 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-check-button.c (hildon_check_button_init)
2374 (hildon_check_button_class_init, hildon_check_button_style_set)
2375 (hildon_check_button_apply_style):
2376 New "checkbox-size" style property.
2378 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2379 larger / configurable size)
2381 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2383 * configure.ac: post release version bump.
2384 * debian/changelog: version bump
2386 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2391 * configure.ac: bump version
2392 * debian/changelog: updates
2394 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2396 * doc/hildon-sections.txt
2397 * src/hildon-pannable-area.c
2398 * src/hildon-program.c
2399 * src/hildon-time-editor.c
2400 * src/hildon-touch-selector-entry.c:
2402 More documentation updates.
2404 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2406 * doc/hildon-sections.txt
2407 * src/hildon-caption.c
2408 * src/hildon-code-dialog.c
2409 * src/hildon-color-button.c
2410 * src/hildon-controlbar.c
2411 * src/hildon-date-editor.c
2412 * src/hildon-date-selector.c
2413 * src/hildon-edit-toolbar.c
2414 * src/hildon-find-toolbar.c
2415 * src/hildon-font-selection-dialog.c
2417 * src/hildon-program.c
2418 * src/hildon-range-editor.c
2419 * src/hildon-seekbar.c
2420 * src/hildon-time-editor.c
2421 * src/hildon-time-selector.c
2422 * src/hildon-volumebar-range.c
2423 * src/hildon-volumebar.c
2424 * src/hildon-vvolumebar.c
2425 * src/hildon-weekday-picker.c
2426 * src/hildon-window.c
2427 * src/hildon-wizard-dialog.c:
2429 Lots of documentation fixes.
2431 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2433 Patch contributed by Iván Gómez (igomez@igalia.com)
2435 * src/hildon-check-button.c:
2436 * src/hildon-date-button.c:
2437 * src/hildon-date-selector.c:
2438 * src/hildon-dialog.c:
2439 * src/hildon-edit-toolbar.c:
2440 * src/hildon-entry.c:
2441 * src/hildon-picker-button.c:
2442 * src/hildon-program.c:
2443 * src/hildon-text-view.c:
2444 * src/hildon-time-button.c:
2445 * src/hildon-touch-selector-entry.c:
2446 * src/hildon-window-stack.c:
2448 Add more "since" tags to the new API.
2450 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2452 * doc/hildon-sections.txt: Add below method.
2453 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2454 version for the hildonized scale.
2455 * src/hildon-gtk.h: Add the definition.
2457 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2459 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2461 * doc/hildon-sections.txt: Add missing entries for new methods.
2463 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2465 Added API to pannable are in order to get its adjustments. We
2466 added two properties to manage the values we had in the private
2469 * src/hildon-pannable-area.c:
2470 (hildon_pannable_area_class_init): Added hadjustment and
2471 vadjustment properties in order to expose horizontal and vertical
2473 (hildon_pannable_area_get_property),
2474 (hildon_pannable_area_set_property): Added code to handle the new
2476 (hildon_pannable_area_get_hadjustment),
2477 (hildon_pannable_area_get_vadjustment): API functions to get the
2479 * src/hildon-pannable-area.h:
2480 (hildon_pannable_area_get_hadjustment),
2481 (hildon_pannable_area_get_vadjustment): API functions to get the
2484 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2486 Fixed some leaks, after valgrinding.
2488 * src/hildon-touch-selector.c:
2489 (_default_print_func): Fixed a leak.
2490 (hildon_touch_selector_append_column): Fixed a leak.
2491 * src/hildon-date-button.c:
2492 (hildon_date_button_init): Fixed a leak.
2493 * src/hildon-date-selector.c
2494 (hildon_date_selector_finalize): Fixed a leak.
2496 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2498 Based on a patch by Christian Dywan (christian@imendio.com)
2500 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2502 * src/hildon-gtk.h: Add definition.
2504 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2506 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-picker-button.c: (hildon_picker_button_init),
2509 (hildon_picker_button_new): Set the HildonButton::style property
2510 in the init method, to propagate the value to the derived classes.
2512 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2514 * src/hildon-button.c: (hildon_button_class_init): Do not make
2515 the "style" property a construct property.
2517 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2519 * src/hildon-wizard-dialog.h
2520 * src/hildon-wizard-dialog.c
2521 (hildon_wizard_dialog_set_forward_page_func)
2522 * src/hildon-pannable-area.h
2523 * src/hildon-pannable-area.c
2524 (hildon_pannable_area_set_size_request_policy):
2525 Documentation fixes.
2527 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2529 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2531 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2533 * doc/hildon-sections.txt: Added sections file.
2535 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/*.[ch]: Updates.
2540 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2542 * examples/hildon-progress-indicator-example.c: new file
2543 * examples/Makefile.am: include the new example program
2545 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2549 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2551 * configure.ac: post release version bump
2552 * debian/changelog: version bump
2554 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2559 * configure.ac: bump version
2560 * debian/changelog: updates
2561 * debian/control: bump gtk+ dependency
2563 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2565 * src/hildon-dialog.c: Mark as deprecated.
2566 * src/hildon-dialog.h: Mark as deprecated.
2567 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2568 from HildonDialog and still work, even if
2569 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2570 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2572 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2573 maemo changes) instead)
2575 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2577 * src/hildon-pannable_area.h:
2578 * src/hildon-pannable_area.c:
2579 (hildon_pannable_area_class_init),
2580 (hildon_pannable_area_set_property),
2581 (hildon_pannable_area_get_property),
2582 (hildon_pannable_area_size_request),
2583 (hildon_pannable_area_get_size_request_policy),
2584 (hildon_pannable_area_set_size_request_policy): Added new API
2585 allowing applications to control the request policy. Now they can
2586 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2587 children allocation (HILDON_MOVEMENT_CHILDREN).
2589 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2593 (hildon_gtk_tree_view_set_ui_mode)
2594 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2595 mode of treeviews and iconviews.
2597 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2599 * src/hildon-touch-selector-entry.c:
2600 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2601 of a GtkEntry to get proper theming.
2603 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2604 widget, not GtkEntry)
2606 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2608 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2609 no HildonWizardDialogPageFunc.
2611 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2613 Patch contributed by Iván Gómez (igomez@igalia.com)
2615 * src/hildon-app-menu.c:
2616 * src/hildon-button.c:
2617 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2618 * src/hildon-stackable-window.c:
2619 * src/hildon-time-selector.c:
2620 * src/hildon-touch-selector.c:
2621 * src/hildon-window.c:
2623 Add more "since" tags to the new API in hildon 2.2.
2625 2008-12-05 Tim Janik <timj@imendio.com>
2627 Patch contributed by Christian Dywan (christian@imendio.com)
2629 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2630 HildonSizeType, which are supplied by Gtk+ now.
2632 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2634 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2635 (with maemo changes) instead)
2637 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2639 Patch contributed by Iván Gómez (igomez@igalia.com)
2641 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2644 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2646 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2647 (some_page_func), (main): Update the example to use a
2648 HildonWizardDialogPageFunc function.
2650 * src/hildon-wizard-dialog-private.h: Add private data for
2651 the HildonWizardDialogPageFunc function usage.
2653 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2654 (destroy), (hildon_wizard_dialog_init), (response),
2655 (hildon_wizard_dialog_set_forward_page_func):
2656 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2657 that applications can use to stop a HildonWizardDialog to jump to
2660 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2663 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2665 * src/hildon-program.h
2666 * src/hildon-program-private.h
2667 * src/hildon-program.c (hildon_program_init)
2668 (hildon_program_set_common_app_menu)
2669 (hildon_program_get_common_app_menu):
2670 New API for setting a common HildonAppMenu for all
2671 HildonStackableWindows registered with the HildonProgram.
2673 * src/hildon-stackable-window.c
2674 (hildon_stackable_window_toggle_menu):
2675 Use the common HildonAppMenu if a window doesn't have a specific
2678 * src/hildon-app-menu-private.h
2679 * src/hildon-app-menu.c
2680 (hildon_app_menu_get_parent_window):
2681 Function to obtain the window a HildonAppMenu is attached to.
2682 (hildon_app_menu_set_parent_window):
2683 Hide the menu if the parent window is set to NULL.
2685 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2687 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2688 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2689 search widget to popup.
2691 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2693 * configure.ac: post release version bump
2694 * debian/changelog: version bump
2696 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2701 * configure.ac: bump version
2702 * debian/changelog: updates
2704 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2706 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2708 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2709 (hildon_window_stack_window_realized)
2710 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2711 Set the leader GdkWindow when a window is stacked and realized,
2712 unset it when it's unstacked.
2713 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2715 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2717 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2719 * src/hildon-stackable-window.h
2720 * src/hildon-window-stack.h:
2721 Protect definition of HildonWindowStack using the preprocessor.
2723 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2725 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2726 Fix warning if all menu items are hidden.
2728 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2730 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2732 * src/hildon-controlbar.c:
2733 * src/hildon-hvolumebar.c:
2734 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2735 Multiple scale size defines updates.
2737 Fixes: NB#94322 (Scale Updates)
2739 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2741 * examples/hildon-app-menu-example.c (create_menu)
2742 Show items after adding them to the menu, as in the future the
2743 menu will no longer call gtk_widget_show() on the added items.
2745 * src/hildon-app-menu.c:
2746 Update example as explained above.
2748 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-app-menu.c
2751 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2752 Make sure that all menu items have finger height.
2754 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2756 * src/hildon-picker-dialog.c:
2757 (_on_dialog_response), (_save_current_selection),
2758 (_restore_current_selection), (_clean_current_selection),
2759 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2760 Defined new functions in order to save the current internal selector
2761 selection previous open the dialog, in case that the use cancel the
2762 interaction, so the widget restores the previous selection.
2764 Fixes: NB#92032 (In calendar application, date values in 'new event'
2767 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2769 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-button.c: Add a reference to the button examples in
2772 hildon-button-example.c
2774 * examples/hildon-button-example.c: Added examples of the most
2775 common button layouts.
2777 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2779 * src/hildon-app-menu.c (hildon_app_menu_show)
2780 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2782 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2784 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-picker-dialog.c:
2787 (hildon_picker_dialog_init): Initialize the signal id for
2788 HildonTouchSelector::columns-changed.
2789 (+on_selector_columns_changed): Set up the interaction mode everytime a
2790 column is added or removed from the HildonTouchSelector.
2791 (_hildon_picker_dialog_set_selector): Connect to
2792 HildonTouchSelector::columns-changed and keep track of it.
2794 Make sure to update the interaction mode of the dialog everytime a
2795 column is added or removed in the HildonTouchSelector.
2797 Fixes: NB#93228 (Done button is not shown always in listpicker)
2799 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2801 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2802 a new ::columns-changed signal.
2803 (hildon_touch_selector_append_column): Emit ::columns-changed.
2804 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2806 Add a ::columns-changed signal, emitted when the number of columns in a
2807 HildonTouchSelector changes.
2809 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2812 (_hildon_picker_dialog_set_selector): Factor out the code
2813 to set up the dialog interaction mode.
2815 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2817 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2818 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2819 to signal_changed_id.
2821 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2826 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2828 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2829 Updated the logical ids related to ampm format, as now it is required to
2830 show it correctly localized even on languages with no default
2831 abbreviations for am or pm
2832 (_check_am_pm_format): check correctly the 24h format gconf property
2834 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2836 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2838 * src/hildon-button.c: Documentation updates.
2840 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2842 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2843 * src/hildon-caption.c: (hildon_caption_class_init):
2844 * src/hildon-color-button.c: (hildon_color_button_class_init):
2845 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2846 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2847 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2848 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2850 Remove deprecated GTK+ marshalers and replace them with the ones
2851 provided by GLib, for those available, add a marshaler for
2852 BOOLEAN:VOID, which is not available in GLib, and use it.
2854 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2857 the text from the previous column if there is no
2858 HildonTouchSelectorColumn::text-property set.
2860 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2862 * src/hildon-button.h
2863 * src/hildon-button.c (hildon_button_set_property)
2864 (hildon_button_get_property, hildon_button_class_init)
2865 (hildon_button_set_style, hildon_button_get_style):
2866 New "style" property to change the visual appearance of the
2869 * src/hildon-picker-button.c (hildon_picker_button_new):
2870 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2872 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2873 HildonButton look like PickerButton)
2875 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2878 column while building the default string.
2880 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2882 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2883 scroll indicator by default.
2885 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2887 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2889 * src/hildon-main.c: Fix the documentation for hildon_init()
2891 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2893 * doc/hildon-docs.sgml
2897 * src/hildon-window-stack-private.h
2898 * src/hildon-window-stack.h
2899 * src/hildon-window-stack.c:
2900 New HildonWindowStack object, that adds support for multiple
2901 stacks of windows per process.
2903 * src/hildon-stackable-window-private.h
2904 * src/hildon-stackable-window.h
2905 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2906 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2907 (hildon_stackable_window_show, hildon_stackable_window_hide)
2908 (hildon_stackable_window_class_init)
2909 (hildon_stackable_window_init):
2910 Use HildonWindowStack for stack management.
2912 * src/hildon-program.c (hildon_program_pop_window_stack)
2913 (hildon_program_peek_window_stack)
2914 (hildon_program_go_to_root_window):
2915 Add a fallback implementation to the deprecated functions using
2918 * examples/hildon-stackable-window-example.c:
2919 Use the new HildonWindowStack API.
2921 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-stackable-window-private.h
2924 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2925 (hildon_stackable_window_hide, hildon_stackable_window_init):
2926 Remove all window stack management.
2928 * src/hildon-program-private.h
2929 * src/hildon-program.h
2930 * src/hildon-program.c (hildon_program_init)
2931 (hildon_program_pop_window_stack)
2932 (hildon_program_peek_window_stack)
2933 (hildon_program_go_to_root_window):
2934 Remove all window stack management and mark functions as
2937 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2939 * src/hildon-app-menu.c (hildon_app_menu_realize):
2940 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2942 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2944 * configure.ac: post release version bump
2945 * debian/changelog: version bump
2947 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2952 * configure.ac: bump version
2953 * debian/changelog: updates
2955 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2957 Based on initial code by Christian Dywan (christian@imendio.com)
2959 * doc/hildon-docs.sgml: Add section for hildon-main.
2960 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2961 * src/Makefile.am: Add new hildon-main.[ch]
2962 * src/hildon-defines.h: Update the icon sizes.
2963 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2964 new library initialization files and register icon sizes.
2965 * src/hildon-main.h: New declarations.
2966 * src/hildon.h: Include hildon-main.h
2968 Add new initialization functions to the library. These methods
2969 will register the hildon specific icon sizes and can be used in the
2970 future for other hildon specific bits.
2972 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2974 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2976 * src/hildon-window.c: (hildon_window_realize),
2977 (hildon_window_notify), (-hildon_window_update_title): Do not set
2978 the application name in the window title.
2980 Fixes: NB#89754 (Applications shouldn't display their names in the
2983 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2985 * src/hildon-note-private.h:
2986 * src/hildon-note.c: (hildon_note_set_property),
2987 (hildon_note_get_property), (hildon_note_class_init),
2988 (hildon_note_init), (hildon_note_finalize),
2989 (hildon_note_new_confirmation_with_icon_name),
2990 (hildon_note_new_information_with_icon_name):
2992 No need to mark as deprecated the actual code. Revert
2993 to avoid missing symbols in widgets using deprecated API.
2995 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2997 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2999 * src/hildon-volumebar.h
3000 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3001 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3003 * src/hildon-helper.h
3004 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3005 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3007 * examples/Makefile.am:
3008 Deprecate hildon-insensitive-example
3010 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3012 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3014 * examples/hildon-pannable-area-buttons-scroll-example.c:
3015 Make all buttons finger height
3017 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3019 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3021 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3022 update the day model only if it is really required, and to avoid the
3023 full-reconstruction aproach. Now it only add or remove the required days.
3025 The purpose of this is avoid superfluous HildonTouchSelector::changed
3028 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3029 with strange parameters)
3031 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3033 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3035 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3036 the WINDOW_TYPE property.
3038 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3040 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3043 Fix dependency to allow parallel compilation with make -jX
3045 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3047 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3048 color frame and some minor tweaks to make it more consistent with
3051 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3052 highlighted but not visible)
3054 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3056 * examples/Makefile.am: Fixed typo in the Makefile.am.
3058 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3060 Reviewed the use of MAEMO_GTK define, now we add the define in the
3061 compilation line, and we also add it to the pc file.
3063 * configure.ac: Added MAEMO_GTK define to the compilation command
3064 and removed it from the config.h.
3066 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3067 do not have to take care about this define if the library was
3071 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3073 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3075 * examples/Makefile.am,
3076 * examples/hildon-pannable-area-buttons-scroll-example.c,
3077 * examples/hildon-pannable-area-gesture-signals-example.c,
3078 * examples/hildon-pannable-area-scroll-jump-example.c,
3079 * examples/hildon-pannable-area-tree-view-example.c:
3080 Renamed the pannable area examples, now they have more meaningful
3083 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3085 * src/hildon-touch-selector.c:
3086 (hildon_touch_selector_set_column_selection_mode): Used of
3087 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3088 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3089 to avoid re-seting the same selection mode.
3091 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3092 breaks HildonPickerDialog)
3094 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3096 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3097 conditional in the Makefile.am
3099 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3101 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3102 Remove unused methods.
3104 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3106 * src/hildon-button.c (hildon_button_init):
3107 Make button images center-aligned by default
3109 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3112 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3113 activated, we have to think about how to deal with both defines
3114 MAEMO_GTK and MAEMO_CHANGES.
3116 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3118 * examples/hildon-app-menu-example.c (create_menu): Make all
3119 buttons finger size.
3121 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3123 Fixed the compilation without maemo gtk adding ifdefs with
3124 MAEMO_GTK define to the code, we have to check this version more
3127 * examples/Makefile.am: Added control to avoid some examples that
3128 just make sense with maemo gtk.
3131 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3132 hildon modes with the define.
3134 * examples/hildon-edit-toolbar-example.c,
3135 (create_icon_view): Create the icon view without hildon-gtk
3136 helpers if we are not using maemo gtk.
3138 * src/hildon-touch-selector.c,
3139 (_create_new_column): Create the treeview without hildon-gtk
3140 helpers if we are not using maemo gtk.
3142 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3144 * src/hildon-pnnable-area.c,
3145 (hildon_pannable_area_dispose),
3146 (hildon_pannable_area_button_press_cb),
3147 (hildon_pannable_area_child_mapped),
3148 (hildon_pannable_area_add),
3149 (hildon_pannable_area_remove): Added code to control the position
3150 of the event_window when adding and removing children from the
3151 pannable. We have to raise the event window when the child is
3154 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3155 selection mode using custom widget inside pannable)
3157 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3159 * configure.ac: post release version bump
3160 * debian/changelog: version bump
3162 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3167 * configure.ac: bump version
3168 * debian/changelog: updates
3170 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3172 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3173 search mode, in order to avoid lose the focus on the treeview when
3174 a hw key (like enter) is pressed.
3176 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3177 in HildonDateSelector dialog)
3179 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3181 * debian/rules: Added --enable-maintainer-mode
3182 * Makefile.am: Added ACLOCAL_AMFLAGS
3184 This allows to properly regenerate the Makefiles if you modify the
3185 configure.ac or any Makefile.am.
3187 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3189 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3190 properties, not needed at all.
3192 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3194 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3196 * src/hildon-note.c: (hildon_note_set_property),
3197 (hildon_note_get_property), (hildon_note_class_init),
3198 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3199 (hildon_note_new_confirmation_add_buttons): Remove icons.
3200 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3201 (hildon_note_new_information_with_icon_name): Deprecate.
3202 (hildon_note_new_confirmation): Act directly, without calling
3203 the deprecated constructor.
3204 (hildon_note_new_information): Act directly, without calling
3205 the deprecated constructor.
3206 * src/hildon-note.h: Mark deprecate methods as such.
3207 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3208 not run tests on the deprecated methods if built with deprecation
3211 Fixes: NB#91688 (Never show icons in information notes/confirmation
3214 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3216 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3217 (hildon_app_menu_key_press): Remove leftover usage of the
3218 private structure in HildonAppMenu struct.
3219 * src/hildon-app-menu.h: Remove leftover private structure
3220 from the HildonAppMenu struct.
3222 Fixes a crasher when using the HildonAppMenu.
3224 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3226 * src/hildon-picker-dialog.c: Use appropriate logical id
3227 for the default "Done" text.
3229 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3231 * configure.ac: post release version bump
3232 * debian/changelog: version bump
3234 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3236 Modified the way to scroll to the current selection just when the touch
3237 selector is shown on the screen, avoiding a g_idle. Added too a property
3238 to configure this behaviour. See hildon_pannable_area_jump_to_child
3239 documentation for more information.
3241 * src/hildon-touch-selector.c
3242 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3243 Added 'initial-scroll' property
3244 (hildon_touch_selector_set_property): Added
3245 (hildon_touch_selector_map): Removed as not required anymore
3246 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3247 only a concrete column, instead of iterate along all the columns
3249 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3254 * configure.ac: bump version
3255 * debian/changelog: updates
3257 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3259 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3260 compilation time warnings.
3262 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3265 the default value for HildonPannableArea::mov-mode to
3266 HILDON_PANNABLE_AREA_MODE_VERT.
3268 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3270 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3272 Reverting following commit:
3274 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3276 * src/hildon-app-menu-private.h
3277 * src/hildon-app-menu.[ch]
3278 * src/hildon-button.[ch]
3279 * src/hildon-check-button.[ch]
3280 * src/hildon-entry.[ch]
3281 * src/hildon-pannable-area.[ch]
3282 * src/hildon-text-view.[ch]:
3283 Added private field to the object's structure.
3285 because it causes an ABI breakage. We will need to introduce these
3286 changes later at some point. See NB#91636 for an extensive
3287 explanation and status.
3289 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3291 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3293 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3294 remove special cases that are no longer necessary.
3296 Fixes: NB#91016 (Change toolbar sizes, simplification)
3298 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3301 is shown in the cancel note.
3303 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3305 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3306 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3307 (hildon_seekbar_init): Remove steppers, remove expose event.
3308 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3310 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3312 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3314 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3315 label font to "SmallSystemFont" for vertically arranged buttons.
3317 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3320 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3322 * src/hildon-check-button.c
3323 (hildon_check_button_set_active, hildon_check_button_clicked):
3324 Don't access private parts directly, use getters instead.
3326 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3328 * src/hildon-check-button.c (hildon_check_button_new):
3329 Align the contents of the check button to the left.
3331 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3333 * src/hildon-pannable-area.c,
3334 (hildon_pannable_area_scroll_to),
3335 (hildon_pannable_area_jump_to),
3336 (hildon_pannable_area_scroll_to_child),
3337 (hildon_pannable_area_jump_to_child): Replace the mapped
3338 precondition of these functions with the realized, it is the
3339 correct state of the widget in this case. Changed the
3340 documentation according to this modification.
3342 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3344 Added a new EXTRA_CFLAGS option to add the deprecated define to
3345 the compilation command. This way we can avoid using the define in
3346 the documentation compilation.
3348 * configure.ac: Defined EXTRA_CFLAGS.
3350 * examples/Makefile.am:
3352 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3354 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3356 * src/hildon-picker-dialog.c:
3357 Defined a utility macro with the desired touch selector height
3358 Removed currently unused separator, and title_label variables from
3360 (hildon_picker_dialog_init): Removed code related to the creation
3361 of unused private variables title_label and separator.
3362 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3363 to ensure correct visualization of the touch selector inside the dialog.
3364 * src/hildon-touch-selector.c
3365 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3366 ensure a concrete height of the widget.
3368 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3371 * tests/Makefile.am:
3373 Remove spurious whitespaces.
3375 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3378 compilation warning after the cancel button removal.
3380 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3382 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3384 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3385 Makefile.am, that way we can choose not to compile some examples
3386 and tests of the deprecated widgets.
3388 * examples/Makefile.am: Divided the sources in deprecated and
3391 * src/Makefile.am: Added undef statement of the deprecated
3392 symbol to the enums file generation process.
3394 * src/hildon-color-chooser-dialog.c
3395 * src/hildon-color-chooser-dialog.h
3396 * src/hildon-color-button.c
3397 * src/hildon-color-button.h
3398 * src/hildon-color-chooser.c
3399 * src/hildon-color-chooser.h
3400 * src/hildon-controlbar.c
3401 * src/hildon-controlbar.h
3402 * src/hildon-date-editor.c
3403 * src/hildon-date-editor.h
3404 * src/hildon-hvolumebar.c
3405 * src/hildon-hvolumebar.h
3406 * src/hildon-private.c
3407 * src/hildon-private.h
3408 * src/hildon-range-editor.c
3409 * src/hildon-range-editor.h
3410 * src/hildon-seekbar.c
3411 * src/hildon-seekbar.h
3412 * src/hildon-time-editor.c
3413 * src/hildon-time-editor.h
3414 * src/hildon-time-picker.c
3415 * src/hildon-time-picker.h
3416 * src/hildon-volumebar.c
3417 * src/hildon-volumebar.h
3418 * src/hildon-vvolumebar.c
3419 * src/hildon-vvolumebar.h
3420 * src/hildon-bread-crumb-trail.h
3421 * src/hildon-bread-crumb-trail.c
3422 * src/hildon-calendar-popup.c
3423 * src/hildon-calendar-popup.h
3424 * src/hildon-weekday-picker.c:
3425 * src/hildon-weekday-picker.h:
3426 * src/hildon-bread-crumb-widget.c:
3427 * src/hildon-bread-crumb-widget.h:
3428 * src/hildon-bread-crumb.c:
3429 * src/hildon-bread-crumb.h:
3430 * src/hildon-calendar.c:
3431 * src/hildon-calendar.h:
3432 * src/hildon-caption.c:
3433 * src/hildon-code-dialog.c:
3434 * src/hildon-code-dialog.h:
3435 * src/hildon-font-selection-dialog.c:
3436 * src/hildon-font-selection-dialog.h:
3437 * src/hildon-get-password-dialog.c:
3438 * src/hildon-get-password-dialog.h:
3439 * src/hildon-login-dialog.c:
3440 * src/hildon-login-dialog.h:
3441 * src/hildon-number-editor.c:
3442 * src/hildon-number-editor.h:
3443 * src/hildon-set-password-dialog.c:
3444 * src/hildon-set-password-dialog.h:
3445 * src/hildon-sort-dialog.c:
3446 * src/hildon-sort-dialog.h: This is the list of deprecated
3449 * src/hildon-touch-selector.c:
3450 * src/hildon-window.c: Added undef statement to avoid compilation
3453 * tests/Makefile.am: Divided the sources in deprecated and
3456 * tests/check_test.c,
3457 (configure_tests): Marked the deprecated code that was adding
3458 suites with deprecated tests.
3460 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3462 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3464 * src/hildon-touch-selector.c: (_default_print_func): Do not
3465 duplicate a string returned by gtk_tree_model_get(), it is already
3468 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3471 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3473 * src/hildon-pannable-area.c
3474 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3475 method, it had problems when adding a widget with viewport the
3476 second time. Now checks if it already has a viewport and uses it.
3478 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3481 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3483 * src/hildon-pannable-area.c,
3484 (hildon_pannable_area_scroll_to),
3485 (hildon_pannable_area_jump_to),
3486 (hildon_pannable_area_scroll_to_child),
3487 (hildon_pannable_area_jump_to_child): Added a precondition to the
3488 scroll and jump to functions: the widget must be mapped before we
3489 can safely call these functions. We have also added documentation
3490 to the functions to explain how to use them in this situation.
3493 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3495 Reviewed the threading handling of the pannable widget, we have
3496 used the gdk_threads_add_timeout function instead of the usual
3497 glib handlers. This avoids some problems with the threads.
3499 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3500 (hildon_pannable_area_initial_effect),
3501 (hildon_pannable_area_scroll_indicator_fade),
3502 (hildon_pannable_area_button_press_cb),
3503 (hildon_pannable_area_timeout),
3504 (hildon_pannable_area_motion_notify_cb),
3505 (hildon_pannable_area_button_release_cb),
3506 (hildon_pannable_area_scroll_cb),
3507 (hildon_pannable_area_scroll_to): Removed the
3508 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3509 gdk_threads_add_timeout.
3511 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3513 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3518 * configure.ac: bump version
3519 * debian/changelog: updates
3521 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3523 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3524 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3525 * src/hildon-color-chooser-dialog.c:
3526 (hildon_color_chooser_dialog_init):
3527 * src/hildon-font-selection-dialog.c:
3528 (hildon_font_selection_dialog_init):
3529 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3531 Remove all cancel/close-like dialogs, as these are not going to be
3534 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-note.c: (hildon_note_rebuild),
3537 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3540 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3542 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3544 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3545 sure all buttons are shown, even the Cancel/Close-like ones.
3547 Fixes: NB#90861 (Custom Confirmation dialogs should be
3548 protected from cancel button removal)
3550 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3552 * debian/control: Change libhildon1-examples dependency from libhildon1
3554 * debian/libhildon1-examples.install
3556 * Makefile.am: Modified the final install directory for the examples on
3557 package libhildon1-examples
3558 * Makefile.static: Update clean target in order to remove all the binary
3561 Changes suggested by Claudio after review new libhildon1-examples package
3563 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3565 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3566 * src/hildon-touch-selector.c: Ditto.
3568 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3570 * debian/control: Added new package libhildon1-examples, in order to pack
3571 the current hildon examples as documentation
3572 * debian/rules: Not to compress .c files, modify some includes on the
3573 examples (as normally are compiled locally, but when installed it will
3574 require to include the installed libhildon1 library), and rename
3576 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3577 install all the example files on the new example package
3578 * examples/Makefile.static: Added static makefile that can be used to
3579 compile the examples, once installed the new example package
3580 * examples: Most of the examples were modified in order to grant that
3581 all use only '#include "hildon.h"', in order to be easy to prepare
3582 it on the example package
3584 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3587 * debian/libhildon1-dev.install
3588 * debian/libhildon1-doc.install:
3589 Move all gtk-doc files to a separate libhildon1-doc package.
3591 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3593 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3595 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3597 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3599 * debian/rules: Fixed a error in order to avoid unnecessary calls
3600 to autogen.sh on package building
3602 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3604 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3606 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3608 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3611 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3613 * src/hildon-picker-button.c
3614 (hildon_picker_button_finalize):
3615 Free priv->done_button_text
3617 * src/hildon-time-button.c
3618 (hildon_time_button_set_time)
3619 * src/hildon-picker-button.c
3620 (hildon_picker_button_clicked)
3621 (hildon_picker_button_selector_selection_changed)
3622 (hildon_picker_button_set_selector)
3623 * src/hildon-date-button.c
3624 (hildon_date_button_set_date):
3625 Free strings returned by hildon_touch_selector_get_current_text()
3627 * src/hildon-button.c (hildon_button_construct_child):
3628 Fix leaks in priv->image and priv->label_box
3630 Fixes: NB#90535 (Memory leak in picker button)
3632 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3634 * src/hildon-button.c: (hildon_button_get_property): Do not access
3635 private elements directly, use getters instead.
3637 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3639 * src/hildon-app-menu-private.h
3640 * src/hildon-app-menu.c
3641 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3642 Store the menu's parent window.
3644 * src/hildon-stackable-window.c
3645 (hildon_stackable_window_toggle_menu)
3646 (hildon_stackable_window_finalize):
3647 Set the menu's parent window when the menu is shown, unset it when
3650 * src/hildon-app-menu.c
3651 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3652 (hildon_app_menu_class_init):
3653 Send unhandled keyboard accelerators to the parent window.
3655 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3657 * src/hildon-stackable-window.c
3658 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3660 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3662 * configure.ac: post release version bump
3664 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3667 * configure.ac: Bump version
3668 * debian/changelog: Updates
3669 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3672 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3674 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3677 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3678 GtkMenu with Hildon style.
3680 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3682 * src/hildon-picker-button.c:
3683 (hildon_picker_button_set_done_button_text): Set the dialog's
3684 done button text here as well.
3686 Fixes: NB#90232 (Picker button does not set the label on done button
3687 for the second time)
3689 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3694 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3696 * src/hildon-app-menu.c (hildon_app_menu_insert)
3697 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3698 the HildonAppMenu to be activatable using keyboard accelerators
3699 when the menu is not being shown.
3701 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3703 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3705 * src/hildon-stackable-window.c
3706 (hildon_stackable_window_show):
3707 Don't hide old windows automatically when new windows are shown:
3708 this is now a task for the window manager.
3709 (hildon_stackable_window_class_init)
3710 (hildon_stackable_window_hide):
3711 Remove windows from the stack everytime they're hidden.
3712 (hildon_stackable_window_realize):
3713 Don't change the _NET_WM_WINDOW_TYPE property. Use
3714 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3715 it as a stackable window.
3717 * src/hildon-program.c
3718 (hildon_program_pop_window_stack):
3719 Just hide the window to remove it from the stack.
3720 (hildon_program_go_to_root_window):
3721 Don't call gtk_widget_show(), this is now a task for the window
3724 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3726 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3728 * src/hildon-button.c
3729 (hildon_button_construct_child):
3730 Don't pack anything in the button until text or image are
3731 set. This allows adding a custom child after creating the button
3732 with hildon_button_new().
3733 (hildon_button_finalize, hildon_button_class_init)
3734 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3735 alignment and the label box even when they're not packed in the
3738 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3740 * src/hildon-touch-selector.h:
3741 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3742 currently the type definition was using GTK_TYPE_VBOX
3743 * src/hildon-touch-selector.c:
3744 Added some implementation notes in order to clarify that any other widget
3745 added without the column related API will not be included on the
3746 selection logic, and how the widget is freed, as some people ask about
3748 (hildon_touch_selector_remove): Reimplemented in order to free properly
3749 the column related data when you remove the private hbox.
3750 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3751 to get a proper HildonTouchSelectorColumn documentation
3753 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3755 * src/hildon-touch-selector-entry.c:
3756 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3757 text in the GtkEntry and there is no item selected. Fixes a
3760 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3762 * src/hildon-app-menu-private.h
3763 * src/hildon-app-menu.[ch]
3764 * src/hildon-button.[ch]
3765 * src/hildon-check-button.[ch]
3766 * src/hildon-entry.[ch]
3767 * src/hildon-pannable-area.[ch]
3768 * src/hildon-text-view.[ch]:
3769 Added private field to the object's structure.
3771 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3773 * configure.ac: post-release version bump
3775 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3779 * configure.ac: pre-release version bump
3781 * debian/changelog: updates.
3783 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3785 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3786 Disconnect the handler for HildonTouchSelector::changed.
3788 (hildon_picker_button_selector_selection_changed): Update the button
3789 value if the selection change was not triggered by the
3792 (hildon_picker_button_set_selector): connect to
3793 HildonTouchSelector::changed.
3795 Fixes: NB#89650 (Picker button is not updated, when selection in
3796 selector has changed)
3798 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3800 * src/hildon-picker-dialog.c
3801 (hildon_picker_dialog_realize): Removed as not required
3802 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3803 * src/hildon-picker-button.c
3804 (_current_selector_empty): New function, checks if the selector is empty
3805 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3806 if the current selector is empty, in order to avoid to show the dialog
3807 close the dialog in this case (and shows a g_warning).
3809 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3811 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3813 * src/hildon-pannable-area.c,
3814 (hildon_pannable_area_scroll): Added clause to stop movement when
3815 the child of pannable is smaller than one page.
3816 (hildon_pannable_area_scroll_to): Added conditions to avoid
3817 starting the scrolling movement if the child is smaller than one
3818 page, the complete child is in the screen, we do not have to move.
3820 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3822 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3824 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3825 this is managed automatically by the widget when the size of the
3828 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3830 * src/hildon-picker-button.c
3831 (hildon_picker_button_set_done_button_text): Make a copy of the
3832 text, and free the previous value.
3834 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3836 * src/hildon-touch-selector-entry.c:
3837 (hildon_touch_selector_entry_print_func): Return the selected row's
3838 text if the entry is empty.
3840 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3843 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3845 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3847 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3850 * src/hildon-check-button.h
3851 * src/hildon-check-button.c
3852 * examples/hildon-check-button-example.c:
3853 HildonCheckButton is now a new widget. 'toggled' signal added.
3855 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3857 * src/hildon-program-private.h
3858 * src/hildon-program.c (hildon_program_init)
3859 (hildon_program_finalize): Removed unused variables group_leader
3860 and name from HildonProgramPrivate.
3862 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-check-button.c (hildon_check_button_set_active)
3865 (hildon_check_button_get_active, hildon_check_button_new): Use
3866 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3868 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3870 * src/hildon-touch-selector.h
3871 (hildon_touch_selector_set_column_attributes): added deprecation
3872 guard HILDON_DISABLE_DEPRECATED
3873 * src/hildon-time-selector.c
3874 (hildon_time_selector_set_time)
3875 (hildon_time_selector_get_time): Fixed a typo on documentation
3876 * src/hildon-touch-selector.c: update HildonTouchSelector and
3877 HildonTouchSelectorColumn documentation
3878 * src/hildon-touch-selector-entry.c: update "text-column" property
3880 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3881 to be added to the general documentation.
3883 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3885 * examples/hildon-pannable-area-example-4.c,
3887 * examples/hildon-pannable-area-example.c,
3888 (main): Modified the code in order to use the container add, with
3889 viewport treeviews could have problems if they are really big.
3891 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3893 * src/hildon-weekday-picker.c,
3894 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3895 the agreement regarding deprecation in the library.
3897 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3899 * examples/hildon-picker-button-multicolumn-example.c:
3900 (main): Use custom "done" button text.
3902 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3903 (hildon_picker_button_set_property),
3904 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3905 (hildon_picker_button_init),
3906 (+hildon_picker_button_get_done_button_text),
3907 (+hildon_picker_button_set_done_button_text): New methods to customize
3908 the "done" button label in the launched HildonPickerDialog. Also,
3911 * src/hildon-picker-button.h: add the public API.
3913 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3915 * src/hildon-date-selector.h:
3916 * src/hildon-picker-dialog.h:
3917 * src/hildon-time-selector.h:
3918 * src/hildon-touch-selector-column.h:
3919 * src/hildon-touch-selector.h:
3921 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3922 declarations. Fixes gtk-doc warnings.
3924 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3926 * src/hildon-picker-dialog.h
3927 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3928 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3930 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3931 long text is set as label for done button)
3933 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3935 * src/hildon-dialog.c (hildon_dialog_add_button):
3936 Set fixed width to all buttons in the HildonDialog.
3938 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3940 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3942 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3943 Set widget name using class name plus "-finger" or "-thumb".
3945 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3947 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3948 'clicked' when the state of the button is manually changed.
3950 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3952 * src/hildon-app-menu.c (hildon_app_menu_realize)
3953 (hildon_app_menu_unrealize, hildon_app_menu_init)
3954 (hildon_app_menu_class_init, item_visibility_changed):
3955 Change the menu layout when the size of the screen changes.
3956 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3957 Show warning only when changing the number of colums using the
3960 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3962 * debian/compat: Set to 5
3963 * debian/control: Update dependencies.
3964 * debian/libhildon1-dbg.install: Remove.
3965 * debian/libhildon1-dev.install: Update according to cdbs paths.
3966 * debian/libhildon1.install: Update according to cdbs paths.
3967 * debian/rules: Switch to cdbs.
3969 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3971 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3972 'item' variable renamed to 'filter'
3974 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3976 * src/hildon-app-menu.c (hildon_app_menu_insert)
3977 (hildon_app_menu_add_filter, remove_item_from_list)
3978 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3979 Don't leak hidden items when the menu is destroyed.
3981 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3983 * src/hildon-app-menu.c (hildon_app_menu_insert)
3984 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3985 (hildon_app_menu_set_columns, item_visibility_changed)
3986 (filter_visibility_changed, hildon_app_menu_repack_filters)
3987 (hildon_app_menu_repack_items):
3988 Repack items and filters separately.
3990 Don't repack all items, change only the ones that are needed to
3993 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3995 * src/Makefile.am: added hildon-touch-selector-column.h
3997 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3999 * src/hildon-touch-selector.c: added the property "text-column" to the
4000 class HildonTouchSelectorColumn, and related get/set functions
4001 (_default_printf_func): updated to use "text-column" property
4002 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4003 "text-column" in his documentation, as this is now included on
4004 HildonTouchSelectorColumn. The get/set_property can still be used,
4005 working as a wrapper to the concrete column "text-column" property
4006 (_text_column_modified): callback added in order to handle the signal
4007 "notify::text-column" of the concrete HildonTouchSelectorColumn
4008 (hildon_touch_selector_entry_get_text_column)
4009 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4010 modified in order to use the HildonTouchSelectorColumn "text-column"
4012 * src/hildon-time-selector.c:
4013 * src/hildon-date-selector.c:
4014 * examples/hildon-touch-selector-example.c
4015 * examples/hildon-touch-selector-multi-cells-example.c
4016 * examples/hildon-picker-button-multicolumn-example.c
4017 Set the right value to "text-column" property on the creation of a new
4018 column using hildon_touch_selector_append_column()
4020 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4022 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4024 * src/hildon-app-menu.c
4025 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4026 updating the layout of the menu, don't create all widgets again,
4027 just repack the items in their new places.
4029 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4031 * src/hildon-time-selector.c
4032 (hildon_time_selector_get_time)
4033 (hildon_time_selector_set_time)
4034 Added documentation of these public methods
4036 * src/hildon-date-button.h
4037 * src/hildon-touch-selector-column.h
4038 * src/hildon-time-button.h
4039 * src/hildon-picker-dialog.h
4040 * src/hildon-time-selector.h
4041 * src/hildon-picker-button.h
4042 * src/hildon-touch-selector.h
4043 * src/hildon-time-picker.h
4044 * src/hildon-date-selector.h
4045 * src/hildon-touch-selector-entry.h
4046 Modified in order to use hildon-widgets code style
4048 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4050 Added deprecated support to the compilation process using
4051 HILDON_DISABLE_DEPRECATED
4053 * configure.ac: Added the --disable-deprecated to the configure
4056 * src/hildon-weekday-picker.c:
4057 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4058 to use the deprecated support. We will update the other deprecated
4059 widgets status in a new patch.
4061 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4063 * configure.ac: Fixed typo with fatal warnings support, the
4064 variable name was not correct
4066 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4068 * src/hildon-app-menu.c
4069 * src/hildon-program.c: Update documentation.
4071 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4073 * configure.ac: Post-release version bump.
4075 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4080 * configure.ac: Pre-release version bump.
4081 * debian/changelog: Updates.
4083 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4085 * NEWS: Update news for previous releases.
4087 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4089 * examples/hildon-touch-selector-multi-cells-example.c:
4090 (create_selector): Update the example to use
4091 hildon_touch_selector_append_column() with a NULL renderer and set
4092 the renderers later.
4093 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4094 passed a NULL renderer. This is documented behavior now.
4096 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4097 This must be used if the developer wants full control on the layout of
4098 the renderers to be added to the column.
4100 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4102 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-touch-selector.c: Documentation fixes.
4106 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4108 * src/hildon-wizard-dialog-private.h: Remove image and box.
4109 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4110 (hildon_wizard_dialog_set_property), (response): Completely remove
4111 image/icon support, and the containers required for the layout.
4113 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4115 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-app-menu.c: Updated documentation.
4119 * src/hildon-stackable-window.c
4120 (hildon_stackable_window_set_main_menu): Unref the old menu after
4121 ref'ing the new one.
4123 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4125 * src/hildon-stackable-window.c
4126 (hildon_stackable_window_set_main_menu): Unref the previous menu
4127 instead of destroying it.
4129 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4130 floating reference and set has_user_ref_count to FALSE to make
4131 HildonAppMenu act like a normal ref-counted widget and not a
4134 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4137 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4139 * src/hildon-touch-selector-column.h: new file
4140 * src/hildon-touch-selector.h
4141 * src/hildon-touch-selector.c
4142 Implemented GtkCellLayout interface, in order to allow to configure
4143 the cell layout on each individual selector column
4144 (hildon_touch_selector_set_column_attributes): marked as deprecated
4145 * examples/hildon-touch-selector-multi-cells-example.c
4146 Example of how to use the GtkCellLayout interface on the selector
4148 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4150 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4152 * src/hildon-app-menu.h
4153 * src/hildon-app-menu.c
4154 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4155 (hildon_app_menu_append, hildon_app_menu_prepend):
4156 New methods to prepend, insert and move items in the menu.
4158 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4160 * src/hildon-wizard-dialog.c:
4162 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4164 (create_title): Update logical IDs and related code.
4165 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4167 * src/hildon-wizard-dialog.h: Note that
4168 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4169 point, as it is not used anymore.
4171 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4173 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4175 * src/hildon-note.c:
4176 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4177 shown. Do not display an icon in confirmation notes nor information
4179 (hildon_note_set_button_text): Update logical ID for cancel button.
4181 Fixes: NB#88850 (Update HildonNote button strings + signals)
4183 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4185 * src/hildon-stackable-window.c
4186 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4188 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4190 * src/hildon-app-menu-private.h
4191 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4192 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4193 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4194 temporary property 'columns' to change the number of columns.
4196 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4198 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4200 * examples/hildon-note-example.c: (on_information_clicked),
4201 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4202 debugging information.
4203 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4205 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4206 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4207 in order to close: this will be handled by the WM from now on.
4209 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4211 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4213 * src/hildon-app-menu-private.h
4214 * src/hildon-app-menu.c
4215 (hildon_app_menu_append, hildon_app_menu_add_filter)
4216 (button_visibility_changed, hildon_app_menu_apply_style)
4217 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4218 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4219 layout everytime a button (item or filter) is shown or hidden.
4221 * src/hildon-stackable-window.c
4222 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4225 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4227 * src/hildon-touch-selector.c:
4228 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4229 that the treeview inside the touch selector is in fremantle hildon mode
4230 * examples/hildon-date-button-example.c
4231 * examples/hildon-picker-button-multicolumn-example.c
4232 * examples/hildon-touch-selector-entry-example.c
4233 * examples/hildon-touch-selector-example.c
4234 * examples/hildon-time-button-example.c
4235 * examples/hildon-picker-button-example.c:
4236 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4238 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4240 * examples/hildon-text-view-example.c: (main): Remove the
4241 gtkrc bits, now handled by the theme.
4243 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4245 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4248 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4250 * po/Makefile.am: Install properly the mo files.
4251 * po/en_GB.po: Update translation, to ease testing purposes.
4253 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4255 * examples/hildon-picker-button-example.c: (main): Select an item
4256 in the selector before setting it to the button.
4258 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4260 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4261 Update button's value if the selector has an item active.
4263 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4264 'value' with the selector)
4266 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4268 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4269 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4270 (hildon_picker_button_class_init): Plug the finalize method.
4271 (hildon_picker_button_set_selector): If there's a previously set
4272 selector, unref'it before setting a new one.
4274 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4275 HildonTouchSelector)
4277 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4279 * src/hildon-touch-selector-entry.c:
4280 (hildon_touch_selector_entry_changed): Check if there is no text
4281 selected before setting the entry text.
4284 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4286 * src/hildon-touch-selector.h
4287 * src/hildon-touch-selector.c
4288 (hildon_touch_selector_get_active)
4289 (hildon_touch_selector_set_active): New methods to set/get the
4290 index of the selected item.
4292 * src/hildon-picker-button.h
4293 * src/hildon-picker-button.c
4294 (hildon_picker_button_get_active)
4295 (hildon_picker_button_set_active): New methods to set/get the
4296 index of the selected item.
4298 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4300 * configure.ac: post-release version bump.
4302 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4306 * configure.ac: Pre-release version bump.
4307 * debian/changelog: Updates.
4308 * debian/control: Add myself as maintainer and depend on l10n
4311 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4313 * src/hildon-window.c
4314 (hildon_window_set_main_menu)
4315 * src/hildon-stackable-window.c
4316 (hildon_stackable_window_set_main_menu):
4317 Updated documentation.
4319 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4321 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4322 Don't free selector->priv manually.
4325 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4328 (hildon_gtk_window_set_progress_indicator):
4329 * src/hildon-gtk.h: Added the new API
4330 hildon_gtk_window_set_progress_indicator, it changes the state of
4331 the window progress hint.
4333 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4335 * src/hildon-button.c
4336 * src/hildon-stackable-window.c: Minor documentation updates.
4338 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-stackable-window.c: Updated documentation.
4342 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4344 * src/hildon-defines.h: Update margins definitions
4345 to the Fremantle sizes.
4348 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4350 * src/hildon-touch-selector.c,
4351 (_hildon_touch_selector_set_model): Cleaning the code after
4352 review, removed g_print and #if 0 from the code.
4354 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4356 * src/hildon-edit-toolbar.c: Update documentation.
4358 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4360 * src/hildon-check-button.h
4361 * src/hildon-check-button.c
4362 (hildon_check_button_set_label, hildon_check_button_get_label)
4363 * examples/hildon-check-button-example.c
4364 (button_clicked_cb):
4365 Removed deprecated methods.
4367 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4369 * src/hildon-text-view.c:
4370 Add sample code to the documentation.
4372 * src/hildon-entry.h
4373 * src/hildon-text-view.h:
4374 Minor cosmetic changes.
4376 * src/hildon-entry.c:
4377 Add sample code to the documentation.
4378 (hildon_entry_init, hildon_entry_refresh_contents):
4379 Don't allow NULL values in the placeholder.
4381 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4383 * doc/hildon-docs.sgml
4385 * examples/Makefile.am
4386 * examples/hildon-text-view-example.c
4388 * src/hildon-text-view.c
4389 * src/hildon-text-view.h
4391 New HildonTextView widget, with example.
4393 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4395 * po/POTFILES.in: Add missing files with translatable strings.
4396 Partially fixes NB#88287.
4398 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4400 * examples/hildon-pannable-area-example-2.c: (main): No need to
4401 set the cellrenderer height inside hildon touch lists, the theme does
4404 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4406 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4407 they are integrated in the theme.
4409 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4411 * examples/hildon-entry-example.c: Update the example adding
4412 widgets to modify the text and the placeholder of the HildonEntry.
4414 * src/hildon-entry.c: Show the placeholder everytime the widget
4415 is empty and loses the focus.
4417 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4419 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4421 * src/hildon-pannable-area.c,
4422 (hildon_pannable_area_size_request): Fixed bug in height
4423 requisition, avoid increasing size and add border twice.
4425 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4427 * configure.ac: postrelease version bump.
4429 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4433 * configure.ac: Prerelease version bump.
4434 * debian/changelog: update.
4435 * debian/rules: make -dbg package contain useful debugging symbols.
4437 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4439 * src/hildon-dialog.h
4440 * src/hildon-dialog.c
4441 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4442 New methods to add buttons with finger size.
4443 (hildon_dialog_new_with_buttons):
4444 Create buttons with finger size.
4446 * examples/hildon-dialog-example.c (main): Use HildonDialog
4447 methods to add buttons.
4449 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-entry.c: Updated HildonButton documentation.
4453 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4456 button value label with (FALSE, FALSE) to prevent NB#88126 from
4459 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4461 * examples/hildon-pannable-area-example.c,
4462 (main): Removed examples panning a vbox inside a pannable
4463 area. Check bug NB#87965
4465 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4467 Patch contributed by Kris Rietveld (kris@imendio.com)
4469 * src/hildon-pannable-area.c,
4470 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4471 get_size and get_position, this saves an X server roundtrip.
4473 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4475 * doc/hildon-docs.sgml
4477 * examples/Makefile.am
4478 * examples/hildon-entry-example.c
4480 * src/hildon-entry.c
4481 * src/hildon-entry.h
4483 New HildonEntry widget, with example.
4485 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4487 * src/hildon-button.c (hildon_button_construct_child): Pack the
4488 image with expand == fill == FALSE. This is a workaround for a bug
4491 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4493 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4494 labels for the text column, to make it more look more dynamic.
4496 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4498 * src/hildon-time-selector.c
4499 Define gettext auxiliar macro N_
4500 (_create_minutes_model)
4501 (_create_hours_model)
4502 (_create_ampm_model): use of strftime in order to fill the model
4503 * src/hildon-date-selector.c
4504 (hildon_date_selector_finalize):
4505 (_locales_init): remove the logic related to get the name of the months
4506 using nl_langinfo, as it is not required anymore
4508 (_create_year_model)
4509 (_create_month_model)
4510 (_update_day_model): use of strftime in order to fill the model properly
4513 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4515 * src/hildon-button.h
4516 * src/hildon-button.c (hildon_button_get_image): New method to
4519 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4521 * src/hildon-touch-selector.c:
4522 (hildon_touch_selector_remove_column): Remove from the correct parent
4523 and also remove the list element and free it.
4526 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4528 * src/hildon-time-selector.c
4529 (_create_hours_model): change the range on 12h ampm format in order to use
4530 a 12-11 range instead of previous 01-12 range
4531 (hildon_time_selector_set_time): change the way to select the current time
4532 on 12h ampm format, due the change on the range
4533 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4536 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4538 * src/hildon-touch-selector.c
4539 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4540 in order to allow use this function on multiple row selection mode if
4541 the column is different that the first one
4544 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4546 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4547 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4549 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4551 * src/hildon-date-selector.h: clean some comments, now on the .c
4552 * src/hildon-date-selector.c
4553 (hildon_date_selector_select_month): first implementation
4554 (hildon_date_selector_select_day): added documentation, reimplemented
4555 using hildon_date_selector_select_current_date to avoid repeat code
4558 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4560 Reviewed interaction logic based on device experiences, refactored
4563 * src/hildon-pannable-area.c,
4564 (hildon_pannable_area_class_init): Updated default vmax speed.
4565 (hildon_pannable_area_calculate_velocity): Added this function, it
4566 avoids duplicate valocity calculation. Adjusted calculation to
4567 avoid problems with zero dist events.
4569 (hildon_pannable_area_motion_notify_cb): Now we use the
4570 calculate_velocity function.
4572 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4574 * src/hildon-date-selector.c
4575 (hildon_date_selector_select_current_date): fix the day range check
4576 as it failed using the last day of the current month
4579 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4581 * src/hildon-touch-selector.c
4582 (hildon_touch_selector_get_num_columns): added a parameter validation
4585 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4587 * examples/Makefile.am
4588 * examples/hildon-edit-toolbar-example.c: Example of the
4589 HildonEditToolbar widget.
4591 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4593 * configure.ac: postrelease version bump.
4595 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4599 * configure.ac: prerelease version bump.
4600 * debian/changelog: update.
4602 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4604 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4605 renderer to display stock icons in the touch list. Also, set the sizes
4606 to the recommended in the style guide.
4608 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4609 * src/hildon-touch-selector.h
4610 (hildon_touch_selector_set_active_iter): renamed, now is
4611 hildon_touch_selector_select_iter
4612 (hildon_touch_selector_get_active_iter): renamed, now is
4613 hildon_touch_selector_get_selected
4614 (hildon_touch_selector_unselect_iter): added
4615 * src/hildon-touch-selector.c
4616 Update after API modification (methods renamed)
4617 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4618 order to avoid problems selecting multiple elements on the column
4619 (hildon_touch_selector_unselect_iter): added the implementation
4620 * src/hildon-time-selector.c
4621 * src/hildon-date-selector.c
4622 * src/hildon-touch-selector-entry.c
4623 Update methods calls after hildon-touch-selector.h API modification (methods
4626 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4628 * src/hildon-stackable-window.c
4629 (hildon_stackable_window_finalize): Call the parent class's finalize.
4631 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4633 * examples/hildon-touch-selector-example.c: (create_selector): Use
4634 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4637 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4639 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4640 set a cell background color, to respect theming.
4642 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4644 * doc/hildon-docs.sgml
4647 * src/hildon-edit-toolbar.c
4648 * src/hildon-edit-toolbar.h
4649 * src/hildon.h: New HildonEditToolbar widget.
4651 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4653 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4656 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4657 * src/hildon-touch-selector.c
4658 (_create_new_column): use g_object_set instead of two g_object_set_property
4660 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4661 * src/hildon-touch-selector.c
4662 (_create_new_column): use of hildon_gtk_tree_view_new to create
4663 the treeview, instead of use directly g_object_new
4664 (_create_new_column): update the property name "vindicator-mode" for the
4665 new one "vscrollbar-policy"
4666 * examples/hildon-date-button-example.c
4667 * examples/hildon-picker-button-multicolumn-example.c
4668 * examples/hildon-touch-selector-entry-example.c
4669 * examples/hildon-touch-selector-example.c
4670 * examples/hildon-time-button-example.c
4671 * examples/hildon-picker-button-example.c
4672 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4673 to all the treeviews inside a pannable area.
4675 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4677 * src/hildon-button.h
4678 * src/hildon-button.c (hildon_button_init)
4679 (hildon_button_set_arrangement, hildon_button_set_alignment)
4680 (hildon_button_set_title_alignment)
4681 (hildon_button_set_value_alignment)
4682 (hildon_button_set_image_alignment)
4683 (hildon_button_construct_child): New methods to set the alignment
4684 of the individual components of the button (title, value,
4685 image). Also, new method to alter the xscale and yscale properties
4686 of the GtkAlignment inside the button, so more complex layouts can
4689 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4691 * src/hildon-button.c (hildon_button_style_set)
4692 (hildon_button_class_init, hildon_button_set_arrangement)
4693 (hildon_button_construct_child): Apply style properties
4694 correctly. Use the 'image-spacing' style property too.
4696 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4699 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4702 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4704 * src/hildon-pannable-area.c,
4705 (hildon_pannable_area_size_request): Fixed problem with
4706 pannable-area size_request.
4708 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4710 Added management for the grab-focus to a child widget, like a
4711 range, we need to fade out the scrollbar when releasing.
4713 * src/hildon-pannable-area.c,
4714 (hildon_pannable_area_init): Connected the grab-focus signal to
4716 (hildon_pannable_area_grab_notify): Added this function in order
4717 to manage the situation when the grab-focus ends. We have to
4718 fade-out the scrollbar.
4720 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-app-menu.c: Minor documentation update.
4724 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4726 * src/hildon-app-menu.c
4727 * examples/hildon-app-menu-example.c (create_menu): Update
4728 examples and documentation to explain how to connect callbacks.
4730 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4732 * examples/hildon-button-example.c
4733 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4734 hildon_stackable_window_new instead of gtk_window_new
4736 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4738 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4739 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4740 (hildon_pannable_area_set_property),
4741 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4742 (hildon_pannable_area_unrealize),
4743 (hildon_pannable_area_size_request),
4744 (hildon_pannable_area_size_allocate),
4745 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4746 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4747 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4748 (hildon_pannable_area_initial_effect),
4749 (hildon_pannable_area_redraw),
4750 (hildon_pannable_area_scroll_indicator_fade),
4751 (hildon_pannable_area_expose_event),
4752 (hildon_pannable_area_get_topmost), (synth_crossing),
4753 (hildon_pannable_area_button_press_cb),
4754 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4755 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4756 (hildon_pannable_area_motion_notify_cb),
4757 (hildon_pannable_area_button_release_cb),
4758 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4759 (hildon_pannable_area_remove),
4760 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4761 chage the code layout to a more GtkWidget like. Review the use of
4764 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4766 * examples/hildon-pannable-area-example-4.c,
4767 (main): Modified the name of the hindicator_mode to
4770 * src/hildon-pannable-area.c,
4771 (hildon_pannable_area_class_init),
4772 (hildon_pannable_area_motion_notify_cb),
4773 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4774 we have reduced the amount of signals and managed reviewed its
4775 rationale. Changed the default decelerate value.
4777 (hildon_pannable_area_add),
4778 (hildon_pannable_area_redraw): Refactored functions.
4780 (hildon_pannable_area_init),
4781 (hildon_pannable_area_get_property),
4782 (hildon_pannable_area_set_property):
4783 (hildon_pannable_draw_vscroll),
4784 (hildon_pannable_draw_hscroll),
4785 (hildon_pannable_area_initial_effect),
4786 (hildon_pannable_area_expose_event),
4787 (hildon_pannable_area_scroll),
4788 (hildon_pannable_area_button_press_cb),
4789 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4790 and vindicator_mode with hscrollbar_policy and
4791 vscrollbar_policy. Replaced hscroll and vscroll with
4792 hscroll_visible and vscroll_visible.
4794 (hildon_pannable_area_refresh): Refactor the function, remove
4795 variables and check the calls to this function, added resize
4796 conditions in case the children change their layout.
4798 (hildon_pannable_area_size_request): Added more detailed
4799 size_request calculation.
4802 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4804 * src/hildon-color-chooser.c
4805 (init_borders): use the correct gtk_border_free instead of g_free, to
4806 avoid a crash when this widget is used (ie: the three color selection
4809 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4811 * src/hildon-check-button.c,
4812 (hildon_check_button_set_active): Fixed problem when setting the
4813 active value, the widget was not redrawn.
4815 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4817 * src/hildon-pannable-area.c,
4818 (hildon_pannable_area_refresh),
4819 (hildon_pannable_area_scroll),
4820 (hildon_pannable_area_motion_notify_cb): Small code style change.
4822 (hildon_pannable_area_class_init): Default initial_hint set to
4823 FALSE, it is not in the specs.
4825 (hildon_pannable_area_initial_effect),
4826 (hildon_pannable_area_expose_event),
4827 (hildon_pannable_area_map),
4828 (hildon_pannable_area_init): Moved the launching point of the
4829 initial effect, it was in map but the sizes where not correct in
4830 that method so we do not know if we have the reproduce it. Now it
4831 is placed in the expose_event method and uses a variable to
4832 reproduce it just once.
4834 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4836 * src/hildon-pannable-area.c,
4837 (hildon_pannable_draw_vscroll),
4838 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4839 position allowed for the scrollbars.
4841 (hildon_pannable_area_size_allocate): Small style change.
4843 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4845 * src/hildon-pannable-area.c,
4846 (hildon_pannable_area_scroll_indicator_fade),
4847 (hildon_pannable_area_button_press_cb),
4848 (hildon_pannable_area_button_release_cb),
4849 (hildon_pannable_area_scroll_cb),
4850 (hildon_pannable_area_expose_event),
4851 (hildon_pannable_area_init): Added the define parameter
4852 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4853 and refactor the fade variable.
4855 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4857 * src/hildon-pannable-area.c,
4858 (hildon_pannable_area_redraw),
4859 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4860 lines, we were reimplemeting the redraw code.
4862 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4864 * src/hildon-pannable-area.c,
4865 (hildon_pannable_area_scroll_cb),
4866 (hildon_pannable_area_realize),
4867 (hildon_pannable_area_class_init): Added scroll_event management
4868 for pannable area, now we can scroll the usual desktop method.
4870 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4871 initialization of the parameters should depend on idle_id.
4873 (hildon_pannable_area_init),
4874 (hildon_pannable_area_map): Small code style modifications
4876 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4878 * src/hildon-pannable-area.c
4879 (hildon_pannable_area_button_press_cb),
4880 (hildon_pannable_area_motion_notify_cb),
4881 (hildon_pannable_area_button_release_cb),
4882 (hildon_pannable_area_size_allocate),
4883 (hildon_pannable_area_scroll_to): Improved the timeouts
4884 management, we avoid creating them each time.
4886 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4888 * src/hildon-pannable-area.c:
4889 (hildon_pannable_area_refresh),
4890 (hildon_pannable_area_motion_notify_cb),
4891 (hildon_pannable_area_class_init):
4892 * src/hildon-pannable-area.h:
4893 * src/hildon-touch-selector.c
4894 (_create_new_column):
4895 * examples/hildon-pannable-area-example-4.c:
4896 (horizontal_movement),
4897 (vertical_movement),
4899 Replaced the names of enums in the HildonPannableArea:
4900 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4901 HILDON_MOVEMENT_MODE_*
4902 - HILDON_PANNABLE_AREA_MOV_* ->
4904 - Removed HildonPannableAreaIndicatorMode, now we
4907 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4909 * examples/hildon-pannable-area-touch-grid-example.c
4910 * examples/hildon-pannable-area-touch-list-example.c: Fix
4911 compilation warnings.
4913 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4915 * src/hildon-gtk.c (hildon_gtk_button_new)
4916 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4917 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4918 images overriding the value of the "gtk-button-images" setting.
4920 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4922 * src/hildon-check-button.c (hildon_check_button_new):
4923 Instead of using a custom container, display the label and the
4924 checkbox using the standard GtkButton API.
4926 * examples/hildon-check-button-example.c (main): Don't use
4927 hildon_check_button_set_label() anymore
4929 * src/hildon-check-button.h
4930 * src/hildon-check-button.c
4931 (hildon_check_button_set_label, hildon_check_button_get_label):
4932 Set as deprecated, now we're using gtk_button_{get,set}_label()
4934 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4936 * src/hildon-pannable-area.c,
4937 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4938 GtkTreeview first line we detected it after the inclusion of the
4939 GtkWindowImpl in gtk+. We now check if the window is visible, not
4940 just if the pointer is over the window.
4941 (hildon_pannable_axis_scroll),
4942 (hildon_pannable_area_expose_event): Small style changes.
4944 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4946 * src/hildon-button.c: Update documentation.
4948 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4950 * examples/hildon-button-example.c: Add a switch to show images in
4953 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4955 * doc/hildon-docs.sgml: Some docs reorganization.
4957 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4959 * examples/hildon-pannable-area-touch-list-example.c
4961 * examples/hildon-pannable-area-touch-grid-example.c
4962 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4963 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4964 Fix memory leak when setting the tree model.
4966 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4970 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4972 * doc/hildon.types: Remove duplicated hildon_window_get_type
4973 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4974 documentation comment.
4976 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4978 * doc/Makefile.am: Complete list of private headers.
4980 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4982 * doc/hildon-docs.sgml
4983 * src/hildon-app-menu.c
4984 * src/hildon-bread-crumb.c
4985 * src/hildon-button.c
4987 * src/hildon-program.c
4988 * src/hildon-stackable-window.c
4989 * src/hildon-window.c: Lots of documentation updates.
4991 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4993 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4995 * configure.ac: Require Gtk+ 2.12.9 at least
4997 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4999 * src/hildon-pannable-area.c
5000 (hildon_pannable_area_scroll_indicator_fade),
5001 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5002 to protect the return of this timeout callbacks, avoiding deadlocks.
5004 2008-08-12 Christian Dywan <christian@imendio.com>
5007 * src/hildon-*.h: Ensure a consistent include order,
5008 include <gtk/gtk.h> instead of particular files and
5009 only include the topmost header in the gtk stack. See NB #39857
5011 2008-08-12 Christian Dywan <christian@imendio.com>
5013 * src/hildon-picker-dialog.c
5014 * src/hildon-touch-selector.c: Fix warnings about unused and
5015 uninitialized variables.
5017 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5019 * examples/Makefile.am
5020 * examples/hildon-check-button-example.c: Example of the hildon
5023 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5025 * src/hildon-window.h
5026 * src/hildon-window.c (hildon_window_class_init)
5027 (hildon_window_unset_program): Don't make
5028 hildon_window_unset_program a virtual function anymore.
5030 * src/hildon-stackable-window.c: Update documentation
5032 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5035 * doc/hildon-docs.sgml
5036 * doc/visual_index.xml
5037 * src/hildon-defines.c
5039 * src/hildon-helper.c
5040 * src/hildon-range-editor.c: Lots of documentation fixes.
5042 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5044 * examples/hildon-picker-button-multicolumn-example.c
5045 (create_touch_selector): Fix compilation warning.
5047 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5050 (hildon_pannable_area_button_release_cb)
5051 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5053 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5058 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5060 * src/hildon-bread-crumb-trail.h
5061 * src/hildon-date-editor.c
5062 * src/hildon-date-selector.c
5063 * src/hildon-pannable-area.c
5064 * src/hildon-picker-dialog.c
5065 * src/hildon-time-selector.c
5066 * src/hildon-touch-selector-entry.c
5067 * src/hildon-touch-selector.c
5068 * src/hildon-touch-selector.h: Misc documentation fixes
5070 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5072 * examples/hildon-date-editor-example.c (main): Updated date
5075 * examples/hildon-note-example.c (on_confirmation_clicked):
5076 Updated confirmation note example.
5078 * src/hildon-date-editor.c
5079 * src/hildon-note.c: Updated sample programs in documentation.
5082 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5084 * src/hildon-date-button.h:
5085 * src/hildon-picker-button.h:
5086 * src/hildon-time-button.c:
5087 * src/hildon-time-button.h:
5089 Some declarations changes to allow gtk-doc to document the widgets
5092 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5094 * src/hildon-date-button.c: Document the widget.
5095 * src/hildon-time-button.c: Document the widget.
5097 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5099 * src/hildon-picker-button.c: Document the widget.
5100 * src/hildon-touch-selector-entry.c: Document the widget.
5102 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5104 * doc/hildon-docs.sgml
5107 * src/hildon-check-button.h
5108 * src/hildon-check-button.c: New functions to create the Hildon
5112 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5114 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5116 * src/hildon-button.h
5117 * src/hildon-button.c
5118 (hildon_button_add_title_size_group)
5119 (hildon_button_add_value_size_group)
5120 (hildon_button_add_image_size_group)
5121 (hildon_button_add_size_groups): New functions to set size groups
5122 for the button labels and image.
5123 (hildon_button_new_full): Removed
5125 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5127 * src/hildon-time-selector.c
5128 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5129 in order to avoid a crash if gconf is not available
5131 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5133 * src/hildon-button.c (hildon_button_set_arrangement)
5134 (hildon_button_construct_child): Don't construct the button child
5135 before setting the arrangement.
5137 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5139 * src/hildon-program-private.h
5140 * src/hildon-program.c
5141 * src/hildon-program.h
5142 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5143 (hildon_program_peek_window_stack)
5144 (hildon_program_pop_window_stack)
5145 (hildon_program_go_to_root_window): HildonProgram now has a
5146 separate list for stackable windows. Functions are provided to
5147 manage that list with a stack-like API.
5149 * src/hildon-stackable-window.c: Stackable window management is
5150 now much simpler with the new HildonProgram API. Windows no
5151 longer need to be manually added to the program, they're
5152 automatically pushed to the top of the stack when shown.
5154 * examples/hildon-stackable-window-example.c: Updated example to
5155 reflect the API changes.
5157 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5159 * src/hildon-touch-selector.c: Comment out unimplemented
5160 hildon_touch_selector_insert_column() to avoid a compile warning.
5162 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5164 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5165 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5166 (hildon_touch_selector_set_column_selection_mode),
5167 (_hildon_touch_selector_set_model),
5168 (hildon_touch_selector_set_model):
5170 Complete review of HildonTouchSelector documentation.
5172 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5174 * doc/hildon-docs.sgml
5178 * src/hildon-gtk.c: Convenience functions for standard Gtk
5179 widgets, used to easily perform frequent operations.
5181 * src/hildon-button-helpers.h
5182 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5184 * src/hildon-helper.h
5185 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5186 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5188 * src/hildon-button.h
5189 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5191 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5193 * src/hildon-button.c (hildon_button_init)
5194 (hildon_button_set_arrangement, hildon_button_construct_child):
5195 Pack the image and the labels inside the same GtkAlignment so
5196 gtk_button_set_alignment() can be used
5198 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5200 * src/hildon-button.h
5201 * src/hildon-button.c
5202 (hildon_button_init, hildon_button_set_image)
5203 (hildon_button_set_image_position)
5204 (hildon_button_construct_child): New functions to add an image to
5207 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5209 * src/hildon-date-button.c
5210 * src/hildon-picker-button.c
5211 * src/hildon-time-button.c
5212 * src/hildon-button.c:
5213 (hildon_button_class_init): "size-flags" renamed to "size"
5214 (hildon_button_set_title): Hide the title label if set to NULL.
5216 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5218 HildonButtonFlags split into HildonButtonArrangement (to set the
5219 button layout) and HildonSizeType (which can be used for any
5222 * src/hildon-button.h
5223 * src/hildon-button.c
5224 (hildon_button_class_init)
5225 (hildon_button_set_arrangement)
5226 (hildon_button_set_property): New "size-flags"
5227 property. "arrangement-flags" renamed to "arrangement".
5228 (hildon_button_new, hildon_button_new_with_text)
5229 (hildon_button_new_full): Constructors updated to reflect type changes.
5231 * src/hildon-helper.h
5232 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5233 to set the size of a widget.
5237 * src/hildon-button-helpers.c
5238 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5240 * src/hildon-date-button.c
5241 * src/hildon-date-button.h
5242 * src/hildon-picker-button.c
5243 * src/hildon-picker-button.h
5244 * src/hildon-time-button.c
5245 * src/hildon-time-button.h: Updated widgets to reflect
5246 HildonButton API changes.
5248 * examples/hildon-button-example.c
5249 * examples/hildon-date-button-example.c
5250 * examples/hildon-picker-button-example.c
5251 * examples/hildon-picker-button-multicolumn-example.c
5252 * examples/hildon-time-button-example.c
5253 * examples/hildon-touch-selector-entry-example.c
5254 * examples/hildon-touch-selector-example.c: Updated examples to
5255 reflect HildonButton API changes.
5257 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5259 * doc/hildon-docs.sgml:
5261 * examples/Makefile.am:
5262 * examples/hildon-touch-selector-entry-example.c:
5264 * src/hildon-touch-selector-entry.c:
5265 * src/hildon-touch-selector-entry.h:
5268 Moved HildonTouchSelectorEntry from sandbox. Added its
5269 documentation and examples.
5271 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5273 * src/hildon-touch-selector.h:
5274 * examples/hildon-picker-button-multicolumn-example.c:
5275 (hildon_touch_selector_append_text_column): Add a gboolean
5276 parameter to determine if text must be centered in the column.
5278 * src/hildon-date-selector.c: (hildon_date_selector_init):
5279 * src/hildon-time-selector.c: (hildon_time_selector_init):
5280 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5281 (create_touch_selector): Update widgets and example to reflect
5284 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5286 * src/hildon-touch-selector.c:
5287 (hildon_touch_selector_set_active_iter): Set also the cursor in
5290 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5292 * doc/hildon-docs.sgml
5295 * src/hildon-toggle-button.c
5296 * src/hildon-toggle-button.h
5297 * src/hildon.h: Removed HildonToggleButton widget, a derived
5298 class is not necessary for this.
5300 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5302 * src/hildon-pannable-area.c,
5303 (hildon_pannable_area_realize),
5304 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5307 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5309 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5310 "done" button the default widget for the dialog.
5312 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5314 * src/hildon-touch-selector.c:
5315 (hildon_touch_selector_class_init),
5316 (hildon_touch_selector_get_property),
5317 (_hildon_touch_selector_set_model),
5318 (_hildon_touch_selector_has_multiple_selection),
5319 (hildon_touch_selector_has_multiple_selection):
5320 Add a "has-multiple-selection" property with a virtual
5321 has_multiple_selection() method to allow derived classes to
5322 override the default value for it. See the method and property
5323 documentation for details.
5325 * src/hildon-touch-selector.h: Add the new API.
5327 * src/hildon-picker-dialog.c: (requires_done_button): Call
5328 hildon_touch_selector_has_multiple_selection() instead of
5329 determining the need for a button itself.
5331 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5333 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5334 (_hildon_touch_selector_set_model),
5335 (hildon_touch_selector_set_model): Move working code to
5336 _hildon_touch_selector_set_mode(). Call the class method instead.
5338 * src/hildon-touch-selector.h: Add (*set_model) to
5339 HildonTouchSelectorClass.
5341 Make hildon_touch_selector_set_model() a virtual method, so that
5342 derived classes can extend it and do fancy stuff with the model.
5344 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5346 * configure.ac: Set back the tarname in AC_INIT to hildon.
5348 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5352 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5353 instead of libesd (NB#86876). Volume handling is still an open issue.
5355 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5358 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5360 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5361 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5362 derived class to ease placement of an entry widget in
5363 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5364 end, where the selector columns are packed now.
5366 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5368 * src/hildon-picker-button.c: Removed the simple _text() API.
5369 * src/hildon-picker-button.h: Likewise.
5371 * src/hildon-touch-selector.h:
5372 * src/hildon-touch-selector.c:
5373 (hildon_touch_selector_new_text),
5374 (hildon_touch_selector_append_text),
5375 (hildon_touch_selector_prepend_text),
5376 (hildon_touch_selector_insert_text):
5378 Moved the simple _text() API from HildonPickerButton to
5379 HildonTouchPicker, to provide better escalability and not to tie
5380 that API to HildonPickerButton.
5382 * examples/hildon-picker-button-example.c: (main): Example updated.
5384 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5386 * src/hildon-button.c: Updated documentation.
5388 * examples/hildon-button-example.c: Add the posibility to create
5389 the buttons using horizontal layout for title and value.
5391 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5393 * src/hildon-app-menu-private.h
5394 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5395 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5396 GtkSizeGroup for the filters, use the 'homogeneous' property of
5399 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5401 * examples/hildon-button-example.c: Updated example.
5403 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5405 * doc/hildon-docs.sgml:
5408 Update documentation.
5410 * examples/Makefile.am: Update renamed examples.
5412 * examples/hildon-picker-button-multicolumn-example.c:
5413 (create_touch_selector), (main): Update after the rename.
5415 * examples/hildon-touch-picker-example.c: Removed.
5416 * examples/hildon-touch-selector-example.c: (value_changed),
5417 (create_selector), (get_visible_content), (main): Renamed from
5418 hildon-touch-picker-example.c
5420 * src/Makefile.am: Updated renamed files.
5422 * src/hildon-date-button.c: (hildon_date_button_init),
5423 (hildon_date_button_get_date), (hildon_date_button_set_date):
5424 * src/hildon-date-selector.c: (hildon_date_selector_init),
5425 (_custom_print_func), (_update_day_model),
5426 (_manage_selector_change_cb),
5427 (hildon_date_selector_select_current_date),
5428 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5429 * src/hildon-date-selector.h:
5430 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5431 (hildon_picker_button_set_property),
5432 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5433 (hildon_picker_button_init), (hildon_picker_button_new_text),
5434 (hildon_picker_button_append_text),
5435 (hildon_picker_button_prepend_text),
5436 (hildon_picker_button_insert_text),
5437 (hildon_picker_button_set_selector),
5438 (hildon_picker_button_get_selector):
5439 * src/hildon-picker-button.h:
5440 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5441 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5442 (_update_title_on_selector_changed_cb), (requires_done_button),
5443 (_hildon_picker_dialog_set_selector),
5444 (hildon_picker_dialog_set_selector),
5445 (hildon_picker_dialog_get_selector):
5446 * src/hildon-picker-dialog.h:
5447 * src/hildon-time-button.c: (hildon_time_button_init),
5448 (hildon_time_button_get_time), (hildon_time_button_set_time):
5449 * src/hildon-time-selector.c: (hildon_time_selector_init),
5450 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5451 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5452 * src/hildon-time-selector.h:
5455 Massive code updates after the rename.
5457 * src/hildon-touch-picker.c: Removed.
5458 * src/hildon-touch-picker.h: Removed.
5460 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5461 (hildon_touch_selector_init), (hildon_touch_selector_map),
5462 (hildon_touch_selector_remove), (_default_print_func),
5463 (_selection_changed_cb), (_create_new_column),
5464 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5465 (hildon_touch_selector_append_text_column),
5466 (hildon_touch_selector_remove_column),
5467 (hildon_touch_selector_set_column_attributes),
5468 (hildon_touch_selector_insert_column),
5469 (hildon_touch_selector_get_num_columns),
5470 (hildon_touch_selector_get_column_selection_mode),
5471 (hildon_touch_selector_set_column_selection_mode),
5472 (hildon_touch_selector_set_print_func),
5473 (hildon_touch_selector_get_print_func),
5474 (hildon_touch_selector_get_active_iter),
5475 (hildon_touch_selector_set_active_iter),
5476 (hildon_touch_selector_get_selected_rows),
5477 (hildon_touch_selector_get_model),
5478 (hildon_touch_selector_set_model),
5479 (hildon_touch_selector_get_current_text),
5480 (_hildon_touch_selector_center_on_selected_items):
5481 * src/hildon-touch-selector.h: Renamed from
5482 hildon-touch-picker.[ch]
5484 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5485 references, code examples, and related documentation.
5487 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5489 * doc/hildon-docs.sgml
5492 * src/hildon-toggle-button.c
5493 * src/hildon-toggle-button.h
5494 * src/hildon.h: New HildonToggleButton widget.
5496 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5498 * src/hildon-button.c: Add API documentation.
5499 (hildon_button_set_size_groups): Check input parameters
5501 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5503 * src/hildon-pannable-area.c
5504 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5505 effect after reaching the movement thredshold. This way we start
5506 using the distance after passing the thredshold.
5508 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5510 * src/hildon-button.c: (hildon_button_set_property): Use the
5511 appropriate g_value_get_flags() method.
5513 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5515 * doc/hildon-docs.sgml:
5518 Add the touch pickers, picker dialogs, and picker button widgets
5519 to the documentation.
5521 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5523 * src/hildon-button.c: (hildon_button_set_property),
5524 (hildon_button_class_init): Make "arrangement-flags" a proper
5525 G_TYPE_FLAGS derived property.
5527 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5529 * examples/Makefile.am: Add below examples.
5530 * examples/hildon-date-button-example.c:
5531 * examples/hildon-picker-button-example.c:
5532 * examples/hildon-picker-button-multicolumn-example.c:
5533 * examples/hildon-time-button-example.c:
5534 * examples/hildon-touch-picker-example.c:
5536 Add examples for the recently added touch pickers,
5537 picker dialogs, and picker button widgets.
5539 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5541 * src/hildon-button.c: Add some API documentation
5543 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-button.h
5546 * src/hildon-button.c
5548 (hildon_button_new_with_text): New constructor to create a button
5549 with no text at all.
5550 (hildon_button_init, hildon_button_set_arrangement)
5551 (hildon_button_set_title, hildon_button_set_value)
5552 (hildon_button_set_text)
5553 (hildon_button_construct_child): Hide the value when it's not used
5554 so the rest of the text is properly aligned.
5555 Allow creating buttons with arbitrary widgets inside (not just
5556 title/value labels).
5558 * examples/hildon-button-example.c (vertical_buttons_window)
5559 (horizontal_buttons_window): Update example to use new API.
5561 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5563 * src/Makefile.am: Added HildonTimeButton.
5564 * src/hildon-time-button.c: Added missing LGPL header.
5565 * src/hildon-time-button.h: Added missing LGPL header.
5566 * src/hildon.h: Add hildon-time-button.h
5568 Copied HildonTimeButton from sandbox to trunk. Future work on this
5569 widget must take place in trunk.
5571 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5573 * src/Makefile.am: Added HildonDateButton.
5574 * src/hildon-date-button.c: Update includes.
5575 * src/hildon.h: Add hildon-date-button.h
5577 Copied HildonDateButton from sandbox to trunk. Future work on this
5578 widget must take place in trunk.
5580 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5582 * src/Makefile.am: Added HildonPickerButton.
5583 * src/hildon-picker-button.h: Update includes.
5584 * src/hildon.h: Add hildon-picker-button.h
5586 Copied HildonPickerButton from sandbox to trunk. Future work on
5587 this widget must take place in trunk.
5589 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5591 * src/Makefile.am: Added HildonPickerDialog.
5592 * src/hildon-picker-dialog.c: Update includes.
5593 * src/hildon.h: Add hildon-picker-dialog.h
5595 Copied HildonPickerDialog from sandbox to trunk. Future work
5596 on this widget must take place in trunk.
5598 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5600 * src/Makefile.am: Added HildonTimeSelector.
5601 * src/hildon.h: Add hildon-time-selector.h
5603 Copied HildonTimeSelector widget from sandbox to trunk. Future
5604 work on this widget must happen in trunk.
5606 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5608 * src/Makefile.am: Added HildonDateSelector.
5609 * src/hildon.h: Add hildon-date-selector.h
5611 Copied HildonDateSelector widget from sandbox to trunk. Future
5612 work on this widget must happen in trunk.
5614 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5616 * src/Makefile.am: Added HildonTouchPicker.
5617 * src/hildon-touch-picker.c: Update includes.
5618 * src/hildon.h: Add hildon-touch-picker.h
5620 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5621 on this widget must happen in trunk.
5623 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5625 * src/hildon-pannable-area.c:
5626 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5628 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5630 * examples/hildon-app-menu-example.c (main): Let the window
5633 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5635 * src/hildon-pannable-area.c
5636 (hildon_pannable_area_class_init): Set the min value of the
5637 overshoot properties to zero, which points out that not
5638 overshooting allowed.
5640 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5642 Modified the procedure to get the widget at a point inside the
5643 pannable area when using the movement type signals. Now the user
5644 has to call a function to get the child, that way we just
5645 calculate the child in case the user really want to use it and not
5648 * src/hildon-marshalers.list: Modified the marshallers, now we do
5649 not have the widget as a parameter.
5651 * src/hildon-pannable-area.c
5652 (hildon_pannable_area_motion_notify_cb),
5653 (hildon_pannable_area_class_init),
5654 (hildon_pannable_get_child_widget_at): Removed the widget
5655 parameter from the signal callback. We have also refactored the
5656 emission of the signals.
5658 * src/hildon-pannable-area.h: Added a new method to the API to
5659 calculate a widget at a point inside the pannable area,
5660 hildon_pannable_get_child_widget_at.
5662 * examples/hildon-pannable-area-example-4.c
5663 (horizontal_movement): Modified the example to use the new API,
5664 added condition to control which widget is under the event. This
5665 way we can avoid scrolling laterally over other widgets.
5667 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5669 * src/hildon-pannable-area.c
5670 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5671 modes, we stop getting the pointer events due to returning the
5672 callback without properly calling the get pointer again. Fixed
5673 also an error using the hscroll and vscroll.
5675 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5677 * src/hildon-app-menu-private.h
5678 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5679 (hildon_app_menu_button_release, hildon_app_menu_init)
5680 (hildon_app_menu_class_init): Don't hide the menu on button
5681 release if the user didn't press outside first.
5683 * src/hildon-window.h
5684 * src/hildon-window.c (hildon_window_toggle_menu)
5685 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5686 hildon_window_toggle_menu a virtual function for the stackable
5687 window to override it.
5689 * src/hildon-stackable-window.h
5690 * src/hildon-stackable-window-private.h
5691 * src/hildon-stackable-window.c
5692 (hildon_stackable_window_realize)
5693 (hildon_stackable_window_finalize)
5694 (hildon_stackable_window_class_init)
5695 (hildon_stackable_window_init)
5696 (hildon_stackable_window_set_main_menu): New function to set the
5697 app menu of a HildonStackableWindow.
5699 * examples/hildon-app-menu-example.c: Remove the button to show
5700 the app menu, now it'll be shown when clicking on the title bar
5703 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5705 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5706 set the widget name if the arrangement flags do not specify
5709 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5711 * src/hildon-button.c: (hildon_button_set_property),
5712 (hildon_button_class_init), (hildon_button_new_full),
5713 (hildon_button_set_arrangement): Added "arrangement-flags"
5716 Make the HildonButtonFlags a construction-only property, to allow
5717 subclasses to set them properly.
5719 2008-07-21 Tim Janik <timj@imendio.com>
5721 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5722 insertion position after backspace, so additional digits are appended,
5725 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5727 * src/hildon-pannable-area.c,
5728 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5729 TODO list, it was complete and removed the g_debug and g_print
5732 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5734 Added the movement modes to the hildon-pannable-area, with this
5735 modes the developers can control in which directions the widget
5736 can scroll. They can also connect to signals in order to do
5737 something when that happens, allowing applications scroll. There
5738 is an example uploaded showing how to use it.
5740 * examples/Makefile.am:
5741 * examples/hildon-pannable-area-example-4.c: Added this example of
5742 an application using the modes.
5744 * src/hildon-marshalers.list: Added a new marshaller for the new
5747 * src/hildon-pannable-area.h: Added new enumerations and flags in
5748 order to control the movement modes and the new signals to warn
5749 about the movements in the area.
5751 * src/hildon-pannable-area.c:
5752 (hildon_pannable_axis_scroll),
5753 (hildon_pannable_area_scroll),
5754 (hildon_pannable_area_motion_notify_cb),
5755 (hildon_pannable_area_get_property),
5756 (hildon_pannable_area_set_property),
5757 (hildon_pannable_area_map),
5758 (hildon_pannable_area_class_init),
5759 (hildon_pannable_area_init),
5760 (hildon_pannable_area_jump_to): Added the modes to control the
5761 movement in the widget. We have added properties to control it,
5762 signals to warn about the movements and refactored some code.
5764 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5766 Changes required in order to allow vfast_factor set to zero to
5769 * src/hildon-pannable-area.c:
5770 (hildon_pannable_area_button_press_cb): Changed the condition, it
5771 is required for not allowing click when vfast_factor is zero.
5772 (hildon_pannable_area_timeout): Initialized velocity variables
5773 when we stop moving, it was less than 1 but not zero and we need
5774 to check zero in some situations.
5775 (hildon_pannable_area_class_init): Changed the default value of
5776 the speed factor, now the button_press is just sent in case the
5777 speed is 2 per cent of the max speed.
5778 (hildon_pannable_area_init): Initialization with 0.
5780 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5782 * src/hildon-pannable-area.c,
5783 (hildon_pannable_area_get_topmost): replaced
5784 gdk_window_get_children with gdk_window_peek_children, this way we
5785 do not have to free the list because it is not a copy.
5787 (hildon_pannable_axis_scroll),
5788 (hildon_pannable_area_scroll),
5789 (hildon_pannable_area_timeout),
5790 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5791 two parameters that were only used inside the
5792 hildon_pannable_area_scroll function.
5794 * examples/hildon-pannable-area-example.c,
5795 (get_sawtooth_label): Fixed small memory leak.
5797 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5799 More checks for the case where the overshoot is bigger than the
5802 * src/hildon-pannable-area.c:
5803 (hildon_pannable_draw_vscroll),
5804 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5805 to draw the slider of the scrollbar under the other scrollbar.
5806 (hildon_pannable_area_expose_event): added new checks to control
5807 the drawing of the overshooting area rectangle, in case it is too
5808 big for the area of the widget.
5809 (hildon_pannable_area_size_allocate): add more checks to avoid
5810 setting a position to the child widget outside the area.
5812 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5814 * src/hildon-pannable-area.c
5815 (hildon_pannable_area_size_allocate): Added conditions to control
5816 when overshooting is bigger than the allocated space for the
5817 children, this avoids negative allocations.
5819 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5821 * doc/hildon-docs.sgml
5823 * examples/Makefile.am
5824 * examples/hildon-button-example.c
5826 * src/hildon-button.c
5827 * src/hildon-button.h
5828 * src/hildon.h: Initial version of the new HildonButton widget,
5831 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5833 * src/hildon-pannable-area.c:
5834 (hildon_pannable_area_button_press_cb),
5835 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5836 (hildon_pannable_area_motion_notify_cb),
5837 (hildon_pannable_area_button_release_cb),
5838 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5839 (hildon_pannable_area_jump_to_child):
5841 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5843 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5845 * examples/Makefile.am
5846 * examples/hildon-pannable-area-touch-grid-example.c
5847 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5848 the Hildon Touch List and Hildon Touch Grid using the
5849 HildonPannableArea widget.
5851 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5853 * src/hildon-pannable-area.c,
5854 (hildon_pannable_area_button_press_cb),
5855 (hildon_pannable_area_refresh),
5856 (hildon_pannable_area_scroll),
5857 (hildon_pannable_area_motion_notify_cb),
5858 (hildon_pannable_area_button_release_cb),
5859 (hildon_pannable_area_expose_event),
5860 (hildon_pannable_area_add),
5861 (hildon_pannable_area_remove),
5862 (hildon_pannable_area_realize),
5863 (hildon_pannable_area_size_allocate),
5864 (hildon_pannable_area_class_init),
5865 (hildon_pannable_area_init),
5866 (hildon_pannable_area_scroll_to_child),
5867 (hildon_pannable_area_jump_to_child): Fixed the problem of
5868 removing the child from the GtkBin, we have rearranged the widget
5869 hierarchy, now there is no GtkAlignment which was not doing
5870 anything interesting but breaking some of the assumptions of
5871 GtkContainer. Now developers if they want to add a GtkAlignment
5872 they could, but it is not inside the area.
5874 We had to review the whole allocation/expose process, now it is
5875 improved and we save at least three signals which would be saving
5876 some time when rendering the widget. The allocation of the
5877 scrollbars is now made in the allocate method as usual.
5879 We have also added some conditions in order to control when there
5880 is no child of the pannable area. Maybe we will need more work
5883 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5885 * src/hildon-pannable-area.c,
5886 (hildon_pannable_area_dispose): Released the fade-out timeout when
5887 disposing the widget.
5889 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5891 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5892 zero, we are going to use that property in order to deactivate the
5894 (hildon_pannable_axis_scroll),
5895 (hildon_pannable_area_size_allocate): Added conditions to control
5896 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5897 call, now it is called in all situations and we can remove calls
5898 in the allocate method.
5899 (hildon_pannable_area_map): Control the situation when
5900 overshoot_max is zero, we do not need the timeout.
5901 (hildon_pannable_area_class_init): Added documentation in order to
5902 point out that setting zero to overshoot_max means deactivate
5905 NOTE: removed trailing whitespaces from my previous comments of
5908 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5910 * src/hildon-pannable-area.c
5911 (hildon_pannable_area_get_property),
5912 (hildon_pannable_area_set_property),
5913 (hildon_pannable_area_map),
5914 (hildon_pannable_area_class_init),
5915 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5916 to cause the widget give a hint about its panning abilities upon
5919 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5921 * src/hildon-pannable-area.c: Several documentation improvements.
5923 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5925 * src/hildon-program.c
5926 * src/hildon-stackable-window.c: Update documentation.
5928 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5930 * src/hildon-stackable-window.c (get_previous_window_if_last):
5931 Renamed get_last_window()
5932 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5933 (hildon_stackable_window_unset_program):
5935 (get_previous_window_if_last):
5936 Detect if the window hasn't been added to a HildonProgram.
5938 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5940 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5942 * src/hildon-pannable-area.c
5943 (hildon_pannable_area_button_press_cb),
5944 (hildon_pannable_axis_scroll),
5945 (hildon_pannable_area_scroll),
5946 (hildon_pannable_area_timeout),
5947 (hildon_pannable_calculate_vel_factor),
5948 (hildon_pannable_area_get_property),
5949 (hildon_pannable_area_set_property),
5950 (hildon_pannable_area_class_init),
5951 (hildon_pannable_area_init),
5952 (hildon_pannable_area_scroll_to),
5953 (hildon_pannable_area_jump_to),
5954 (hildon_pannable_area_scroll_to_child),
5955 (hildon_pannable_area_jump_to_child):
5956 * src/hildon-pannable-area.h: Added the new API functions:
5957 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5958 hildon_pannable_area_scroll_to_child,
5959 hildon_pannable_area_jump_to_child
5962 * examples/Makefile.am
5963 * examples/hildon-pannable-area-example-2.c
5964 * examples/hildon-pannable-area-example-3.c: Added these two new
5965 examples in order to test and show how the new APIs work.
5967 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5969 * examples/hildon-stackable-window-example.c (new_window):
5970 * src/Makefile.am (noinst_HEADERS):
5971 * src/hildon-program.c (hildon_program_go_to_root_window):
5972 * src/hildon-program.h:
5973 * src/hildon-stackable-window-private.h:
5974 * src/hildon-stackable-window.c:
5975 * src/hildon-stackable-window.h:
5976 Create hildon-stackable-window-private.h
5977 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5979 * examples/hildon-app-menu-example.c (create_menu):
5980 * examples/hildon-hvolumebar-insensitive-example.c (main):
5981 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5982 * examples/hildon-toolbar-seekbar-example.c (main):
5983 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5984 * src/hildon-banner.c (hildon_banner_set_property):
5985 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5986 Fix compilation warnings
5988 * src/hildon-window.c:
5991 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-stackable-window.c
5994 (hildon_stackable_window_unset_program):
5995 Calculate correctly whether to show the previous window if the
5996 last one is removed from the stack.
5997 (hildon_stackable_window_go_to_root_window):
5998 Send delete events starting from the topmost window.
5999 Stop if one of the windows is not destroyed.
6001 (hildon_stackable_window_delete_event)
6002 (hildon_stackable_window_class_init):
6003 Ignore the delete event if the window is not the topmost one.
6005 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6007 * src/hildon-pannable-area.c
6008 (hildon_pannable_area_expose_event): Fixed a problem when
6009 selecting the background color of the scrollbars.
6011 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6013 * examples/hildon-stackable-window-example.c
6014 * src/hildon-stackable-window.c
6015 * src/hildon-stackable-window.h
6016 hildon_stackable_window_go_home() renamed to
6017 hildon_stackable_window_go_to_root_window()
6018 Send delete events to windows rather than closing them with
6019 gtk_widget_destroy()
6021 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6023 * src/hildon-pannable-area.c
6024 (hildon_pannable_area_button_release_cb): Fix overshooting in
6027 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6029 * src/hildon-pannable-area.c
6030 (hildon_pannable_area_init): Initially show the scroll indicators.
6031 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6033 Add initial effect showing the widget is pannable.
6035 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6037 * src/hildon-pannable-area.c
6038 (hildon_pannable_area_class_init)
6039 (hildon_pannable_area_set_property)
6040 (hildon_pannable_area_get_property)
6041 (hildon_pannable_area_button_press_cb):
6042 New 'velocity_fast_factor' property to decide which velocity is
6045 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6047 * src/hildon-pannable-area.c
6048 (hildon_pannable_draw_hscroll)
6049 (hildon_pannable_draw_vscroll):
6050 Use float variables to calculate the size of the scrollbars to
6051 avoid error propagation and resizing during scrolling.
6053 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6055 * src/hildon-pannable-area.c
6056 (hildon_pannable_draw_vscroll)
6057 (hildon_pannable_draw_hscroll):
6058 Define a minimum size for the scroll bars
6060 * src/hildon-stackable-window.c
6061 (hildon_stackable_window_go_home): Fix compilation warning
6062 (get_last_window): Minor optimizations
6063 (hildon_stackable_window_class_init): Fix initialization of
6066 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-stackable-window.c: Fixed typos in doc
6070 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6072 * src/hildon-pannable-area.c
6073 (hildon_pannable_area_scroll):
6074 Calculate here whether we need to scroll instead of using the booleans
6075 that tell us whether to /draw/ the scrolling bars.
6077 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6079 * src/hildon-app-menu.h
6081 * src/hildon-app-menu.c
6082 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6083 multiple filter groups related code and API. Now we support only
6085 * examples/hildon-app-menu-example.c:
6087 Update to reflect API changes.
6089 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6091 * src/hildon-stackable-window.c
6092 (hildon_stackable_window_class_init):
6093 Add hildon_stackable_window_realize.
6094 (hildon_stackable_window_realize):
6095 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6096 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6097 to apply theming and behavior specific to HildonStackableWindow
6100 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6102 * src/hildon-note.c (hildon_note_button_release):
6103 Close information notes also when tapping on them
6105 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6107 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6108 ELASTICITY, refactor and review, fix some issues with drawing
6111 * src/hildon-pannable-area.c:
6112 (hildon_pannable_area_button_press_cb): removed the conditions to
6113 avoid clicks when overshooting. It is not required
6115 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6116 define. Refatored and reviewed the code, now we do not need to
6117 manage velocity in motion_notify.
6119 (hildon_pannable_area_motion_notify_cb): We have moved the code
6120 that controls the area_scroll to the axis_scroll function and get
6121 rid of duplicated code.
6123 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6125 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6127 (hildon_pannable_draw_vscroll),
6128 (hildon_pannable_draw_hscroll): Fixed the problems with the
6129 scrollbar drawing, now we do not use two surfaces, it is easier
6130 and saves resources.
6132 (hildon_pannable_area_get_property): Style modification.
6134 (hildon_pannable_area_class_init): Changed some default values.
6136 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6138 * src/hildon-stackable-window.c: Fix some typos in the
6141 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6143 * src/hildon-dialog.c:
6144 Change indentation style
6147 (hildon_note_button_release):
6148 Use root coordinates to check if the release event happened
6151 * src/hildon-app-menu.c
6152 (hildon_app_menu_button_release):
6153 Remove unnecessary check
6155 * examples/hildon-app-menu-example.c
6157 Add cast to fix warning
6159 * src/hildon-app-menu.c
6160 (hildon_app_menu_class_init):
6161 New inner-border style property.
6162 Set all default spacings to 16
6163 (hildon_app_menu_init):
6164 Use vertical-spacing to set the space between filter buttons and
6165 regular menu buttons.
6166 Set the default container border using the inner-border value.
6168 * examples/hildon-app-menu-example.c
6170 Don't set the menu border explicitly, now we have the inner-border
6171 style property for that.
6173 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-app-menu.c (hildon_app_menu_init):
6176 Make the window modal
6178 * src/hildon-note.c (hildon_note_map)
6179 * src/hildon-app-menu.c (hildon_app_menu_map):
6180 Destroy the grab window if we're unable to grab the pointer
6182 * src/hildon-app-menu-private.h
6183 * src/hildon-app-menu.c
6184 (hildon_app_menu_init, hildon_app_menu_finalize)
6185 (hildon_app_menu_map, hildon_app_menu_unmap)
6186 (hildon_app_menu_button_release)
6187 (grab_transfer_window_get):
6188 Bring back the grab window
6189 (hildon_app_menu_realize):
6190 Decorate the window, set WM hint for Matchbox
6192 * src/hildon-note.c (hildon_note_realize):
6193 * src/hildon-banner.c (hildon_banner_realize):
6194 Add WM hints for Matchbox
6196 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6198 * src/hildon-app-menu-private.h
6199 * src/hildon-app-menu.c
6200 (hildon_app_menu_init, hildon_app_menu_finalize)
6201 (hildon_app_menu_map, hildon_app_menu_unmap)
6202 (hildon_app_menu_button_release):
6203 Remove the grab window, it's not needed anymore
6205 * src/hildon-program.c
6206 Fixed typo in documentation
6208 * src/hildon-app-menu.h
6209 * src/hildon-app-menu.c
6210 * examples/hildon-app-menu-example.c
6211 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6213 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6216 Added new transfer_window and close_if_pressed_outside private
6218 (hildon_note_rebuild):
6219 Don't add a cancel button to the information note. It will be
6220 closed when tapping outside
6221 Remove the comment about the OK button in the documentation
6222 (hildon_note_realize):
6223 Set the notification type hint
6224 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6225 Grab/ungrab pointer and keyboard if the note has to be closed when
6227 (hildon_note_button_release):
6228 Close the note when tapping outside (if applicable)
6230 * src/hildon-app-menu.c
6231 Grab/ungrab pointer and keyboard on map/unmap
6232 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6233 Close the menu on button release, not button press
6235 * src/hildon-banner.c
6236 (hildon_banner_set_property)
6237 (hildon_banner_check_position):
6238 Make the banner use the full width of the screen
6239 (hildon_banner_show_information)
6240 (hildon_banner_show_information_with_markup):
6241 Don't display an icon by default
6243 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6245 Added fading scrollbars and adapted all the overshooting code to
6246 horizontal scrolling. We have also fixed bugs with overshooting
6247 and current fading implementation.
6249 * src/hildon-pannable-area.c
6250 (hildon_pannable_area_scroll_indicator_fade): Time out function
6251 used to change the transparency of the scrollbars.
6253 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6254 control and fixed a problem with fading, we now remove the fade
6255 timeout before adding a new one.
6257 (hildon_pannable_axis_scroll):
6258 (hildon_pannable_area_scroll):
6259 (hildon_pannable_area_timeout): Added this functions so we can use
6260 the scroll code both for vertical and horizontal.
6262 (hildon_pannable_area_motion_notify_cb):
6263 (hildon_pannable_area_button_release_cb): Added the horizontal
6264 scrolling control, fixed a problem with the overshooting timeout.
6266 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6267 painting of the scrolls.
6269 (hildon_pannable_draw_vscroll):
6270 (hildon_pannable_draw_hscroll):
6271 (hildon_pannable_area_expose_event):
6272 Draw both scrollbars and rectangles in the overshooting area.
6274 (hildon_pannable_area_get_property):
6275 (hildon_pannable_area_set_property):
6276 Modified the overshoot property to overshoot_max
6278 (hildon_pannable_area_map):
6279 Replaced the comments symbols.
6281 (hildon_pannable_area_size_allocate):
6282 (hildon_pannable_area_class_init):
6283 (hildon_pannable_area_init): Added horizontal scroll, fading
6284 effect properties, fixed a problem when overshooting in the bottom
6287 * examples/hildon-pannable-area-example.c:
6288 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6289 looks better in the example.
6291 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6293 * src/hildon-window.c
6294 * src/hildon-window.h
6295 (hildon_window_class_init)
6296 (hildon_window_unset_program)
6297 (hildon_window_unset_program_real):
6298 Make unset_program a virtual function
6300 * src/hildon-stackable-window.c
6301 * src/hildon-stackable-window.h
6302 Added hildon_stackable_window_go_home()
6304 * examples/Makefile.am
6305 * examples/hildon-stackable-window-example.c
6306 HildonStackableWindow example
6308 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6310 * hildon-pannable-area.c: Added the overshoot property and removed
6311 the OVERSHOOT define. Fixed an indent style error.
6312 (hildon_pannable_area_motion_notify_cb):
6313 (hildon_pannable_area_get_property):
6314 (hildon_pannable_area_set_property): Add overshoot property.
6316 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6319 (hildon_pannable_area_class_init): Installed the new property.
6321 * hildon-pannable-area-example.c: Added a sawtooth function, this
6322 way it is easier to check the movement in the pannable.
6323 (get_sawtooth_label): Added this function.
6324 (main): Now we get the labels from the new get_sawtooth_label
6327 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6329 * src/hildon-app-menu.h
6330 * src/hildon-app-menu.c
6331 Renamed API variables for consistency
6333 (hildon_app_menu_popup): Use also the default window size to
6334 decide where to place the menu
6336 (hildon_app_menu_init, hildon_app_menu_class_init): New
6337 external-border style property
6339 2008-05-26 Michael Natterer <mitch@imendio.com>
6341 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6342 widget_class->tap_and_hold_setup signal slot doesn't exist any
6343 longer, stop overriding it.
6345 (hildon_time_editor_init): g_signal_connect() to the
6346 tap-and-hold-setup signal instead.
6348 (hildon_time_editor_entry_keypress): add cast to fix warning.
6350 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6352 * doc/hildon-docs.sgml
6354 * examples/Makefile.am
6355 * examples/hildon-app-menu-example.c
6357 * src/hildon-app-menu-private.h
6358 * src/hildon-app-menu.c
6359 * src/hildon-app-menu.h
6361 New HildonAppMenu widget
6363 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6365 Rearranged the inheritance of the pannable area, now it inherits
6366 from GtkBin. This will allow us to control the event_window and
6367 the allocation process of the widget, required for some effects.
6369 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6370 GtkBin structures. * src/hildon-pannable-area.c: Added the
6371 event_window variable.
6372 (hildon_pannable_area_button_press_cb):
6373 (hildon_pannable_area_button_release_cb):
6374 (hildon_pannable_area_motion_notify_cb):
6375 Changed the signature of the method, now we override the event
6376 callback instead of connecting to the signal.
6378 (hildon_pannable_area_realize):
6379 (hildon_pannable_area_unrealize):
6380 (hildon_pannable_area_map):
6381 (hildon_pannable_area_unmap):
6382 (hildon_pannable_area_size_allocate):
6383 Added functions to control the widget construction. We add a
6384 INPUT_ONLY window and we put it over the widgets inside the
6385 container, this event_window handles the events.
6387 (hildon_pannable_area_class_init):
6388 Replaced the signal connections with overrides of the event
6391 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6393 Bouncing effect added when touching the borders, you can change
6394 the elasticity of the border changing the ELASTICITY define.
6396 * src/hildon-pannable-area.c: Added ELASTICITY define.
6397 (hildon_pannable_area_timeout): Added inverse velocity when
6398 touching the border of the child widget, that causes a bounce.
6400 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6402 Improved performance, we now do not go to the X server in order to
6403 get the list of window children. Apparently the effect is the
6404 same, we have to be careful and check if this breaks something in
6407 * src/hildon-pannable-area.c:
6408 (get_ordered_children): Removed this function.
6409 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6410 the children windows function with gdk_window_get_children.
6412 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6414 * src/hildon-pannable-area.c:
6415 (hildon_pannable_area_dispose): Fixed a crash when closing the
6416 window and kinetics is activated.
6418 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6420 * src/hildon-pannable-area.h
6421 * src/hildon-pannable-area.c
6422 Changed indentation style to meet the one used in Hildon
6424 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6426 Reviewed the interaction of the AUTO mode, now we use the time
6427 attribute of the events and calculate the velocity in the motion,
6428 doing a gimp like calculation. The velocity is calculated in each
6429 motion event using the last velocity and the current one, the
6430 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6432 * src/hildon-pannable-area.c: Replaced the time based algorithm
6434 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6435 timeout for the AUTO mode when we are still moving the cursor. We
6436 added also the velocity calculation in this function.
6437 (hildon_pannable_area_button_release_cb): launch the timeout in
6438 case we are in AUTO mode. There are still some constants here that
6439 come from the old implementation that should be reviewed and
6442 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6444 * doc/hildon-docs.sgml
6447 * src/hildon-stackable-window.c
6448 * src/hildon-stackable-window.h
6450 New HildonStackableWindow widget
6452 * examples/hildon-dialog-example.c
6453 * examples/hildon-pannable-area-example.c
6456 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6458 * src/hildon-dialog.c
6459 (hildon_dialog_new_with_buttons): New constructor.
6461 * examples/hildon-dialog-example.c
6462 (main): Update the example to use the new
6463 hildon_dialog_new_with_buttons().
6465 * examples/hildon-pannable-area-example.c
6466 (main): Update example.
6468 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6470 * doc/hildon-docs.sgml
6472 Added HildonPannableArea to the documentation.
6474 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6476 * doc/visual_index.xml
6477 Fix reference to HildonLoginDialog in documentation
6479 * doc/hildon-docs.sgml
6481 * examples/Makefile.am
6482 * examples/hildon-dialog-example.c
6484 * src/hildon-dialog.c
6485 * src/hildon-dialog.h
6487 New HildonDialog widget.
6489 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6491 * src/hildon-pannable-area.c
6492 Merge latest changes (r4318, r4342) from libmokoui trunk
6494 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6496 * examples/Makefile.am
6497 * examples/hildon-pannable-area-example.c
6499 * src/hildon-pannable-area.c
6500 * src/hildon-pannable-area.h
6502 New HildonPannableArea widget.
6504 2008-04-15 18:05:19 <timj@imendio.com>
6506 * src/hildon-banner.c: revert the recent change, that introduced
6507 gtk_window_present() calls. this reopens:
6508 Bug 78481 - [freetest] information banners are hidden under browser menu
6509 But resolves another variant of:
6510 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6512 2008-04-15 13:21:13 <timj@imendio.com>
6514 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6515 recreated its layout, spotted by Kris. this fixes all remaining
6516 artefacts and stability issues with the banner code. in particular:
6517 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6519 2008-04-14 16:52:59 <timj@imendio.com>
6521 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6522 operating on unrealized widgets, fixes:
6523 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6525 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6527 2008-04-09 Kristian Rietveld <kris@imendio.com>
6529 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6530 makes banner disappear.
6531 Fixes: NB#79182: info banner flickering with certain message lengts.
6533 * src/hildon-banner.c (hildon_banner_constructor),
6534 (hildon_banner_init), (hildon_banner_set_text),
6535 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6536 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6537 FALSE, reset size requests of label and banner,
6538 (force_to_wrap_truncated): when the text is too wide, always enforce
6539 the maximum possible width instead of recalculating it from the
6540 layout; enforce the maximum banner height of 3 lines,
6541 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6542 nicer wrapping and no truncated chars if space gets tight.
6544 * src/hildon-banner-private.h: add has_been_wrapped and
6545 has_been_truncated fields.
6547 2008-04-07 Sven Herzberg <sven@imendio.com>
6549 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6550 local values in hildon_date_editor_size_allocate
6552 * src/hildon-date-editor.c: moved the real allocation code into the
6555 2008-04-07 Sven Herzberg <sven@imendio.com>
6557 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6558 local values in hildon_date_editor_size_allocate
6560 * src/hildon-date-editor.c: merged the two if() branches together
6562 2008-04-07 Sven Herzberg <sven@imendio.com>
6564 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6565 local values in hildon_date_editor_size_allocate
6567 * src/hildon-date-editor.c: changed the arguments of the if()
6570 2008-04-07 Sven Herzberg <sven@imendio.com>
6572 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6573 local values in hildon_date_editor_size_allocate
6575 * src/hildon-date-editor.c: split the calculation of the allocation
6576 from the real allocation
6578 2008-03-27 Michael Natterer <mitch@imendio.com>
6580 Fixes: NB#81696: The passcode is not overwritten even after
6583 * src/hildon-code-dialog.c
6584 (hildon_code_dialog_button_clicked)
6585 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6586 because that doesn't overwrite selected text. Instead, emit the
6587 "commit" signal on the entry's im_context so the entry's normal
6588 insert logic is triggered. Set the cursor to the end of the entry
6589 after each insert operation so that we *only* insert in the middle
6590 of the text if something was selected.
6592 2008-03-27 Michael Natterer <mitch@imendio.com>
6594 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6595 selector cannot be opened
6597 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6598 when the popup color selector is created. Please connect to this
6599 signal in order to set the dialog's help ID.
6601 2008-03-25 Sven Herzberg <sven@imendio.com>
6603 Fixes: MB#1212: Hide info banners (infoprints) on click
6605 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6606 extracted the close event simulation into an extra function
6607 (hildon_banner_button_press_event): simulate a close event and destroy
6608 the widget if the event wasn't handled
6609 (hildon_banner_class_init): added the button_press_event handler
6610 (hildon_banner_init): added button-press events to the widget
6612 2008-03-25 Sven Herzberg <sven@imendio.com>
6614 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6615 Patch from: Mohammad Anwari <mdamt@maemo.org>
6617 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6618 instead of the right in RTL mode
6619 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6620 breadcrumb button list in RTL mode
6621 * src/hildon-caption.c: mirror the appearance of the caption widget in
6623 * src/hildon-date-editor.c: mirror appearance of the date editor in
6625 * src/hildon-time-editor.c: mirror appearance of the time editor in
6627 * src/hildon-window.c: fix the position of the popup in RTL mode
6629 2008-03-25 Sven Herzberg <sven@imendio.com>
6631 Amendment to the fix of NB#22072. Fix compilation.
6633 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6635 2008-03-19 Sven Herzberg <sven@imendio.com>
6637 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6640 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6641 timeout id properly when the timeout will disappear this leaves no
6642 artifacts around in the destroy(); there will only be the timeout
6643 created by hildon_banner_ensure_timeout() and adding a new timeout
6644 will also work if the timeout gets removed because the timeout_handler
6647 2008-03-19 Michael Natterer <mitch@imendio.com>
6649 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6651 * src/hildon-volumebar.c
6652 * src/hildon-vvolumebar.c
6653 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6654 the widget becomes focussable at all.
6656 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6657 set the focus to wither the mute button or the volumebar.
6659 Remove own "can-focus" property and instead listen to
6660 notify::can-focus in order to update the widget's state.
6662 Implement GtkWidget::focus() and make sure we can also *leave* the
6663 widget, not only enter it, depending on volumebar orientation and
6664 requested focus direction.
6666 Clean up set_mute() to cooperate nicely with all the above.
6668 2008-03-04 Michael Natterer <mitch@imendio.com>
6670 Fixes: NB#78481: information banners are hidden under browser menu
6672 * src/hildon-banner.c: call gtk_window_present() on the banners so
6673 they are risen if they are already visible.
6675 2008-03-03 Sven Herzberg <sven@imendio.com>
6677 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6679 * examples/hildon-window-menu-example.c: (main): extended the window
6680 menu example to serve as a testcase for automatically added
6681 accelerator groups, too
6682 * src/hildon-window.c: (hildon_window_add_accel_group),
6683 (hildon_window_set_menu): added patch by Tommi Komulainen
6685 2008-03-03 Sven Herzberg <sven@imendio.com>
6687 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6689 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6690 knowledge about the border allocators used within GTK+
6692 2008-02-26 Sven Herzberg <sven@imendio.com>
6694 Fixes: MB#2981: Build with asserts broken
6696 * src/hildon-date-editor.c,
6697 * src/hildon-number-editor.c,
6698 * src/hildon-time-editor.c,
6699 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6700 the proper GType instance check
6702 2008-02-25 Sven Herzberg <sven@imendio.com>
6704 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6706 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6707 * examples/hildon-window-menu-example.c: (main): explicitly show
6709 * src/hildon-window.c:
6710 (hildon_window_set_main_menu): moved most of the code from set_menu()
6711 to this place; skipped the call to gtk_widget_show_all(); also didn't
6712 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6713 (hildon_window_set_menu): removed most of the code, just keep the
6714 questionable gtk_widget_show_all()
6715 * src/hildon-window.h: added the new function and deprecate the old
6718 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6724 * debian/changelog: Updating.
6726 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6729 * pkgconfig/Makefile.am:
6730 * pkgconfig/hildon.pc.in:
6733 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6734 use newly created API_MAJOR_VERSION.
6736 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6742 * debian/changelog: Updating.
6744 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6746 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6748 Add outer_border style property, we use it but don't define it (!).
6752 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6754 * examples/hildon-bread-crumb-trail-example.c (main):
6758 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6760 Fix logic for the bread crumb trail node removal.
6764 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6770 * debian/changelog: Updating.
6772 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6774 Patch by Alejandro to get/set passwords dialogs accesibility.
6776 * hildon-1/src/hildon-get-password-dialog.c:
6777 * hildon-1/src/hildon-set-password-dialog.c:
6778 Set atk_set_name to the passwd entries in order to allow
6779 accessibility by name on this entries.
6781 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6786 * debian/control: Updating gtk dep.
6788 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6790 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6791 USE_MAEMO_GTK is enabled.
6793 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6795 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6796 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6798 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6804 * debian/changelog: Updating.
6806 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6808 * examples/Makefile.am:
6809 * examples/hildon-logical-color-example.c:
6810 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6811 applied + adding a test case. Fixes: NB#71660.
6813 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6815 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6816 to be visible, fixes warning on map for windows without toolbars.
6818 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6820 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6821 2.11.0, add a check for that besides the MAEMO_GTK check.
6823 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6829 * debian/changelog: Updating.
6831 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6833 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6834 visibility. Fixes: NB#70842 and MB#615.
6836 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6838 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6839 set the separator as no-show-all so it doesn't unintentionally appear when
6840 someone does a show_all.
6842 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6844 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6845 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6846 toplevel item. Fixes: NB#62031
6848 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6850 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6851 fix the name of the function in the docs.
6853 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6859 * debian/changelog: Updating.
6861 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6863 * examples/hildon-banner-long-example.c: Adding a test-case for long
6866 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6868 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6870 * src/hildon-color-chooser-dialog.c:
6871 * src/hildon-color-chooser.c:
6872 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6873 memory leaks in font selector and color selector. Fixes: NB#70499 and
6876 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6878 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6880 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6882 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6883 little bit bigger. Fixes: #NB63694.
6885 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6891 * debian/changelog: Updating.
6893 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6896 * doc/hildon-docs.sgml:
6897 * doc/images/bread-crumb-trail.png:
6898 * doc/images/calendar-popup.png:
6899 * doc/images/caption.png:
6900 * doc/images/code-dialog.png:
6901 * doc/images/color-button.png:
6902 * doc/images/color-chooser-dialog.png:
6903 * doc/images/color-chooser.png:
6904 * doc/images/controlbar.png:
6905 * doc/images/date-editor.png:
6906 * doc/images/font-selection-dialog.png:
6907 * doc/images/get-password-dialog.png:
6908 * doc/images/hvolumebar.png:
6909 * doc/images/login-dialog.png:
6910 * doc/images/note.png:
6911 * doc/images/number-editor.png:
6912 * doc/images/range-editor.png:
6913 * doc/images/seekbar.png:
6914 * doc/images/set-password-dialog.png:
6915 * doc/images/sort-dialog.png:
6916 * doc/images/time-editor.png:
6917 * doc/images/time-picker.png:
6918 * doc/images/vvolumebar.png:
6919 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6920 Adding the bread-crumb-trial and helpers to the documentation.
6922 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6924 * examples/hildon-find-toolbar-example.c:
6925 * src/hildon-find-toolbar.c:
6926 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6927 actually continue firing the other handlers if connected. Adding a new
6929 hildon_find_toolbar_get_last_index that gets the index of the most
6930 recently added (last) item. Fixes: NB#52301.
6932 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6934 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6935 behaviour. Fixes: NB#68610.
6937 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6939 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6942 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6944 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6945 when realizing the banner. Should make the infonbanner effect a bit more
6948 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6950 * src/hildon-volumebar.c:
6951 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6952 hildon_volumebar_set_range_insensitive_message and
6953 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6955 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6957 * src/hildon-window.c: Fixing the border freeing on destroy.
6959 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6961 * src/hildon-code-dialog-private.h:
6962 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6963 kw keyboard support in HildonCodeDialog.
6965 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6971 * debian/changelog: Updating.
6973 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6975 * src/hildon-date-editor.c:
6976 * src/hildon-number-editor.c:
6977 * src/hildon-private.c:
6978 * src/hildon-private.h:
6979 * src/hildon-time-editor.c:
6980 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6981 handling in subclassed composite widgets. Fixes: NB#66628.
6983 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6985 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6986 from destroy_ callback as it introduces problems in async dbus signal
6987 handlers. Fixes NB#66673.
6989 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6991 * examples/hildon-hvolumebar-example.c:
6992 * src/hildon-volumebar.c: Improving the focus handling in the
6993 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6994 set_property accessor so that "mute" property can be actually set. I'm
6995 scared that nobody noticed it's totally broken.
6997 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6999 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7002 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7004 * src/hildon-calendar.c:
7005 * src/hildon-number-editor.c:
7006 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7007 matches the spec of 6 chars per second. Fixes: NB#60489.
7009 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7011 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7012 gtk_style_lookup_color sometime returns FALSE even though color was
7013 found and values were filled properly. Weird. Removing the warning for the
7016 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7018 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7019 expand vertically. Adding some extra space to the find toolbar buttons to
7020 make them thumbable. Fixes NB#66060.
7022 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7024 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7025 popup with "Ok" and "Cancel". Fixes NB#59299.
7027 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7029 * src/hildon-calendar.c: Process all window updates before executing next
7030 timeout. Fixes: NB#54146.
7032 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7038 * debian/changelog: Updating.
7040 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7042 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7043 the client event and ignore it, since we use the delete event to close
7046 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7048 * src/hildon-helper.c: Remove the bogus warning about color not being
7049 found. Fixes NB#58352.
7051 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7053 * examples/Makefile.am:
7054 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7055 HildonSeekbar widget inside a toolbar.
7057 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7059 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7060 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7061 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7062 don't want to be closed by non-temporary windows on map.
7064 Also use G_DEFINE_TYPE instead of manually typed code.
7066 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7073 * debian/rules: Updating.
7075 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7077 * examples/Makefile.am:
7078 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7079 bug NB#61128. Strangely it works.
7081 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7083 * src/hildon-date-editor.c: When the date editor entry has been changed
7084 but the numbers of characters < max, turn off the skip validation flag.
7085 Prevents a situation when we enter first a valid year and later re-write
7086 it with an invalid one. Fixes NB#60154.
7088 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7090 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7091 code dialog. Fixes NB#64355.
7093 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7095 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7096 switching the page. Fixes NB#49374.
7098 * examples/Makefile.am:
7099 * examples/hildon-wizard-dialog-example.c: Adding an example for
7100 HildonWizardDialog that shows how to handle manual sensitivity setting on
7103 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7107 * src/hildon-version.h.in:
7108 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7110 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7112 * src/hildon-volumebar.c: Updating the docs.
7114 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7120 * debian/changelog: Updating.
7122 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7124 * src/hildon-find-toolbar.c:
7125 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7126 selected item: hildon_find_toolbar_set_active,
7127 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7128 hildon_find_toolbar_get_active_iter . They correspond to respective
7129 GtkComboBox functions.
7131 * examples/Makefile.am:
7132 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7135 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7137 * examples/Makefile.am:
7138 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7141 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7142 when font size > 32 and we pack a focusable widget inside. Actually using
7143 the default response would work too, but since we don't show default
7144 response state in any way (no theming) it would not be visible to the
7145 user. Fixes NB#63430.
7147 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7149 * src/hildon-date-editor.c: Adding the missing variable setter in the
7150 set_property handler. Fixes NB#54182.
7152 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7154 * src/hildon-window.h: Changing the long key press time from 1500ms to
7155 800ms as requested in NB#63700. I have a bad feeling about this, let's
7156 see... Fixes NB#63700.
7158 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7160 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7161 hildon_time_picker_map, hildon_time_picker_realize,
7162 hildon_time_picker_style_set): Split the contents of map to more
7163 appropriate functions; set window decorations on realize and update
7164 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7166 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7171 * debian/changelog: Updating.
7173 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7175 * src/Makefile.am: fixed installation of the header files
7177 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7183 * debian/changelog: Updating.
7185 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7187 * configure.ac: Removing some remaining of --enable-xan.
7189 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7191 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7192 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7194 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7195 2.10.12-osso6 because the move-focus signal needs to be available in
7198 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7200 * examples/Makefile.am:
7201 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7202 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7203 fine. Prolly NB#61128 is fixed now.
7205 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7207 * src/hildon-volumebar.c:
7208 * src/hildon-volumebar.h: Adding the
7209 hildon_volumebar_set_range_insensitive_message and
7210 hildon_volumebar_set_range_insensitive_messagef functions to set
7211 insensitive message on the slider of the volumebar. Fixes NB#61129.
7213 * examples/Makefile.am:
7214 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7215 test the new insensitive messsage functionality on HildonVolumebar.
7217 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7219 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7222 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7224 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7225 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7226 button on after clearing the trail.
7228 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7230 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7232 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7234 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7235 by splitting the installed headers in generated and non-generated groups. Use
7236 only the non-generated headers to create the hildon-enum-types.h file.
7238 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7240 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7242 * src/hildon-window.c: Hide the window before performing the destroy.
7243 Should make the app closing a little tiny bit more snappy.
7245 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7247 * src/hildon-seekbar.c: add gtkrange.h header
7248 * src/hildon-caption.c: remove unused variable
7250 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7252 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7255 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7261 * debian/changelog: Updating.
7263 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7265 * src/hildon-window.c (hildon_window_window_state_event,
7266 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7267 escape timeout on focus-out-event rather than notify::is-topmost; the
7268 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7270 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7272 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7273 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7275 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7277 * src/hildon-window: actually, you need to use the macro always, there's
7278 no private pointer in the instance structure. We should have cleaned this up
7279 when we had the chance...
7281 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7283 * src/hildon-window.c: do not get the private date from HildonWindow before
7284 it passes the g_return_if_fail check. Once it's passed the test, there's no
7285 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7286 if you are only going to access the data once. Whitespace cleanups.
7288 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7290 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7291 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7293 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7299 * debian/changelog: Updating.
7301 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7303 * src/hildon-window.c: When destroying the window, remove (if exists) the
7304 escape timeout handler. Fixes #NB59276.
7306 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7308 * src/hildon-banner.c: When realizing the widget, set the window
7309 transiency. Setting the transiency in the gobject constructor is not
7310 good, as the widget is not realized at that point. Fixes: #NB56624.
7312 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7314 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7315 Add padding for future expansions.
7317 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7319 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7320 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7321 will fake an activation on the previous to the last item of the trail, so
7322 the effect can be overrided by the developer as usual.
7323 Also change the callback for the back button to do the same thing, so its
7324 effect can be overrided too. Fixes: NB#58982
7326 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7328 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7329 HildonCaption. Fixes NB#52379.
7331 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7333 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7334 the internal state of the trail after the user has had the chance of executing
7335 his handler for the signal. Specifically, it may happen that the activated button
7336 is removed and the user still lets the default handler run. This would segfault
7339 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7341 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7342 scrollbar to the preview dialog. Fixes NB#54147.
7344 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7346 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7347 max/min year properties can be altered, so the client can modify it
7348 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7350 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7352 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7353 hildonlike by default. Fixing a problem with disappearing arrows when
7354 scrolling through months and years. Fixes NB#54127.
7356 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7358 * examples/hildon-date-editor-example.c: Adding error callback to the date
7361 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7367 * configure.ac: Updating.
7369 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7371 * configure.ac: Adding a special '--enable-xan' configure option that
7372 turns off the -Werror compilation setting. Usefull for development.
7374 * src/hildon-calendar.c:
7375 * src/hildon-number-editor.c:
7376 * src/hildon-time-picker.c: Adding the 5* multiplier to
7379 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7381 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7382 instead of g_object_ref + gtk_object_sink.
7384 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7390 * debian/changelog: Updating.
7392 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7394 * src/hildon-color-chooser-dialog.c:
7395 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7396 straight from Tommi labs.
7398 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7400 * examples/hildon-finger-example.c: Correcting the header file path.
7402 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7403 the changed signal. Fixes a small memory leak.
7405 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * src/hildon-banner.c: Importing several usefull fixes from the
7410 ubuntu-mobile branch.
7412 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7414 * examples/Makefile.am:
7415 * examples/hildon-finger-example.c: Adding a finger-checking code
7418 * src/hildon-font-selection-dialog.c: Do not allocate the color
7419 structure using the g_new. Fixes NB#54061.
7421 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * src/hildon-helper.c: Correcting tabs in file.
7425 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7427 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7428 control the visibility of the children.
7430 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7432 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7438 * debian/changelog: Updating.
7440 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7442 * src/hildon-bread-crumb-trail.c:
7443 (hildon_bread_crumb_trail_size_allocate):
7445 Make the back button always a square.
7447 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7449 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7450 from the .c file as it's a private file.
7452 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7455 uses slightly bigger height.
7457 * src/hildon-font-selection-dialog.c: Adding some checks before
7458 freeing memory in the font selection dialog.
7460 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7462 * src/hildon-font-selection-dialog.c: Adding a small check when
7465 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7466 buttons sensitivity on page switching.
7468 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7470 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7471 internal details of adding a bread crumb to the trail.
7473 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * debian/changelog: Updating.
7481 * src/hildon-bread-crumb-trail.h:
7482 * src/hildon-bread-crumb.h: Changing the API guard to
7483 HILDON_ENABLE_UNSTABLE_API.
7485 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7493 * src/hildon-helper.h: Updating.
7495 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7503 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * src/hildon-helper.h: Small fix to make the package actually compile.
7509 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7511 * src/hildon-bread-crumb-trail.h:
7512 * src/hildon-bread-crumb.h:
7514 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7515 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7517 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7519 * examples/hildon-bread-crumb-trail-example.c:
7521 * src/hildon-bread-crumb-trail.c:
7522 * src/hildon-bread-crumb-trail.h:
7523 * src/hildon-bread-crumb.c:
7524 * src/hildon-bread-crumb.h:
7525 * src/hildon-marshalers.list:
7526 * src/hildon-bread-crumb-widget.c:
7527 * src/hildon-bread-crumb-widget.h:
7529 Slight change in the widget design. The bread crumb trail API is
7530 unchanged, but HildonBreadCrumb is now an interface. A *private*
7531 implementation, hildon-bread-crumb-widget, is provided and used
7532 internally by the trail for the push_text/push_icon functions.
7534 The generic push API is still available, so anyone can implement
7535 and use its own bread crumb widget.
7537 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7539 * debian/rules: Fixing the shlibs.
7541 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7543 * src/hildon-banner.c: Fixing a problem with timed banners having
7544 their parrent destroyed before they are.
7546 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7548 * src/hildon-bread-crumb.c:
7549 * src/hildon-bread-crumb.h:
7551 Make the get_natural_size function a vfunc.
7553 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7555 * src/hildon-bread-crumb.c:
7556 * src/hildon-bread-crumb-trail.c:
7560 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7567 * debian/changelog: Updating for release.
7569 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7571 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7572 don't leak the pango layout.
7574 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7577 * examples/hildon-bread-crumb-trail-example.c:
7581 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7583 * debian/changelog: Removing the bug-fixed entries that were actually
7584 resolved as WONTFIX.
7586 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7589 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7591 * src/hildon-bread-crumb-trail.c:
7592 * src/hildon-bread-crumb-trail.h:
7593 * src/hildon-bread-crumb.c:
7594 * src/hildon-bread-crumb.h:
7598 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7600 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7601 until it's passed the type check.
7603 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7605 * examples/hildon-bread-crumb-trail-example.c
7609 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7611 * examples/Makefile.am
7612 * examples/hildon-bread-crumb-trail-example.c
7614 * src/hildon-bread-crumb-trail.c
7615 * src/hildon-bread-crumb-trail.h
7616 * src/hildon-bread-crumb.c
7617 * src/hildon-bread-crumb.h
7619 New HildonBreadCrumbTrail widget.
7621 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7623 * src/hildon-range-editor.c (hildon_range_editor_init),
7624 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7625 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7626 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7627 hildon_time_editor_class_init, hildon_time_editor_init),
7628 src/hildon-get-password-dialog.c (invalid_input,
7629 hildon_get_password_set_property, hildon_get_password_get_property,
7630 create_contents, hildon_get_password_dialog_set_max_characters),
7631 src/hildon-set-password-dialog.c (create_contents),
7632 src/hildon-date-editor.c (hildon_date_editor_init),
7633 src/hildon-login-dialog.c (hildon_login_dialog_init),
7634 src/hildon-number-editor.c (hildon_number_editor_init),
7635 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7636 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7637 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7638 configure option and adding the respective checks in the code.
7639 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7640 hildon_calendar_drag_data_received): fixed some build warnings.
7642 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7644 * debian/changelog: A 1.0.0 release notes.