1 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-04-20 Alberto Garcia <agarcia@igalia.com>
11 * src/hildon-banner.c (hildon_banner_realize):
12 Mark HildonBanner as supporting portrait mode.
13 Use GDK to set window properties insetad of direct Xlib calls.
15 Fixes: NB#111830 (HildonBanner should be marked as supporting
18 2009-04-20 Alberto Garcia <agarcia@igalia.com>
20 * src/hildon-note.c (hildon_note_rebuild):
21 Hide action area in information notes. Prevents text from being
22 slightly aligned to the left.
24 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
27 2009-04-20 Alberto Garcia <agarcia@igalia.com>
29 Patch by Mox Soini (ext-mox.soini@nokia.com)
31 * src/hildon-banner.c (hildon_banner_create_animation):
32 Use stylus-sized icons in animation banner.
34 Fixes: NB#111206 (stylus sized icon for animation banner)
36 2009-04-20 Alberto Garcia <agarcia@igalia.com>
40 (+hildon_gtk_window_set_do_not_disturb):
41 New API to set the do-not-disturb flag.
43 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
45 2009-04-20 Alberto Garcia <agarcia@igalia.com>
47 * examples/hildon-progress-indicator-example.c: Fix example
49 * src/hildon-gtk.c (set_clear_window_flag)
50 (hildon_gtk_window_set_progress_indicator):
51 Create a generic function for setting flags to a window.
52 Use GDK instead of direct Xlib calls.
54 2009-04-14 Alberto Garcia <agarcia@igalia.com>
56 * src/hildon-button.c (hildon_button_set_arrangement):
57 Due to NB#88126, if one of the labels is too long it will be
58 painted outside the button. The 'value' label is more likely to be
59 the longest one, so we change its packing options in order to
60 truncate it if necessary. As a side effect, the 'title' label will
61 no longer be truncated.
63 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
65 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
70 * configure.ac: Bump version.
71 * debian/changelog: Updates.
73 2009-04-13 Alejandro G. Castro <alex@igalia.com>
75 Deprecation of the hildon_pannable_area_set_size_request_policy
76 API, the only policy properly supported in gtk+ nowadays is the
79 * src/hildon-pannable-area.c,
80 (hildon_pannable_area_size_request): Added a workaround for the
81 size_request to avoid the problems of huge pixmaps in case someone
82 is still using the function.
83 * src/hildon-pannable-area.h: Deprecated the enum with the
86 Fixes: NB#110244 (Problems with the
87 hildon_pannable_area_set_size_request_policy API)
89 2009-04-08 Alejandro G. Castro <alex@igalia.com>
91 * src/hildon-pannable-area.c,
92 (hildon_pannable_area_init),
93 (hildon_pannable_area_size_request),
94 (hildon_pannable_area_style_set),
95 (hildon_pannable_draw_vscroll),
96 (hildon_pannable_draw_hscroll),
97 (hildon_pannable_area_check_scrollbars): Replaced area_width with
98 indicator_width to clarify the use of the attribute.
100 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
105 * configure.ac: Bump version.
106 * debian/changelog: Updates.
108 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
110 * src/hildon-picker-dialog.c
111 * src/hildon-touch-selector.c
112 Reverting the change that tried to avoid the hardcoded height on
113 the picker dialog, as causes problems on the hildon-touch-selector
116 Fixes: NB#110029 (selectors not scrolling to selected value)
118 2009-04-07 Alberto Garcia <agarcia@igalia.com>
120 * src/hildon-touch-selector.c: Fix typos
122 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
124 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
125 Use the event coordinates instead of gdk_window_get_pointer(). Also,
126 request more motions after using it.
128 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
130 * src/hildon-calendar.c (hildon_calendar_expose),
131 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
132 Remove unused variables.
134 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
136 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
139 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
141 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
142 Check the return value of gtk_tree_selection_get_selected()
145 2009-04-06 Alberto Garcia <agarcia@igalia.com>
147 * src/hildon-animation-actor.c
148 * src/hildon-button.c
150 * src/hildon-pannable-area.c
151 * src/hildon-picker-button.c
152 * src/hildon-program.c
153 * src/hildon-remote-texture.c
154 * src/hildon-text-view.c
155 * src/hildon-touch-selector.c
156 * src/hildon-window-stack.c
157 * src/hildon-window.c:
158 Add missing 'Since: 2.2' tags.
160 * doc/hildon-sections.txt:
161 Add some missing symbols.
163 * doc/hildon-docs.sgml:
164 New 'Other' section for HildonAnimationActor and
167 2009-04-06 Alberto Garcia <agarcia@igalia.com>
169 Patch by Iván Gómez (igomez@igalia.com)
173 * doc/hildon-docs.sgml
174 * doc/hildon-sections.txt
178 New chapters on using the Hildon library.
179 Updated the general structure of the reference manual.
180 Other minor documentation fixes.
182 * src/hildon-calendar-popup.c
183 * src/hildon-calendar.c
184 * src/hildon-controlbar.c
185 * src/hildon-date-editor.c
186 * src/hildon-dialog.c
187 * src/hildon-hvolumebar.c
188 * src/hildon-number-editor.c
189 * src/hildon-range-editor.c
190 * src/hildon-sort-dialog.c
191 * src/hildon-time-editor.c
192 * src/hildon-time-picker.c
193 * src/hildon-volumebar-range.c
194 * src/hildon-volumebar.c
195 * src/hildon-vvolumebar.c
196 * src/hildon-weekday-picker.c:
197 Add deprecation notes
199 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
200 Document 'horizontal-movement' and 'vertical-movement' signals.
202 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: Bump version.
208 * debian/changelog: Updates.
210 2009-04-06 Alejandro G. Castro <alex@igalia.com>
212 * src/hildon-pannable-area.c,
213 (hildon_pannable_area_class_init): increased the minimum velocity.
214 (hildon_pannable_area_button_release_cb): Updated the
215 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
216 setup. Review the code to control that last event.
218 Fixes: NB#109790 (Releasing finger in pannable area easily causes
221 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
223 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
225 * src/hildon-get-password-dialog.c
226 (hildon_get_password_set_property),
227 (hildon_get_password_get_property), (create_contents):
228 * src/hildon-login-dialog-private.h:
229 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
230 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
231 (hildon_login_dialog_get_password):
232 * src/hildon-set-password-dialog-private.h:
233 * src/hildon-set-password-dialog.c
234 (hildon_set_password_set_property),
235 (hildon_set_password_get_property), (create_contents),
236 (hildon_set_password_response_change),
237 (hildon_set_password_response_set), (hildon_checkbox_toggled):
239 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
240 instead and look more Fremantle style.
242 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
244 2009-04-03 Alberto Garcia <agarcia@igalia.com>
246 * doc/hildon-sections.txt
247 * src/hildon-window-stack.h
248 * src/hildon-window-stack.c
249 (+hildon_window_stack_get_windows):
250 New API to obtain the list of windows on a stack.
252 2009-04-02 Alberto Garcia <agarcia@igalia.com>
254 * src/hildon-app-menu.c (hildon_app_menu_popup)
255 (hildon_app_menu_class_init, -hildon_app_menu_show):
256 Remove hildon_app_menu_show() and move all its checks to
257 hildon_app_menu_popup()
259 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
261 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
262 (_hildon_picker_dialog_set_selector): removed call to
263 gtk_widget_set_size_request
264 * src/hildon-touch-selector.c
265 (_create_new_column): change the pannable size request policy
267 Avoid to use a hardcoded height for the hildon picker dialog. In order
268 to get that, we needed to change the hildon pannable size request
270 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
272 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
274 * src/hildon-window.c (hildon_window_map): Check for vbox to be
275 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
278 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
280 * debian/control: Depend on osso-system-lock localization package.
281 * src/hildon-code-dialog.c: Obtain the secu_application_title
282 translation from osso-system-lock.
283 * src/hildon-get-password-dialog.c (create_contents): Do not mark
284 for translation the atk related strings, that's not necessary.
285 * src/hildon-set-password-dialog.c (create_contents): Ditto.
286 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
287 cancel button, it is not required.
289 2009-04-02 Alejandro G. Castro <alex@igalia.com>
291 * src/hildon-pannable-area.c,
292 (hildon_pannable_area_class_init): Modified the default value of
293 the overshooting max speed, we have reduced it.
295 2009-04-02 Alberto Garcia <agarcia@igalia.com>
297 * doc/hildon-sections.txt
298 * src/hildon-window-private.h
299 * src/hildon-window.h
300 * src/hildon-window.c (hildon_window_class_init)
301 (hildon_window_init, hildon_window_finalize)
302 (hildon_window_realize, hildon_window_get_property)
303 (hildon_window_set_property, hildon_window_update_markup)
304 (hildon_window_get_markup, hildon_window_set_markup):
305 New "markup" property and hildon_window_{get,set}_markup() methods.
307 * examples/hildon-stackable-window-example.c (new_window):
308 Update example to use hildon_window_set_markup()
310 Fixes: NB#106375 (Need API to retitle a window with a title
313 2009-04-01 Alejandro G. Castro <alex@igalia.com>
315 * src/hildon-pannable-area.c,
316 (hildon_pannable_area_class_init): Changed the default value of
317 the initial_hint to TRUE.
318 (hildon_pannable_area_initial_effect): Changed the initial effect,
319 not the effect is just the fade-out of the scrollbars.
321 Fixes: NB#107775 (No scrollbars can be seen when several items are
322 available in a dialog)
324 2009-04-01 Alberto Garcia <agarcia@igalia.com>
326 * src/hildon-program.c (hildon_program_update_top_most):
329 Fixes: NB#109179 (Memory leak in Hildon program)
331 2009-04-01 Alberto Garcia <agarcia@igalia.com>
333 * src/hildon-banner.c (-get_current_app_window):
334 Remove unused function.
336 2009-04-01 Alejandro G. Castro <alex@igalia.com>
338 * src/hildon-pannable-area.c: Modified the documentation of the
339 get adjustments functions to explain the problem of using the
341 (hildon_pannable_area_class_init): Improved the explanation about
344 2009-04-01 Alberto Garcia <agarcia@igalia.com>
346 * src/hildon-app-menu-private.h
347 * src/hildon-app-menu.c
348 (hildon_app_menu_class_init):
349 Bring back the 'external-border' style property
350 (hildon_app_menu_class_init, hildon_app_menu_init)
351 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
352 Set a fixed width-request for the menu, independent of the number
355 Fixes: NB#94957 (Smoothly opened application menu)
357 2009-03-30 Alberto Garcia <agarcia@igalia.com>
359 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
361 * src/hildon-banner.c
362 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
364 Make sure that the banner is correctly placed the first time it's
366 (hildon_banner_check_position, -check_fullscreen_state):
367 Show the banner in the same place no matter if the window is in
368 fullscreen mode or not.
370 Fixes: NB#107386 (Odd stacking behaviour for information banners)
372 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
374 * src/hildon-touch-selector.c (_default_print_func): reorder
375 concatenation for clarity.
377 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
379 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
380 for multicolumn selectors.
382 Fixes: NB#109099 (Memory leak in Hildon touch selector)
384 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
389 * configure.ac: Bump version.
390 * debian/changelog: Updates.
392 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
394 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
397 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
399 * configure.ac: removed libcangerra-gtk dependency
400 * debian/control: removed libcanberra-gtk dependency
401 * src/Makefile.am: removed libcanberra gtk related flags
402 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
403 context, and manage a global canberra context instead
405 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
407 2009-03-26 Alberto Garcia <agarcia@igalia.com>
409 Patch by Daniel Borgmann (danielb@openismus.com)
411 * src/hildon-edit-toolbar.c:
412 Adjust the left padding.
413 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
414 Paint background of the edit toolbar.
416 Fixes: NB#107897 (Patch to make editmodetoolbar background
417 themeable and adjust margin)
419 2009-03-25 Alberto Garcia <agarcia@igalia.com>
421 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
423 * src/hildon-program.c (hildon_program_update_top_most):
424 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
426 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
427 change when the user tasks in/out of an application)
429 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
431 * configure.ac: added libcangerra-gtk dependency
432 * debian/control: added libcanberra-gtk dependency
433 * src/Makefile.am: added libcanberra gtk related flags
434 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
437 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
439 2009-03-25 Alberto Garcia <agarcia@igalia.com>
441 * src/hildon-program.c (hildon_program_remove_window)
442 (hildon_program_add_window): Add checks for the window
443 parameter. Don't decrease the window counter if the window is not
446 2009-03-24 Alejandro G. Castro <alex@igalia.com>
448 * src/hildon-pannable-area.c,
449 (hildon_pannable_area_realize): Fixed position of the event_window
450 in the realize method.
452 2009-03-24 Alberto Garcia <agarcia@igalia.com>
454 * src/hildon-app-menu-private.h
455 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
456 (hildon_app_menu_map, hildon_app_menu_hide_idle)
457 (hildon_app_menu_key_press, hildon_app_menu_init)
458 (hildon_app_menu_finalize):
459 Make sure that all idle functions are removed when the widget is
462 Fixes: NB#107583 (Hildon app menu crashes in various applications)
464 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
469 * configure.ac: Bump version.
470 * debian/changelog: Updates.
472 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
475 (+hildon_entry_show_placeholder),
476 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
477 that replace hildon_entry_update_contents().
478 (hildon_entry_set_text),
479 (hildon_entry_set_placeholder),
480 (hildon_entry_focus_in_event),
481 (hildon_entry_focus_out_event): Determine when it is needed
482 either to show or hide the placeholder and call the above methods.
484 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
485 when the placeholder text is already set)
487 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
489 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
490 simple GdkPixbufAnim using the new icons for the banner.
491 (hildon_banner_show_animation): Use the above mentioned method to
492 create the animation widget.
494 Fixes: NB#103564 (Make hildon animation banner use individual
495 image files as the animation)
497 2009-03-24 Alejandro G. Castro <alex@igalia.com>
499 * src/hildon-pannable-area.c,
500 (hildon_pannable_leave_notify_event): Check if the child is NULL
501 to avoid sending the leave.
503 2009-03-24 Alejandro G. Castro <alex@igalia.com>
505 * src/hildon-pannable-area.c,
506 (hildon_pannable_area_class_init),
507 (hildon_pannable_leave_notify_event): Added a handler of the
508 leave-notify-signal to consider when no motion notify before
511 Fixes: NB#107494 (Items stay selected when clicking and moving
512 away when inside pannable area)
514 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
519 * configure.ac: Bump version.
520 * debian/changelog: Updates.
522 2009-03-19 Alejandro G. Castro <alex@igalia.com>
524 Patch by Alberto Garcia (agarcia@igalia.com)
526 * src/hildon-date-button.c,
527 (hildon_date_button_class_init),
528 (hildon_date_button_init): Removed the construct property handling
529 and created a default selector in the init method.
530 * src/hildon-picker-button.c,
531 (hildon_picker_button_class_init): Removed the construct flag of the
534 2009-03-18 Alberto Garcia <agarcia@igalia.com>
536 * src/hildon-main.c (hildon_init):
537 Don't allow hildon_init() to be called more than once.
539 Fixes: NB#106607 (hildon_init should issue error message upon
542 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
544 * examples/hildon-pannable-area-touch-list-example.c
545 * examples/hildon-pannagle-area-touch-grid-example.c
546 * examples/hildon-edit-toolbar-example.c
547 * examples/hildon-touch-selector-multi-cells-example.c
548 Removed the call to gtk_rc_parse_string, as it is not required since
551 2009-03-17 Alejandro G. Castro <alex@igalia.com>
553 * src/hildon-pannable-area.c,
554 (hildon_pannable_area_class_init): Modified the default panning
555 threshold of the widget to 6px.
557 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
558 than the threshold value ) within the button is not sending the
561 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
563 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
564 for the treeview in the new column. This way, the touch list will never
567 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
568 be selected manually for the HW keys to work)
570 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
572 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
573 comparison instead of using strcmp(). Fixes a compiler warning as well.
575 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
577 * doc/hildon-docs.sgml: Do not set the library version in the
578 document title, use the releaseinfo tag for that purpose instead.
580 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
582 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
583 Do not jump to the first item if the text in the entry is removed.
585 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
590 * configure.ac: Bump version.
591 * debian/changelog: Updates.
593 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
595 * src/hildon-entry.c (hildon_entry_refresh_contents):
596 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
597 Use "ReversedSecondaryTextColor" for the placeholder text.
599 2009-03-12 Alberto Garcia <agarcia@igalia.com>
601 * src/hildon-text-view.c: Fix compilation warning.
603 2009-03-12 Alberto Garcia <agarcia@igalia.com>
605 * src/hildon-button.c (hildon_button_class_init): Don't make
606 "title" and "value" construction properties, to prevent them from
607 overwriting labels set from derived classes.
609 * src/hildon-picker-button.c
610 (hildon_picker_button_set_selector): Allow setting a NULL selector.
611 (hildon_picker_button_class_init): Make touch-selector a
612 construction property.
614 * src/hildon-date-button.c (hildon_date_button_class_init)
615 (+hildon_date_button_constructed): Add a default date selector if
618 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
620 * src/hildon-touch-selector.c: Small documentation fixes.
622 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
624 Based on a patch by Daniel Borgmann (danielb@openismus.com)
626 * src/hildon-entry.c (hildon_entry_refresh_contents),
627 (hildon_entry_get_text), (hildon_entry_init): Do not use the
628 widget name, set the logical color directly instead and a boolean
629 showing_placeholder instead.
630 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
631 use the widget name here either.
633 Fixes: NB#105678 (HildonTextView should use logical colours
634 instead of setting widget name)
636 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
638 Patch by Daniel Elster (danielk@openismus.com)
640 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
641 Add user_data parameter.
642 (hildon_touch_selector_set_print_func_full): New function akin
643 hildon_touch_selector_set_print_func() but with support for user
644 data and a destroy callback.
645 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
646 to clean up the print function user data.
647 (hildon_touch_selector_class_init): Install dispose function.
648 (HildonTouchSelectorPrivate::print_user_data),
649 (HildonTouchSelectorPrivate::print_destroy_func): New private
651 (hildon_touch_selector_init): Initialize new private members.
652 (hildon_touch_selector_get_current_text): Pass along user data
653 to the print function.
654 (_default_print_func): Add dummy user_data to parameter list.
655 * hildon-date-selector.c (_custom_print_func): ditto,
656 * hildon-time-selector.c (_custom_print_func): ditto,
657 * hildon-touch-selector-entry.c
658 (hildon_touch_selector_entry_print_func): ditto.
660 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
662 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
664 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
666 2009-03-12 Alejandro G. Castro <alex@igalia.com>
668 * src/hildon-pannable-area.c,
669 (hildon_pannable_area_init),
670 (hildon_pannable_area_button_press_cb),
671 (hildon_pannable_area_motion_notify_cb): We have added code to
672 handle the leave and enter events when using the motion events.
674 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
676 2009-03-11 Alberto Garcia <agarcia@igalia.com>
678 * src/hildon-date-button.c (hildon_date_button_get_date)
679 (hildon_date_button_set_date): Make sure that the button has a
682 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
684 2009-03-11 Alejandro G. Castro <alex@igalia.com>
686 * src/hildon-pannable-area.c,
687 (hildon_pannable_area_class_init),
688 (hildon_pannable_area_calculate_velocity): Modify the use of the
689 force and adapt the value.
691 2009-03-10 Alberto Garcia <agarcia@igalia.com>
693 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
694 (hildon_app_menu_class_init): Hide the menu if it receives a
695 delete-event, but don't destroy it
697 Fixes: NB#104485 (Not able to address the call when application
698 menu is opened at background)
700 2009-03-10 Alberto Garcia <agarcia@igalia.com>
702 * src/hildon-app-menu.c
703 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
704 Remove the "external-border" style property, let the menu take its
705 natural size (or the one set by the window manager)
706 (hildon_app_menu_repack_items):
707 Don't reshow the menu, avoid flickers.
709 Partially fixes NB#94957 (Smoothly opened application menu)
711 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
716 * configure.ac: Bump version.
717 * debian/changelog: Updates.
719 2009-03-10 Alejandro G. Castro <alex@igalia.com>
721 * src/hildon-pannable-area.c,
722 (hildon_pannable_area_motion_notify_cb): We control that the
723 direction error margin is used just in case the movement is
724 allowed in the other direction.
726 Fixes: NB#105012 (buttons inside a pannable area not getting
727 release event when dragging/releasing)
729 2009-03-10 Alejandro G. Castro <alex@igalia.com>
731 * src/hildon-pannable-area.c,
732 (hildon_pannable_area_class_init),
733 (hildon_pannable_area_get_property),
734 (hildon_pannable_area_set_property),
735 (hildon_pannable_area_initial_effect),
736 (hildon_pannable_axis_scroll),
737 (hildon_pannable_area_button_release_cb): Reviewed the
738 overshooting effect, now it has its own max
739 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
742 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
747 * configure.ac: Bump version.
748 * debian/changelog: Updates.
750 2009-03-09 Alejandro G. Castro <alex@igalia.com>
752 * src/hildon-pannable-area.c,
753 (hildon_pannable_area_class_init): Changed the max speed, now
754 users can launch the widget very fast. Reduced the default force,
755 that way it is easier to control the launch speed.
757 2009-03-09 Alejandro G. Castro <alex@igalia.com>
759 * src/hildon-pannable-area.c,
760 (hildon_pannable_area_button_release_cb): Removed this check
761 because it causes problems when the device is overloaded.
763 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
765 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
766 add a current_text field to store the text entered in the
767 touch selector entry.
768 (_clean_current_selection): clean up the current text as well.
769 (_save_current_selection), (_restore_current_selection):
770 Save/restore the text in the entry if the selector is a
771 HildonTouchSelectorEntry.
773 Fixes: NB#102541 (value entered in the touch selector entry is not
774 shown when opened for second time)
776 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
778 * doc/hildon-sections.txt:
779 * src/hildon-touch-selector-entry.c
780 (+hildon_touch_selector_entry_get_entry):
781 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
783 Fixes: NB#104815 (I need accessor to the entry inside
784 HildonTouchSelectorEntry)
786 2009-03-06 Alberto Garcia <agarcia@igalia.com>
788 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
789 (hildon_app_menu_class_init):
790 New "filter-vertical-spacing" style property.
792 2009-03-06 Alberto Garcia <agarcia@igalia.com>
794 * src/hildon-find-toolbar.c
795 (hildon_find_toolbar_emit_close)
796 (hildon_find_toolbar_emit_invalid_input)
797 (hildon_find_toolbar_entry_activate):
798 Use g_signal_emit() instead of g_signal_emit_by_name()
800 2009-03-06 Alberto Garcia <agarcia@igalia.com>
802 Patch by Mox Soini (ext-mox.soini@nokia.com)
804 * tests/TEST-CASES.txt
805 * tests/check-hildon-banner.c
806 * tests/check-hildon-note.c
807 * src/hildon-banner.c
808 * src/hildon-code-dialog.c
809 * src/hildon-date-editor.c (real_set_calendar_icon_state)
810 * src/hildon-time-editor.c
811 * examples/hildon-lookup-example.c (main):
812 Replace obsolete icon names with new ones.
814 * src/hildon-find-toolbar-private.h:
815 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
816 (-hildon_find_toolbar_emit_search):
817 Remove find button and change icon of close button.
819 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
821 2009-03-05 Alberto Garcia <agarcia@igalia.com>
823 * src/hildon-time-button.c (hildon_time_button_new_step):
824 Use the "touch-selector" property to set the selector directly
825 when creating the object.
827 2009-03-05 Alejandro G. Castro <alex@igalia.com>
829 Added a new example application that allows tuning the pannable
830 area and replaced defines with properties in order to simplify the
831 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
832 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
833 PROP_DIRECTION_ERROR_MARGIN.
835 * examples/hildon-pannable-area-tuning-example.c: New example
837 * src/hildon-pannable-area.c,
838 (hildon_pannable_area_class_init),
839 (hildon_pannable_area_init),
840 (hildon_pannable_area_get_property),
841 (hildon_pannable_area_set_property),
842 (hildon_pannable_area_launch_fade_timeout),
843 (hildon_pannable_area_adjust_value_changed),
844 (hildon_pannable_axis_scroll),
845 (hildon_pannable_area_motion_notify_cb),
846 (hildon_pannable_area_scroll_cb),
847 (hildon_pannable_area_button_release_cb): We have converted some
848 of the defines that control the widget to properties to simplify
851 2009-03-05 Alberto Garcia <agarcia@igalia.com>
853 * src/hildon-app-menu.c (hildon_app_menu_map)
854 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
855 so it's closed if a new window appears.
857 Fixes: NB#104485 (Not able to address the call when application
858 menu is opened at background)
860 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
862 * src/hildon-color-button.c (hildon_color_button_get_property):Add
863 missing 'break' statement in in 'case' construct to avoid
866 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
868 * src/hildon-touch-selector-entry.c
869 (hildon_touch_selector_entry_get_property),
870 (hildon_touch_selector_entry_set_property): Add missing 'break'
871 statements in in 'case' constructs to avoid incorrect warnings.
873 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
875 * src/hildon-time-editor.c
876 (hildon_time_editor_get_time_separators): Do not crash if
877 the first label is NULL.
879 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
881 * src/hildon-date-selector.c (_month_days): Check for month to be
882 strictly less than 12, since otherwise we may overrun the array.
884 2009-03-04 Alberto Garcia <agarcia@igalia.com>
886 * src/hildon-date-button.c (+hildon_date_button_new_full)
887 (hildon_date_button_new, hildon_date_button_new_with_year_range)
888 (hildon_date_button_init): Set the date selector using a
889 construction property, to make it happen after HildonButton's
890 "value" property is set.
892 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
893 current date by default)
895 2009-03-04 Alberto Garcia <agarcia@igalia.com>
897 * doc/hildon-sections.txt
898 * src/hildon-program.c
899 * src/hildon-stackable-window.c
900 * src/hildon-window.c:
901 Documentation updates
903 2009-03-04 Alberto Garcia <agarcia@igalia.com>
905 * src/hildon-window-stack.c (hildon_window_stack_get_default)
906 (hildon_window_stack_new, +hildon_window_stack_set_property)
907 (+hildon_window_stack_get_property)
908 (hildon_window_stack_class_init)
909 (+hildon_window_stack_set_window_group)
910 (+hildon_window_stack_get_window_group):
911 Make the window group a construction property.
913 2009-03-04 Alberto Garcia <agarcia@igalia.com>
915 * doc/hildon-sections.txt
916 * src/hildon-stackable-window-private.h
917 * src/hildon-stackable-window.h
918 * src/hildon-stackable-window.c
919 (-hildon_stackable_window_set_app_menu)
920 (-hildon_stackable_window_get_app_menu)
921 (-hildon_stackable_window_toggle_menu)
922 (-hildon_stackable_window_finalize)
923 (hildon_stackable_window_class_init)
924 (hildon_stackable_window_init)
925 * src/hildon-window-private.h
926 * src/hildon-window.h
927 * src/hildon-window.c (hildon_window_init)
928 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
929 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
930 (hildon_window_get_main_menu, hildon_window_set_main_menu)
931 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
932 Moved all HildonAppMenu code to HildonWindow. The menu does not
933 require a HildonStackableWindow anymore.
935 * src/hildon-app-menu.c
936 * src/hildon-program.c
937 * examples/hildon-app-menu-example.c (main):
938 Update examples and documentation to reflect HildonAppMenu
941 2009-03-04 Alberto Garcia <agarcia@igalia.com>
943 * src/hildon-remote-texture.c
944 * src/hildon-animation-actor.c:
945 Don't include unused private headers.
947 2009-03-04 Alberto Garcia <agarcia@igalia.com>
949 * src/hildon-program-private.h
950 * src/hildon-program.c
951 (hildon_program_set_common_menu)
952 (hildon_program_get_common_menu)
953 (hildon_program_set_common_app_menu)
954 (hildon_program_get_common_app_menu):
955 Change common menu pointers from GtkWidget* to GtkMenu* and
956 HildonAppMenu* to avoid unnecessary casts.
958 2009-03-03 Alberto Garcia <agarcia@igalia.com>
960 * src/hildon-window.c (hildon_window_set_main_menu):
961 Removed incorrect 'Since:' tag
963 2009-03-03 Alejandro G. Castro <alex@igalia.com>
965 * src/hildon-pannable-area.c,
966 (hildon_pannable_area_calculate_velocity): We use now the
967 RATIO_TOLERANCE here to check the distance, fixed typo in the
969 (hildon_pannable_area_motion_notify_cb): We have to set the type
970 and time even if we are not sending the motion.
972 2009-03-02 Alberto Garcia <agarcia@igalia.com>
974 * doc/hildon-sections.txt
975 * src/hildon-app-menu.h
976 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
977 (+hildon_app_menu_get_filters): New methods to get the contents of
980 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
983 2009-03-02 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-app-menu.c (hildon_app_menu_popup):
988 2009-03-02 Alberto Garcia <agarcia@igalia.com>
990 * src/hildon-window.h
991 * src/hildon-window.c (+hildon_window_get_main_menu)
992 (hildon_window_get_menu): Created hildon_window_get_main_menu()
993 and deprecated hildon_window_get_menu().
995 * src/hildon-stackable-window.h
996 * src/hildon-stackable-window.c
997 (+hildon_stackable_window_set_app_menu)
998 (+hildon_stackable_window_get_app_menu)
999 (hildon_stackable_window_set_main_menu): Created
1000 hildon_stackable_window_{get,set}_app_menu() and deprecated
1001 hildon_stackable_window_set_main_menu().
1003 * doc/hildon-sections.txt
1004 * examples/hildon-app-menu-example.c (main)
1005 * src/hildon-app-menu.c
1006 * src/hildon-program.c:
1007 Updated examples and documentation.
1009 Fixes: NB#103758 (No way to obtain a menu from a
1010 HildonStackableWindow)
1012 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1017 * configure.ac: Bump version.
1018 * debian/changelog: Updates.
1020 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1022 * examples/hildon-remote-texture-example.c: Include
1023 hildon-remote-texture.h explicitely.
1024 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1025 applications not defining _XOPEN_SOURCE which don't require this header.
1027 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1029 * doc/hildon-sections.txt
1030 * src/hildon-app-menu.h
1031 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1032 New function to pop up a HildonAppMenu
1034 * src/hildon-stackable-window.c
1035 (hildon_stackable_window_toggle_menu):
1036 Use hildon_app_menu_popup() to show the menu.
1038 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1040 * src/hildon-app-menu.c (hildon_app_menu_show)
1041 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1042 menu if there's another window between it and its parent window.
1044 Fixes: NB#100468 (Application menu window is launched even when a
1045 new secondary-window/dialog is pending to be shown/realized)
1047 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1049 * src/hildon-window-stack.c (hildon_window_stack_push)
1050 (hildon_window_stack_pop_and_push):
1051 Don't forget to push/pop the first window.
1052 Reverse the window list before calling _push_list()
1054 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1056 * src/hildon-picker-button.h
1057 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1058 Remove "value_changed" slot to avoid ABI breakage
1060 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1062 * src/hildon-pannable-area.c,
1063 (hildon_pannable_area_realize),
1064 (hildon_pannable_area_unrealize),
1065 (hildon_pannable_draw_vscroll),
1066 (hildon_pannable_draw_hscroll): Changed the method to handle the
1067 GC used to draw the transparent scrollbar, this way we avoid
1068 creating the GC all the time when drawing the scrollbars.
1070 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1072 * src/hildon-pannable-area.c,
1073 (hildon_pannable_area_init),
1074 (hildon_pannable_area_remove): Removed some unnecessary casts.
1075 (hildon_pannable_area_dispose): Disconnected some signals before
1076 releasing the adjustments.
1078 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1080 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1081 Make sure that all widgets contained in the toolbar are shown.
1083 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1085 * doc/hildon-sections.txt
1086 * src/hildon-picker-button.h
1087 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1088 (_selection_changed, hildon_picker_button_on_dialog_response)
1089 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1090 New hildon_picker_button_value_changed() method.
1093 * src/hildon-picker-button-private.h
1094 * src/hildon-picker-button.c (hildon_picker_button_init)
1095 (+hildon_picker_button_disable_value_changed): Add protected
1096 function for disabling the "value-changed" signal.
1098 * src/hildon-date-button.c (hildon_date_button_set_date):
1099 Don't emit "value-changed" for each one of the three columns.
1101 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1102 before actual change of values)
1104 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1106 * src/hildon-pannable-area.c,
1107 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1108 for the treeview overshooting.
1110 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1112 * src/hildon-banner.c (+hildon_banner_bind_style):
1113 Renamed from hildon_banner_bind_label_style(), now naming the
1114 banner itself as well.
1115 (hildon_banner_show_information),
1116 (hildon_banner_show_information_with_markup),
1117 (hildon_banner_show_animation), (hildon_banner_show_progress):
1118 Name the widgets and labels, based on their type.
1120 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1123 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1125 * src/hildon-note.c (hildon_note_set_property): call
1126 hildon_note_rename() on HildonNote:note-type set.
1127 (hildon_note_rename): Name the note and its label, based on the
1128 HildonNote:note-type property.
1130 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1133 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1135 * src/hildon-pannable-area.c,
1136 (hildon_pannable_area_class_init),
1137 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1138 panning parameters, increased SPS and deceleration factor. Added
1139 also a margin to control fake directions.
1141 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1143 Patch by Sven Herzberg (sven@imendio.com)
1145 * configure.ac: Add missing AM_PROG_CC_C_0
1146 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1148 See NB#101420 (Update unit tests and fix make check)
1150 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1152 This patch was applied before but reverted because it caused
1153 problems, we have changed the main condition and tested the
1154 regressions we detected before and they work ok. We have done a
1155 complete review of the topmost algorithm in order to get a more
1158 * src/hildon-pannable-area.c,
1159 (hildon_pannable_area_get_topmost): Added a new parameter to
1160 filter the the windows that do not include those events.
1161 (hildon_pannable_area_button_press_cb),
1162 (hildon_pannable_area_button_release_cb),
1163 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1164 topmost function, we have added the new parameter.
1166 Fixes: NB#97458 (Pannable area prevents propagation of button
1169 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1171 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1172 if all columns in the selector have an item selected.
1173 (_on_dialog_response): Stop "response" signal emission if there is
1174 any selector column without selected items.
1176 Fixes: NB#101889 (Picker dialog should not close when nothing is
1177 selected in multiple selection list)
1179 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1181 * src/hildon-font-selection-dialog.c
1182 (hildon_font_selection_dialog_class_init),
1183 (hildon_font_selection_dialog_init): Remove the preview
1184 button and dialog, since previewing with default theming is likely
1185 to be overcomplicated. The :preview property has now no effect.
1186 Update documentation blurbs to inform about this.
1188 Fixes: NB#92297 (Preview content is not clearly visible for
1189 default colour text)
1191 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1193 Reviewed the geometry that handles the children size and
1194 scrollbar, now it tries a size and reviews the results depending
1195 on the scrollbars visibility.
1197 * src/hildon-pannable-area.c,
1198 (hildon_pannable_area_realize): Fixed a typo.
1199 (hildon_pannable_area_child_allocate_calculate): Added this
1200 function to calculate the child allocation.
1201 (hildon_pannable_area_size_allocate): Reviewed the allocation
1203 (hildon_pannable_area_check_scrollbars),
1204 (hildon_pannable_area_refresh): Refactored refresh function, this
1205 way we can call the code handling the scrollbars without causing a
1206 size_request, it is interesting in the allocate.
1207 (hildon_pannable_area_init): Replace the callbacks of the
1208 value_changed and changed signals to propertly deal with the
1210 (hildon_pannable_area_grab_notify),
1211 (hildon_pannable_area_initial_effect),
1212 (hildon_pannable_area_launch_fade_timeout),
1213 (hildon_pannable_area_adjust_changed),
1214 (hildon_pannable_area_adjust_value_changed),
1215 (hildon_pannable_area_redraw),
1216 (hildon_pannable_area_button_press_cb),
1217 (hildon_pannable_area_button_release_cb),
1218 (hildon_pannable_area_scroll_cb),
1219 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1220 code and use the new functions adjust_changed and
1221 adjust_value_changed.
1223 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1224 Contact editor dialog)
1226 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1231 * configure.ac: Bump version.
1232 * debian/changelog: Updates.
1234 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1236 * src/hildon-pannable-area.c,
1237 (hildon_pannable_area_get_topmost),
1238 (hildon_pannable_area_button_press_cb),
1239 (hildon_pannable_area_button_release_cb),
1240 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1241 topmost function adding the event mask. We have to try a
1242 differente approach because it is still causing problems (NB#9745,
1245 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1247 * src/hildon-banner.c:
1248 Update the maximum width of timed banners.
1249 (force_to_wrap_truncated): Enforce the maximum text width if the
1252 Fixes: NB#102413 (The text margins (wrapping) in information
1253 banner should be HILDON_MARGIN_TRIPLE)
1255 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1257 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1259 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1260 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1261 bound when calculating the scroll indicator position.
1263 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1264 treat ->lower correctly)
1266 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1268 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1269 expose event handling, since it is not necessary to draw the focus
1272 Fixes: NB#102467 (Do not show highlight on the text in
1275 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1277 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1278 full height of the toolbar for the button and the label.
1280 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1282 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1283 padding before the label and after the button.
1285 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1287 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1289 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1290 Add a GtkVSeparator between the button and the back arrow.
1291 Let the button have automatic size.
1292 Set a name to the widget for theming handling.
1294 Fixes: NB#101793 (Make edit toolbar the same height as window
1295 title bar (use title area theming))
1297 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1299 * src/hildon-helper.c (attach_new_color_element): Fix memory
1302 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1304 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1306 * examples/hildon-button-example.c (common_buttons_window): Don't
1309 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1311 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1312 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1314 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1316 * src/hildon-gtk.c: Check that the window is realized.
1318 Fixes: NB#102225 (Crash setting the progress indicator to a non
1321 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1323 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1324 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1325 instead of modifying the one in the widget style.
1327 Fixes: NB#101043 (Second row of all the command button are
1328 displayed in transparent mode.)
1330 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1332 * src/hildon-date-button.c
1333 * src/hildon-time-button.c: Add gettext macros
1335 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1337 * src/hildon-date-button.c (hildon_date_button_new):
1338 * src/hildon-time-button.c (hildon_time_button_new_step):
1339 Use new logical strings to set the button default title.
1341 Fixes: NB#99915 (Date and Time options are not localised in Date
1344 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1346 * src/hildon-pannable-area.c
1347 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1348 the PANNING_THRESHOLD.
1350 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1352 * src/hildon-pannable-area.c,
1353 (hildon_pannable_area_class_init): Increased the maximum speed.
1354 (hildon_pannable_area_get_property),
1355 (hildon_pannable_area_set_property),
1356 (hildon_pannable_area_timeout): Added a new low friction mode, it
1357 allows the user avoid friction when launching the widget fast
1358 enough. It is interesting to traverse long lists.
1360 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1363 (+hildon_stackable_window_delete_event): Ignore delete events if
1364 the window is not the topmost one.
1366 Fixes: NB#101698 (Back button long press and delete-event handling)
1368 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1370 * src/hildon-pannable-area.c,
1371 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1372 gtk-dnd-drag-threshold, it was too big. We have defined our own
1373 dnd define and set a smaller value: PANNIG_THRESHOLD.
1375 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1377 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1378 user-defined icons, use always the default one.
1380 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1382 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1384 This patch was applied before but reverted because it caused
1385 problems, we have changed the main condition and tested the
1386 regressions we detected before and they work ok.
1388 * src/hildon-pannable-area.c,
1389 (hildon_pannable_area_get_topmost): Added a new parameter to
1390 filter the the windows that do not include those events. Added
1391 also a condition when finding the window to filter windows that do
1392 not ask for those events.
1393 (hildon_pannable_area_button_press_cb),
1394 (hildon_pannable_area_button_release_cb),
1395 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1396 topmost function, we have added the new parameter.
1398 Fixes: NB#97458 (Pannable area prevents propagation of button
1401 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1403 * tests/check-hildon-color-button.c (START_TEST): do not leak
1406 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1408 * src/hildon-font-selection-dialog.c
1409 (hildon_font_selection_dialog_get_preview_text): Return NULL
1410 instead of FALSE on the g_return_val_if_fail().
1412 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1414 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1415 * src/hildon-date-selector.c
1416 (hildon_date_selector_select_current_date):
1417 Do not compare unsigned integers to be greater than or equal 0,
1418 because it's always TRUE.
1420 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1422 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1423 (hildon_date_selector_constructor): Do not select the current
1424 date until we are handle the "changed" signal, to avoid having bogus
1425 elements in the days model.
1427 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1430 for num_days, since _month_days() can return a negative value.
1432 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1434 * src/hildon-caption.c (hildon_caption_size_allocate):
1435 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1436 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1438 Initialize allocation variables to 0, to avoid eventually using
1439 unitialized variables.
1441 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1443 * src/hildon-bread-crumb-trail.c
1444 (hildon_bread_crumb_trail_size_allocate):
1445 * src/hildon-calendar.c (hildon_calendar_set_background):
1446 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1447 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1448 * src/hildon-seekbar.c (hildon_seekbar_init):
1449 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1450 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1451 * src/hildon-touch-selector-entry.c
1452 (hildon_touch_selector_get_text_from_model):
1453 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1454 * src/hildon-window.c (hildon_window_finalize):
1456 Remove many unused variables.
1458 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1460 * src/hildon-seekbar.c: (hildon_seekbar_init),
1461 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1463 Remove unnecessary g_assert() calls.
1465 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1467 * src/hildon-caption.c: (hildon_caption_expose),
1468 (hildon_caption_set_property), (hildon_caption_init),
1469 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1470 (hildon_caption_size_request), (hildon_caption_size_allocate),
1471 (hildon_caption_forall), (hildon_caption_set_separator),
1472 (hildon_caption_activate), (hildon_caption_set_child_expand),
1473 (hildon_caption_set_label_text),
1474 (hildon_caption_get_label_alignment):
1476 Remove unnecessary g_assert() calls.
1478 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1480 * src/hildon-banner.c
1481 (hildon_banner_map, hildon_banner_init): Make banner temporary
1482 before mapping it to avoid closing other temporary windows, but
1483 make it non-temporary afterwards to avoid being closed by other
1484 non-temporary windows.
1485 (-hildon_banner_client_event, hildon_banner_init):
1486 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1488 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1491 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1493 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1496 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1498 * src/hildon-remote-texture.c
1499 * src/hildon-remote-texture.h
1500 * src/hildon-remote-texture-private.h
1501 * examples/hildon-remote-texture-example.c:
1502 Updates/fixes to remote-texture and its example.
1504 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1506 Patch by Mox Soini (ext-mox.soini@nokia.com)
1508 * src/hildon-code-dialog.c: Update logical id.
1509 * src/hildon-set-password-dialog.c: Update logical id.
1511 Fixes: NB#100646 (Logical strings is shown for ok in set
1512 password,Password needed dialogs)
1514 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1517 * src/hildon-remote-texture.c
1518 * src/hildon-remote-texture.h
1519 * src/hildon-remote-texture-private.h
1521 Added remote texture widget (for Clutter shared memory textures)
1523 * examples/hildon-remote-texture-example.c
1524 * examples/Makefile.am
1525 Added example file for remote texture usage
1527 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1529 * configure.ac: post release version bump.
1530 * debian/changelog: version bump.
1532 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1537 * configure.ac: Bump version.
1538 * debian/changelog: Updates.
1540 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-date-selector.c (hildon_date_selector_init)
1543 (hildon_date_selector_constructor): Don't connect to the "changed"
1544 signal until the selector is completely constructed.
1546 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1548 * src/hildon-touch-selector.c: (_create_new_column),
1549 (hildon_touch_selector_append_column),
1550 (hildon_touch_selector_set_column_selection_mode),
1551 (hildon_touch_selector_set_active),
1552 (hildon_touch_selector_select_iter):
1553 Emit the HildonTouchSelector::changed signal every time selection
1554 is changed in any of the methods above. This behavior was already
1555 documented but not fully functional.
1557 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1558 selection is programmatically changed)
1560 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1562 * doc/hildon-sections.txt: Remove obsolete icon
1563 sizes from here as well.
1565 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1567 * examples/hildon-stackable-window-example.c (add_window): Remove
1570 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1572 * src/hildon-app-menu.c
1573 (hildon_app_menu_show): Check whether the parent window of a menu
1574 is topmost before popping it up.
1576 Fixes: NB#100468 (Application menu window is launched even when a
1577 new secondary-window/dialog is pending to be shown/realized.)
1579 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1581 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1584 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1586 Patch by Mox Soini (ext-mox.soini@nokia.com)
1588 * src/hildon-banner.c: (hildon_banner_show_animation):
1589 use stylus size instead of obsolete note size.
1590 * src/hildon-defines.h: Update icon sizes.
1592 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1594 * src/hildon-touch-selector-entry.c:
1595 (hildon_touch_selector_entry_init): Disable unsupported
1597 (hildon_touch_selector_entry_get_text_column): Emit a warning
1598 if an unsupported input modes is used and explicitile state
1599 these modes in the documentation.
1601 Fixes: NB#99802 (Hildon touch selector entry not working properly
1602 for some of the input modes)
1604 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1606 * src/hildon-pannable-area.c,
1607 (hildon_pannable_area_init): Added the changed signal handlers of
1610 Fixes: NB#100320 (HildonPannableArea does not listen to
1611 GtkAdjustment "change" signals)
1613 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1615 * doc/hildon-sections.txt
1616 * src/hildon-window-private.h
1617 * src/hildon-window.h
1618 * src/hildon-window.c (hildon_window_init)
1619 (hildon_window_realize, hildon_window_unrealize)
1620 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1621 (hildon_window_size_request, hildon_window_size_allocate)
1622 (hildon_window_forall, hildon_window_show_all)
1623 (hildon_window_destroy, +paint_edit_toolbar)
1624 (+hildon_window_set_edit_toolbar):
1625 New hildon_window_set_edit_toolbar() method, to add a
1626 HildonEditToolbar to a window without having to pack it manually.
1628 Reorganize hildon_window_size_allocate()
1630 * src/hildon-edit-toolbar.c: Update documentation.
1632 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1633 example to use the new API.
1635 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1637 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1639 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1640 Remove from stack before calling parent's hide.
1642 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1644 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1645 window is removed from the middle of the stack, update the
1646 transiency of the previous one.
1648 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1651 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1653 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1654 block/unblock the signal handler if it's not actually being used.
1655 Fixes some critical warnings.
1657 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1659 Based on a patch by Iván Gómez (igomez@igalia.com)
1661 * src/hildon-banner.c
1665 * src/hildon-pannable-area.c
1666 * src/hildon-picker-dialog.c
1667 * src/hildon-wizard-dialog.h
1668 * src/hildon-wizard-dialog.c: Documentation updates.
1670 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1671 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1673 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1675 * configure.ac: post release version bump.
1676 * debian/changelog: version bump.
1678 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1683 * configure.ac: Bump version.
1684 * debian/changelog: Updates.
1686 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1689 a stock icon nor change the relief of the back arrow.
1691 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1692 graphics from theme)
1694 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1696 * src/hildon-button.c (hildon_button_set_alignment): Use
1697 priv->alignment if the button has no child yet.
1699 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1701 * src/hildon-button.c: (hildon_button_init): Set the
1702 button style during initialization to give it the proper
1705 Fixes: NB#99713 (HildonButton value label color is wrong)
1707 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-touch-selector.c: Document
1710 hildon_touch_selector_center_on_selected()
1712 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1714 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1715 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1716 all menu items, but not the menu itself.
1717 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1718 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1719 items after adding them to the menu so keyboard accelerators work.
1720 (hildon_app_menu_show): Don't show the menu if it contains items
1721 but none of them are visible.
1723 * examples/hildon-app-menu-example.c (create_menu): Use
1724 gtk_widget_show_all() to show all menu items.
1726 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1728 * src/hildon-picker-dialog.c:
1729 (-_update_title_on_selector_changed_cb),
1730 (-_dialog_update_title): Removed.
1731 (_select_on_selector_changed_cb), (_on_dialog_response),
1732 (on_selector_columns_changed): Do not update the dialog title.
1733 (setup_interaction_mode): Do not connect to
1734 HildonTouchSelector::changed signal if there's a "done" button, as
1735 the dialog title doesn't need to be updated.
1737 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1740 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1742 Patch by Kristian Rietveld (kris@imendio.com)
1744 * src/hildon-touch-selector.c: (_create_new_column): Use new
1745 GtkTreeView::hildon-row-tapped signal to react to user interactions
1746 instead of ::changed.
1748 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1749 with some dynamic tree model)
1751 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1753 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1754 (+screen_size_changed, +label_size_request)
1755 (hildon_note_class_init): Make the Hildon information note have a
1756 minimum height, and make its text hvae a maximum width.
1758 Fixes: NB#98614 (Hildon information note (background) should have
1759 minimum height and maximum text width)
1761 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1763 * src/hildon-banner.h
1764 * src/hildon-banner.c (hildon_banner_show_information)
1765 (hildon_banner_show_informationf)
1766 (hildon_banner_show_information_with_markup): Update documentation
1767 to reflect that the icon_name parameter is not used anymore.
1768 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1769 Remove all code from these functions and mark them as deprecated.
1770 (hildon_banner_show_progress): Mark as deprecated.
1772 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1774 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1776 * src/hildon-pannable-area.c,
1777 (hildon_pannable_area_class_init),
1778 (tranparency_color),
1779 (hildon_pannable_draw_vscroll),
1780 (hildon_pannable_draw_hscroll),
1781 (hildon_pannable_area_expose_event): Added a new way to render the
1782 scrollbars of the pannable area avoiding using cairo at all. This
1783 way we improve the performance of the pannable area rendering. The
1784 cairo rendering procedure is still in the code, we can control
1785 which one to use changing the value of the define
1786 USE_CAIRO_SCROLLBARS.
1788 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1790 * configure.ac: post release version bump.
1791 * debian/changelog: version bump.
1793 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1798 * configure.ac: Bump version.
1799 * debian/changelog: Updates.
1801 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1804 banners instead of destroying them when they receive a button
1807 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1809 Reverted commit 34028, it was causing regressions, probably the
1810 topmost condition is not correct, we have to check it in more
1811 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1812 propagation of button press events)
1814 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1816 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1817 that the selection is not empty before attempting to retrieve the
1818 current ampm selection.
1820 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1822 * src/hildon-picker-button.c:
1823 (hildon_picker_button_on_dialog_response): Directly update the
1824 button contents when required instead of calling _selection_changed.
1826 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1828 * src/hildon-program.c (hildon_program_update_top_most): Update
1829 'is-topmost' property also when wm_hints is not set.
1831 Fixes: NB#98383 (is-topmost signal is not emitted when task
1832 switcher is clicked.)
1834 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1836 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1840 * src/hildon-animation-actor.c,
1841 * src/hildon-animation-actor.h: Added the animation actor class,
1842 this widget represents an animation actor for WM-assisted
1843 animation effects in the Hildon framework.
1845 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-window-stack-private.h
1848 * src/hildon-window-stack.c
1849 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1850 Avoid calling gtk_widget_show() again indirectly from
1851 hildon_stackable_window_show()
1853 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1855 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1858 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1861 (hildon_time_selector_init): Move the construction of the hours and
1862 ampm columns to the constructor to preserve the order the columns
1865 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1867 * src/hildon-picker-dialog.c:
1868 (hildon_picker_dialog_class_init): Connect a realize method.
1869 (+hildon_picker_dialog_realize): Setup the interaction mode here
1871 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1872 yet, do it during the realize instead.
1873 (_on_dialog_response):
1874 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1875 if the widget is not realized, to avoid the dialog response before it
1878 Avoid premature responses in the HildonPickerDialog that can cause it
1879 to be hidden before it's even shown.
1881 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1883 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1884 (on_selector_columns_changed), (requires_done_button),
1885 (+prepare_action_area), (setup_interaction_mode),
1886 (_hildon_picker_dialog_set_selector):
1888 Split the interaction mode setup into preparation of the
1889 action area (prepare_action_area()) and the connection of
1890 the signals in setup_interaction_mode() and update the code to
1893 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1895 * src/hildon-pannable-area.c,
1896 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1897 per second to 15, we will check if this is ok regarding
1900 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1902 * src/hildon-pannable-area.c,
1903 (hildon_pannable_axis_scroll): Avoid resize if we already have
1904 reached overshoot_max.
1906 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1908 * src/hildon-pannable-area.c,
1909 (hildon_pannable_area_init),
1910 (hildon_pannable_area_realize),
1911 (hildon_pannable_area_size_allocate),
1912 (hildon_pannable_area_map),
1913 (hildon_pannable_area_unmap),
1914 (hildon_pannable_draw_vscroll),
1915 (hildon_pannable_draw_hscroll),
1916 (hildon_pannable_area_expose_event),
1917 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1918 pannable are to avoid the expose events go to the window and
1919 redraw the window. We save this way that part of the stack and the
1920 paint_boxes. We had to change the positions of the elements when
1923 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1925 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1926 * src/hildon-color-chooser-dialog.c:
1927 (hildon_color_chooser_dialog_init):
1928 * src/hildon-font-selection-dialog.c:
1929 (hildon_font_selection_dialog_init),
1930 (hildon_font_selection_dialog_show_preview):
1931 * src/hildon-get-password-dialog.c:
1932 * src/hildon-login-dialog.c:
1933 * src/hildon-set-password-dialog.c:
1934 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1935 * src/hildon-time-picker.c: (hildon_time_picker_init):
1937 Remove obsolete logical string IDs and update to the appropriate ones.
1939 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1941 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1944 that happens if the window hasn't been realized yet.
1946 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1947 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1949 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1951 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1952 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1955 Fixes: NB#98537 (Device hangs in account settings dialog)
1957 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1959 * configure.ac: post release version bump.
1960 * debian/changelog: version bump
1962 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1967 * configure.ac: Bump version.
1968 * debian/changelog: Updates.
1970 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1972 Added a new function to the HildonTimeButton widget that allows to
1973 change the step of the minutes in the selector associated with the
1974 button: hildon_time_button_new_step
1976 * src/hildon-time-button.c,
1977 (hildon_time_button_init),
1978 (hildon_time_button_new),
1979 (hildon_time_button_new_step):
1980 * src/hildon-time-button.h: Added the new function and refactored
1982 * examples/hildon-time-button-example.c,
1983 (main): We have replaced the function without parameters with the
1984 function with the steps set to 5
1986 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1988 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1990 * src/hildon-time-selector.c,
1991 (hildon_time_selector_class_init),
1992 (hildon_time_selector_constructor),
1993 (hildon_time_selector_get_property),
1994 (hildon_time_selector_set_property),
1995 (_create_minutes_model),
1996 (hildon_time_selector_new_step),
1997 (hildon_time_selector_set_time),
1998 * src/hildon-time-selector.h: Added a new property to the
1999 HildonTimeSelector (minutes-step), we use that property to control
2000 the steps between the minutes in the list of the selector. We have
2001 added a new function to the API to create a widget changing the
2002 step: hildon_time_selector_new_step.
2004 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2006 * src/hildon-time-selector.c,
2007 (hildon_time_selector_class_init),
2008 (hildon_time_selector_constructor),
2009 (hildon_time_selector_init): Overrided the construct function when
2010 creating the time selector object. We have moved the minutes model
2011 handling code from the init to the new construction function:
2012 hildon_time_selector_constructor.
2014 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2016 * examples/hildon-date-button-example.c: (main): Use the new
2017 hildon_date_button_new_with_year_range() method in the example.
2018 * src/hildon-date-button.c:
2019 (+hildon_date_button_new_with_year_range): New public method
2020 to conveniently create a HildonDateButton with a custom year range
2021 in its HildonDateSelector.
2022 * src/hildon-date-button.h: Add the new public method definition.
2024 Fixes: NB#97908 (Not possible to change the year range in
2025 HildonDateSelector/HildonDateButton)
2027 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2029 * src/hildon-date-selector.c:
2030 (+hildon_date_selector_set_property),
2031 (+hildon_date_selector_get_property),
2032 (hildon_date_selector_class_init): Install new properties "min-year"
2033 and "max-year" to define boundaries for the year column.
2034 (_create_year_model): Use the boundary properties to populate the model.
2035 (+hildon_date_selector_new_with_year_range): New public method to
2036 create a HildonDateSelector with a user defined year range.
2037 (hildon_date_selector_select_current_date): Use the new boundaries to
2038 calculate the iterator of current year.
2039 * src/hildon-date-selector.h: Add the new public method definition.
2041 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2044 Install a constructor method.
2045 (+hildon_date_selector_construct_ui): construct the widget.
2046 (+hildon_date_selector_constructor): new constructor.
2047 (+hildon_date_selector_init): move out widget construction code to
2048 the new constructor.
2050 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2052 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2053 that there's actually a month or year selected before obtaining them.
2054 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2055 of the HildonTouchSelector::changed signal, as it was emitted on every
2056 single item selection.
2058 Fix some warnings and possible crashers due to the selection restoring.
2060 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2062 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2063 the signal handlers only after creating the dialog instead of on every
2066 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2068 * src/hildon-button.c (hildon_button_init)
2069 * src/hildon-check-button.c (hildon_check_button_init)
2070 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2071 focus when clicked by default.
2073 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2075 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2078 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2080 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2081 Alejandro G. Castro (alex@igalia.com)
2083 * src/hildon-picker-dialog.c:
2084 (hildon_picker_dialog_class_init): install new "center-on-show"
2086 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2087 (hildon_picker_dialog_set_property): add setter code for the new
2089 (hildon_picker_dialog_get_property): add getter code for the new
2091 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2092 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2095 Fixes: NB#92849 (Selected item is not always visible when
2096 HildonTouchSelector is shown)
2098 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2100 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2101 Alejandro G. Castro (alex@igalia.com)
2103 * src/hildon-touch-selector.c:
2104 (_create_new_column): Do not connect to the "realize" signal of the
2106 (hildon_touch_selector_append_column): center on the selected items
2107 when a new column is appended.
2108 (hildon_touch_selector_select_iter): Factor out the code to select a
2109 column to hildon_touch_selector_scroll_to().
2110 (+search_nearest_element): Method to retrieve the nearest selected
2111 element to the visible area of the pannable area in a column.
2112 (+on_realize_cb): scroll to the initially selected item.
2113 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2114 the pannable area is realized, otherwise delay this until it is.
2115 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2116 selected items of a given column.
2117 (+hildon_touch_selector_center_on_selected): Public method to center
2118 all columns on the nearest selected item.
2119 * src/hildon-touch-selector.h: Add definition for
2120 hildon_touch_selector_center_on_selected().
2122 Implement public API to ensure visibility of all selected items in
2123 a HildonTouchSelector.
2125 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2127 Fixed a problem in the fading when calling the scroll_to API, and
2128 improve scrollbar fading handling.
2130 * src/hildon-pannable-area.c,
2131 (hildon_pannable_area_grab_notify): avoid the timeout when the
2133 (hildon_pannable_area_button_press_cb),
2134 (hildon_pannable_area_motion_notify_cb): Code style changes.
2135 (hildon_pannable_area_button_release_cb): Review the conditions
2136 when releasing the mouse button to avoid unrequired fading
2138 (hildon_pannable_area_scroll_to): Do not calculate and set the
2139 velocity if the scroll is not required.
2141 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2143 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2144 Don't check whether the new selector is NULL: it cannot be.
2145 Hold a reference to the selector while doing the replacement.
2147 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2149 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2150 unnecessary size_request in a removed widget.
2152 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2154 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2155 an unnecessary reference tracking that was leaking.
2157 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2159 Added delayed motion notify event handling, this way we can
2160 discard redrawing if more than 25 events arrive per second.
2162 * src/hildon-pannable-area.c,
2163 (hildon_pannable_area_init): Initialized the new private atributes
2164 controlling this timeout
2165 (hildon_pannable_area_dispose): Remove the timeout that controls
2166 the motion notify events.
2167 (hildon_pannable_area_scroll): Added a condition to control the
2168 use of the acceleration.
2169 (hildon_pannable_area_motion_event_scroll_timeout),
2170 (hildon_pannable_area_motion_event_scroll): Added this two
2171 functions, they handle the motion notify events inside the
2173 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2174 to the scroll method with the new function.
2175 (hildon_pannable_area_button_release_cb): We have to remove the
2176 timeout handler and move to the last position if the last motion
2177 events were not handled.
2179 Fixes: NB#97028 (Pannable area updates on every motion event)
2181 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2183 * src/hildon-pannable-area.c,
2184 (hildon_pannable_area_get_topmost): Added a new parameter to
2185 filter the the windows that do not include those events. Added
2186 also a condition when finding the window to filter windows that do
2187 not ask for those events.
2188 (hildon_pannable_area_button_press_cb),
2189 (hildon_pannable_area_button_release_cb),
2190 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2191 topmost function, we have added the new parameter.
2193 Fixes: NB#97458 (Pannable area prevents propagation of button
2196 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2198 * src/hildon-pannable-area.c,
2199 (hildon_pannable_area_initial_effect): Added controls before
2200 launching the timeout and the idle functions.
2201 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2202 of the method, in some situations it can return with TRUE and 0 in
2204 (hildon_pannable_area_button_press_cb): We do not need to set
2205 DELAY for fading out here.
2207 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2209 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2211 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2212 post-cleaning if the selection is not NULL.
2214 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2216 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2217 all items before restoring the selection.
2219 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2221 * src/hildon-touch-selector.c:
2222 (+hildon_touch_selector_unselect_all):
2223 * src/hildon-touch-selector.h: New API to unselect all items in a
2224 column of the touch selector.
2226 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2228 * src/hildon-pannable-area.c,
2229 (hildon_pannable_area_redraw): Added a call to the refresh
2230 function inside the redraw because apparently in some cases the
2231 change in the adjustment does not imply a size allocate.
2233 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2234 despite the view not being scrollable)
2236 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2238 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2239 leak. Check for NULL before attempting to set the window title.
2241 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2243 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2244 whether to show or not the 'Done' button each time the dialog is
2245 shown, as it depends on the HildonTouchSelector selection mode.
2247 Fixes: NB#96226 (In multiple selection mode Done button is shown
2248 sometimes in listpicker)
2250 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2253 for the number of columns in the HildonTouchSelector more than once.
2255 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2257 * src/hildon-touch-selector.c: Minor documentation fixes.
2259 * src/hildon-picker-dialog.c (+_dialog_update_title)
2260 (_select_on_selector_changed_cb)
2261 (_update_title_on_selector_changed_cb)
2262 (on_selector_columns_changed): Update dialog title when there's no
2263 'Done' button and also when the number of columns in the selector
2267 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2268 (+_selection_changed, hildon_picker_button_on_dialog_response)
2269 (hildon_picker_button_selector_selection_changed)
2270 (+hildon_picker_button_selector_columns_changed)
2271 (hildon_picker_button_set_selector): Update button value and emit
2272 'value-changed' when the number of columns in the selector
2276 Fixes: NB#96225 (Dialog titles are not shown according to the
2277 values selected in the list picker)
2279 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2281 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2282 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2283 New "arrow-width" and "arrow-height" style properties to set the
2284 size of the arrow button.
2285 Set name of arrow button ("hildon-edit-toolbar-arrow").
2287 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2288 graphics from theme)
2290 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2292 * src/hildon-picker-button.c:
2293 (hildon_picker_button_selector_selection_changed): Use
2294 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2295 the dialog is present.
2297 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2298 the selection is accepted in the dialog)
2300 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2302 * src/hildon-color-chooser.h
2303 * src/hildon-color-chooser-dialog.h:
2304 Added G_BEGIN_DECLS and G_END_DECLS
2306 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2308 (_clean_current_selection): plug a leak in the list.
2310 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2312 * src/hildon-picker-dialog.c:
2313 (+free_path_list): Method to free a GList of GtkTreePaths.
2314 (_clean_current_selection), (_save_current_selection),
2315 (_restore_current_selection): Save the current selection in
2316 as a list of lists, to support multiple selection properly.
2318 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2320 patch by Claudio Saavedra (csaavedra@igalia.com)
2322 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2323 Store the press position.
2324 (+hildon_text_view_button_release_event): If the release position is
2325 close enough to the press position, move the cursor here. Otherwise,
2327 (hildon_text_view_class_init): Override GtkTextView press, release, and
2328 motion event handlers, disabling this way text selection through
2329 pointer interaction, and allowing the container widget to handle the
2332 Fixes: NB#95828 (HildonTextView functionality)
2334 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2336 Based on a patch by Iván Gómez (igomez@igalia.com)
2338 * src/hildon-button.[ch]
2339 * src/hildon-calendar.c
2340 * src/hildon-check-button.c
2341 * src/hildon-date-editor.c
2342 * src/hildon-date-selector.c
2343 * src/hildon-picker-button.c
2344 * src/hildon-time-editor.c
2345 * src/hildon-time-selector.c
2346 * src/hildon-touch-selector.[ch]:
2347 Documentation updates
2349 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2351 * src/hildon-pannable-area.c,
2352 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2353 threshold, it was required due to X events handling.
2355 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2357 * src/hildon-pannable-area.c,
2358 (hildon_pannable_area_grab_notify),
2359 (hildon_pannable_area_initial_effect),
2360 (hildon_pannable_area_button_press_cb),
2361 (hildon_pannable_area_button_release_cb),
2362 (hildon_pannable_area_scroll_cb),
2363 (hildon_pannable_area_scroll_to): Review the timeout management of
2364 the scrollbar, the frecuency was incorrectly set.
2366 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2368 * src/hildon-picker-button.c:
2369 (+hildon_picker_button_on_dialog_response),
2370 (hildon_picker_button_clicked): Present the dialog instead of
2371 running it with gtk_dialog_run().
2373 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2376 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2378 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2379 (hildon_app_menu_finalize): When a window is hidden it doesn't
2380 emit notify::is-topmost, so make sure than the menu also
2381 disappears in that case.
2382 (parent_window_topmost_notify): Renamed from parent_window_hidden
2384 Fixes: NB#94460 (stackable window's menu is not closed when its
2387 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-touch-selector-entry.c:
2390 (+hildon_touch_selector_entry_set_input_mode),
2391 (+hildon_touch_selector_entry_get_input_mode):
2392 * src/hildon-touch-selector-entry.h: New methods to access the input
2393 mode in the selector's entry.
2395 Fixes: NB#93410 (API required for setting IM mode in
2396 HildonTouchSelectorEntry)
2398 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2400 * configure.ac: post release version bump.
2401 * debian/changelog: version bump
2403 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2408 * configure.ac: Bump version.
2409 * debian/changelog: Updates.
2411 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2413 * src/hildon-touch-selector.c:
2414 (_hildon_touch_selector_has_multiple_selection): No need
2415 to initialize the variables here.
2417 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2419 * src/hildon-note-private.h
2420 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2421 (hildon_note_finalize, hildon_note_rebuild): Close information
2422 notes when they receive a button press.
2424 Fixes: NB#89890 (Information notes does not get disappeared after
2427 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2429 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2430 mark from the wizard title, as it's not really necessary. Also,
2431 do not display the page title if not set.
2433 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2435 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2436 (parent_window_hidden): Use the window's "is-topmost" property to
2437 detect when to hide the menu.
2439 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2441 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2442 (hildon_app_menu_finalize): If the parent window of the menu is
2443 hidden, hide the menu too.
2445 Fixes: NB#94460 (stackable window's menu is not closed when its
2448 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2451 * debian/libhildon1-examples.install
2453 * examples/Makefile.am:
2454 Use dh_install to install all examples.
2455 Use DEB_SRCDIR instead of defining SOURCE_DIR
2457 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2459 * configure.ac: post release version bump.
2460 * debian/changelog: version bump
2462 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2467 * configure.ac: bump version
2468 * debian/changelog: updates
2469 * debian/control: bump gtk+ dependency
2471 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2473 patch by Christian Dywan (christian@imendio.com)
2475 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2476 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2478 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2480 * src/hildon-check-button.c (hildon_check_button_init)
2481 (hildon_check_button_class_init, hildon_check_button_style_set)
2482 (hildon_check_button_apply_style):
2483 New "checkbox-size" style property.
2485 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2486 larger / configurable size)
2488 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2490 * configure.ac: post release version bump.
2491 * debian/changelog: version bump
2493 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2498 * configure.ac: bump version
2499 * debian/changelog: updates
2501 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2503 * doc/hildon-sections.txt
2504 * src/hildon-pannable-area.c
2505 * src/hildon-program.c
2506 * src/hildon-time-editor.c
2507 * src/hildon-touch-selector-entry.c:
2509 More documentation updates.
2511 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2513 * doc/hildon-sections.txt
2514 * src/hildon-caption.c
2515 * src/hildon-code-dialog.c
2516 * src/hildon-color-button.c
2517 * src/hildon-controlbar.c
2518 * src/hildon-date-editor.c
2519 * src/hildon-date-selector.c
2520 * src/hildon-edit-toolbar.c
2521 * src/hildon-find-toolbar.c
2522 * src/hildon-font-selection-dialog.c
2524 * src/hildon-program.c
2525 * src/hildon-range-editor.c
2526 * src/hildon-seekbar.c
2527 * src/hildon-time-editor.c
2528 * src/hildon-time-selector.c
2529 * src/hildon-volumebar-range.c
2530 * src/hildon-volumebar.c
2531 * src/hildon-vvolumebar.c
2532 * src/hildon-weekday-picker.c
2533 * src/hildon-window.c
2534 * src/hildon-wizard-dialog.c:
2536 Lots of documentation fixes.
2538 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2540 Patch contributed by Iván Gómez (igomez@igalia.com)
2542 * src/hildon-check-button.c:
2543 * src/hildon-date-button.c:
2544 * src/hildon-date-selector.c:
2545 * src/hildon-dialog.c:
2546 * src/hildon-edit-toolbar.c:
2547 * src/hildon-entry.c:
2548 * src/hildon-picker-button.c:
2549 * src/hildon-program.c:
2550 * src/hildon-text-view.c:
2551 * src/hildon-time-button.c:
2552 * src/hildon-touch-selector-entry.c:
2553 * src/hildon-window-stack.c:
2555 Add more "since" tags to the new API.
2557 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2559 * doc/hildon-sections.txt: Add below method.
2560 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2561 version for the hildonized scale.
2562 * src/hildon-gtk.h: Add the definition.
2564 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2566 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2568 * doc/hildon-sections.txt: Add missing entries for new methods.
2570 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2572 Added API to pannable are in order to get its adjustments. We
2573 added two properties to manage the values we had in the private
2576 * src/hildon-pannable-area.c:
2577 (hildon_pannable_area_class_init): Added hadjustment and
2578 vadjustment properties in order to expose horizontal and vertical
2580 (hildon_pannable_area_get_property),
2581 (hildon_pannable_area_set_property): Added code to handle the new
2583 (hildon_pannable_area_get_hadjustment),
2584 (hildon_pannable_area_get_vadjustment): API functions to get the
2586 * src/hildon-pannable-area.h:
2587 (hildon_pannable_area_get_hadjustment),
2588 (hildon_pannable_area_get_vadjustment): API functions to get the
2591 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2593 Fixed some leaks, after valgrinding.
2595 * src/hildon-touch-selector.c:
2596 (_default_print_func): Fixed a leak.
2597 (hildon_touch_selector_append_column): Fixed a leak.
2598 * src/hildon-date-button.c:
2599 (hildon_date_button_init): Fixed a leak.
2600 * src/hildon-date-selector.c
2601 (hildon_date_selector_finalize): Fixed a leak.
2603 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2605 Based on a patch by Christian Dywan (christian@imendio.com)
2607 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2609 * src/hildon-gtk.h: Add definition.
2611 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2613 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2615 * src/hildon-picker-button.c: (hildon_picker_button_init),
2616 (hildon_picker_button_new): Set the HildonButton::style property
2617 in the init method, to propagate the value to the derived classes.
2619 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2621 * src/hildon-button.c: (hildon_button_class_init): Do not make
2622 the "style" property a construct property.
2624 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2626 * src/hildon-wizard-dialog.h
2627 * src/hildon-wizard-dialog.c
2628 (hildon_wizard_dialog_set_forward_page_func)
2629 * src/hildon-pannable-area.h
2630 * src/hildon-pannable-area.c
2631 (hildon_pannable_area_set_size_request_policy):
2632 Documentation fixes.
2634 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2636 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2638 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2640 * doc/hildon-sections.txt: Added sections file.
2642 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2645 * src/*.[ch]: Updates.
2647 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2649 * examples/hildon-progress-indicator-example.c: new file
2650 * examples/Makefile.am: include the new example program
2652 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2654 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2656 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2658 * configure.ac: post release version bump
2659 * debian/changelog: version bump
2661 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2666 * configure.ac: bump version
2667 * debian/changelog: updates
2668 * debian/control: bump gtk+ dependency
2670 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-dialog.c: Mark as deprecated.
2673 * src/hildon-dialog.h: Mark as deprecated.
2674 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2675 from HildonDialog and still work, even if
2676 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2677 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2679 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2680 maemo changes) instead)
2682 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2684 * src/hildon-pannable_area.h:
2685 * src/hildon-pannable_area.c:
2686 (hildon_pannable_area_class_init),
2687 (hildon_pannable_area_set_property),
2688 (hildon_pannable_area_get_property),
2689 (hildon_pannable_area_size_request),
2690 (hildon_pannable_area_get_size_request_policy),
2691 (hildon_pannable_area_set_size_request_policy): Added new API
2692 allowing applications to control the request policy. Now they can
2693 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2694 children allocation (HILDON_MOVEMENT_CHILDREN).
2696 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2700 (hildon_gtk_tree_view_set_ui_mode)
2701 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2702 mode of treeviews and iconviews.
2704 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2706 * src/hildon-touch-selector-entry.c:
2707 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2708 of a GtkEntry to get proper theming.
2710 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2711 widget, not GtkEntry)
2713 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2715 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2716 no HildonWizardDialogPageFunc.
2718 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2720 Patch contributed by Iván Gómez (igomez@igalia.com)
2722 * src/hildon-app-menu.c:
2723 * src/hildon-button.c:
2724 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2725 * src/hildon-stackable-window.c:
2726 * src/hildon-time-selector.c:
2727 * src/hildon-touch-selector.c:
2728 * src/hildon-window.c:
2730 Add more "since" tags to the new API in hildon 2.2.
2732 2008-12-05 Tim Janik <timj@imendio.com>
2734 Patch contributed by Christian Dywan (christian@imendio.com)
2736 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2737 HildonSizeType, which are supplied by Gtk+ now.
2739 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2741 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2742 (with maemo changes) instead)
2744 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2746 Patch contributed by Iván Gómez (igomez@igalia.com)
2748 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2751 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2753 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2754 (some_page_func), (main): Update the example to use a
2755 HildonWizardDialogPageFunc function.
2757 * src/hildon-wizard-dialog-private.h: Add private data for
2758 the HildonWizardDialogPageFunc function usage.
2760 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2761 (destroy), (hildon_wizard_dialog_init), (response),
2762 (hildon_wizard_dialog_set_forward_page_func):
2763 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2764 that applications can use to stop a HildonWizardDialog to jump to
2767 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2770 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2772 * src/hildon-program.h
2773 * src/hildon-program-private.h
2774 * src/hildon-program.c (hildon_program_init)
2775 (hildon_program_set_common_app_menu)
2776 (hildon_program_get_common_app_menu):
2777 New API for setting a common HildonAppMenu for all
2778 HildonStackableWindows registered with the HildonProgram.
2780 * src/hildon-stackable-window.c
2781 (hildon_stackable_window_toggle_menu):
2782 Use the common HildonAppMenu if a window doesn't have a specific
2785 * src/hildon-app-menu-private.h
2786 * src/hildon-app-menu.c
2787 (hildon_app_menu_get_parent_window):
2788 Function to obtain the window a HildonAppMenu is attached to.
2789 (hildon_app_menu_set_parent_window):
2790 Hide the menu if the parent window is set to NULL.
2792 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2794 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2795 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2796 search widget to popup.
2798 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2800 * configure.ac: post release version bump
2801 * debian/changelog: version bump
2803 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2808 * configure.ac: bump version
2809 * debian/changelog: updates
2811 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2813 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2815 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2816 (hildon_window_stack_window_realized)
2817 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2818 Set the leader GdkWindow when a window is stacked and realized,
2819 unset it when it's unstacked.
2820 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2822 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2824 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-stackable-window.h
2827 * src/hildon-window-stack.h:
2828 Protect definition of HildonWindowStack using the preprocessor.
2830 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2832 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2833 Fix warning if all menu items are hidden.
2835 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2837 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2839 * src/hildon-controlbar.c:
2840 * src/hildon-hvolumebar.c:
2841 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2842 Multiple scale size defines updates.
2844 Fixes: NB#94322 (Scale Updates)
2846 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2848 * examples/hildon-app-menu-example.c (create_menu)
2849 Show items after adding them to the menu, as in the future the
2850 menu will no longer call gtk_widget_show() on the added items.
2852 * src/hildon-app-menu.c:
2853 Update example as explained above.
2855 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-app-menu.c
2858 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2859 Make sure that all menu items have finger height.
2861 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2863 * src/hildon-picker-dialog.c:
2864 (_on_dialog_response), (_save_current_selection),
2865 (_restore_current_selection), (_clean_current_selection),
2866 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2867 Defined new functions in order to save the current internal selector
2868 selection previous open the dialog, in case that the use cancel the
2869 interaction, so the widget restores the previous selection.
2871 Fixes: NB#92032 (In calendar application, date values in 'new event'
2874 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2876 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-button.c: Add a reference to the button examples in
2879 hildon-button-example.c
2881 * examples/hildon-button-example.c: Added examples of the most
2882 common button layouts.
2884 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2886 * src/hildon-app-menu.c (hildon_app_menu_show)
2887 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2889 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2891 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2893 * src/hildon-picker-dialog.c:
2894 (hildon_picker_dialog_init): Initialize the signal id for
2895 HildonTouchSelector::columns-changed.
2896 (+on_selector_columns_changed): Set up the interaction mode everytime a
2897 column is added or removed from the HildonTouchSelector.
2898 (_hildon_picker_dialog_set_selector): Connect to
2899 HildonTouchSelector::columns-changed and keep track of it.
2901 Make sure to update the interaction mode of the dialog everytime a
2902 column is added or removed in the HildonTouchSelector.
2904 Fixes: NB#93228 (Done button is not shown always in listpicker)
2906 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2908 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2909 a new ::columns-changed signal.
2910 (hildon_touch_selector_append_column): Emit ::columns-changed.
2911 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2913 Add a ::columns-changed signal, emitted when the number of columns in a
2914 HildonTouchSelector changes.
2916 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2918 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2919 (_hildon_picker_dialog_set_selector): Factor out the code
2920 to set up the dialog interaction mode.
2922 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2924 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2925 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2926 to signal_changed_id.
2928 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2930 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2933 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2935 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2936 Updated the logical ids related to ampm format, as now it is required to
2937 show it correctly localized even on languages with no default
2938 abbreviations for am or pm
2939 (_check_am_pm_format): check correctly the 24h format gconf property
2941 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2943 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-button.c: Documentation updates.
2947 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2950 * src/hildon-caption.c: (hildon_caption_class_init):
2951 * src/hildon-color-button.c: (hildon_color_button_class_init):
2952 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2953 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2954 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2955 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2957 Remove deprecated GTK+ marshalers and replace them with the ones
2958 provided by GLib, for those available, add a marshaler for
2959 BOOLEAN:VOID, which is not available in GLib, and use it.
2961 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2963 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2964 the text from the previous column if there is no
2965 HildonTouchSelectorColumn::text-property set.
2967 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2969 * src/hildon-button.h
2970 * src/hildon-button.c (hildon_button_set_property)
2971 (hildon_button_get_property, hildon_button_class_init)
2972 (hildon_button_set_style, hildon_button_get_style):
2973 New "style" property to change the visual appearance of the
2976 * src/hildon-picker-button.c (hildon_picker_button_new):
2977 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2979 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2980 HildonButton look like PickerButton)
2982 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2984 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2985 column while building the default string.
2987 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2989 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2990 scroll indicator by default.
2992 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2994 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-main.c: Fix the documentation for hildon_init()
2998 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3000 * doc/hildon-docs.sgml
3004 * src/hildon-window-stack-private.h
3005 * src/hildon-window-stack.h
3006 * src/hildon-window-stack.c:
3007 New HildonWindowStack object, that adds support for multiple
3008 stacks of windows per process.
3010 * src/hildon-stackable-window-private.h
3011 * src/hildon-stackable-window.h
3012 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3013 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3014 (hildon_stackable_window_show, hildon_stackable_window_hide)
3015 (hildon_stackable_window_class_init)
3016 (hildon_stackable_window_init):
3017 Use HildonWindowStack for stack management.
3019 * src/hildon-program.c (hildon_program_pop_window_stack)
3020 (hildon_program_peek_window_stack)
3021 (hildon_program_go_to_root_window):
3022 Add a fallback implementation to the deprecated functions using
3025 * examples/hildon-stackable-window-example.c:
3026 Use the new HildonWindowStack API.
3028 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3030 * src/hildon-stackable-window-private.h
3031 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3032 (hildon_stackable_window_hide, hildon_stackable_window_init):
3033 Remove all window stack management.
3035 * src/hildon-program-private.h
3036 * src/hildon-program.h
3037 * src/hildon-program.c (hildon_program_init)
3038 (hildon_program_pop_window_stack)
3039 (hildon_program_peek_window_stack)
3040 (hildon_program_go_to_root_window):
3041 Remove all window stack management and mark functions as
3044 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3046 * src/hildon-app-menu.c (hildon_app_menu_realize):
3047 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3049 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3051 * configure.ac: post release version bump
3052 * debian/changelog: version bump
3054 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3059 * configure.ac: bump version
3060 * debian/changelog: updates
3062 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3064 Based on initial code by Christian Dywan (christian@imendio.com)
3066 * doc/hildon-docs.sgml: Add section for hildon-main.
3067 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3068 * src/Makefile.am: Add new hildon-main.[ch]
3069 * src/hildon-defines.h: Update the icon sizes.
3070 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3071 new library initialization files and register icon sizes.
3072 * src/hildon-main.h: New declarations.
3073 * src/hildon.h: Include hildon-main.h
3075 Add new initialization functions to the library. These methods
3076 will register the hildon specific icon sizes and can be used in the
3077 future for other hildon specific bits.
3079 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3081 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3083 * src/hildon-window.c: (hildon_window_realize),
3084 (hildon_window_notify), (-hildon_window_update_title): Do not set
3085 the application name in the window title.
3087 Fixes: NB#89754 (Applications shouldn't display their names in the
3090 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3092 * src/hildon-note-private.h:
3093 * src/hildon-note.c: (hildon_note_set_property),
3094 (hildon_note_get_property), (hildon_note_class_init),
3095 (hildon_note_init), (hildon_note_finalize),
3096 (hildon_note_new_confirmation_with_icon_name),
3097 (hildon_note_new_information_with_icon_name):
3099 No need to mark as deprecated the actual code. Revert
3100 to avoid missing symbols in widgets using deprecated API.
3102 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3104 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3106 * src/hildon-volumebar.h
3107 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3108 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3110 * src/hildon-helper.h
3111 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3112 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3114 * examples/Makefile.am:
3115 Deprecate hildon-insensitive-example
3117 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3119 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3121 * examples/hildon-pannable-area-buttons-scroll-example.c:
3122 Make all buttons finger height
3124 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3126 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3128 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3129 update the day model only if it is really required, and to avoid the
3130 full-reconstruction aproach. Now it only add or remove the required days.
3132 The purpose of this is avoid superfluous HildonTouchSelector::changed
3135 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3136 with strange parameters)
3138 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3140 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3142 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3143 the WINDOW_TYPE property.
3145 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3147 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3150 Fix dependency to allow parallel compilation with make -jX
3152 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3154 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3155 color frame and some minor tweaks to make it more consistent with
3158 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3159 highlighted but not visible)
3161 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3163 * examples/Makefile.am: Fixed typo in the Makefile.am.
3165 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3167 Reviewed the use of MAEMO_GTK define, now we add the define in the
3168 compilation line, and we also add it to the pc file.
3170 * configure.ac: Added MAEMO_GTK define to the compilation command
3171 and removed it from the config.h.
3173 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3174 do not have to take care about this define if the library was
3178 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3180 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3182 * examples/Makefile.am,
3183 * examples/hildon-pannable-area-buttons-scroll-example.c,
3184 * examples/hildon-pannable-area-gesture-signals-example.c,
3185 * examples/hildon-pannable-area-scroll-jump-example.c,
3186 * examples/hildon-pannable-area-tree-view-example.c:
3187 Renamed the pannable area examples, now they have more meaningful
3190 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3192 * src/hildon-touch-selector.c:
3193 (hildon_touch_selector_set_column_selection_mode): Used of
3194 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3195 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3196 to avoid re-seting the same selection mode.
3198 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3199 breaks HildonPickerDialog)
3201 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3203 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3204 conditional in the Makefile.am
3206 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3208 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3209 Remove unused methods.
3211 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3213 * src/hildon-button.c (hildon_button_init):
3214 Make button images center-aligned by default
3216 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3219 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3220 activated, we have to think about how to deal with both defines
3221 MAEMO_GTK and MAEMO_CHANGES.
3223 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3225 * examples/hildon-app-menu-example.c (create_menu): Make all
3226 buttons finger size.
3228 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3230 Fixed the compilation without maemo gtk adding ifdefs with
3231 MAEMO_GTK define to the code, we have to check this version more
3234 * examples/Makefile.am: Added control to avoid some examples that
3235 just make sense with maemo gtk.
3238 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3239 hildon modes with the define.
3241 * examples/hildon-edit-toolbar-example.c,
3242 (create_icon_view): Create the icon view without hildon-gtk
3243 helpers if we are not using maemo gtk.
3245 * src/hildon-touch-selector.c,
3246 (_create_new_column): Create the treeview without hildon-gtk
3247 helpers if we are not using maemo gtk.
3249 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3251 * src/hildon-pnnable-area.c,
3252 (hildon_pannable_area_dispose),
3253 (hildon_pannable_area_button_press_cb),
3254 (hildon_pannable_area_child_mapped),
3255 (hildon_pannable_area_add),
3256 (hildon_pannable_area_remove): Added code to control the position
3257 of the event_window when adding and removing children from the
3258 pannable. We have to raise the event window when the child is
3261 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3262 selection mode using custom widget inside pannable)
3264 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3266 * configure.ac: post release version bump
3267 * debian/changelog: version bump
3269 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3274 * configure.ac: bump version
3275 * debian/changelog: updates
3277 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3279 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3280 search mode, in order to avoid lose the focus on the treeview when
3281 a hw key (like enter) is pressed.
3283 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3284 in HildonDateSelector dialog)
3286 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3288 * debian/rules: Added --enable-maintainer-mode
3289 * Makefile.am: Added ACLOCAL_AMFLAGS
3291 This allows to properly regenerate the Makefiles if you modify the
3292 configure.ac or any Makefile.am.
3294 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3296 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3297 properties, not needed at all.
3299 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3301 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3303 * src/hildon-note.c: (hildon_note_set_property),
3304 (hildon_note_get_property), (hildon_note_class_init),
3305 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3306 (hildon_note_new_confirmation_add_buttons): Remove icons.
3307 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3308 (hildon_note_new_information_with_icon_name): Deprecate.
3309 (hildon_note_new_confirmation): Act directly, without calling
3310 the deprecated constructor.
3311 (hildon_note_new_information): Act directly, without calling
3312 the deprecated constructor.
3313 * src/hildon-note.h: Mark deprecate methods as such.
3314 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3315 not run tests on the deprecated methods if built with deprecation
3318 Fixes: NB#91688 (Never show icons in information notes/confirmation
3321 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3323 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3324 (hildon_app_menu_key_press): Remove leftover usage of the
3325 private structure in HildonAppMenu struct.
3326 * src/hildon-app-menu.h: Remove leftover private structure
3327 from the HildonAppMenu struct.
3329 Fixes a crasher when using the HildonAppMenu.
3331 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3333 * src/hildon-picker-dialog.c: Use appropriate logical id
3334 for the default "Done" text.
3336 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3338 * configure.ac: post release version bump
3339 * debian/changelog: version bump
3341 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3343 Modified the way to scroll to the current selection just when the touch
3344 selector is shown on the screen, avoiding a g_idle. Added too a property
3345 to configure this behaviour. See hildon_pannable_area_jump_to_child
3346 documentation for more information.
3348 * src/hildon-touch-selector.c
3349 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3350 Added 'initial-scroll' property
3351 (hildon_touch_selector_set_property): Added
3352 (hildon_touch_selector_map): Removed as not required anymore
3353 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3354 only a concrete column, instead of iterate along all the columns
3356 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3361 * configure.ac: bump version
3362 * debian/changelog: updates
3364 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3366 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3367 compilation time warnings.
3369 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3371 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3372 the default value for HildonPannableArea::mov-mode to
3373 HILDON_PANNABLE_AREA_MODE_VERT.
3375 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3377 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3379 Reverting following commit:
3381 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3383 * src/hildon-app-menu-private.h
3384 * src/hildon-app-menu.[ch]
3385 * src/hildon-button.[ch]
3386 * src/hildon-check-button.[ch]
3387 * src/hildon-entry.[ch]
3388 * src/hildon-pannable-area.[ch]
3389 * src/hildon-text-view.[ch]:
3390 Added private field to the object's structure.
3392 because it causes an ABI breakage. We will need to introduce these
3393 changes later at some point. See NB#91636 for an extensive
3394 explanation and status.
3396 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3398 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3400 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3401 remove special cases that are no longer necessary.
3403 Fixes: NB#91016 (Change toolbar sizes, simplification)
3405 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3407 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3408 is shown in the cancel note.
3410 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3412 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3413 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3414 (hildon_seekbar_init): Remove steppers, remove expose event.
3415 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3417 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3419 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3421 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3422 label font to "SmallSystemFont" for vertically arranged buttons.
3424 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3427 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3429 * src/hildon-check-button.c
3430 (hildon_check_button_set_active, hildon_check_button_clicked):
3431 Don't access private parts directly, use getters instead.
3433 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3435 * src/hildon-check-button.c (hildon_check_button_new):
3436 Align the contents of the check button to the left.
3438 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3440 * src/hildon-pannable-area.c,
3441 (hildon_pannable_area_scroll_to),
3442 (hildon_pannable_area_jump_to),
3443 (hildon_pannable_area_scroll_to_child),
3444 (hildon_pannable_area_jump_to_child): Replace the mapped
3445 precondition of these functions with the realized, it is the
3446 correct state of the widget in this case. Changed the
3447 documentation according to this modification.
3449 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3451 Added a new EXTRA_CFLAGS option to add the deprecated define to
3452 the compilation command. This way we can avoid using the define in
3453 the documentation compilation.
3455 * configure.ac: Defined EXTRA_CFLAGS.
3457 * examples/Makefile.am:
3459 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3461 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3463 * src/hildon-picker-dialog.c:
3464 Defined a utility macro with the desired touch selector height
3465 Removed currently unused separator, and title_label variables from
3467 (hildon_picker_dialog_init): Removed code related to the creation
3468 of unused private variables title_label and separator.
3469 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3470 to ensure correct visualization of the touch selector inside the dialog.
3471 * src/hildon-touch-selector.c
3472 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3473 ensure a concrete height of the widget.
3475 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3478 * tests/Makefile.am:
3480 Remove spurious whitespaces.
3482 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3484 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3485 compilation warning after the cancel button removal.
3487 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3489 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3491 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3492 Makefile.am, that way we can choose not to compile some examples
3493 and tests of the deprecated widgets.
3495 * examples/Makefile.am: Divided the sources in deprecated and
3498 * src/Makefile.am: Added undef statement of the deprecated
3499 symbol to the enums file generation process.
3501 * src/hildon-color-chooser-dialog.c
3502 * src/hildon-color-chooser-dialog.h
3503 * src/hildon-color-button.c
3504 * src/hildon-color-button.h
3505 * src/hildon-color-chooser.c
3506 * src/hildon-color-chooser.h
3507 * src/hildon-controlbar.c
3508 * src/hildon-controlbar.h
3509 * src/hildon-date-editor.c
3510 * src/hildon-date-editor.h
3511 * src/hildon-hvolumebar.c
3512 * src/hildon-hvolumebar.h
3513 * src/hildon-private.c
3514 * src/hildon-private.h
3515 * src/hildon-range-editor.c
3516 * src/hildon-range-editor.h
3517 * src/hildon-seekbar.c
3518 * src/hildon-seekbar.h
3519 * src/hildon-time-editor.c
3520 * src/hildon-time-editor.h
3521 * src/hildon-time-picker.c
3522 * src/hildon-time-picker.h
3523 * src/hildon-volumebar.c
3524 * src/hildon-volumebar.h
3525 * src/hildon-vvolumebar.c
3526 * src/hildon-vvolumebar.h
3527 * src/hildon-bread-crumb-trail.h
3528 * src/hildon-bread-crumb-trail.c
3529 * src/hildon-calendar-popup.c
3530 * src/hildon-calendar-popup.h
3531 * src/hildon-weekday-picker.c:
3532 * src/hildon-weekday-picker.h:
3533 * src/hildon-bread-crumb-widget.c:
3534 * src/hildon-bread-crumb-widget.h:
3535 * src/hildon-bread-crumb.c:
3536 * src/hildon-bread-crumb.h:
3537 * src/hildon-calendar.c:
3538 * src/hildon-calendar.h:
3539 * src/hildon-caption.c:
3540 * src/hildon-code-dialog.c:
3541 * src/hildon-code-dialog.h:
3542 * src/hildon-font-selection-dialog.c:
3543 * src/hildon-font-selection-dialog.h:
3544 * src/hildon-get-password-dialog.c:
3545 * src/hildon-get-password-dialog.h:
3546 * src/hildon-login-dialog.c:
3547 * src/hildon-login-dialog.h:
3548 * src/hildon-number-editor.c:
3549 * src/hildon-number-editor.h:
3550 * src/hildon-set-password-dialog.c:
3551 * src/hildon-set-password-dialog.h:
3552 * src/hildon-sort-dialog.c:
3553 * src/hildon-sort-dialog.h: This is the list of deprecated
3556 * src/hildon-touch-selector.c:
3557 * src/hildon-window.c: Added undef statement to avoid compilation
3560 * tests/Makefile.am: Divided the sources in deprecated and
3563 * tests/check_test.c,
3564 (configure_tests): Marked the deprecated code that was adding
3565 suites with deprecated tests.
3567 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3569 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3571 * src/hildon-touch-selector.c: (_default_print_func): Do not
3572 duplicate a string returned by gtk_tree_model_get(), it is already
3575 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3578 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3580 * src/hildon-pannable-area.c
3581 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3582 method, it had problems when adding a widget with viewport the
3583 second time. Now checks if it already has a viewport and uses it.
3585 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3588 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3590 * src/hildon-pannable-area.c,
3591 (hildon_pannable_area_scroll_to),
3592 (hildon_pannable_area_jump_to),
3593 (hildon_pannable_area_scroll_to_child),
3594 (hildon_pannable_area_jump_to_child): Added a precondition to the
3595 scroll and jump to functions: the widget must be mapped before we
3596 can safely call these functions. We have also added documentation
3597 to the functions to explain how to use them in this situation.
3600 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3602 Reviewed the threading handling of the pannable widget, we have
3603 used the gdk_threads_add_timeout function instead of the usual
3604 glib handlers. This avoids some problems with the threads.
3606 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3607 (hildon_pannable_area_initial_effect),
3608 (hildon_pannable_area_scroll_indicator_fade),
3609 (hildon_pannable_area_button_press_cb),
3610 (hildon_pannable_area_timeout),
3611 (hildon_pannable_area_motion_notify_cb),
3612 (hildon_pannable_area_button_release_cb),
3613 (hildon_pannable_area_scroll_cb),
3614 (hildon_pannable_area_scroll_to): Removed the
3615 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3616 gdk_threads_add_timeout.
3618 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3620 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3625 * configure.ac: bump version
3626 * debian/changelog: updates
3628 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3630 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3631 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3632 * src/hildon-color-chooser-dialog.c:
3633 (hildon_color_chooser_dialog_init):
3634 * src/hildon-font-selection-dialog.c:
3635 (hildon_font_selection_dialog_init):
3636 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3638 Remove all cancel/close-like dialogs, as these are not going to be
3641 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3643 * src/hildon-note.c: (hildon_note_rebuild),
3644 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3647 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3649 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3651 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3652 sure all buttons are shown, even the Cancel/Close-like ones.
3654 Fixes: NB#90861 (Custom Confirmation dialogs should be
3655 protected from cancel button removal)
3657 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3659 * debian/control: Change libhildon1-examples dependency from libhildon1
3661 * debian/libhildon1-examples.install
3663 * Makefile.am: Modified the final install directory for the examples on
3664 package libhildon1-examples
3665 * Makefile.static: Update clean target in order to remove all the binary
3668 Changes suggested by Claudio after review new libhildon1-examples package
3670 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3672 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3673 * src/hildon-touch-selector.c: Ditto.
3675 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3677 * debian/control: Added new package libhildon1-examples, in order to pack
3678 the current hildon examples as documentation
3679 * debian/rules: Not to compress .c files, modify some includes on the
3680 examples (as normally are compiled locally, but when installed it will
3681 require to include the installed libhildon1 library), and rename
3683 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3684 install all the example files on the new example package
3685 * examples/Makefile.static: Added static makefile that can be used to
3686 compile the examples, once installed the new example package
3687 * examples: Most of the examples were modified in order to grant that
3688 all use only '#include "hildon.h"', in order to be easy to prepare
3689 it on the example package
3691 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3694 * debian/libhildon1-dev.install
3695 * debian/libhildon1-doc.install:
3696 Move all gtk-doc files to a separate libhildon1-doc package.
3698 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3700 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3702 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3704 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3706 * debian/rules: Fixed a error in order to avoid unnecessary calls
3707 to autogen.sh on package building
3709 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3711 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3713 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3715 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3718 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3720 * src/hildon-picker-button.c
3721 (hildon_picker_button_finalize):
3722 Free priv->done_button_text
3724 * src/hildon-time-button.c
3725 (hildon_time_button_set_time)
3726 * src/hildon-picker-button.c
3727 (hildon_picker_button_clicked)
3728 (hildon_picker_button_selector_selection_changed)
3729 (hildon_picker_button_set_selector)
3730 * src/hildon-date-button.c
3731 (hildon_date_button_set_date):
3732 Free strings returned by hildon_touch_selector_get_current_text()
3734 * src/hildon-button.c (hildon_button_construct_child):
3735 Fix leaks in priv->image and priv->label_box
3737 Fixes: NB#90535 (Memory leak in picker button)
3739 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3741 * src/hildon-button.c: (hildon_button_get_property): Do not access
3742 private elements directly, use getters instead.
3744 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3746 * src/hildon-app-menu-private.h
3747 * src/hildon-app-menu.c
3748 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3749 Store the menu's parent window.
3751 * src/hildon-stackable-window.c
3752 (hildon_stackable_window_toggle_menu)
3753 (hildon_stackable_window_finalize):
3754 Set the menu's parent window when the menu is shown, unset it when
3757 * src/hildon-app-menu.c
3758 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3759 (hildon_app_menu_class_init):
3760 Send unhandled keyboard accelerators to the parent window.
3762 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-stackable-window.c
3765 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3767 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3769 * configure.ac: post release version bump
3771 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3774 * configure.ac: Bump version
3775 * debian/changelog: Updates
3776 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3779 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3781 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3784 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3785 GtkMenu with Hildon style.
3787 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3789 * src/hildon-picker-button.c:
3790 (hildon_picker_button_set_done_button_text): Set the dialog's
3791 done button text here as well.
3793 Fixes: NB#90232 (Picker button does not set the label on done button
3794 for the second time)
3796 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3798 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3801 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-app-menu.c (hildon_app_menu_insert)
3804 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3805 the HildonAppMenu to be activatable using keyboard accelerators
3806 when the menu is not being shown.
3808 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3810 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3812 * src/hildon-stackable-window.c
3813 (hildon_stackable_window_show):
3814 Don't hide old windows automatically when new windows are shown:
3815 this is now a task for the window manager.
3816 (hildon_stackable_window_class_init)
3817 (hildon_stackable_window_hide):
3818 Remove windows from the stack everytime they're hidden.
3819 (hildon_stackable_window_realize):
3820 Don't change the _NET_WM_WINDOW_TYPE property. Use
3821 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3822 it as a stackable window.
3824 * src/hildon-program.c
3825 (hildon_program_pop_window_stack):
3826 Just hide the window to remove it from the stack.
3827 (hildon_program_go_to_root_window):
3828 Don't call gtk_widget_show(), this is now a task for the window
3831 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3833 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3835 * src/hildon-button.c
3836 (hildon_button_construct_child):
3837 Don't pack anything in the button until text or image are
3838 set. This allows adding a custom child after creating the button
3839 with hildon_button_new().
3840 (hildon_button_finalize, hildon_button_class_init)
3841 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3842 alignment and the label box even when they're not packed in the
3845 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3847 * src/hildon-touch-selector.h:
3848 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3849 currently the type definition was using GTK_TYPE_VBOX
3850 * src/hildon-touch-selector.c:
3851 Added some implementation notes in order to clarify that any other widget
3852 added without the column related API will not be included on the
3853 selection logic, and how the widget is freed, as some people ask about
3855 (hildon_touch_selector_remove): Reimplemented in order to free properly
3856 the column related data when you remove the private hbox.
3857 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3858 to get a proper HildonTouchSelectorColumn documentation
3860 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3862 * src/hildon-touch-selector-entry.c:
3863 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3864 text in the GtkEntry and there is no item selected. Fixes a
3867 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3869 * src/hildon-app-menu-private.h
3870 * src/hildon-app-menu.[ch]
3871 * src/hildon-button.[ch]
3872 * src/hildon-check-button.[ch]
3873 * src/hildon-entry.[ch]
3874 * src/hildon-pannable-area.[ch]
3875 * src/hildon-text-view.[ch]:
3876 Added private field to the object's structure.
3878 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3880 * configure.ac: post-release version bump
3882 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3886 * configure.ac: pre-release version bump
3888 * debian/changelog: updates.
3890 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3892 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3893 Disconnect the handler for HildonTouchSelector::changed.
3895 (hildon_picker_button_selector_selection_changed): Update the button
3896 value if the selection change was not triggered by the
3899 (hildon_picker_button_set_selector): connect to
3900 HildonTouchSelector::changed.
3902 Fixes: NB#89650 (Picker button is not updated, when selection in
3903 selector has changed)
3905 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3907 * src/hildon-picker-dialog.c
3908 (hildon_picker_dialog_realize): Removed as not required
3909 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3910 * src/hildon-picker-button.c
3911 (_current_selector_empty): New function, checks if the selector is empty
3912 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3913 if the current selector is empty, in order to avoid to show the dialog
3914 close the dialog in this case (and shows a g_warning).
3916 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3918 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3920 * src/hildon-pannable-area.c,
3921 (hildon_pannable_area_scroll): Added clause to stop movement when
3922 the child of pannable is smaller than one page.
3923 (hildon_pannable_area_scroll_to): Added conditions to avoid
3924 starting the scrolling movement if the child is smaller than one
3925 page, the complete child is in the screen, we do not have to move.
3927 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3929 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3931 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3932 this is managed automatically by the widget when the size of the
3935 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3937 * src/hildon-picker-button.c
3938 (hildon_picker_button_set_done_button_text): Make a copy of the
3939 text, and free the previous value.
3941 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3943 * src/hildon-touch-selector-entry.c:
3944 (hildon_touch_selector_entry_print_func): Return the selected row's
3945 text if the entry is empty.
3947 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3950 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3954 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3957 * src/hildon-check-button.h
3958 * src/hildon-check-button.c
3959 * examples/hildon-check-button-example.c:
3960 HildonCheckButton is now a new widget. 'toggled' signal added.
3962 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3964 * src/hildon-program-private.h
3965 * src/hildon-program.c (hildon_program_init)
3966 (hildon_program_finalize): Removed unused variables group_leader
3967 and name from HildonProgramPrivate.
3969 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3971 * src/hildon-check-button.c (hildon_check_button_set_active)
3972 (hildon_check_button_get_active, hildon_check_button_new): Use
3973 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3975 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3977 * src/hildon-touch-selector.h
3978 (hildon_touch_selector_set_column_attributes): added deprecation
3979 guard HILDON_DISABLE_DEPRECATED
3980 * src/hildon-time-selector.c
3981 (hildon_time_selector_set_time)
3982 (hildon_time_selector_get_time): Fixed a typo on documentation
3983 * src/hildon-touch-selector.c: update HildonTouchSelector and
3984 HildonTouchSelectorColumn documentation
3985 * src/hildon-touch-selector-entry.c: update "text-column" property
3987 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3988 to be added to the general documentation.
3990 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3992 * examples/hildon-pannable-area-example-4.c,
3994 * examples/hildon-pannable-area-example.c,
3995 (main): Modified the code in order to use the container add, with
3996 viewport treeviews could have problems if they are really big.
3998 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4000 * src/hildon-weekday-picker.c,
4001 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4002 the agreement regarding deprecation in the library.
4004 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4006 * examples/hildon-picker-button-multicolumn-example.c:
4007 (main): Use custom "done" button text.
4009 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4010 (hildon_picker_button_set_property),
4011 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4012 (hildon_picker_button_init),
4013 (+hildon_picker_button_get_done_button_text),
4014 (+hildon_picker_button_set_done_button_text): New methods to customize
4015 the "done" button label in the launched HildonPickerDialog. Also,
4018 * src/hildon-picker-button.h: add the public API.
4020 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4022 * src/hildon-date-selector.h:
4023 * src/hildon-picker-dialog.h:
4024 * src/hildon-time-selector.h:
4025 * src/hildon-touch-selector-column.h:
4026 * src/hildon-touch-selector.h:
4028 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4029 declarations. Fixes gtk-doc warnings.
4031 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4033 * src/hildon-picker-dialog.h
4034 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4035 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4037 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4038 long text is set as label for done button)
4040 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4042 * src/hildon-dialog.c (hildon_dialog_add_button):
4043 Set fixed width to all buttons in the HildonDialog.
4045 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4047 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4049 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4050 Set widget name using class name plus "-finger" or "-thumb".
4052 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4054 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4055 'clicked' when the state of the button is manually changed.
4057 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4059 * src/hildon-app-menu.c (hildon_app_menu_realize)
4060 (hildon_app_menu_unrealize, hildon_app_menu_init)
4061 (hildon_app_menu_class_init, item_visibility_changed):
4062 Change the menu layout when the size of the screen changes.
4063 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4064 Show warning only when changing the number of colums using the
4067 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4069 * debian/compat: Set to 5
4070 * debian/control: Update dependencies.
4071 * debian/libhildon1-dbg.install: Remove.
4072 * debian/libhildon1-dev.install: Update according to cdbs paths.
4073 * debian/libhildon1.install: Update according to cdbs paths.
4074 * debian/rules: Switch to cdbs.
4076 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4078 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4079 'item' variable renamed to 'filter'
4081 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4083 * src/hildon-app-menu.c (hildon_app_menu_insert)
4084 (hildon_app_menu_add_filter, remove_item_from_list)
4085 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4086 Don't leak hidden items when the menu is destroyed.
4088 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4090 * src/hildon-app-menu.c (hildon_app_menu_insert)
4091 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4092 (hildon_app_menu_set_columns, item_visibility_changed)
4093 (filter_visibility_changed, hildon_app_menu_repack_filters)
4094 (hildon_app_menu_repack_items):
4095 Repack items and filters separately.
4097 Don't repack all items, change only the ones that are needed to
4100 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4102 * src/Makefile.am: added hildon-touch-selector-column.h
4104 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4106 * src/hildon-touch-selector.c: added the property "text-column" to the
4107 class HildonTouchSelectorColumn, and related get/set functions
4108 (_default_printf_func): updated to use "text-column" property
4109 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4110 "text-column" in his documentation, as this is now included on
4111 HildonTouchSelectorColumn. The get/set_property can still be used,
4112 working as a wrapper to the concrete column "text-column" property
4113 (_text_column_modified): callback added in order to handle the signal
4114 "notify::text-column" of the concrete HildonTouchSelectorColumn
4115 (hildon_touch_selector_entry_get_text_column)
4116 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4117 modified in order to use the HildonTouchSelectorColumn "text-column"
4119 * src/hildon-time-selector.c:
4120 * src/hildon-date-selector.c:
4121 * examples/hildon-touch-selector-example.c
4122 * examples/hildon-touch-selector-multi-cells-example.c
4123 * examples/hildon-picker-button-multicolumn-example.c
4124 Set the right value to "text-column" property on the creation of a new
4125 column using hildon_touch_selector_append_column()
4127 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4129 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-app-menu.c
4132 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4133 updating the layout of the menu, don't create all widgets again,
4134 just repack the items in their new places.
4136 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4138 * src/hildon-time-selector.c
4139 (hildon_time_selector_get_time)
4140 (hildon_time_selector_set_time)
4141 Added documentation of these public methods
4143 * src/hildon-date-button.h
4144 * src/hildon-touch-selector-column.h
4145 * src/hildon-time-button.h
4146 * src/hildon-picker-dialog.h
4147 * src/hildon-time-selector.h
4148 * src/hildon-picker-button.h
4149 * src/hildon-touch-selector.h
4150 * src/hildon-time-picker.h
4151 * src/hildon-date-selector.h
4152 * src/hildon-touch-selector-entry.h
4153 Modified in order to use hildon-widgets code style
4155 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4157 Added deprecated support to the compilation process using
4158 HILDON_DISABLE_DEPRECATED
4160 * configure.ac: Added the --disable-deprecated to the configure
4163 * src/hildon-weekday-picker.c:
4164 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4165 to use the deprecated support. We will update the other deprecated
4166 widgets status in a new patch.
4168 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4170 * configure.ac: Fixed typo with fatal warnings support, the
4171 variable name was not correct
4173 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4175 * src/hildon-app-menu.c
4176 * src/hildon-program.c: Update documentation.
4178 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4180 * configure.ac: Post-release version bump.
4182 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4187 * configure.ac: Pre-release version bump.
4188 * debian/changelog: Updates.
4190 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4192 * NEWS: Update news for previous releases.
4194 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4196 * examples/hildon-touch-selector-multi-cells-example.c:
4197 (create_selector): Update the example to use
4198 hildon_touch_selector_append_column() with a NULL renderer and set
4199 the renderers later.
4200 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4201 passed a NULL renderer. This is documented behavior now.
4203 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4204 This must be used if the developer wants full control on the layout of
4205 the renderers to be added to the column.
4207 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4209 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4211 * src/hildon-touch-selector.c: Documentation fixes.
4213 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4215 * src/hildon-wizard-dialog-private.h: Remove image and box.
4216 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4217 (hildon_wizard_dialog_set_property), (response): Completely remove
4218 image/icon support, and the containers required for the layout.
4220 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4222 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4224 * src/hildon-app-menu.c: Updated documentation.
4226 * src/hildon-stackable-window.c
4227 (hildon_stackable_window_set_main_menu): Unref the old menu after
4228 ref'ing the new one.
4230 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4232 * src/hildon-stackable-window.c
4233 (hildon_stackable_window_set_main_menu): Unref the previous menu
4234 instead of destroying it.
4236 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4237 floating reference and set has_user_ref_count to FALSE to make
4238 HildonAppMenu act like a normal ref-counted widget and not a
4241 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4244 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4246 * src/hildon-touch-selector-column.h: new file
4247 * src/hildon-touch-selector.h
4248 * src/hildon-touch-selector.c
4249 Implemented GtkCellLayout interface, in order to allow to configure
4250 the cell layout on each individual selector column
4251 (hildon_touch_selector_set_column_attributes): marked as deprecated
4252 * examples/hildon-touch-selector-multi-cells-example.c
4253 Example of how to use the GtkCellLayout interface on the selector
4255 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4257 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4259 * src/hildon-app-menu.h
4260 * src/hildon-app-menu.c
4261 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4262 (hildon_app_menu_append, hildon_app_menu_prepend):
4263 New methods to prepend, insert and move items in the menu.
4265 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4267 * src/hildon-wizard-dialog.c:
4269 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4271 (create_title): Update logical IDs and related code.
4272 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4274 * src/hildon-wizard-dialog.h: Note that
4275 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4276 point, as it is not used anymore.
4278 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4280 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4282 * src/hildon-note.c:
4283 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4284 shown. Do not display an icon in confirmation notes nor information
4286 (hildon_note_set_button_text): Update logical ID for cancel button.
4288 Fixes: NB#88850 (Update HildonNote button strings + signals)
4290 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4292 * src/hildon-stackable-window.c
4293 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4295 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4297 * src/hildon-app-menu-private.h
4298 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4299 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4300 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4301 temporary property 'columns' to change the number of columns.
4303 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4305 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4307 * examples/hildon-note-example.c: (on_information_clicked),
4308 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4309 debugging information.
4310 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4312 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4313 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4314 in order to close: this will be handled by the WM from now on.
4316 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4318 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4320 * src/hildon-app-menu-private.h
4321 * src/hildon-app-menu.c
4322 (hildon_app_menu_append, hildon_app_menu_add_filter)
4323 (button_visibility_changed, hildon_app_menu_apply_style)
4324 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4325 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4326 layout everytime a button (item or filter) is shown or hidden.
4328 * src/hildon-stackable-window.c
4329 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4332 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4334 * src/hildon-touch-selector.c:
4335 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4336 that the treeview inside the touch selector is in fremantle hildon mode
4337 * examples/hildon-date-button-example.c
4338 * examples/hildon-picker-button-multicolumn-example.c
4339 * examples/hildon-touch-selector-entry-example.c
4340 * examples/hildon-touch-selector-example.c
4341 * examples/hildon-time-button-example.c
4342 * examples/hildon-picker-button-example.c:
4343 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4345 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4347 * examples/hildon-text-view-example.c: (main): Remove the
4348 gtkrc bits, now handled by the theme.
4350 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4352 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4355 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4357 * po/Makefile.am: Install properly the mo files.
4358 * po/en_GB.po: Update translation, to ease testing purposes.
4360 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4362 * examples/hildon-picker-button-example.c: (main): Select an item
4363 in the selector before setting it to the button.
4365 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4368 Update button's value if the selector has an item active.
4370 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4371 'value' with the selector)
4373 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4375 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4376 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4377 (hildon_picker_button_class_init): Plug the finalize method.
4378 (hildon_picker_button_set_selector): If there's a previously set
4379 selector, unref'it before setting a new one.
4381 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4382 HildonTouchSelector)
4384 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-touch-selector-entry.c:
4387 (hildon_touch_selector_entry_changed): Check if there is no text
4388 selected before setting the entry text.
4391 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4393 * src/hildon-touch-selector.h
4394 * src/hildon-touch-selector.c
4395 (hildon_touch_selector_get_active)
4396 (hildon_touch_selector_set_active): New methods to set/get the
4397 index of the selected item.
4399 * src/hildon-picker-button.h
4400 * src/hildon-picker-button.c
4401 (hildon_picker_button_get_active)
4402 (hildon_picker_button_set_active): New methods to set/get the
4403 index of the selected item.
4405 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4407 * configure.ac: post-release version bump.
4409 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4413 * configure.ac: Pre-release version bump.
4414 * debian/changelog: Updates.
4415 * debian/control: Add myself as maintainer and depend on l10n
4418 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4420 * src/hildon-window.c
4421 (hildon_window_set_main_menu)
4422 * src/hildon-stackable-window.c
4423 (hildon_stackable_window_set_main_menu):
4424 Updated documentation.
4426 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4428 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4429 Don't free selector->priv manually.
4432 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4435 (hildon_gtk_window_set_progress_indicator):
4436 * src/hildon-gtk.h: Added the new API
4437 hildon_gtk_window_set_progress_indicator, it changes the state of
4438 the window progress hint.
4440 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4442 * src/hildon-button.c
4443 * src/hildon-stackable-window.c: Minor documentation updates.
4445 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4447 * src/hildon-stackable-window.c: Updated documentation.
4449 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4451 * src/hildon-defines.h: Update margins definitions
4452 to the Fremantle sizes.
4455 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4457 * src/hildon-touch-selector.c,
4458 (_hildon_touch_selector_set_model): Cleaning the code after
4459 review, removed g_print and #if 0 from the code.
4461 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4463 * src/hildon-edit-toolbar.c: Update documentation.
4465 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4467 * src/hildon-check-button.h
4468 * src/hildon-check-button.c
4469 (hildon_check_button_set_label, hildon_check_button_get_label)
4470 * examples/hildon-check-button-example.c
4471 (button_clicked_cb):
4472 Removed deprecated methods.
4474 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4476 * src/hildon-text-view.c:
4477 Add sample code to the documentation.
4479 * src/hildon-entry.h
4480 * src/hildon-text-view.h:
4481 Minor cosmetic changes.
4483 * src/hildon-entry.c:
4484 Add sample code to the documentation.
4485 (hildon_entry_init, hildon_entry_refresh_contents):
4486 Don't allow NULL values in the placeholder.
4488 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4490 * doc/hildon-docs.sgml
4492 * examples/Makefile.am
4493 * examples/hildon-text-view-example.c
4495 * src/hildon-text-view.c
4496 * src/hildon-text-view.h
4498 New HildonTextView widget, with example.
4500 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4502 * po/POTFILES.in: Add missing files with translatable strings.
4503 Partially fixes NB#88287.
4505 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4507 * examples/hildon-pannable-area-example-2.c: (main): No need to
4508 set the cellrenderer height inside hildon touch lists, the theme does
4511 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4513 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4514 they are integrated in the theme.
4516 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4518 * examples/hildon-entry-example.c: Update the example adding
4519 widgets to modify the text and the placeholder of the HildonEntry.
4521 * src/hildon-entry.c: Show the placeholder everytime the widget
4522 is empty and loses the focus.
4524 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4526 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4528 * src/hildon-pannable-area.c,
4529 (hildon_pannable_area_size_request): Fixed bug in height
4530 requisition, avoid increasing size and add border twice.
4532 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4534 * configure.ac: postrelease version bump.
4536 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4540 * configure.ac: Prerelease version bump.
4541 * debian/changelog: update.
4542 * debian/rules: make -dbg package contain useful debugging symbols.
4544 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4546 * src/hildon-dialog.h
4547 * src/hildon-dialog.c
4548 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4549 New methods to add buttons with finger size.
4550 (hildon_dialog_new_with_buttons):
4551 Create buttons with finger size.
4553 * examples/hildon-dialog-example.c (main): Use HildonDialog
4554 methods to add buttons.
4556 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4558 * src/hildon-entry.c: Updated HildonButton documentation.
4560 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4562 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4563 button value label with (FALSE, FALSE) to prevent NB#88126 from
4566 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4568 * examples/hildon-pannable-area-example.c,
4569 (main): Removed examples panning a vbox inside a pannable
4570 area. Check bug NB#87965
4572 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4574 Patch contributed by Kris Rietveld (kris@imendio.com)
4576 * src/hildon-pannable-area.c,
4577 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4578 get_size and get_position, this saves an X server roundtrip.
4580 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4582 * doc/hildon-docs.sgml
4584 * examples/Makefile.am
4585 * examples/hildon-entry-example.c
4587 * src/hildon-entry.c
4588 * src/hildon-entry.h
4590 New HildonEntry widget, with example.
4592 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4594 * src/hildon-button.c (hildon_button_construct_child): Pack the
4595 image with expand == fill == FALSE. This is a workaround for a bug
4598 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4600 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4601 labels for the text column, to make it more look more dynamic.
4603 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4605 * src/hildon-time-selector.c
4606 Define gettext auxiliar macro N_
4607 (_create_minutes_model)
4608 (_create_hours_model)
4609 (_create_ampm_model): use of strftime in order to fill the model
4610 * src/hildon-date-selector.c
4611 (hildon_date_selector_finalize):
4612 (_locales_init): remove the logic related to get the name of the months
4613 using nl_langinfo, as it is not required anymore
4615 (_create_year_model)
4616 (_create_month_model)
4617 (_update_day_model): use of strftime in order to fill the model properly
4620 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4622 * src/hildon-button.h
4623 * src/hildon-button.c (hildon_button_get_image): New method to
4626 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4628 * src/hildon-touch-selector.c:
4629 (hildon_touch_selector_remove_column): Remove from the correct parent
4630 and also remove the list element and free it.
4633 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4635 * src/hildon-time-selector.c
4636 (_create_hours_model): change the range on 12h ampm format in order to use
4637 a 12-11 range instead of previous 01-12 range
4638 (hildon_time_selector_set_time): change the way to select the current time
4639 on 12h ampm format, due the change on the range
4640 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4643 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4645 * src/hildon-touch-selector.c
4646 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4647 in order to allow use this function on multiple row selection mode if
4648 the column is different that the first one
4651 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4653 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4654 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4656 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4658 * src/hildon-date-selector.h: clean some comments, now on the .c
4659 * src/hildon-date-selector.c
4660 (hildon_date_selector_select_month): first implementation
4661 (hildon_date_selector_select_day): added documentation, reimplemented
4662 using hildon_date_selector_select_current_date to avoid repeat code
4665 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4667 Reviewed interaction logic based on device experiences, refactored
4670 * src/hildon-pannable-area.c,
4671 (hildon_pannable_area_class_init): Updated default vmax speed.
4672 (hildon_pannable_area_calculate_velocity): Added this function, it
4673 avoids duplicate valocity calculation. Adjusted calculation to
4674 avoid problems with zero dist events.
4676 (hildon_pannable_area_motion_notify_cb): Now we use the
4677 calculate_velocity function.
4679 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4681 * src/hildon-date-selector.c
4682 (hildon_date_selector_select_current_date): fix the day range check
4683 as it failed using the last day of the current month
4686 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4688 * src/hildon-touch-selector.c
4689 (hildon_touch_selector_get_num_columns): added a parameter validation
4692 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4694 * examples/Makefile.am
4695 * examples/hildon-edit-toolbar-example.c: Example of the
4696 HildonEditToolbar widget.
4698 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4700 * configure.ac: postrelease version bump.
4702 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4706 * configure.ac: prerelease version bump.
4707 * debian/changelog: update.
4709 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4711 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4712 renderer to display stock icons in the touch list. Also, set the sizes
4713 to the recommended in the style guide.
4715 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4716 * src/hildon-touch-selector.h
4717 (hildon_touch_selector_set_active_iter): renamed, now is
4718 hildon_touch_selector_select_iter
4719 (hildon_touch_selector_get_active_iter): renamed, now is
4720 hildon_touch_selector_get_selected
4721 (hildon_touch_selector_unselect_iter): added
4722 * src/hildon-touch-selector.c
4723 Update after API modification (methods renamed)
4724 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4725 order to avoid problems selecting multiple elements on the column
4726 (hildon_touch_selector_unselect_iter): added the implementation
4727 * src/hildon-time-selector.c
4728 * src/hildon-date-selector.c
4729 * src/hildon-touch-selector-entry.c
4730 Update methods calls after hildon-touch-selector.h API modification (methods
4733 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4735 * src/hildon-stackable-window.c
4736 (hildon_stackable_window_finalize): Call the parent class's finalize.
4738 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4740 * examples/hildon-touch-selector-example.c: (create_selector): Use
4741 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4744 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4746 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4747 set a cell background color, to respect theming.
4749 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4751 * doc/hildon-docs.sgml
4754 * src/hildon-edit-toolbar.c
4755 * src/hildon-edit-toolbar.h
4756 * src/hildon.h: New HildonEditToolbar widget.
4758 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4760 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4763 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4764 * src/hildon-touch-selector.c
4765 (_create_new_column): use g_object_set instead of two g_object_set_property
4767 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4768 * src/hildon-touch-selector.c
4769 (_create_new_column): use of hildon_gtk_tree_view_new to create
4770 the treeview, instead of use directly g_object_new
4771 (_create_new_column): update the property name "vindicator-mode" for the
4772 new one "vscrollbar-policy"
4773 * examples/hildon-date-button-example.c
4774 * examples/hildon-picker-button-multicolumn-example.c
4775 * examples/hildon-touch-selector-entry-example.c
4776 * examples/hildon-touch-selector-example.c
4777 * examples/hildon-time-button-example.c
4778 * examples/hildon-picker-button-example.c
4779 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4780 to all the treeviews inside a pannable area.
4782 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4784 * src/hildon-button.h
4785 * src/hildon-button.c (hildon_button_init)
4786 (hildon_button_set_arrangement, hildon_button_set_alignment)
4787 (hildon_button_set_title_alignment)
4788 (hildon_button_set_value_alignment)
4789 (hildon_button_set_image_alignment)
4790 (hildon_button_construct_child): New methods to set the alignment
4791 of the individual components of the button (title, value,
4792 image). Also, new method to alter the xscale and yscale properties
4793 of the GtkAlignment inside the button, so more complex layouts can
4796 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4798 * src/hildon-button.c (hildon_button_style_set)
4799 (hildon_button_class_init, hildon_button_set_arrangement)
4800 (hildon_button_construct_child): Apply style properties
4801 correctly. Use the 'image-spacing' style property too.
4803 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4805 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4806 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4809 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4811 * src/hildon-pannable-area.c,
4812 (hildon_pannable_area_size_request): Fixed problem with
4813 pannable-area size_request.
4815 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4817 Added management for the grab-focus to a child widget, like a
4818 range, we need to fade out the scrollbar when releasing.
4820 * src/hildon-pannable-area.c,
4821 (hildon_pannable_area_init): Connected the grab-focus signal to
4823 (hildon_pannable_area_grab_notify): Added this function in order
4824 to manage the situation when the grab-focus ends. We have to
4825 fade-out the scrollbar.
4827 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4829 * src/hildon-app-menu.c: Minor documentation update.
4831 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4833 * src/hildon-app-menu.c
4834 * examples/hildon-app-menu-example.c (create_menu): Update
4835 examples and documentation to explain how to connect callbacks.
4837 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4839 * examples/hildon-button-example.c
4840 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4841 hildon_stackable_window_new instead of gtk_window_new
4843 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4845 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4846 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4847 (hildon_pannable_area_set_property),
4848 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4849 (hildon_pannable_area_unrealize),
4850 (hildon_pannable_area_size_request),
4851 (hildon_pannable_area_size_allocate),
4852 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4853 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4854 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4855 (hildon_pannable_area_initial_effect),
4856 (hildon_pannable_area_redraw),
4857 (hildon_pannable_area_scroll_indicator_fade),
4858 (hildon_pannable_area_expose_event),
4859 (hildon_pannable_area_get_topmost), (synth_crossing),
4860 (hildon_pannable_area_button_press_cb),
4861 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4862 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4863 (hildon_pannable_area_motion_notify_cb),
4864 (hildon_pannable_area_button_release_cb),
4865 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4866 (hildon_pannable_area_remove),
4867 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4868 chage the code layout to a more GtkWidget like. Review the use of
4871 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4873 * examples/hildon-pannable-area-example-4.c,
4874 (main): Modified the name of the hindicator_mode to
4877 * src/hildon-pannable-area.c,
4878 (hildon_pannable_area_class_init),
4879 (hildon_pannable_area_motion_notify_cb),
4880 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4881 we have reduced the amount of signals and managed reviewed its
4882 rationale. Changed the default decelerate value.
4884 (hildon_pannable_area_add),
4885 (hildon_pannable_area_redraw): Refactored functions.
4887 (hildon_pannable_area_init),
4888 (hildon_pannable_area_get_property),
4889 (hildon_pannable_area_set_property):
4890 (hildon_pannable_draw_vscroll),
4891 (hildon_pannable_draw_hscroll),
4892 (hildon_pannable_area_initial_effect),
4893 (hildon_pannable_area_expose_event),
4894 (hildon_pannable_area_scroll),
4895 (hildon_pannable_area_button_press_cb),
4896 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4897 and vindicator_mode with hscrollbar_policy and
4898 vscrollbar_policy. Replaced hscroll and vscroll with
4899 hscroll_visible and vscroll_visible.
4901 (hildon_pannable_area_refresh): Refactor the function, remove
4902 variables and check the calls to this function, added resize
4903 conditions in case the children change their layout.
4905 (hildon_pannable_area_size_request): Added more detailed
4906 size_request calculation.
4909 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4911 * src/hildon-color-chooser.c
4912 (init_borders): use the correct gtk_border_free instead of g_free, to
4913 avoid a crash when this widget is used (ie: the three color selection
4916 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4918 * src/hildon-check-button.c,
4919 (hildon_check_button_set_active): Fixed problem when setting the
4920 active value, the widget was not redrawn.
4922 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4924 * src/hildon-pannable-area.c,
4925 (hildon_pannable_area_refresh),
4926 (hildon_pannable_area_scroll),
4927 (hildon_pannable_area_motion_notify_cb): Small code style change.
4929 (hildon_pannable_area_class_init): Default initial_hint set to
4930 FALSE, it is not in the specs.
4932 (hildon_pannable_area_initial_effect),
4933 (hildon_pannable_area_expose_event),
4934 (hildon_pannable_area_map),
4935 (hildon_pannable_area_init): Moved the launching point of the
4936 initial effect, it was in map but the sizes where not correct in
4937 that method so we do not know if we have the reproduce it. Now it
4938 is placed in the expose_event method and uses a variable to
4939 reproduce it just once.
4941 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4943 * src/hildon-pannable-area.c,
4944 (hildon_pannable_draw_vscroll),
4945 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4946 position allowed for the scrollbars.
4948 (hildon_pannable_area_size_allocate): Small style change.
4950 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4952 * src/hildon-pannable-area.c,
4953 (hildon_pannable_area_scroll_indicator_fade),
4954 (hildon_pannable_area_button_press_cb),
4955 (hildon_pannable_area_button_release_cb),
4956 (hildon_pannable_area_scroll_cb),
4957 (hildon_pannable_area_expose_event),
4958 (hildon_pannable_area_init): Added the define parameter
4959 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4960 and refactor the fade variable.
4962 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4964 * src/hildon-pannable-area.c,
4965 (hildon_pannable_area_redraw),
4966 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4967 lines, we were reimplemeting the redraw code.
4969 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4971 * src/hildon-pannable-area.c,
4972 (hildon_pannable_area_scroll_cb),
4973 (hildon_pannable_area_realize),
4974 (hildon_pannable_area_class_init): Added scroll_event management
4975 for pannable area, now we can scroll the usual desktop method.
4977 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4978 initialization of the parameters should depend on idle_id.
4980 (hildon_pannable_area_init),
4981 (hildon_pannable_area_map): Small code style modifications
4983 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4985 * src/hildon-pannable-area.c
4986 (hildon_pannable_area_button_press_cb),
4987 (hildon_pannable_area_motion_notify_cb),
4988 (hildon_pannable_area_button_release_cb),
4989 (hildon_pannable_area_size_allocate),
4990 (hildon_pannable_area_scroll_to): Improved the timeouts
4991 management, we avoid creating them each time.
4993 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4995 * src/hildon-pannable-area.c:
4996 (hildon_pannable_area_refresh),
4997 (hildon_pannable_area_motion_notify_cb),
4998 (hildon_pannable_area_class_init):
4999 * src/hildon-pannable-area.h:
5000 * src/hildon-touch-selector.c
5001 (_create_new_column):
5002 * examples/hildon-pannable-area-example-4.c:
5003 (horizontal_movement),
5004 (vertical_movement),
5006 Replaced the names of enums in the HildonPannableArea:
5007 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5008 HILDON_MOVEMENT_MODE_*
5009 - HILDON_PANNABLE_AREA_MOV_* ->
5011 - Removed HildonPannableAreaIndicatorMode, now we
5014 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5016 * examples/hildon-pannable-area-touch-grid-example.c
5017 * examples/hildon-pannable-area-touch-list-example.c: Fix
5018 compilation warnings.
5020 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5022 * src/hildon-gtk.c (hildon_gtk_button_new)
5023 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5024 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5025 images overriding the value of the "gtk-button-images" setting.
5027 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5029 * src/hildon-check-button.c (hildon_check_button_new):
5030 Instead of using a custom container, display the label and the
5031 checkbox using the standard GtkButton API.
5033 * examples/hildon-check-button-example.c (main): Don't use
5034 hildon_check_button_set_label() anymore
5036 * src/hildon-check-button.h
5037 * src/hildon-check-button.c
5038 (hildon_check_button_set_label, hildon_check_button_get_label):
5039 Set as deprecated, now we're using gtk_button_{get,set}_label()
5041 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5043 * src/hildon-pannable-area.c,
5044 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5045 GtkTreeview first line we detected it after the inclusion of the
5046 GtkWindowImpl in gtk+. We now check if the window is visible, not
5047 just if the pointer is over the window.
5048 (hildon_pannable_axis_scroll),
5049 (hildon_pannable_area_expose_event): Small style changes.
5051 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5053 * src/hildon-button.c: Update documentation.
5055 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5057 * examples/hildon-button-example.c: Add a switch to show images in
5060 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5062 * doc/hildon-docs.sgml: Some docs reorganization.
5064 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5066 * examples/hildon-pannable-area-touch-list-example.c
5068 * examples/hildon-pannable-area-touch-grid-example.c
5069 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5070 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5071 Fix memory leak when setting the tree model.
5073 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5077 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5079 * doc/hildon.types: Remove duplicated hildon_window_get_type
5080 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5081 documentation comment.
5083 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5085 * doc/Makefile.am: Complete list of private headers.
5087 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5089 * doc/hildon-docs.sgml
5090 * src/hildon-app-menu.c
5091 * src/hildon-bread-crumb.c
5092 * src/hildon-button.c
5094 * src/hildon-program.c
5095 * src/hildon-stackable-window.c
5096 * src/hildon-window.c: Lots of documentation updates.
5098 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5100 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5102 * configure.ac: Require Gtk+ 2.12.9 at least
5104 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5106 * src/hildon-pannable-area.c
5107 (hildon_pannable_area_scroll_indicator_fade),
5108 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5109 to protect the return of this timeout callbacks, avoiding deadlocks.
5111 2008-08-12 Christian Dywan <christian@imendio.com>
5114 * src/hildon-*.h: Ensure a consistent include order,
5115 include <gtk/gtk.h> instead of particular files and
5116 only include the topmost header in the gtk stack. See NB #39857
5118 2008-08-12 Christian Dywan <christian@imendio.com>
5120 * src/hildon-picker-dialog.c
5121 * src/hildon-touch-selector.c: Fix warnings about unused and
5122 uninitialized variables.
5124 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5126 * examples/Makefile.am
5127 * examples/hildon-check-button-example.c: Example of the hildon
5130 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5132 * src/hildon-window.h
5133 * src/hildon-window.c (hildon_window_class_init)
5134 (hildon_window_unset_program): Don't make
5135 hildon_window_unset_program a virtual function anymore.
5137 * src/hildon-stackable-window.c: Update documentation
5139 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5142 * doc/hildon-docs.sgml
5143 * doc/visual_index.xml
5144 * src/hildon-defines.c
5146 * src/hildon-helper.c
5147 * src/hildon-range-editor.c: Lots of documentation fixes.
5149 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5151 * examples/hildon-picker-button-multicolumn-example.c
5152 (create_touch_selector): Fix compilation warning.
5154 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5156 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5157 (hildon_pannable_area_button_release_cb)
5158 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5160 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5162 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5165 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5167 * src/hildon-bread-crumb-trail.h
5168 * src/hildon-date-editor.c
5169 * src/hildon-date-selector.c
5170 * src/hildon-pannable-area.c
5171 * src/hildon-picker-dialog.c
5172 * src/hildon-time-selector.c
5173 * src/hildon-touch-selector-entry.c
5174 * src/hildon-touch-selector.c
5175 * src/hildon-touch-selector.h: Misc documentation fixes
5177 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5179 * examples/hildon-date-editor-example.c (main): Updated date
5182 * examples/hildon-note-example.c (on_confirmation_clicked):
5183 Updated confirmation note example.
5185 * src/hildon-date-editor.c
5186 * src/hildon-note.c: Updated sample programs in documentation.
5189 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5191 * src/hildon-date-button.h:
5192 * src/hildon-picker-button.h:
5193 * src/hildon-time-button.c:
5194 * src/hildon-time-button.h:
5196 Some declarations changes to allow gtk-doc to document the widgets
5199 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5201 * src/hildon-date-button.c: Document the widget.
5202 * src/hildon-time-button.c: Document the widget.
5204 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5206 * src/hildon-picker-button.c: Document the widget.
5207 * src/hildon-touch-selector-entry.c: Document the widget.
5209 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5211 * doc/hildon-docs.sgml
5214 * src/hildon-check-button.h
5215 * src/hildon-check-button.c: New functions to create the Hildon
5219 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5221 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5223 * src/hildon-button.h
5224 * src/hildon-button.c
5225 (hildon_button_add_title_size_group)
5226 (hildon_button_add_value_size_group)
5227 (hildon_button_add_image_size_group)
5228 (hildon_button_add_size_groups): New functions to set size groups
5229 for the button labels and image.
5230 (hildon_button_new_full): Removed
5232 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5234 * src/hildon-time-selector.c
5235 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5236 in order to avoid a crash if gconf is not available
5238 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5240 * src/hildon-button.c (hildon_button_set_arrangement)
5241 (hildon_button_construct_child): Don't construct the button child
5242 before setting the arrangement.
5244 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5246 * src/hildon-program-private.h
5247 * src/hildon-program.c
5248 * src/hildon-program.h
5249 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5250 (hildon_program_peek_window_stack)
5251 (hildon_program_pop_window_stack)
5252 (hildon_program_go_to_root_window): HildonProgram now has a
5253 separate list for stackable windows. Functions are provided to
5254 manage that list with a stack-like API.
5256 * src/hildon-stackable-window.c: Stackable window management is
5257 now much simpler with the new HildonProgram API. Windows no
5258 longer need to be manually added to the program, they're
5259 automatically pushed to the top of the stack when shown.
5261 * examples/hildon-stackable-window-example.c: Updated example to
5262 reflect the API changes.
5264 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5266 * src/hildon-touch-selector.c: Comment out unimplemented
5267 hildon_touch_selector_insert_column() to avoid a compile warning.
5269 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5271 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5272 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5273 (hildon_touch_selector_set_column_selection_mode),
5274 (_hildon_touch_selector_set_model),
5275 (hildon_touch_selector_set_model):
5277 Complete review of HildonTouchSelector documentation.
5279 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5281 * doc/hildon-docs.sgml
5285 * src/hildon-gtk.c: Convenience functions for standard Gtk
5286 widgets, used to easily perform frequent operations.
5288 * src/hildon-button-helpers.h
5289 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5291 * src/hildon-helper.h
5292 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5293 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5295 * src/hildon-button.h
5296 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5298 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5300 * src/hildon-button.c (hildon_button_init)
5301 (hildon_button_set_arrangement, hildon_button_construct_child):
5302 Pack the image and the labels inside the same GtkAlignment so
5303 gtk_button_set_alignment() can be used
5305 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5307 * src/hildon-button.h
5308 * src/hildon-button.c
5309 (hildon_button_init, hildon_button_set_image)
5310 (hildon_button_set_image_position)
5311 (hildon_button_construct_child): New functions to add an image to
5314 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5316 * src/hildon-date-button.c
5317 * src/hildon-picker-button.c
5318 * src/hildon-time-button.c
5319 * src/hildon-button.c:
5320 (hildon_button_class_init): "size-flags" renamed to "size"
5321 (hildon_button_set_title): Hide the title label if set to NULL.
5323 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5325 HildonButtonFlags split into HildonButtonArrangement (to set the
5326 button layout) and HildonSizeType (which can be used for any
5329 * src/hildon-button.h
5330 * src/hildon-button.c
5331 (hildon_button_class_init)
5332 (hildon_button_set_arrangement)
5333 (hildon_button_set_property): New "size-flags"
5334 property. "arrangement-flags" renamed to "arrangement".
5335 (hildon_button_new, hildon_button_new_with_text)
5336 (hildon_button_new_full): Constructors updated to reflect type changes.
5338 * src/hildon-helper.h
5339 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5340 to set the size of a widget.
5344 * src/hildon-button-helpers.c
5345 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5347 * src/hildon-date-button.c
5348 * src/hildon-date-button.h
5349 * src/hildon-picker-button.c
5350 * src/hildon-picker-button.h
5351 * src/hildon-time-button.c
5352 * src/hildon-time-button.h: Updated widgets to reflect
5353 HildonButton API changes.
5355 * examples/hildon-button-example.c
5356 * examples/hildon-date-button-example.c
5357 * examples/hildon-picker-button-example.c
5358 * examples/hildon-picker-button-multicolumn-example.c
5359 * examples/hildon-time-button-example.c
5360 * examples/hildon-touch-selector-entry-example.c
5361 * examples/hildon-touch-selector-example.c: Updated examples to
5362 reflect HildonButton API changes.
5364 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5366 * doc/hildon-docs.sgml:
5368 * examples/Makefile.am:
5369 * examples/hildon-touch-selector-entry-example.c:
5371 * src/hildon-touch-selector-entry.c:
5372 * src/hildon-touch-selector-entry.h:
5375 Moved HildonTouchSelectorEntry from sandbox. Added its
5376 documentation and examples.
5378 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5380 * src/hildon-touch-selector.h:
5381 * examples/hildon-picker-button-multicolumn-example.c:
5382 (hildon_touch_selector_append_text_column): Add a gboolean
5383 parameter to determine if text must be centered in the column.
5385 * src/hildon-date-selector.c: (hildon_date_selector_init):
5386 * src/hildon-time-selector.c: (hildon_time_selector_init):
5387 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5388 (create_touch_selector): Update widgets and example to reflect
5391 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5393 * src/hildon-touch-selector.c:
5394 (hildon_touch_selector_set_active_iter): Set also the cursor in
5397 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5399 * doc/hildon-docs.sgml
5402 * src/hildon-toggle-button.c
5403 * src/hildon-toggle-button.h
5404 * src/hildon.h: Removed HildonToggleButton widget, a derived
5405 class is not necessary for this.
5407 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5409 * src/hildon-pannable-area.c,
5410 (hildon_pannable_area_realize),
5411 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5414 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5416 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5417 "done" button the default widget for the dialog.
5419 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5421 * src/hildon-touch-selector.c:
5422 (hildon_touch_selector_class_init),
5423 (hildon_touch_selector_get_property),
5424 (_hildon_touch_selector_set_model),
5425 (_hildon_touch_selector_has_multiple_selection),
5426 (hildon_touch_selector_has_multiple_selection):
5427 Add a "has-multiple-selection" property with a virtual
5428 has_multiple_selection() method to allow derived classes to
5429 override the default value for it. See the method and property
5430 documentation for details.
5432 * src/hildon-touch-selector.h: Add the new API.
5434 * src/hildon-picker-dialog.c: (requires_done_button): Call
5435 hildon_touch_selector_has_multiple_selection() instead of
5436 determining the need for a button itself.
5438 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5440 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5441 (_hildon_touch_selector_set_model),
5442 (hildon_touch_selector_set_model): Move working code to
5443 _hildon_touch_selector_set_mode(). Call the class method instead.
5445 * src/hildon-touch-selector.h: Add (*set_model) to
5446 HildonTouchSelectorClass.
5448 Make hildon_touch_selector_set_model() a virtual method, so that
5449 derived classes can extend it and do fancy stuff with the model.
5451 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5453 * configure.ac: Set back the tarname in AC_INIT to hildon.
5455 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5459 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5460 instead of libesd (NB#86876). Volume handling is still an open issue.
5462 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5465 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5467 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5468 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5469 derived class to ease placement of an entry widget in
5470 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5471 end, where the selector columns are packed now.
5473 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5475 * src/hildon-picker-button.c: Removed the simple _text() API.
5476 * src/hildon-picker-button.h: Likewise.
5478 * src/hildon-touch-selector.h:
5479 * src/hildon-touch-selector.c:
5480 (hildon_touch_selector_new_text),
5481 (hildon_touch_selector_append_text),
5482 (hildon_touch_selector_prepend_text),
5483 (hildon_touch_selector_insert_text):
5485 Moved the simple _text() API from HildonPickerButton to
5486 HildonTouchPicker, to provide better escalability and not to tie
5487 that API to HildonPickerButton.
5489 * examples/hildon-picker-button-example.c: (main): Example updated.
5491 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5493 * src/hildon-button.c: Updated documentation.
5495 * examples/hildon-button-example.c: Add the posibility to create
5496 the buttons using horizontal layout for title and value.
5498 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5500 * src/hildon-app-menu-private.h
5501 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5502 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5503 GtkSizeGroup for the filters, use the 'homogeneous' property of
5506 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5508 * examples/hildon-button-example.c: Updated example.
5510 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5512 * doc/hildon-docs.sgml:
5515 Update documentation.
5517 * examples/Makefile.am: Update renamed examples.
5519 * examples/hildon-picker-button-multicolumn-example.c:
5520 (create_touch_selector), (main): Update after the rename.
5522 * examples/hildon-touch-picker-example.c: Removed.
5523 * examples/hildon-touch-selector-example.c: (value_changed),
5524 (create_selector), (get_visible_content), (main): Renamed from
5525 hildon-touch-picker-example.c
5527 * src/Makefile.am: Updated renamed files.
5529 * src/hildon-date-button.c: (hildon_date_button_init),
5530 (hildon_date_button_get_date), (hildon_date_button_set_date):
5531 * src/hildon-date-selector.c: (hildon_date_selector_init),
5532 (_custom_print_func), (_update_day_model),
5533 (_manage_selector_change_cb),
5534 (hildon_date_selector_select_current_date),
5535 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5536 * src/hildon-date-selector.h:
5537 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5538 (hildon_picker_button_set_property),
5539 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5540 (hildon_picker_button_init), (hildon_picker_button_new_text),
5541 (hildon_picker_button_append_text),
5542 (hildon_picker_button_prepend_text),
5543 (hildon_picker_button_insert_text),
5544 (hildon_picker_button_set_selector),
5545 (hildon_picker_button_get_selector):
5546 * src/hildon-picker-button.h:
5547 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5548 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5549 (_update_title_on_selector_changed_cb), (requires_done_button),
5550 (_hildon_picker_dialog_set_selector),
5551 (hildon_picker_dialog_set_selector),
5552 (hildon_picker_dialog_get_selector):
5553 * src/hildon-picker-dialog.h:
5554 * src/hildon-time-button.c: (hildon_time_button_init),
5555 (hildon_time_button_get_time), (hildon_time_button_set_time):
5556 * src/hildon-time-selector.c: (hildon_time_selector_init),
5557 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5558 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5559 * src/hildon-time-selector.h:
5562 Massive code updates after the rename.
5564 * src/hildon-touch-picker.c: Removed.
5565 * src/hildon-touch-picker.h: Removed.
5567 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5568 (hildon_touch_selector_init), (hildon_touch_selector_map),
5569 (hildon_touch_selector_remove), (_default_print_func),
5570 (_selection_changed_cb), (_create_new_column),
5571 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5572 (hildon_touch_selector_append_text_column),
5573 (hildon_touch_selector_remove_column),
5574 (hildon_touch_selector_set_column_attributes),
5575 (hildon_touch_selector_insert_column),
5576 (hildon_touch_selector_get_num_columns),
5577 (hildon_touch_selector_get_column_selection_mode),
5578 (hildon_touch_selector_set_column_selection_mode),
5579 (hildon_touch_selector_set_print_func),
5580 (hildon_touch_selector_get_print_func),
5581 (hildon_touch_selector_get_active_iter),
5582 (hildon_touch_selector_set_active_iter),
5583 (hildon_touch_selector_get_selected_rows),
5584 (hildon_touch_selector_get_model),
5585 (hildon_touch_selector_set_model),
5586 (hildon_touch_selector_get_current_text),
5587 (_hildon_touch_selector_center_on_selected_items):
5588 * src/hildon-touch-selector.h: Renamed from
5589 hildon-touch-picker.[ch]
5591 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5592 references, code examples, and related documentation.
5594 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5596 * doc/hildon-docs.sgml
5599 * src/hildon-toggle-button.c
5600 * src/hildon-toggle-button.h
5601 * src/hildon.h: New HildonToggleButton widget.
5603 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5605 * src/hildon-button.c: Add API documentation.
5606 (hildon_button_set_size_groups): Check input parameters
5608 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5610 * src/hildon-pannable-area.c
5611 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5612 effect after reaching the movement thredshold. This way we start
5613 using the distance after passing the thredshold.
5615 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5617 * src/hildon-button.c: (hildon_button_set_property): Use the
5618 appropriate g_value_get_flags() method.
5620 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5622 * doc/hildon-docs.sgml:
5625 Add the touch pickers, picker dialogs, and picker button widgets
5626 to the documentation.
5628 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5630 * src/hildon-button.c: (hildon_button_set_property),
5631 (hildon_button_class_init): Make "arrangement-flags" a proper
5632 G_TYPE_FLAGS derived property.
5634 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5636 * examples/Makefile.am: Add below examples.
5637 * examples/hildon-date-button-example.c:
5638 * examples/hildon-picker-button-example.c:
5639 * examples/hildon-picker-button-multicolumn-example.c:
5640 * examples/hildon-time-button-example.c:
5641 * examples/hildon-touch-picker-example.c:
5643 Add examples for the recently added touch pickers,
5644 picker dialogs, and picker button widgets.
5646 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5648 * src/hildon-button.c: Add some API documentation
5650 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5652 * src/hildon-button.h
5653 * src/hildon-button.c
5655 (hildon_button_new_with_text): New constructor to create a button
5656 with no text at all.
5657 (hildon_button_init, hildon_button_set_arrangement)
5658 (hildon_button_set_title, hildon_button_set_value)
5659 (hildon_button_set_text)
5660 (hildon_button_construct_child): Hide the value when it's not used
5661 so the rest of the text is properly aligned.
5662 Allow creating buttons with arbitrary widgets inside (not just
5663 title/value labels).
5665 * examples/hildon-button-example.c (vertical_buttons_window)
5666 (horizontal_buttons_window): Update example to use new API.
5668 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5670 * src/Makefile.am: Added HildonTimeButton.
5671 * src/hildon-time-button.c: Added missing LGPL header.
5672 * src/hildon-time-button.h: Added missing LGPL header.
5673 * src/hildon.h: Add hildon-time-button.h
5675 Copied HildonTimeButton from sandbox to trunk. Future work on this
5676 widget must take place in trunk.
5678 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5680 * src/Makefile.am: Added HildonDateButton.
5681 * src/hildon-date-button.c: Update includes.
5682 * src/hildon.h: Add hildon-date-button.h
5684 Copied HildonDateButton from sandbox to trunk. Future work on this
5685 widget must take place in trunk.
5687 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5689 * src/Makefile.am: Added HildonPickerButton.
5690 * src/hildon-picker-button.h: Update includes.
5691 * src/hildon.h: Add hildon-picker-button.h
5693 Copied HildonPickerButton from sandbox to trunk. Future work on
5694 this widget must take place in trunk.
5696 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5698 * src/Makefile.am: Added HildonPickerDialog.
5699 * src/hildon-picker-dialog.c: Update includes.
5700 * src/hildon.h: Add hildon-picker-dialog.h
5702 Copied HildonPickerDialog from sandbox to trunk. Future work
5703 on this widget must take place in trunk.
5705 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5707 * src/Makefile.am: Added HildonTimeSelector.
5708 * src/hildon.h: Add hildon-time-selector.h
5710 Copied HildonTimeSelector widget from sandbox to trunk. Future
5711 work on this widget must happen in trunk.
5713 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5715 * src/Makefile.am: Added HildonDateSelector.
5716 * src/hildon.h: Add hildon-date-selector.h
5718 Copied HildonDateSelector widget from sandbox to trunk. Future
5719 work on this widget must happen in trunk.
5721 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5723 * src/Makefile.am: Added HildonTouchPicker.
5724 * src/hildon-touch-picker.c: Update includes.
5725 * src/hildon.h: Add hildon-touch-picker.h
5727 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5728 on this widget must happen in trunk.
5730 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5732 * src/hildon-pannable-area.c:
5733 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5735 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5737 * examples/hildon-app-menu-example.c (main): Let the window
5740 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5742 * src/hildon-pannable-area.c
5743 (hildon_pannable_area_class_init): Set the min value of the
5744 overshoot properties to zero, which points out that not
5745 overshooting allowed.
5747 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5749 Modified the procedure to get the widget at a point inside the
5750 pannable area when using the movement type signals. Now the user
5751 has to call a function to get the child, that way we just
5752 calculate the child in case the user really want to use it and not
5755 * src/hildon-marshalers.list: Modified the marshallers, now we do
5756 not have the widget as a parameter.
5758 * src/hildon-pannable-area.c
5759 (hildon_pannable_area_motion_notify_cb),
5760 (hildon_pannable_area_class_init),
5761 (hildon_pannable_get_child_widget_at): Removed the widget
5762 parameter from the signal callback. We have also refactored the
5763 emission of the signals.
5765 * src/hildon-pannable-area.h: Added a new method to the API to
5766 calculate a widget at a point inside the pannable area,
5767 hildon_pannable_get_child_widget_at.
5769 * examples/hildon-pannable-area-example-4.c
5770 (horizontal_movement): Modified the example to use the new API,
5771 added condition to control which widget is under the event. This
5772 way we can avoid scrolling laterally over other widgets.
5774 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5776 * src/hildon-pannable-area.c
5777 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5778 modes, we stop getting the pointer events due to returning the
5779 callback without properly calling the get pointer again. Fixed
5780 also an error using the hscroll and vscroll.
5782 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5784 * src/hildon-app-menu-private.h
5785 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5786 (hildon_app_menu_button_release, hildon_app_menu_init)
5787 (hildon_app_menu_class_init): Don't hide the menu on button
5788 release if the user didn't press outside first.
5790 * src/hildon-window.h
5791 * src/hildon-window.c (hildon_window_toggle_menu)
5792 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5793 hildon_window_toggle_menu a virtual function for the stackable
5794 window to override it.
5796 * src/hildon-stackable-window.h
5797 * src/hildon-stackable-window-private.h
5798 * src/hildon-stackable-window.c
5799 (hildon_stackable_window_realize)
5800 (hildon_stackable_window_finalize)
5801 (hildon_stackable_window_class_init)
5802 (hildon_stackable_window_init)
5803 (hildon_stackable_window_set_main_menu): New function to set the
5804 app menu of a HildonStackableWindow.
5806 * examples/hildon-app-menu-example.c: Remove the button to show
5807 the app menu, now it'll be shown when clicking on the title bar
5810 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5812 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5813 set the widget name if the arrangement flags do not specify
5816 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5818 * src/hildon-button.c: (hildon_button_set_property),
5819 (hildon_button_class_init), (hildon_button_new_full),
5820 (hildon_button_set_arrangement): Added "arrangement-flags"
5823 Make the HildonButtonFlags a construction-only property, to allow
5824 subclasses to set them properly.
5826 2008-07-21 Tim Janik <timj@imendio.com>
5828 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5829 insertion position after backspace, so additional digits are appended,
5832 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5834 * src/hildon-pannable-area.c,
5835 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5836 TODO list, it was complete and removed the g_debug and g_print
5839 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5841 Added the movement modes to the hildon-pannable-area, with this
5842 modes the developers can control in which directions the widget
5843 can scroll. They can also connect to signals in order to do
5844 something when that happens, allowing applications scroll. There
5845 is an example uploaded showing how to use it.
5847 * examples/Makefile.am:
5848 * examples/hildon-pannable-area-example-4.c: Added this example of
5849 an application using the modes.
5851 * src/hildon-marshalers.list: Added a new marshaller for the new
5854 * src/hildon-pannable-area.h: Added new enumerations and flags in
5855 order to control the movement modes and the new signals to warn
5856 about the movements in the area.
5858 * src/hildon-pannable-area.c:
5859 (hildon_pannable_axis_scroll),
5860 (hildon_pannable_area_scroll),
5861 (hildon_pannable_area_motion_notify_cb),
5862 (hildon_pannable_area_get_property),
5863 (hildon_pannable_area_set_property),
5864 (hildon_pannable_area_map),
5865 (hildon_pannable_area_class_init),
5866 (hildon_pannable_area_init),
5867 (hildon_pannable_area_jump_to): Added the modes to control the
5868 movement in the widget. We have added properties to control it,
5869 signals to warn about the movements and refactored some code.
5871 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5873 Changes required in order to allow vfast_factor set to zero to
5876 * src/hildon-pannable-area.c:
5877 (hildon_pannable_area_button_press_cb): Changed the condition, it
5878 is required for not allowing click when vfast_factor is zero.
5879 (hildon_pannable_area_timeout): Initialized velocity variables
5880 when we stop moving, it was less than 1 but not zero and we need
5881 to check zero in some situations.
5882 (hildon_pannable_area_class_init): Changed the default value of
5883 the speed factor, now the button_press is just sent in case the
5884 speed is 2 per cent of the max speed.
5885 (hildon_pannable_area_init): Initialization with 0.
5887 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5889 * src/hildon-pannable-area.c,
5890 (hildon_pannable_area_get_topmost): replaced
5891 gdk_window_get_children with gdk_window_peek_children, this way we
5892 do not have to free the list because it is not a copy.
5894 (hildon_pannable_axis_scroll),
5895 (hildon_pannable_area_scroll),
5896 (hildon_pannable_area_timeout),
5897 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5898 two parameters that were only used inside the
5899 hildon_pannable_area_scroll function.
5901 * examples/hildon-pannable-area-example.c,
5902 (get_sawtooth_label): Fixed small memory leak.
5904 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5906 More checks for the case where the overshoot is bigger than the
5909 * src/hildon-pannable-area.c:
5910 (hildon_pannable_draw_vscroll),
5911 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5912 to draw the slider of the scrollbar under the other scrollbar.
5913 (hildon_pannable_area_expose_event): added new checks to control
5914 the drawing of the overshooting area rectangle, in case it is too
5915 big for the area of the widget.
5916 (hildon_pannable_area_size_allocate): add more checks to avoid
5917 setting a position to the child widget outside the area.
5919 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5921 * src/hildon-pannable-area.c
5922 (hildon_pannable_area_size_allocate): Added conditions to control
5923 when overshooting is bigger than the allocated space for the
5924 children, this avoids negative allocations.
5926 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5928 * doc/hildon-docs.sgml
5930 * examples/Makefile.am
5931 * examples/hildon-button-example.c
5933 * src/hildon-button.c
5934 * src/hildon-button.h
5935 * src/hildon.h: Initial version of the new HildonButton widget,
5938 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5940 * src/hildon-pannable-area.c:
5941 (hildon_pannable_area_button_press_cb),
5942 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5943 (hildon_pannable_area_motion_notify_cb),
5944 (hildon_pannable_area_button_release_cb),
5945 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5946 (hildon_pannable_area_jump_to_child):
5948 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5950 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5952 * examples/Makefile.am
5953 * examples/hildon-pannable-area-touch-grid-example.c
5954 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5955 the Hildon Touch List and Hildon Touch Grid using the
5956 HildonPannableArea widget.
5958 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5960 * src/hildon-pannable-area.c,
5961 (hildon_pannable_area_button_press_cb),
5962 (hildon_pannable_area_refresh),
5963 (hildon_pannable_area_scroll),
5964 (hildon_pannable_area_motion_notify_cb),
5965 (hildon_pannable_area_button_release_cb),
5966 (hildon_pannable_area_expose_event),
5967 (hildon_pannable_area_add),
5968 (hildon_pannable_area_remove),
5969 (hildon_pannable_area_realize),
5970 (hildon_pannable_area_size_allocate),
5971 (hildon_pannable_area_class_init),
5972 (hildon_pannable_area_init),
5973 (hildon_pannable_area_scroll_to_child),
5974 (hildon_pannable_area_jump_to_child): Fixed the problem of
5975 removing the child from the GtkBin, we have rearranged the widget
5976 hierarchy, now there is no GtkAlignment which was not doing
5977 anything interesting but breaking some of the assumptions of
5978 GtkContainer. Now developers if they want to add a GtkAlignment
5979 they could, but it is not inside the area.
5981 We had to review the whole allocation/expose process, now it is
5982 improved and we save at least three signals which would be saving
5983 some time when rendering the widget. The allocation of the
5984 scrollbars is now made in the allocate method as usual.
5986 We have also added some conditions in order to control when there
5987 is no child of the pannable area. Maybe we will need more work
5990 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5992 * src/hildon-pannable-area.c,
5993 (hildon_pannable_area_dispose): Released the fade-out timeout when
5994 disposing the widget.
5996 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5998 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5999 zero, we are going to use that property in order to deactivate the
6001 (hildon_pannable_axis_scroll),
6002 (hildon_pannable_area_size_allocate): Added conditions to control
6003 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6004 call, now it is called in all situations and we can remove calls
6005 in the allocate method.
6006 (hildon_pannable_area_map): Control the situation when
6007 overshoot_max is zero, we do not need the timeout.
6008 (hildon_pannable_area_class_init): Added documentation in order to
6009 point out that setting zero to overshoot_max means deactivate
6012 NOTE: removed trailing whitespaces from my previous comments of
6015 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6017 * src/hildon-pannable-area.c
6018 (hildon_pannable_area_get_property),
6019 (hildon_pannable_area_set_property),
6020 (hildon_pannable_area_map),
6021 (hildon_pannable_area_class_init),
6022 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6023 to cause the widget give a hint about its panning abilities upon
6026 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6028 * src/hildon-pannable-area.c: Several documentation improvements.
6030 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6032 * src/hildon-program.c
6033 * src/hildon-stackable-window.c: Update documentation.
6035 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6037 * src/hildon-stackable-window.c (get_previous_window_if_last):
6038 Renamed get_last_window()
6039 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6040 (hildon_stackable_window_unset_program):
6042 (get_previous_window_if_last):
6043 Detect if the window hasn't been added to a HildonProgram.
6045 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6047 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6049 * src/hildon-pannable-area.c
6050 (hildon_pannable_area_button_press_cb),
6051 (hildon_pannable_axis_scroll),
6052 (hildon_pannable_area_scroll),
6053 (hildon_pannable_area_timeout),
6054 (hildon_pannable_calculate_vel_factor),
6055 (hildon_pannable_area_get_property),
6056 (hildon_pannable_area_set_property),
6057 (hildon_pannable_area_class_init),
6058 (hildon_pannable_area_init),
6059 (hildon_pannable_area_scroll_to),
6060 (hildon_pannable_area_jump_to),
6061 (hildon_pannable_area_scroll_to_child),
6062 (hildon_pannable_area_jump_to_child):
6063 * src/hildon-pannable-area.h: Added the new API functions:
6064 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6065 hildon_pannable_area_scroll_to_child,
6066 hildon_pannable_area_jump_to_child
6069 * examples/Makefile.am
6070 * examples/hildon-pannable-area-example-2.c
6071 * examples/hildon-pannable-area-example-3.c: Added these two new
6072 examples in order to test and show how the new APIs work.
6074 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6076 * examples/hildon-stackable-window-example.c (new_window):
6077 * src/Makefile.am (noinst_HEADERS):
6078 * src/hildon-program.c (hildon_program_go_to_root_window):
6079 * src/hildon-program.h:
6080 * src/hildon-stackable-window-private.h:
6081 * src/hildon-stackable-window.c:
6082 * src/hildon-stackable-window.h:
6083 Create hildon-stackable-window-private.h
6084 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6086 * examples/hildon-app-menu-example.c (create_menu):
6087 * examples/hildon-hvolumebar-insensitive-example.c (main):
6088 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6089 * examples/hildon-toolbar-seekbar-example.c (main):
6090 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6091 * src/hildon-banner.c (hildon_banner_set_property):
6092 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6093 Fix compilation warnings
6095 * src/hildon-window.c:
6098 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6100 * src/hildon-stackable-window.c
6101 (hildon_stackable_window_unset_program):
6102 Calculate correctly whether to show the previous window if the
6103 last one is removed from the stack.
6104 (hildon_stackable_window_go_to_root_window):
6105 Send delete events starting from the topmost window.
6106 Stop if one of the windows is not destroyed.
6108 (hildon_stackable_window_delete_event)
6109 (hildon_stackable_window_class_init):
6110 Ignore the delete event if the window is not the topmost one.
6112 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6114 * src/hildon-pannable-area.c
6115 (hildon_pannable_area_expose_event): Fixed a problem when
6116 selecting the background color of the scrollbars.
6118 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6120 * examples/hildon-stackable-window-example.c
6121 * src/hildon-stackable-window.c
6122 * src/hildon-stackable-window.h
6123 hildon_stackable_window_go_home() renamed to
6124 hildon_stackable_window_go_to_root_window()
6125 Send delete events to windows rather than closing them with
6126 gtk_widget_destroy()
6128 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6130 * src/hildon-pannable-area.c
6131 (hildon_pannable_area_button_release_cb): Fix overshooting in
6134 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6136 * src/hildon-pannable-area.c
6137 (hildon_pannable_area_init): Initially show the scroll indicators.
6138 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6140 Add initial effect showing the widget is pannable.
6142 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6144 * src/hildon-pannable-area.c
6145 (hildon_pannable_area_class_init)
6146 (hildon_pannable_area_set_property)
6147 (hildon_pannable_area_get_property)
6148 (hildon_pannable_area_button_press_cb):
6149 New 'velocity_fast_factor' property to decide which velocity is
6152 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6154 * src/hildon-pannable-area.c
6155 (hildon_pannable_draw_hscroll)
6156 (hildon_pannable_draw_vscroll):
6157 Use float variables to calculate the size of the scrollbars to
6158 avoid error propagation and resizing during scrolling.
6160 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6162 * src/hildon-pannable-area.c
6163 (hildon_pannable_draw_vscroll)
6164 (hildon_pannable_draw_hscroll):
6165 Define a minimum size for the scroll bars
6167 * src/hildon-stackable-window.c
6168 (hildon_stackable_window_go_home): Fix compilation warning
6169 (get_last_window): Minor optimizations
6170 (hildon_stackable_window_class_init): Fix initialization of
6173 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-stackable-window.c: Fixed typos in doc
6177 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6179 * src/hildon-pannable-area.c
6180 (hildon_pannable_area_scroll):
6181 Calculate here whether we need to scroll instead of using the booleans
6182 that tell us whether to /draw/ the scrolling bars.
6184 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6186 * src/hildon-app-menu.h
6188 * src/hildon-app-menu.c
6189 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6190 multiple filter groups related code and API. Now we support only
6192 * examples/hildon-app-menu-example.c:
6194 Update to reflect API changes.
6196 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6198 * src/hildon-stackable-window.c
6199 (hildon_stackable_window_class_init):
6200 Add hildon_stackable_window_realize.
6201 (hildon_stackable_window_realize):
6202 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6203 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6204 to apply theming and behavior specific to HildonStackableWindow
6207 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6209 * src/hildon-note.c (hildon_note_button_release):
6210 Close information notes also when tapping on them
6212 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6214 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6215 ELASTICITY, refactor and review, fix some issues with drawing
6218 * src/hildon-pannable-area.c:
6219 (hildon_pannable_area_button_press_cb): removed the conditions to
6220 avoid clicks when overshooting. It is not required
6222 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6223 define. Refatored and reviewed the code, now we do not need to
6224 manage velocity in motion_notify.
6226 (hildon_pannable_area_motion_notify_cb): We have moved the code
6227 that controls the area_scroll to the axis_scroll function and get
6228 rid of duplicated code.
6230 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6232 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6234 (hildon_pannable_draw_vscroll),
6235 (hildon_pannable_draw_hscroll): Fixed the problems with the
6236 scrollbar drawing, now we do not use two surfaces, it is easier
6237 and saves resources.
6239 (hildon_pannable_area_get_property): Style modification.
6241 (hildon_pannable_area_class_init): Changed some default values.
6243 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6245 * src/hildon-stackable-window.c: Fix some typos in the
6248 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6250 * src/hildon-dialog.c:
6251 Change indentation style
6254 (hildon_note_button_release):
6255 Use root coordinates to check if the release event happened
6258 * src/hildon-app-menu.c
6259 (hildon_app_menu_button_release):
6260 Remove unnecessary check
6262 * examples/hildon-app-menu-example.c
6264 Add cast to fix warning
6266 * src/hildon-app-menu.c
6267 (hildon_app_menu_class_init):
6268 New inner-border style property.
6269 Set all default spacings to 16
6270 (hildon_app_menu_init):
6271 Use vertical-spacing to set the space between filter buttons and
6272 regular menu buttons.
6273 Set the default container border using the inner-border value.
6275 * examples/hildon-app-menu-example.c
6277 Don't set the menu border explicitly, now we have the inner-border
6278 style property for that.
6280 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6282 * src/hildon-app-menu.c (hildon_app_menu_init):
6283 Make the window modal
6285 * src/hildon-note.c (hildon_note_map)
6286 * src/hildon-app-menu.c (hildon_app_menu_map):
6287 Destroy the grab window if we're unable to grab the pointer
6289 * src/hildon-app-menu-private.h
6290 * src/hildon-app-menu.c
6291 (hildon_app_menu_init, hildon_app_menu_finalize)
6292 (hildon_app_menu_map, hildon_app_menu_unmap)
6293 (hildon_app_menu_button_release)
6294 (grab_transfer_window_get):
6295 Bring back the grab window
6296 (hildon_app_menu_realize):
6297 Decorate the window, set WM hint for Matchbox
6299 * src/hildon-note.c (hildon_note_realize):
6300 * src/hildon-banner.c (hildon_banner_realize):
6301 Add WM hints for Matchbox
6303 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6305 * src/hildon-app-menu-private.h
6306 * src/hildon-app-menu.c
6307 (hildon_app_menu_init, hildon_app_menu_finalize)
6308 (hildon_app_menu_map, hildon_app_menu_unmap)
6309 (hildon_app_menu_button_release):
6310 Remove the grab window, it's not needed anymore
6312 * src/hildon-program.c
6313 Fixed typo in documentation
6315 * src/hildon-app-menu.h
6316 * src/hildon-app-menu.c
6317 * examples/hildon-app-menu-example.c
6318 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6320 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6323 Added new transfer_window and close_if_pressed_outside private
6325 (hildon_note_rebuild):
6326 Don't add a cancel button to the information note. It will be
6327 closed when tapping outside
6328 Remove the comment about the OK button in the documentation
6329 (hildon_note_realize):
6330 Set the notification type hint
6331 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6332 Grab/ungrab pointer and keyboard if the note has to be closed when
6334 (hildon_note_button_release):
6335 Close the note when tapping outside (if applicable)
6337 * src/hildon-app-menu.c
6338 Grab/ungrab pointer and keyboard on map/unmap
6339 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6340 Close the menu on button release, not button press
6342 * src/hildon-banner.c
6343 (hildon_banner_set_property)
6344 (hildon_banner_check_position):
6345 Make the banner use the full width of the screen
6346 (hildon_banner_show_information)
6347 (hildon_banner_show_information_with_markup):
6348 Don't display an icon by default
6350 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6352 Added fading scrollbars and adapted all the overshooting code to
6353 horizontal scrolling. We have also fixed bugs with overshooting
6354 and current fading implementation.
6356 * src/hildon-pannable-area.c
6357 (hildon_pannable_area_scroll_indicator_fade): Time out function
6358 used to change the transparency of the scrollbars.
6360 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6361 control and fixed a problem with fading, we now remove the fade
6362 timeout before adding a new one.
6364 (hildon_pannable_axis_scroll):
6365 (hildon_pannable_area_scroll):
6366 (hildon_pannable_area_timeout): Added this functions so we can use
6367 the scroll code both for vertical and horizontal.
6369 (hildon_pannable_area_motion_notify_cb):
6370 (hildon_pannable_area_button_release_cb): Added the horizontal
6371 scrolling control, fixed a problem with the overshooting timeout.
6373 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6374 painting of the scrolls.
6376 (hildon_pannable_draw_vscroll):
6377 (hildon_pannable_draw_hscroll):
6378 (hildon_pannable_area_expose_event):
6379 Draw both scrollbars and rectangles in the overshooting area.
6381 (hildon_pannable_area_get_property):
6382 (hildon_pannable_area_set_property):
6383 Modified the overshoot property to overshoot_max
6385 (hildon_pannable_area_map):
6386 Replaced the comments symbols.
6388 (hildon_pannable_area_size_allocate):
6389 (hildon_pannable_area_class_init):
6390 (hildon_pannable_area_init): Added horizontal scroll, fading
6391 effect properties, fixed a problem when overshooting in the bottom
6394 * examples/hildon-pannable-area-example.c:
6395 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6396 looks better in the example.
6398 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6400 * src/hildon-window.c
6401 * src/hildon-window.h
6402 (hildon_window_class_init)
6403 (hildon_window_unset_program)
6404 (hildon_window_unset_program_real):
6405 Make unset_program a virtual function
6407 * src/hildon-stackable-window.c
6408 * src/hildon-stackable-window.h
6409 Added hildon_stackable_window_go_home()
6411 * examples/Makefile.am
6412 * examples/hildon-stackable-window-example.c
6413 HildonStackableWindow example
6415 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6417 * hildon-pannable-area.c: Added the overshoot property and removed
6418 the OVERSHOOT define. Fixed an indent style error.
6419 (hildon_pannable_area_motion_notify_cb):
6420 (hildon_pannable_area_get_property):
6421 (hildon_pannable_area_set_property): Add overshoot property.
6423 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6426 (hildon_pannable_area_class_init): Installed the new property.
6428 * hildon-pannable-area-example.c: Added a sawtooth function, this
6429 way it is easier to check the movement in the pannable.
6430 (get_sawtooth_label): Added this function.
6431 (main): Now we get the labels from the new get_sawtooth_label
6434 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6436 * src/hildon-app-menu.h
6437 * src/hildon-app-menu.c
6438 Renamed API variables for consistency
6440 (hildon_app_menu_popup): Use also the default window size to
6441 decide where to place the menu
6443 (hildon_app_menu_init, hildon_app_menu_class_init): New
6444 external-border style property
6446 2008-05-26 Michael Natterer <mitch@imendio.com>
6448 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6449 widget_class->tap_and_hold_setup signal slot doesn't exist any
6450 longer, stop overriding it.
6452 (hildon_time_editor_init): g_signal_connect() to the
6453 tap-and-hold-setup signal instead.
6455 (hildon_time_editor_entry_keypress): add cast to fix warning.
6457 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6459 * doc/hildon-docs.sgml
6461 * examples/Makefile.am
6462 * examples/hildon-app-menu-example.c
6464 * src/hildon-app-menu-private.h
6465 * src/hildon-app-menu.c
6466 * src/hildon-app-menu.h
6468 New HildonAppMenu widget
6470 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6472 Rearranged the inheritance of the pannable area, now it inherits
6473 from GtkBin. This will allow us to control the event_window and
6474 the allocation process of the widget, required for some effects.
6476 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6477 GtkBin structures. * src/hildon-pannable-area.c: Added the
6478 event_window variable.
6479 (hildon_pannable_area_button_press_cb):
6480 (hildon_pannable_area_button_release_cb):
6481 (hildon_pannable_area_motion_notify_cb):
6482 Changed the signature of the method, now we override the event
6483 callback instead of connecting to the signal.
6485 (hildon_pannable_area_realize):
6486 (hildon_pannable_area_unrealize):
6487 (hildon_pannable_area_map):
6488 (hildon_pannable_area_unmap):
6489 (hildon_pannable_area_size_allocate):
6490 Added functions to control the widget construction. We add a
6491 INPUT_ONLY window and we put it over the widgets inside the
6492 container, this event_window handles the events.
6494 (hildon_pannable_area_class_init):
6495 Replaced the signal connections with overrides of the event
6498 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6500 Bouncing effect added when touching the borders, you can change
6501 the elasticity of the border changing the ELASTICITY define.
6503 * src/hildon-pannable-area.c: Added ELASTICITY define.
6504 (hildon_pannable_area_timeout): Added inverse velocity when
6505 touching the border of the child widget, that causes a bounce.
6507 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6509 Improved performance, we now do not go to the X server in order to
6510 get the list of window children. Apparently the effect is the
6511 same, we have to be careful and check if this breaks something in
6514 * src/hildon-pannable-area.c:
6515 (get_ordered_children): Removed this function.
6516 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6517 the children windows function with gdk_window_get_children.
6519 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6521 * src/hildon-pannable-area.c:
6522 (hildon_pannable_area_dispose): Fixed a crash when closing the
6523 window and kinetics is activated.
6525 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6527 * src/hildon-pannable-area.h
6528 * src/hildon-pannable-area.c
6529 Changed indentation style to meet the one used in Hildon
6531 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6533 Reviewed the interaction of the AUTO mode, now we use the time
6534 attribute of the events and calculate the velocity in the motion,
6535 doing a gimp like calculation. The velocity is calculated in each
6536 motion event using the last velocity and the current one, the
6537 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6539 * src/hildon-pannable-area.c: Replaced the time based algorithm
6541 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6542 timeout for the AUTO mode when we are still moving the cursor. We
6543 added also the velocity calculation in this function.
6544 (hildon_pannable_area_button_release_cb): launch the timeout in
6545 case we are in AUTO mode. There are still some constants here that
6546 come from the old implementation that should be reviewed and
6549 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6551 * doc/hildon-docs.sgml
6554 * src/hildon-stackable-window.c
6555 * src/hildon-stackable-window.h
6557 New HildonStackableWindow widget
6559 * examples/hildon-dialog-example.c
6560 * examples/hildon-pannable-area-example.c
6563 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-dialog.c
6566 (hildon_dialog_new_with_buttons): New constructor.
6568 * examples/hildon-dialog-example.c
6569 (main): Update the example to use the new
6570 hildon_dialog_new_with_buttons().
6572 * examples/hildon-pannable-area-example.c
6573 (main): Update example.
6575 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6577 * doc/hildon-docs.sgml
6579 Added HildonPannableArea to the documentation.
6581 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6583 * doc/visual_index.xml
6584 Fix reference to HildonLoginDialog in documentation
6586 * doc/hildon-docs.sgml
6588 * examples/Makefile.am
6589 * examples/hildon-dialog-example.c
6591 * src/hildon-dialog.c
6592 * src/hildon-dialog.h
6594 New HildonDialog widget.
6596 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6598 * src/hildon-pannable-area.c
6599 Merge latest changes (r4318, r4342) from libmokoui trunk
6601 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6603 * examples/Makefile.am
6604 * examples/hildon-pannable-area-example.c
6606 * src/hildon-pannable-area.c
6607 * src/hildon-pannable-area.h
6609 New HildonPannableArea widget.
6611 2008-04-15 18:05:19 <timj@imendio.com>
6613 * src/hildon-banner.c: revert the recent change, that introduced
6614 gtk_window_present() calls. this reopens:
6615 Bug 78481 - [freetest] information banners are hidden under browser menu
6616 But resolves another variant of:
6617 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6619 2008-04-15 13:21:13 <timj@imendio.com>
6621 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6622 recreated its layout, spotted by Kris. this fixes all remaining
6623 artefacts and stability issues with the banner code. in particular:
6624 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6626 2008-04-14 16:52:59 <timj@imendio.com>
6628 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6629 operating on unrealized widgets, fixes:
6630 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6632 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6634 2008-04-09 Kristian Rietveld <kris@imendio.com>
6636 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6637 makes banner disappear.
6638 Fixes: NB#79182: info banner flickering with certain message lengts.
6640 * src/hildon-banner.c (hildon_banner_constructor),
6641 (hildon_banner_init), (hildon_banner_set_text),
6642 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6643 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6644 FALSE, reset size requests of label and banner,
6645 (force_to_wrap_truncated): when the text is too wide, always enforce
6646 the maximum possible width instead of recalculating it from the
6647 layout; enforce the maximum banner height of 3 lines,
6648 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6649 nicer wrapping and no truncated chars if space gets tight.
6651 * src/hildon-banner-private.h: add has_been_wrapped and
6652 has_been_truncated fields.
6654 2008-04-07 Sven Herzberg <sven@imendio.com>
6656 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6657 local values in hildon_date_editor_size_allocate
6659 * src/hildon-date-editor.c: moved the real allocation code into the
6662 2008-04-07 Sven Herzberg <sven@imendio.com>
6664 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6665 local values in hildon_date_editor_size_allocate
6667 * src/hildon-date-editor.c: merged the two if() branches together
6669 2008-04-07 Sven Herzberg <sven@imendio.com>
6671 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6672 local values in hildon_date_editor_size_allocate
6674 * src/hildon-date-editor.c: changed the arguments of the if()
6677 2008-04-07 Sven Herzberg <sven@imendio.com>
6679 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6680 local values in hildon_date_editor_size_allocate
6682 * src/hildon-date-editor.c: split the calculation of the allocation
6683 from the real allocation
6685 2008-03-27 Michael Natterer <mitch@imendio.com>
6687 Fixes: NB#81696: The passcode is not overwritten even after
6690 * src/hildon-code-dialog.c
6691 (hildon_code_dialog_button_clicked)
6692 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6693 because that doesn't overwrite selected text. Instead, emit the
6694 "commit" signal on the entry's im_context so the entry's normal
6695 insert logic is triggered. Set the cursor to the end of the entry
6696 after each insert operation so that we *only* insert in the middle
6697 of the text if something was selected.
6699 2008-03-27 Michael Natterer <mitch@imendio.com>
6701 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6702 selector cannot be opened
6704 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6705 when the popup color selector is created. Please connect to this
6706 signal in order to set the dialog's help ID.
6708 2008-03-25 Sven Herzberg <sven@imendio.com>
6710 Fixes: MB#1212: Hide info banners (infoprints) on click
6712 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6713 extracted the close event simulation into an extra function
6714 (hildon_banner_button_press_event): simulate a close event and destroy
6715 the widget if the event wasn't handled
6716 (hildon_banner_class_init): added the button_press_event handler
6717 (hildon_banner_init): added button-press events to the widget
6719 2008-03-25 Sven Herzberg <sven@imendio.com>
6721 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6722 Patch from: Mohammad Anwari <mdamt@maemo.org>
6724 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6725 instead of the right in RTL mode
6726 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6727 breadcrumb button list in RTL mode
6728 * src/hildon-caption.c: mirror the appearance of the caption widget in
6730 * src/hildon-date-editor.c: mirror appearance of the date editor in
6732 * src/hildon-time-editor.c: mirror appearance of the time editor in
6734 * src/hildon-window.c: fix the position of the popup in RTL mode
6736 2008-03-25 Sven Herzberg <sven@imendio.com>
6738 Amendment to the fix of NB#22072. Fix compilation.
6740 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6742 2008-03-19 Sven Herzberg <sven@imendio.com>
6744 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6747 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6748 timeout id properly when the timeout will disappear this leaves no
6749 artifacts around in the destroy(); there will only be the timeout
6750 created by hildon_banner_ensure_timeout() and adding a new timeout
6751 will also work if the timeout gets removed because the timeout_handler
6754 2008-03-19 Michael Natterer <mitch@imendio.com>
6756 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6758 * src/hildon-volumebar.c
6759 * src/hildon-vvolumebar.c
6760 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6761 the widget becomes focussable at all.
6763 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6764 set the focus to wither the mute button or the volumebar.
6766 Remove own "can-focus" property and instead listen to
6767 notify::can-focus in order to update the widget's state.
6769 Implement GtkWidget::focus() and make sure we can also *leave* the
6770 widget, not only enter it, depending on volumebar orientation and
6771 requested focus direction.
6773 Clean up set_mute() to cooperate nicely with all the above.
6775 2008-03-04 Michael Natterer <mitch@imendio.com>
6777 Fixes: NB#78481: information banners are hidden under browser menu
6779 * src/hildon-banner.c: call gtk_window_present() on the banners so
6780 they are risen if they are already visible.
6782 2008-03-03 Sven Herzberg <sven@imendio.com>
6784 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6786 * examples/hildon-window-menu-example.c: (main): extended the window
6787 menu example to serve as a testcase for automatically added
6788 accelerator groups, too
6789 * src/hildon-window.c: (hildon_window_add_accel_group),
6790 (hildon_window_set_menu): added patch by Tommi Komulainen
6792 2008-03-03 Sven Herzberg <sven@imendio.com>
6794 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6796 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6797 knowledge about the border allocators used within GTK+
6799 2008-02-26 Sven Herzberg <sven@imendio.com>
6801 Fixes: MB#2981: Build with asserts broken
6803 * src/hildon-date-editor.c,
6804 * src/hildon-number-editor.c,
6805 * src/hildon-time-editor.c,
6806 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6807 the proper GType instance check
6809 2008-02-25 Sven Herzberg <sven@imendio.com>
6811 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6813 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6814 * examples/hildon-window-menu-example.c: (main): explicitly show
6816 * src/hildon-window.c:
6817 (hildon_window_set_main_menu): moved most of the code from set_menu()
6818 to this place; skipped the call to gtk_widget_show_all(); also didn't
6819 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6820 (hildon_window_set_menu): removed most of the code, just keep the
6821 questionable gtk_widget_show_all()
6822 * src/hildon-window.h: added the new function and deprecate the old
6825 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6831 * debian/changelog: Updating.
6833 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6836 * pkgconfig/Makefile.am:
6837 * pkgconfig/hildon.pc.in:
6840 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6841 use newly created API_MAJOR_VERSION.
6843 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6849 * debian/changelog: Updating.
6851 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6853 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6855 Add outer_border style property, we use it but don't define it (!).
6859 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6861 * examples/hildon-bread-crumb-trail-example.c (main):
6865 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6867 Fix logic for the bread crumb trail node removal.
6871 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6877 * debian/changelog: Updating.
6879 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6881 Patch by Alejandro to get/set passwords dialogs accesibility.
6883 * hildon-1/src/hildon-get-password-dialog.c:
6884 * hildon-1/src/hildon-set-password-dialog.c:
6885 Set atk_set_name to the passwd entries in order to allow
6886 accessibility by name on this entries.
6888 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6893 * debian/control: Updating gtk dep.
6895 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6897 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6898 USE_MAEMO_GTK is enabled.
6900 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6902 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6903 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6905 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6911 * debian/changelog: Updating.
6913 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6915 * examples/Makefile.am:
6916 * examples/hildon-logical-color-example.c:
6917 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6918 applied + adding a test case. Fixes: NB#71660.
6920 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6922 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6923 to be visible, fixes warning on map for windows without toolbars.
6925 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6927 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6928 2.11.0, add a check for that besides the MAEMO_GTK check.
6930 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6936 * debian/changelog: Updating.
6938 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6940 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6941 visibility. Fixes: NB#70842 and MB#615.
6943 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6945 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6946 set the separator as no-show-all so it doesn't unintentionally appear when
6947 someone does a show_all.
6949 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6951 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6952 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6953 toplevel item. Fixes: NB#62031
6955 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6957 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6958 fix the name of the function in the docs.
6960 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6966 * debian/changelog: Updating.
6968 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6970 * examples/hildon-banner-long-example.c: Adding a test-case for long
6973 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6975 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6977 * src/hildon-color-chooser-dialog.c:
6978 * src/hildon-color-chooser.c:
6979 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6980 memory leaks in font selector and color selector. Fixes: NB#70499 and
6983 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6985 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6987 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6989 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6990 little bit bigger. Fixes: #NB63694.
6992 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6998 * debian/changelog: Updating.
7000 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7003 * doc/hildon-docs.sgml:
7004 * doc/images/bread-crumb-trail.png:
7005 * doc/images/calendar-popup.png:
7006 * doc/images/caption.png:
7007 * doc/images/code-dialog.png:
7008 * doc/images/color-button.png:
7009 * doc/images/color-chooser-dialog.png:
7010 * doc/images/color-chooser.png:
7011 * doc/images/controlbar.png:
7012 * doc/images/date-editor.png:
7013 * doc/images/font-selection-dialog.png:
7014 * doc/images/get-password-dialog.png:
7015 * doc/images/hvolumebar.png:
7016 * doc/images/login-dialog.png:
7017 * doc/images/note.png:
7018 * doc/images/number-editor.png:
7019 * doc/images/range-editor.png:
7020 * doc/images/seekbar.png:
7021 * doc/images/set-password-dialog.png:
7022 * doc/images/sort-dialog.png:
7023 * doc/images/time-editor.png:
7024 * doc/images/time-picker.png:
7025 * doc/images/vvolumebar.png:
7026 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7027 Adding the bread-crumb-trial and helpers to the documentation.
7029 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7031 * examples/hildon-find-toolbar-example.c:
7032 * src/hildon-find-toolbar.c:
7033 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7034 actually continue firing the other handlers if connected. Adding a new
7036 hildon_find_toolbar_get_last_index that gets the index of the most
7037 recently added (last) item. Fixes: NB#52301.
7039 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7041 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7042 behaviour. Fixes: NB#68610.
7044 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7046 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7049 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7051 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7052 when realizing the banner. Should make the infonbanner effect a bit more
7055 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7057 * src/hildon-volumebar.c:
7058 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7059 hildon_volumebar_set_range_insensitive_message and
7060 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7062 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7064 * src/hildon-window.c: Fixing the border freeing on destroy.
7066 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7068 * src/hildon-code-dialog-private.h:
7069 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7070 kw keyboard support in HildonCodeDialog.
7072 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7078 * debian/changelog: Updating.
7080 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7082 * src/hildon-date-editor.c:
7083 * src/hildon-number-editor.c:
7084 * src/hildon-private.c:
7085 * src/hildon-private.h:
7086 * src/hildon-time-editor.c:
7087 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7088 handling in subclassed composite widgets. Fixes: NB#66628.
7090 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7092 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7093 from destroy_ callback as it introduces problems in async dbus signal
7094 handlers. Fixes NB#66673.
7096 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7098 * examples/hildon-hvolumebar-example.c:
7099 * src/hildon-volumebar.c: Improving the focus handling in the
7100 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7101 set_property accessor so that "mute" property can be actually set. I'm
7102 scared that nobody noticed it's totally broken.
7104 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7106 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7109 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7111 * src/hildon-calendar.c:
7112 * src/hildon-number-editor.c:
7113 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7114 matches the spec of 6 chars per second. Fixes: NB#60489.
7116 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7118 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7119 gtk_style_lookup_color sometime returns FALSE even though color was
7120 found and values were filled properly. Weird. Removing the warning for the
7123 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7125 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7126 expand vertically. Adding some extra space to the find toolbar buttons to
7127 make them thumbable. Fixes NB#66060.
7129 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7131 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7132 popup with "Ok" and "Cancel". Fixes NB#59299.
7134 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7136 * src/hildon-calendar.c: Process all window updates before executing next
7137 timeout. Fixes: NB#54146.
7139 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7145 * debian/changelog: Updating.
7147 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7149 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7150 the client event and ignore it, since we use the delete event to close
7153 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7155 * src/hildon-helper.c: Remove the bogus warning about color not being
7156 found. Fixes NB#58352.
7158 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7160 * examples/Makefile.am:
7161 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7162 HildonSeekbar widget inside a toolbar.
7164 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7166 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7167 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7168 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7169 don't want to be closed by non-temporary windows on map.
7171 Also use G_DEFINE_TYPE instead of manually typed code.
7173 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7180 * debian/rules: Updating.
7182 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7184 * examples/Makefile.am:
7185 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7186 bug NB#61128. Strangely it works.
7188 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7190 * src/hildon-date-editor.c: When the date editor entry has been changed
7191 but the numbers of characters < max, turn off the skip validation flag.
7192 Prevents a situation when we enter first a valid year and later re-write
7193 it with an invalid one. Fixes NB#60154.
7195 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7197 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7198 code dialog. Fixes NB#64355.
7200 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7202 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7203 switching the page. Fixes NB#49374.
7205 * examples/Makefile.am:
7206 * examples/hildon-wizard-dialog-example.c: Adding an example for
7207 HildonWizardDialog that shows how to handle manual sensitivity setting on
7210 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7214 * src/hildon-version.h.in:
7215 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7217 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7219 * src/hildon-volumebar.c: Updating the docs.
7221 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7227 * debian/changelog: Updating.
7229 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7231 * src/hildon-find-toolbar.c:
7232 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7233 selected item: hildon_find_toolbar_set_active,
7234 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7235 hildon_find_toolbar_get_active_iter . They correspond to respective
7236 GtkComboBox functions.
7238 * examples/Makefile.am:
7239 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7242 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7244 * examples/Makefile.am:
7245 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7248 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7249 when font size > 32 and we pack a focusable widget inside. Actually using
7250 the default response would work too, but since we don't show default
7251 response state in any way (no theming) it would not be visible to the
7252 user. Fixes NB#63430.
7254 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7256 * src/hildon-date-editor.c: Adding the missing variable setter in the
7257 set_property handler. Fixes NB#54182.
7259 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7261 * src/hildon-window.h: Changing the long key press time from 1500ms to
7262 800ms as requested in NB#63700. I have a bad feeling about this, let's
7263 see... Fixes NB#63700.
7265 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7267 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7268 hildon_time_picker_map, hildon_time_picker_realize,
7269 hildon_time_picker_style_set): Split the contents of map to more
7270 appropriate functions; set window decorations on realize and update
7271 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7273 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7278 * debian/changelog: Updating.
7280 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7282 * src/Makefile.am: fixed installation of the header files
7284 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7290 * debian/changelog: Updating.
7292 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7294 * configure.ac: Removing some remaining of --enable-xan.
7296 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7298 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7299 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7301 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7302 2.10.12-osso6 because the move-focus signal needs to be available in
7305 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7307 * examples/Makefile.am:
7308 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7309 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7310 fine. Prolly NB#61128 is fixed now.
7312 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7314 * src/hildon-volumebar.c:
7315 * src/hildon-volumebar.h: Adding the
7316 hildon_volumebar_set_range_insensitive_message and
7317 hildon_volumebar_set_range_insensitive_messagef functions to set
7318 insensitive message on the slider of the volumebar. Fixes NB#61129.
7320 * examples/Makefile.am:
7321 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7322 test the new insensitive messsage functionality on HildonVolumebar.
7324 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7326 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7329 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7331 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7332 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7333 button on after clearing the trail.
7335 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7337 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7339 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7341 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7342 by splitting the installed headers in generated and non-generated groups. Use
7343 only the non-generated headers to create the hildon-enum-types.h file.
7345 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7347 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7349 * src/hildon-window.c: Hide the window before performing the destroy.
7350 Should make the app closing a little tiny bit more snappy.
7352 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7354 * src/hildon-seekbar.c: add gtkrange.h header
7355 * src/hildon-caption.c: remove unused variable
7357 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7359 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7362 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7368 * debian/changelog: Updating.
7370 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7372 * src/hildon-window.c (hildon_window_window_state_event,
7373 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7374 escape timeout on focus-out-event rather than notify::is-topmost; the
7375 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7377 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7379 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7380 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7382 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7384 * src/hildon-window: actually, you need to use the macro always, there's
7385 no private pointer in the instance structure. We should have cleaned this up
7386 when we had the chance...
7388 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7390 * src/hildon-window.c: do not get the private date from HildonWindow before
7391 it passes the g_return_if_fail check. Once it's passed the test, there's no
7392 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7393 if you are only going to access the data once. Whitespace cleanups.
7395 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7397 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7398 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7400 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7406 * debian/changelog: Updating.
7408 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7410 * src/hildon-window.c: When destroying the window, remove (if exists) the
7411 escape timeout handler. Fixes #NB59276.
7413 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7415 * src/hildon-banner.c: When realizing the widget, set the window
7416 transiency. Setting the transiency in the gobject constructor is not
7417 good, as the widget is not realized at that point. Fixes: #NB56624.
7419 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7421 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7422 Add padding for future expansions.
7424 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7426 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7427 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7428 will fake an activation on the previous to the last item of the trail, so
7429 the effect can be overrided by the developer as usual.
7430 Also change the callback for the back button to do the same thing, so its
7431 effect can be overrided too. Fixes: NB#58982
7433 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7435 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7436 HildonCaption. Fixes NB#52379.
7438 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7440 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7441 the internal state of the trail after the user has had the chance of executing
7442 his handler for the signal. Specifically, it may happen that the activated button
7443 is removed and the user still lets the default handler run. This would segfault
7446 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7448 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7449 scrollbar to the preview dialog. Fixes NB#54147.
7451 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7453 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7454 max/min year properties can be altered, so the client can modify it
7455 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7457 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7459 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7460 hildonlike by default. Fixing a problem with disappearing arrows when
7461 scrolling through months and years. Fixes NB#54127.
7463 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7465 * examples/hildon-date-editor-example.c: Adding error callback to the date
7468 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7474 * configure.ac: Updating.
7476 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7478 * configure.ac: Adding a special '--enable-xan' configure option that
7479 turns off the -Werror compilation setting. Usefull for development.
7481 * src/hildon-calendar.c:
7482 * src/hildon-number-editor.c:
7483 * src/hildon-time-picker.c: Adding the 5* multiplier to
7486 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7488 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7489 instead of g_object_ref + gtk_object_sink.
7491 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7497 * debian/changelog: Updating.
7499 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7501 * src/hildon-color-chooser-dialog.c:
7502 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7503 straight from Tommi labs.
7505 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * examples/hildon-finger-example.c: Correcting the header file path.
7509 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7510 the changed signal. Fixes a small memory leak.
7512 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7516 * src/hildon-banner.c: Importing several usefull fixes from the
7517 ubuntu-mobile branch.
7519 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7521 * examples/Makefile.am:
7522 * examples/hildon-finger-example.c: Adding a finger-checking code
7525 * src/hildon-font-selection-dialog.c: Do not allocate the color
7526 structure using the g_new. Fixes NB#54061.
7528 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7530 * src/hildon-helper.c: Correcting tabs in file.
7532 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7534 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7535 control the visibility of the children.
7537 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7539 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7545 * debian/changelog: Updating.
7547 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7549 * src/hildon-bread-crumb-trail.c:
7550 (hildon_bread_crumb_trail_size_allocate):
7552 Make the back button always a square.
7554 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7556 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7557 from the .c file as it's a private file.
7559 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7561 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7562 uses slightly bigger height.
7564 * src/hildon-font-selection-dialog.c: Adding some checks before
7565 freeing memory in the font selection dialog.
7567 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7569 * src/hildon-font-selection-dialog.c: Adding a small check when
7572 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7573 buttons sensitivity on page switching.
7575 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7577 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7578 internal details of adding a bread crumb to the trail.
7580 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7586 * debian/changelog: Updating.
7588 * src/hildon-bread-crumb-trail.h:
7589 * src/hildon-bread-crumb.h: Changing the API guard to
7590 HILDON_ENABLE_UNSTABLE_API.
7592 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7600 * src/hildon-helper.h: Updating.
7602 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7610 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7614 * src/hildon-helper.h: Small fix to make the package actually compile.
7616 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7618 * src/hildon-bread-crumb-trail.h:
7619 * src/hildon-bread-crumb.h:
7621 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7622 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7624 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7626 * examples/hildon-bread-crumb-trail-example.c:
7628 * src/hildon-bread-crumb-trail.c:
7629 * src/hildon-bread-crumb-trail.h:
7630 * src/hildon-bread-crumb.c:
7631 * src/hildon-bread-crumb.h:
7632 * src/hildon-marshalers.list:
7633 * src/hildon-bread-crumb-widget.c:
7634 * src/hildon-bread-crumb-widget.h:
7636 Slight change in the widget design. The bread crumb trail API is
7637 unchanged, but HildonBreadCrumb is now an interface. A *private*
7638 implementation, hildon-bread-crumb-widget, is provided and used
7639 internally by the trail for the push_text/push_icon functions.
7641 The generic push API is still available, so anyone can implement
7642 and use its own bread crumb widget.
7644 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7646 * debian/rules: Fixing the shlibs.
7648 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7650 * src/hildon-banner.c: Fixing a problem with timed banners having
7651 their parrent destroyed before they are.
7653 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7655 * src/hildon-bread-crumb.c:
7656 * src/hildon-bread-crumb.h:
7658 Make the get_natural_size function a vfunc.
7660 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7662 * src/hildon-bread-crumb.c:
7663 * src/hildon-bread-crumb-trail.c:
7667 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7674 * debian/changelog: Updating for release.
7676 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7678 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7679 don't leak the pango layout.
7681 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7684 * examples/hildon-bread-crumb-trail-example.c:
7688 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7690 * debian/changelog: Removing the bug-fixed entries that were actually
7691 resolved as WONTFIX.
7693 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7696 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7698 * src/hildon-bread-crumb-trail.c:
7699 * src/hildon-bread-crumb-trail.h:
7700 * src/hildon-bread-crumb.c:
7701 * src/hildon-bread-crumb.h:
7705 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7707 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7708 until it's passed the type check.
7710 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7712 * examples/hildon-bread-crumb-trail-example.c
7716 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7718 * examples/Makefile.am
7719 * examples/hildon-bread-crumb-trail-example.c
7721 * src/hildon-bread-crumb-trail.c
7722 * src/hildon-bread-crumb-trail.h
7723 * src/hildon-bread-crumb.c
7724 * src/hildon-bread-crumb.h
7726 New HildonBreadCrumbTrail widget.
7728 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7730 * src/hildon-range-editor.c (hildon_range_editor_init),
7731 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7732 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7733 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7734 hildon_time_editor_class_init, hildon_time_editor_init),
7735 src/hildon-get-password-dialog.c (invalid_input,
7736 hildon_get_password_set_property, hildon_get_password_get_property,
7737 create_contents, hildon_get_password_dialog_set_max_characters),
7738 src/hildon-set-password-dialog.c (create_contents),
7739 src/hildon-date-editor.c (hildon_date_editor_init),
7740 src/hildon-login-dialog.c (hildon_login_dialog_init),
7741 src/hildon-number-editor.c (hildon_number_editor_init),
7742 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7743 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7744 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7745 configure option and adding the respective checks in the code.
7746 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7747 hildon_calendar_drag_data_received): fixed some build warnings.
7749 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7751 * debian/changelog: A 1.0.0 release notes.