1 2009-04-22 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-touch-selector.c
4 (hildon_touch_selector_append_text_column):
7 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
9 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
10 Use g_strdup_printf() instead of a fixed size buffer.
12 2009-04-21 Alberto Garcia <agarcia@igalia.com>
14 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
15 Close banners when a HildonAppMenu is popped up.
17 Fixes: NB#111027 (Title menu closed immediately if activated when
18 "Invalid e-mail address" banner is shown)
20 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
25 * configure.ac: Bump version.
26 * debian/changelog: Updates.
28 2009-04-20 Alberto Garcia <agarcia@igalia.com>
30 * src/hildon-banner.c (hildon_banner_realize):
31 Mark HildonBanner as supporting portrait mode.
32 Use GDK to set window properties insetad of direct Xlib calls.
34 Fixes: NB#111830 (HildonBanner should be marked as supporting
37 2009-04-20 Alberto Garcia <agarcia@igalia.com>
39 * src/hildon-note.c (hildon_note_rebuild):
40 Hide action area in information notes. Prevents text from being
41 slightly aligned to the left.
43 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
46 2009-04-20 Alberto Garcia <agarcia@igalia.com>
48 Patch by Mox Soini (ext-mox.soini@nokia.com)
50 * src/hildon-banner.c (hildon_banner_create_animation):
51 Use stylus-sized icons in animation banner.
53 Fixes: NB#111206 (stylus sized icon for animation banner)
55 2009-04-20 Alberto Garcia <agarcia@igalia.com>
59 (+hildon_gtk_window_set_do_not_disturb):
60 New API to set the do-not-disturb flag.
62 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
64 2009-04-20 Alberto Garcia <agarcia@igalia.com>
66 * examples/hildon-progress-indicator-example.c: Fix example
68 * src/hildon-gtk.c (set_clear_window_flag)
69 (hildon_gtk_window_set_progress_indicator):
70 Create a generic function for setting flags to a window.
71 Use GDK instead of direct Xlib calls.
73 2009-04-14 Alberto Garcia <agarcia@igalia.com>
75 * src/hildon-button.c (hildon_button_set_arrangement):
76 Due to NB#88126, if one of the labels is too long it will be
77 painted outside the button. The 'value' label is more likely to be
78 the longest one, so we change its packing options in order to
79 truncate it if necessary. As a side effect, the 'title' label will
80 no longer be truncated.
82 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
84 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
89 * configure.ac: Bump version.
90 * debian/changelog: Updates.
92 2009-04-13 Alejandro G. Castro <alex@igalia.com>
94 Deprecation of the hildon_pannable_area_set_size_request_policy
95 API, the only policy properly supported in gtk+ nowadays is the
98 * src/hildon-pannable-area.c,
99 (hildon_pannable_area_size_request): Added a workaround for the
100 size_request to avoid the problems of huge pixmaps in case someone
101 is still using the function.
102 * src/hildon-pannable-area.h: Deprecated the enum with the
105 Fixes: NB#110244 (Problems with the
106 hildon_pannable_area_set_size_request_policy API)
108 2009-04-08 Alejandro G. Castro <alex@igalia.com>
110 * src/hildon-pannable-area.c,
111 (hildon_pannable_area_init),
112 (hildon_pannable_area_size_request),
113 (hildon_pannable_area_style_set),
114 (hildon_pannable_draw_vscroll),
115 (hildon_pannable_draw_hscroll),
116 (hildon_pannable_area_check_scrollbars): Replaced area_width with
117 indicator_width to clarify the use of the attribute.
119 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
124 * configure.ac: Bump version.
125 * debian/changelog: Updates.
127 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
129 * src/hildon-picker-dialog.c
130 * src/hildon-touch-selector.c
131 Reverting the change that tried to avoid the hardcoded height on
132 the picker dialog, as causes problems on the hildon-touch-selector
135 Fixes: NB#110029 (selectors not scrolling to selected value)
137 2009-04-07 Alberto Garcia <agarcia@igalia.com>
139 * src/hildon-touch-selector.c: Fix typos
141 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
143 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
144 Use the event coordinates instead of gdk_window_get_pointer(). Also,
145 request more motions after using it.
147 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
149 * src/hildon-calendar.c (hildon_calendar_expose),
150 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
151 Remove unused variables.
153 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
155 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
158 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
160 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
161 Check the return value of gtk_tree_selection_get_selected()
164 2009-04-06 Alberto Garcia <agarcia@igalia.com>
166 * src/hildon-animation-actor.c
167 * src/hildon-button.c
169 * src/hildon-pannable-area.c
170 * src/hildon-picker-button.c
171 * src/hildon-program.c
172 * src/hildon-remote-texture.c
173 * src/hildon-text-view.c
174 * src/hildon-touch-selector.c
175 * src/hildon-window-stack.c
176 * src/hildon-window.c:
177 Add missing 'Since: 2.2' tags.
179 * doc/hildon-sections.txt:
180 Add some missing symbols.
182 * doc/hildon-docs.sgml:
183 New 'Other' section for HildonAnimationActor and
186 2009-04-06 Alberto Garcia <agarcia@igalia.com>
188 Patch by Iván Gómez (igomez@igalia.com)
192 * doc/hildon-docs.sgml
193 * doc/hildon-sections.txt
197 New chapters on using the Hildon library.
198 Updated the general structure of the reference manual.
199 Other minor documentation fixes.
201 * src/hildon-calendar-popup.c
202 * src/hildon-calendar.c
203 * src/hildon-controlbar.c
204 * src/hildon-date-editor.c
205 * src/hildon-dialog.c
206 * src/hildon-hvolumebar.c
207 * src/hildon-number-editor.c
208 * src/hildon-range-editor.c
209 * src/hildon-sort-dialog.c
210 * src/hildon-time-editor.c
211 * src/hildon-time-picker.c
212 * src/hildon-volumebar-range.c
213 * src/hildon-volumebar.c
214 * src/hildon-vvolumebar.c
215 * src/hildon-weekday-picker.c:
216 Add deprecation notes
218 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
219 Document 'horizontal-movement' and 'vertical-movement' signals.
221 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
226 * configure.ac: Bump version.
227 * debian/changelog: Updates.
229 2009-04-06 Alejandro G. Castro <alex@igalia.com>
231 * src/hildon-pannable-area.c,
232 (hildon_pannable_area_class_init): increased the minimum velocity.
233 (hildon_pannable_area_button_release_cb): Updated the
234 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
235 setup. Review the code to control that last event.
237 Fixes: NB#109790 (Releasing finger in pannable area easily causes
240 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
242 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
244 * src/hildon-get-password-dialog.c
245 (hildon_get_password_set_property),
246 (hildon_get_password_get_property), (create_contents):
247 * src/hildon-login-dialog-private.h:
248 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
249 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
250 (hildon_login_dialog_get_password):
251 * src/hildon-set-password-dialog-private.h:
252 * src/hildon-set-password-dialog.c
253 (hildon_set_password_set_property),
254 (hildon_set_password_get_property), (create_contents),
255 (hildon_set_password_response_change),
256 (hildon_set_password_response_set), (hildon_checkbox_toggled):
258 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
259 instead and look more Fremantle style.
261 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
263 2009-04-03 Alberto Garcia <agarcia@igalia.com>
265 * doc/hildon-sections.txt
266 * src/hildon-window-stack.h
267 * src/hildon-window-stack.c
268 (+hildon_window_stack_get_windows):
269 New API to obtain the list of windows on a stack.
271 2009-04-02 Alberto Garcia <agarcia@igalia.com>
273 * src/hildon-app-menu.c (hildon_app_menu_popup)
274 (hildon_app_menu_class_init, -hildon_app_menu_show):
275 Remove hildon_app_menu_show() and move all its checks to
276 hildon_app_menu_popup()
278 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
280 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
281 (_hildon_picker_dialog_set_selector): removed call to
282 gtk_widget_set_size_request
283 * src/hildon-touch-selector.c
284 (_create_new_column): change the pannable size request policy
286 Avoid to use a hardcoded height for the hildon picker dialog. In order
287 to get that, we needed to change the hildon pannable size request
289 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
291 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
293 * src/hildon-window.c (hildon_window_map): Check for vbox to be
294 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
297 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
299 * debian/control: Depend on osso-system-lock localization package.
300 * src/hildon-code-dialog.c: Obtain the secu_application_title
301 translation from osso-system-lock.
302 * src/hildon-get-password-dialog.c (create_contents): Do not mark
303 for translation the atk related strings, that's not necessary.
304 * src/hildon-set-password-dialog.c (create_contents): Ditto.
305 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
306 cancel button, it is not required.
308 2009-04-02 Alejandro G. Castro <alex@igalia.com>
310 * src/hildon-pannable-area.c,
311 (hildon_pannable_area_class_init): Modified the default value of
312 the overshooting max speed, we have reduced it.
314 2009-04-02 Alberto Garcia <agarcia@igalia.com>
316 * doc/hildon-sections.txt
317 * src/hildon-window-private.h
318 * src/hildon-window.h
319 * src/hildon-window.c (hildon_window_class_init)
320 (hildon_window_init, hildon_window_finalize)
321 (hildon_window_realize, hildon_window_get_property)
322 (hildon_window_set_property, hildon_window_update_markup)
323 (hildon_window_get_markup, hildon_window_set_markup):
324 New "markup" property and hildon_window_{get,set}_markup() methods.
326 * examples/hildon-stackable-window-example.c (new_window):
327 Update example to use hildon_window_set_markup()
329 Fixes: NB#106375 (Need API to retitle a window with a title
332 2009-04-01 Alejandro G. Castro <alex@igalia.com>
334 * src/hildon-pannable-area.c,
335 (hildon_pannable_area_class_init): Changed the default value of
336 the initial_hint to TRUE.
337 (hildon_pannable_area_initial_effect): Changed the initial effect,
338 not the effect is just the fade-out of the scrollbars.
340 Fixes: NB#107775 (No scrollbars can be seen when several items are
341 available in a dialog)
343 2009-04-01 Alberto Garcia <agarcia@igalia.com>
345 * src/hildon-program.c (hildon_program_update_top_most):
348 Fixes: NB#109179 (Memory leak in Hildon program)
350 2009-04-01 Alberto Garcia <agarcia@igalia.com>
352 * src/hildon-banner.c (-get_current_app_window):
353 Remove unused function.
355 2009-04-01 Alejandro G. Castro <alex@igalia.com>
357 * src/hildon-pannable-area.c: Modified the documentation of the
358 get adjustments functions to explain the problem of using the
360 (hildon_pannable_area_class_init): Improved the explanation about
363 2009-04-01 Alberto Garcia <agarcia@igalia.com>
365 * src/hildon-app-menu-private.h
366 * src/hildon-app-menu.c
367 (hildon_app_menu_class_init):
368 Bring back the 'external-border' style property
369 (hildon_app_menu_class_init, hildon_app_menu_init)
370 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
371 Set a fixed width-request for the menu, independent of the number
374 Fixes: NB#94957 (Smoothly opened application menu)
376 2009-03-30 Alberto Garcia <agarcia@igalia.com>
378 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
380 * src/hildon-banner.c
381 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
383 Make sure that the banner is correctly placed the first time it's
385 (hildon_banner_check_position, -check_fullscreen_state):
386 Show the banner in the same place no matter if the window is in
387 fullscreen mode or not.
389 Fixes: NB#107386 (Odd stacking behaviour for information banners)
391 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
393 * src/hildon-touch-selector.c (_default_print_func): reorder
394 concatenation for clarity.
396 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
398 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
399 for multicolumn selectors.
401 Fixes: NB#109099 (Memory leak in Hildon touch selector)
403 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
408 * configure.ac: Bump version.
409 * debian/changelog: Updates.
411 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
413 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
416 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
418 * configure.ac: removed libcangerra-gtk dependency
419 * debian/control: removed libcanberra-gtk dependency
420 * src/Makefile.am: removed libcanberra gtk related flags
421 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
422 context, and manage a global canberra context instead
424 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
426 2009-03-26 Alberto Garcia <agarcia@igalia.com>
428 Patch by Daniel Borgmann (danielb@openismus.com)
430 * src/hildon-edit-toolbar.c:
431 Adjust the left padding.
432 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
433 Paint background of the edit toolbar.
435 Fixes: NB#107897 (Patch to make editmodetoolbar background
436 themeable and adjust margin)
438 2009-03-25 Alberto Garcia <agarcia@igalia.com>
440 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
442 * src/hildon-program.c (hildon_program_update_top_most):
443 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
445 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
446 change when the user tasks in/out of an application)
448 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
450 * configure.ac: added libcangerra-gtk dependency
451 * debian/control: added libcanberra-gtk dependency
452 * src/Makefile.am: added libcanberra gtk related flags
453 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
456 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
458 2009-03-25 Alberto Garcia <agarcia@igalia.com>
460 * src/hildon-program.c (hildon_program_remove_window)
461 (hildon_program_add_window): Add checks for the window
462 parameter. Don't decrease the window counter if the window is not
465 2009-03-24 Alejandro G. Castro <alex@igalia.com>
467 * src/hildon-pannable-area.c,
468 (hildon_pannable_area_realize): Fixed position of the event_window
469 in the realize method.
471 2009-03-24 Alberto Garcia <agarcia@igalia.com>
473 * src/hildon-app-menu-private.h
474 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
475 (hildon_app_menu_map, hildon_app_menu_hide_idle)
476 (hildon_app_menu_key_press, hildon_app_menu_init)
477 (hildon_app_menu_finalize):
478 Make sure that all idle functions are removed when the widget is
481 Fixes: NB#107583 (Hildon app menu crashes in various applications)
483 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
488 * configure.ac: Bump version.
489 * debian/changelog: Updates.
491 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
494 (+hildon_entry_show_placeholder),
495 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
496 that replace hildon_entry_update_contents().
497 (hildon_entry_set_text),
498 (hildon_entry_set_placeholder),
499 (hildon_entry_focus_in_event),
500 (hildon_entry_focus_out_event): Determine when it is needed
501 either to show or hide the placeholder and call the above methods.
503 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
504 when the placeholder text is already set)
506 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
508 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
509 simple GdkPixbufAnim using the new icons for the banner.
510 (hildon_banner_show_animation): Use the above mentioned method to
511 create the animation widget.
513 Fixes: NB#103564 (Make hildon animation banner use individual
514 image files as the animation)
516 2009-03-24 Alejandro G. Castro <alex@igalia.com>
518 * src/hildon-pannable-area.c,
519 (hildon_pannable_leave_notify_event): Check if the child is NULL
520 to avoid sending the leave.
522 2009-03-24 Alejandro G. Castro <alex@igalia.com>
524 * src/hildon-pannable-area.c,
525 (hildon_pannable_area_class_init),
526 (hildon_pannable_leave_notify_event): Added a handler of the
527 leave-notify-signal to consider when no motion notify before
530 Fixes: NB#107494 (Items stay selected when clicking and moving
531 away when inside pannable area)
533 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
538 * configure.ac: Bump version.
539 * debian/changelog: Updates.
541 2009-03-19 Alejandro G. Castro <alex@igalia.com>
543 Patch by Alberto Garcia (agarcia@igalia.com)
545 * src/hildon-date-button.c,
546 (hildon_date_button_class_init),
547 (hildon_date_button_init): Removed the construct property handling
548 and created a default selector in the init method.
549 * src/hildon-picker-button.c,
550 (hildon_picker_button_class_init): Removed the construct flag of the
553 2009-03-18 Alberto Garcia <agarcia@igalia.com>
555 * src/hildon-main.c (hildon_init):
556 Don't allow hildon_init() to be called more than once.
558 Fixes: NB#106607 (hildon_init should issue error message upon
561 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
563 * examples/hildon-pannable-area-touch-list-example.c
564 * examples/hildon-pannagle-area-touch-grid-example.c
565 * examples/hildon-edit-toolbar-example.c
566 * examples/hildon-touch-selector-multi-cells-example.c
567 Removed the call to gtk_rc_parse_string, as it is not required since
570 2009-03-17 Alejandro G. Castro <alex@igalia.com>
572 * src/hildon-pannable-area.c,
573 (hildon_pannable_area_class_init): Modified the default panning
574 threshold of the widget to 6px.
576 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
577 than the threshold value ) within the button is not sending the
580 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
582 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
583 for the treeview in the new column. This way, the touch list will never
586 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
587 be selected manually for the HW keys to work)
589 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
591 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
592 comparison instead of using strcmp(). Fixes a compiler warning as well.
594 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
596 * doc/hildon-docs.sgml: Do not set the library version in the
597 document title, use the releaseinfo tag for that purpose instead.
599 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
601 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
602 Do not jump to the first item if the text in the entry is removed.
604 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
609 * configure.ac: Bump version.
610 * debian/changelog: Updates.
612 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
614 * src/hildon-entry.c (hildon_entry_refresh_contents):
615 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
616 Use "ReversedSecondaryTextColor" for the placeholder text.
618 2009-03-12 Alberto Garcia <agarcia@igalia.com>
620 * src/hildon-text-view.c: Fix compilation warning.
622 2009-03-12 Alberto Garcia <agarcia@igalia.com>
624 * src/hildon-button.c (hildon_button_class_init): Don't make
625 "title" and "value" construction properties, to prevent them from
626 overwriting labels set from derived classes.
628 * src/hildon-picker-button.c
629 (hildon_picker_button_set_selector): Allow setting a NULL selector.
630 (hildon_picker_button_class_init): Make touch-selector a
631 construction property.
633 * src/hildon-date-button.c (hildon_date_button_class_init)
634 (+hildon_date_button_constructed): Add a default date selector if
637 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
639 * src/hildon-touch-selector.c: Small documentation fixes.
641 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
643 Based on a patch by Daniel Borgmann (danielb@openismus.com)
645 * src/hildon-entry.c (hildon_entry_refresh_contents),
646 (hildon_entry_get_text), (hildon_entry_init): Do not use the
647 widget name, set the logical color directly instead and a boolean
648 showing_placeholder instead.
649 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
650 use the widget name here either.
652 Fixes: NB#105678 (HildonTextView should use logical colours
653 instead of setting widget name)
655 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
657 Patch by Daniel Elster (danielk@openismus.com)
659 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
660 Add user_data parameter.
661 (hildon_touch_selector_set_print_func_full): New function akin
662 hildon_touch_selector_set_print_func() but with support for user
663 data and a destroy callback.
664 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
665 to clean up the print function user data.
666 (hildon_touch_selector_class_init): Install dispose function.
667 (HildonTouchSelectorPrivate::print_user_data),
668 (HildonTouchSelectorPrivate::print_destroy_func): New private
670 (hildon_touch_selector_init): Initialize new private members.
671 (hildon_touch_selector_get_current_text): Pass along user data
672 to the print function.
673 (_default_print_func): Add dummy user_data to parameter list.
674 * hildon-date-selector.c (_custom_print_func): ditto,
675 * hildon-time-selector.c (_custom_print_func): ditto,
676 * hildon-touch-selector-entry.c
677 (hildon_touch_selector_entry_print_func): ditto.
679 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
681 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
683 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
685 2009-03-12 Alejandro G. Castro <alex@igalia.com>
687 * src/hildon-pannable-area.c,
688 (hildon_pannable_area_init),
689 (hildon_pannable_area_button_press_cb),
690 (hildon_pannable_area_motion_notify_cb): We have added code to
691 handle the leave and enter events when using the motion events.
693 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
695 2009-03-11 Alberto Garcia <agarcia@igalia.com>
697 * src/hildon-date-button.c (hildon_date_button_get_date)
698 (hildon_date_button_set_date): Make sure that the button has a
701 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
703 2009-03-11 Alejandro G. Castro <alex@igalia.com>
705 * src/hildon-pannable-area.c,
706 (hildon_pannable_area_class_init),
707 (hildon_pannable_area_calculate_velocity): Modify the use of the
708 force and adapt the value.
710 2009-03-10 Alberto Garcia <agarcia@igalia.com>
712 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
713 (hildon_app_menu_class_init): Hide the menu if it receives a
714 delete-event, but don't destroy it
716 Fixes: NB#104485 (Not able to address the call when application
717 menu is opened at background)
719 2009-03-10 Alberto Garcia <agarcia@igalia.com>
721 * src/hildon-app-menu.c
722 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
723 Remove the "external-border" style property, let the menu take its
724 natural size (or the one set by the window manager)
725 (hildon_app_menu_repack_items):
726 Don't reshow the menu, avoid flickers.
728 Partially fixes NB#94957 (Smoothly opened application menu)
730 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
735 * configure.ac: Bump version.
736 * debian/changelog: Updates.
738 2009-03-10 Alejandro G. Castro <alex@igalia.com>
740 * src/hildon-pannable-area.c,
741 (hildon_pannable_area_motion_notify_cb): We control that the
742 direction error margin is used just in case the movement is
743 allowed in the other direction.
745 Fixes: NB#105012 (buttons inside a pannable area not getting
746 release event when dragging/releasing)
748 2009-03-10 Alejandro G. Castro <alex@igalia.com>
750 * src/hildon-pannable-area.c,
751 (hildon_pannable_area_class_init),
752 (hildon_pannable_area_get_property),
753 (hildon_pannable_area_set_property),
754 (hildon_pannable_area_initial_effect),
755 (hildon_pannable_axis_scroll),
756 (hildon_pannable_area_button_release_cb): Reviewed the
757 overshooting effect, now it has its own max
758 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
761 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
766 * configure.ac: Bump version.
767 * debian/changelog: Updates.
769 2009-03-09 Alejandro G. Castro <alex@igalia.com>
771 * src/hildon-pannable-area.c,
772 (hildon_pannable_area_class_init): Changed the max speed, now
773 users can launch the widget very fast. Reduced the default force,
774 that way it is easier to control the launch speed.
776 2009-03-09 Alejandro G. Castro <alex@igalia.com>
778 * src/hildon-pannable-area.c,
779 (hildon_pannable_area_button_release_cb): Removed this check
780 because it causes problems when the device is overloaded.
782 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
784 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
785 add a current_text field to store the text entered in the
786 touch selector entry.
787 (_clean_current_selection): clean up the current text as well.
788 (_save_current_selection), (_restore_current_selection):
789 Save/restore the text in the entry if the selector is a
790 HildonTouchSelectorEntry.
792 Fixes: NB#102541 (value entered in the touch selector entry is not
793 shown when opened for second time)
795 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
797 * doc/hildon-sections.txt:
798 * src/hildon-touch-selector-entry.c
799 (+hildon_touch_selector_entry_get_entry):
800 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
802 Fixes: NB#104815 (I need accessor to the entry inside
803 HildonTouchSelectorEntry)
805 2009-03-06 Alberto Garcia <agarcia@igalia.com>
807 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
808 (hildon_app_menu_class_init):
809 New "filter-vertical-spacing" style property.
811 2009-03-06 Alberto Garcia <agarcia@igalia.com>
813 * src/hildon-find-toolbar.c
814 (hildon_find_toolbar_emit_close)
815 (hildon_find_toolbar_emit_invalid_input)
816 (hildon_find_toolbar_entry_activate):
817 Use g_signal_emit() instead of g_signal_emit_by_name()
819 2009-03-06 Alberto Garcia <agarcia@igalia.com>
821 Patch by Mox Soini (ext-mox.soini@nokia.com)
823 * tests/TEST-CASES.txt
824 * tests/check-hildon-banner.c
825 * tests/check-hildon-note.c
826 * src/hildon-banner.c
827 * src/hildon-code-dialog.c
828 * src/hildon-date-editor.c (real_set_calendar_icon_state)
829 * src/hildon-time-editor.c
830 * examples/hildon-lookup-example.c (main):
831 Replace obsolete icon names with new ones.
833 * src/hildon-find-toolbar-private.h:
834 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
835 (-hildon_find_toolbar_emit_search):
836 Remove find button and change icon of close button.
838 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
840 2009-03-05 Alberto Garcia <agarcia@igalia.com>
842 * src/hildon-time-button.c (hildon_time_button_new_step):
843 Use the "touch-selector" property to set the selector directly
844 when creating the object.
846 2009-03-05 Alejandro G. Castro <alex@igalia.com>
848 Added a new example application that allows tuning the pannable
849 area and replaced defines with properties in order to simplify the
850 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
851 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
852 PROP_DIRECTION_ERROR_MARGIN.
854 * examples/hildon-pannable-area-tuning-example.c: New example
856 * src/hildon-pannable-area.c,
857 (hildon_pannable_area_class_init),
858 (hildon_pannable_area_init),
859 (hildon_pannable_area_get_property),
860 (hildon_pannable_area_set_property),
861 (hildon_pannable_area_launch_fade_timeout),
862 (hildon_pannable_area_adjust_value_changed),
863 (hildon_pannable_axis_scroll),
864 (hildon_pannable_area_motion_notify_cb),
865 (hildon_pannable_area_scroll_cb),
866 (hildon_pannable_area_button_release_cb): We have converted some
867 of the defines that control the widget to properties to simplify
870 2009-03-05 Alberto Garcia <agarcia@igalia.com>
872 * src/hildon-app-menu.c (hildon_app_menu_map)
873 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
874 so it's closed if a new window appears.
876 Fixes: NB#104485 (Not able to address the call when application
877 menu is opened at background)
879 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
881 * src/hildon-color-button.c (hildon_color_button_get_property):Add
882 missing 'break' statement in in 'case' construct to avoid
885 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
887 * src/hildon-touch-selector-entry.c
888 (hildon_touch_selector_entry_get_property),
889 (hildon_touch_selector_entry_set_property): Add missing 'break'
890 statements in in 'case' constructs to avoid incorrect warnings.
892 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
894 * src/hildon-time-editor.c
895 (hildon_time_editor_get_time_separators): Do not crash if
896 the first label is NULL.
898 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
900 * src/hildon-date-selector.c (_month_days): Check for month to be
901 strictly less than 12, since otherwise we may overrun the array.
903 2009-03-04 Alberto Garcia <agarcia@igalia.com>
905 * src/hildon-date-button.c (+hildon_date_button_new_full)
906 (hildon_date_button_new, hildon_date_button_new_with_year_range)
907 (hildon_date_button_init): Set the date selector using a
908 construction property, to make it happen after HildonButton's
909 "value" property is set.
911 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
912 current date by default)
914 2009-03-04 Alberto Garcia <agarcia@igalia.com>
916 * doc/hildon-sections.txt
917 * src/hildon-program.c
918 * src/hildon-stackable-window.c
919 * src/hildon-window.c:
920 Documentation updates
922 2009-03-04 Alberto Garcia <agarcia@igalia.com>
924 * src/hildon-window-stack.c (hildon_window_stack_get_default)
925 (hildon_window_stack_new, +hildon_window_stack_set_property)
926 (+hildon_window_stack_get_property)
927 (hildon_window_stack_class_init)
928 (+hildon_window_stack_set_window_group)
929 (+hildon_window_stack_get_window_group):
930 Make the window group a construction property.
932 2009-03-04 Alberto Garcia <agarcia@igalia.com>
934 * doc/hildon-sections.txt
935 * src/hildon-stackable-window-private.h
936 * src/hildon-stackable-window.h
937 * src/hildon-stackable-window.c
938 (-hildon_stackable_window_set_app_menu)
939 (-hildon_stackable_window_get_app_menu)
940 (-hildon_stackable_window_toggle_menu)
941 (-hildon_stackable_window_finalize)
942 (hildon_stackable_window_class_init)
943 (hildon_stackable_window_init)
944 * src/hildon-window-private.h
945 * src/hildon-window.h
946 * src/hildon-window.c (hildon_window_init)
947 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
948 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
949 (hildon_window_get_main_menu, hildon_window_set_main_menu)
950 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
951 Moved all HildonAppMenu code to HildonWindow. The menu does not
952 require a HildonStackableWindow anymore.
954 * src/hildon-app-menu.c
955 * src/hildon-program.c
956 * examples/hildon-app-menu-example.c (main):
957 Update examples and documentation to reflect HildonAppMenu
960 2009-03-04 Alberto Garcia <agarcia@igalia.com>
962 * src/hildon-remote-texture.c
963 * src/hildon-animation-actor.c:
964 Don't include unused private headers.
966 2009-03-04 Alberto Garcia <agarcia@igalia.com>
968 * src/hildon-program-private.h
969 * src/hildon-program.c
970 (hildon_program_set_common_menu)
971 (hildon_program_get_common_menu)
972 (hildon_program_set_common_app_menu)
973 (hildon_program_get_common_app_menu):
974 Change common menu pointers from GtkWidget* to GtkMenu* and
975 HildonAppMenu* to avoid unnecessary casts.
977 2009-03-03 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-window.c (hildon_window_set_main_menu):
980 Removed incorrect 'Since:' tag
982 2009-03-03 Alejandro G. Castro <alex@igalia.com>
984 * src/hildon-pannable-area.c,
985 (hildon_pannable_area_calculate_velocity): We use now the
986 RATIO_TOLERANCE here to check the distance, fixed typo in the
988 (hildon_pannable_area_motion_notify_cb): We have to set the type
989 and time even if we are not sending the motion.
991 2009-03-02 Alberto Garcia <agarcia@igalia.com>
993 * doc/hildon-sections.txt
994 * src/hildon-app-menu.h
995 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
996 (+hildon_app_menu_get_filters): New methods to get the contents of
999 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1002 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1004 * src/hildon-app-menu.c (hildon_app_menu_popup):
1007 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1009 * src/hildon-window.h
1010 * src/hildon-window.c (+hildon_window_get_main_menu)
1011 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1012 and deprecated hildon_window_get_menu().
1014 * src/hildon-stackable-window.h
1015 * src/hildon-stackable-window.c
1016 (+hildon_stackable_window_set_app_menu)
1017 (+hildon_stackable_window_get_app_menu)
1018 (hildon_stackable_window_set_main_menu): Created
1019 hildon_stackable_window_{get,set}_app_menu() and deprecated
1020 hildon_stackable_window_set_main_menu().
1022 * doc/hildon-sections.txt
1023 * examples/hildon-app-menu-example.c (main)
1024 * src/hildon-app-menu.c
1025 * src/hildon-program.c:
1026 Updated examples and documentation.
1028 Fixes: NB#103758 (No way to obtain a menu from a
1029 HildonStackableWindow)
1031 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1036 * configure.ac: Bump version.
1037 * debian/changelog: Updates.
1039 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1041 * examples/hildon-remote-texture-example.c: Include
1042 hildon-remote-texture.h explicitely.
1043 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1044 applications not defining _XOPEN_SOURCE which don't require this header.
1046 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1048 * doc/hildon-sections.txt
1049 * src/hildon-app-menu.h
1050 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1051 New function to pop up a HildonAppMenu
1053 * src/hildon-stackable-window.c
1054 (hildon_stackable_window_toggle_menu):
1055 Use hildon_app_menu_popup() to show the menu.
1057 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1059 * src/hildon-app-menu.c (hildon_app_menu_show)
1060 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1061 menu if there's another window between it and its parent window.
1063 Fixes: NB#100468 (Application menu window is launched even when a
1064 new secondary-window/dialog is pending to be shown/realized)
1066 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1068 * src/hildon-window-stack.c (hildon_window_stack_push)
1069 (hildon_window_stack_pop_and_push):
1070 Don't forget to push/pop the first window.
1071 Reverse the window list before calling _push_list()
1073 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1075 * src/hildon-picker-button.h
1076 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1077 Remove "value_changed" slot to avoid ABI breakage
1079 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1081 * src/hildon-pannable-area.c,
1082 (hildon_pannable_area_realize),
1083 (hildon_pannable_area_unrealize),
1084 (hildon_pannable_draw_vscroll),
1085 (hildon_pannable_draw_hscroll): Changed the method to handle the
1086 GC used to draw the transparent scrollbar, this way we avoid
1087 creating the GC all the time when drawing the scrollbars.
1089 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1091 * src/hildon-pannable-area.c,
1092 (hildon_pannable_area_init),
1093 (hildon_pannable_area_remove): Removed some unnecessary casts.
1094 (hildon_pannable_area_dispose): Disconnected some signals before
1095 releasing the adjustments.
1097 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1099 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1100 Make sure that all widgets contained in the toolbar are shown.
1102 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1104 * doc/hildon-sections.txt
1105 * src/hildon-picker-button.h
1106 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1107 (_selection_changed, hildon_picker_button_on_dialog_response)
1108 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1109 New hildon_picker_button_value_changed() method.
1112 * src/hildon-picker-button-private.h
1113 * src/hildon-picker-button.c (hildon_picker_button_init)
1114 (+hildon_picker_button_disable_value_changed): Add protected
1115 function for disabling the "value-changed" signal.
1117 * src/hildon-date-button.c (hildon_date_button_set_date):
1118 Don't emit "value-changed" for each one of the three columns.
1120 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1121 before actual change of values)
1123 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1125 * src/hildon-pannable-area.c,
1126 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1127 for the treeview overshooting.
1129 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1131 * src/hildon-banner.c (+hildon_banner_bind_style):
1132 Renamed from hildon_banner_bind_label_style(), now naming the
1133 banner itself as well.
1134 (hildon_banner_show_information),
1135 (hildon_banner_show_information_with_markup),
1136 (hildon_banner_show_animation), (hildon_banner_show_progress):
1137 Name the widgets and labels, based on their type.
1139 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1142 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1144 * src/hildon-note.c (hildon_note_set_property): call
1145 hildon_note_rename() on HildonNote:note-type set.
1146 (hildon_note_rename): Name the note and its label, based on the
1147 HildonNote:note-type property.
1149 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1152 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1154 * src/hildon-pannable-area.c,
1155 (hildon_pannable_area_class_init),
1156 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1157 panning parameters, increased SPS and deceleration factor. Added
1158 also a margin to control fake directions.
1160 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1162 Patch by Sven Herzberg (sven@imendio.com)
1164 * configure.ac: Add missing AM_PROG_CC_C_0
1165 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1167 See NB#101420 (Update unit tests and fix make check)
1169 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1171 This patch was applied before but reverted because it caused
1172 problems, we have changed the main condition and tested the
1173 regressions we detected before and they work ok. We have done a
1174 complete review of the topmost algorithm in order to get a more
1177 * src/hildon-pannable-area.c,
1178 (hildon_pannable_area_get_topmost): Added a new parameter to
1179 filter the the windows that do not include those events.
1180 (hildon_pannable_area_button_press_cb),
1181 (hildon_pannable_area_button_release_cb),
1182 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1183 topmost function, we have added the new parameter.
1185 Fixes: NB#97458 (Pannable area prevents propagation of button
1188 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1190 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1191 if all columns in the selector have an item selected.
1192 (_on_dialog_response): Stop "response" signal emission if there is
1193 any selector column without selected items.
1195 Fixes: NB#101889 (Picker dialog should not close when nothing is
1196 selected in multiple selection list)
1198 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1200 * src/hildon-font-selection-dialog.c
1201 (hildon_font_selection_dialog_class_init),
1202 (hildon_font_selection_dialog_init): Remove the preview
1203 button and dialog, since previewing with default theming is likely
1204 to be overcomplicated. The :preview property has now no effect.
1205 Update documentation blurbs to inform about this.
1207 Fixes: NB#92297 (Preview content is not clearly visible for
1208 default colour text)
1210 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1212 Reviewed the geometry that handles the children size and
1213 scrollbar, now it tries a size and reviews the results depending
1214 on the scrollbars visibility.
1216 * src/hildon-pannable-area.c,
1217 (hildon_pannable_area_realize): Fixed a typo.
1218 (hildon_pannable_area_child_allocate_calculate): Added this
1219 function to calculate the child allocation.
1220 (hildon_pannable_area_size_allocate): Reviewed the allocation
1222 (hildon_pannable_area_check_scrollbars),
1223 (hildon_pannable_area_refresh): Refactored refresh function, this
1224 way we can call the code handling the scrollbars without causing a
1225 size_request, it is interesting in the allocate.
1226 (hildon_pannable_area_init): Replace the callbacks of the
1227 value_changed and changed signals to propertly deal with the
1229 (hildon_pannable_area_grab_notify),
1230 (hildon_pannable_area_initial_effect),
1231 (hildon_pannable_area_launch_fade_timeout),
1232 (hildon_pannable_area_adjust_changed),
1233 (hildon_pannable_area_adjust_value_changed),
1234 (hildon_pannable_area_redraw),
1235 (hildon_pannable_area_button_press_cb),
1236 (hildon_pannable_area_button_release_cb),
1237 (hildon_pannable_area_scroll_cb),
1238 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1239 code and use the new functions adjust_changed and
1240 adjust_value_changed.
1242 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1243 Contact editor dialog)
1245 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1250 * configure.ac: Bump version.
1251 * debian/changelog: Updates.
1253 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1255 * src/hildon-pannable-area.c,
1256 (hildon_pannable_area_get_topmost),
1257 (hildon_pannable_area_button_press_cb),
1258 (hildon_pannable_area_button_release_cb),
1259 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1260 topmost function adding the event mask. We have to try a
1261 differente approach because it is still causing problems (NB#9745,
1264 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1266 * src/hildon-banner.c:
1267 Update the maximum width of timed banners.
1268 (force_to_wrap_truncated): Enforce the maximum text width if the
1271 Fixes: NB#102413 (The text margins (wrapping) in information
1272 banner should be HILDON_MARGIN_TRIPLE)
1274 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1276 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1278 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1279 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1280 bound when calculating the scroll indicator position.
1282 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1283 treat ->lower correctly)
1285 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1287 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1288 expose event handling, since it is not necessary to draw the focus
1291 Fixes: NB#102467 (Do not show highlight on the text in
1294 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1296 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1297 full height of the toolbar for the button and the label.
1299 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1301 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1302 padding before the label and after the button.
1304 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1306 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1308 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1309 Add a GtkVSeparator between the button and the back arrow.
1310 Let the button have automatic size.
1311 Set a name to the widget for theming handling.
1313 Fixes: NB#101793 (Make edit toolbar the same height as window
1314 title bar (use title area theming))
1316 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1318 * src/hildon-helper.c (attach_new_color_element): Fix memory
1321 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1323 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1325 * examples/hildon-button-example.c (common_buttons_window): Don't
1328 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1330 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1331 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1333 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1335 * src/hildon-gtk.c: Check that the window is realized.
1337 Fixes: NB#102225 (Crash setting the progress indicator to a non
1340 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1342 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1343 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1344 instead of modifying the one in the widget style.
1346 Fixes: NB#101043 (Second row of all the command button are
1347 displayed in transparent mode.)
1349 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1351 * src/hildon-date-button.c
1352 * src/hildon-time-button.c: Add gettext macros
1354 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1356 * src/hildon-date-button.c (hildon_date_button_new):
1357 * src/hildon-time-button.c (hildon_time_button_new_step):
1358 Use new logical strings to set the button default title.
1360 Fixes: NB#99915 (Date and Time options are not localised in Date
1363 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1365 * src/hildon-pannable-area.c
1366 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1367 the PANNING_THRESHOLD.
1369 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1371 * src/hildon-pannable-area.c,
1372 (hildon_pannable_area_class_init): Increased the maximum speed.
1373 (hildon_pannable_area_get_property),
1374 (hildon_pannable_area_set_property),
1375 (hildon_pannable_area_timeout): Added a new low friction mode, it
1376 allows the user avoid friction when launching the widget fast
1377 enough. It is interesting to traverse long lists.
1379 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1381 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1382 (+hildon_stackable_window_delete_event): Ignore delete events if
1383 the window is not the topmost one.
1385 Fixes: NB#101698 (Back button long press and delete-event handling)
1387 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1389 * src/hildon-pannable-area.c,
1390 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1391 gtk-dnd-drag-threshold, it was too big. We have defined our own
1392 dnd define and set a smaller value: PANNIG_THRESHOLD.
1394 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1396 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1397 user-defined icons, use always the default one.
1399 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1401 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1403 This patch was applied before but reverted because it caused
1404 problems, we have changed the main condition and tested the
1405 regressions we detected before and they work ok.
1407 * src/hildon-pannable-area.c,
1408 (hildon_pannable_area_get_topmost): Added a new parameter to
1409 filter the the windows that do not include those events. Added
1410 also a condition when finding the window to filter windows that do
1411 not ask for those events.
1412 (hildon_pannable_area_button_press_cb),
1413 (hildon_pannable_area_button_release_cb),
1414 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1415 topmost function, we have added the new parameter.
1417 Fixes: NB#97458 (Pannable area prevents propagation of button
1420 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1422 * tests/check-hildon-color-button.c (START_TEST): do not leak
1425 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1427 * src/hildon-font-selection-dialog.c
1428 (hildon_font_selection_dialog_get_preview_text): Return NULL
1429 instead of FALSE on the g_return_val_if_fail().
1431 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1433 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1434 * src/hildon-date-selector.c
1435 (hildon_date_selector_select_current_date):
1436 Do not compare unsigned integers to be greater than or equal 0,
1437 because it's always TRUE.
1439 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1441 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1442 (hildon_date_selector_constructor): Do not select the current
1443 date until we are handle the "changed" signal, to avoid having bogus
1444 elements in the days model.
1446 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1448 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1449 for num_days, since _month_days() can return a negative value.
1451 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1453 * src/hildon-caption.c (hildon_caption_size_allocate):
1454 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1455 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1457 Initialize allocation variables to 0, to avoid eventually using
1458 unitialized variables.
1460 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1462 * src/hildon-bread-crumb-trail.c
1463 (hildon_bread_crumb_trail_size_allocate):
1464 * src/hildon-calendar.c (hildon_calendar_set_background):
1465 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1466 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1467 * src/hildon-seekbar.c (hildon_seekbar_init):
1468 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1469 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1470 * src/hildon-touch-selector-entry.c
1471 (hildon_touch_selector_get_text_from_model):
1472 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1473 * src/hildon-window.c (hildon_window_finalize):
1475 Remove many unused variables.
1477 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1479 * src/hildon-seekbar.c: (hildon_seekbar_init),
1480 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1482 Remove unnecessary g_assert() calls.
1484 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1486 * src/hildon-caption.c: (hildon_caption_expose),
1487 (hildon_caption_set_property), (hildon_caption_init),
1488 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1489 (hildon_caption_size_request), (hildon_caption_size_allocate),
1490 (hildon_caption_forall), (hildon_caption_set_separator),
1491 (hildon_caption_activate), (hildon_caption_set_child_expand),
1492 (hildon_caption_set_label_text),
1493 (hildon_caption_get_label_alignment):
1495 Remove unnecessary g_assert() calls.
1497 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1499 * src/hildon-banner.c
1500 (hildon_banner_map, hildon_banner_init): Make banner temporary
1501 before mapping it to avoid closing other temporary windows, but
1502 make it non-temporary afterwards to avoid being closed by other
1503 non-temporary windows.
1504 (-hildon_banner_client_event, hildon_banner_init):
1505 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1507 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1510 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1512 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1515 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
1520 * examples/hildon-remote-texture-example.c:
1521 Updates/fixes to remote-texture and its example.
1523 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1525 Patch by Mox Soini (ext-mox.soini@nokia.com)
1527 * src/hildon-code-dialog.c: Update logical id.
1528 * src/hildon-set-password-dialog.c: Update logical id.
1530 Fixes: NB#100646 (Logical strings is shown for ok in set
1531 password,Password needed dialogs)
1533 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1536 * src/hildon-remote-texture.c
1537 * src/hildon-remote-texture.h
1538 * src/hildon-remote-texture-private.h
1540 Added remote texture widget (for Clutter shared memory textures)
1542 * examples/hildon-remote-texture-example.c
1543 * examples/Makefile.am
1544 Added example file for remote texture usage
1546 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1548 * configure.ac: post release version bump.
1549 * debian/changelog: version bump.
1551 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1556 * configure.ac: Bump version.
1557 * debian/changelog: Updates.
1559 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1561 * src/hildon-date-selector.c (hildon_date_selector_init)
1562 (hildon_date_selector_constructor): Don't connect to the "changed"
1563 signal until the selector is completely constructed.
1565 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1567 * src/hildon-touch-selector.c: (_create_new_column),
1568 (hildon_touch_selector_append_column),
1569 (hildon_touch_selector_set_column_selection_mode),
1570 (hildon_touch_selector_set_active),
1571 (hildon_touch_selector_select_iter):
1572 Emit the HildonTouchSelector::changed signal every time selection
1573 is changed in any of the methods above. This behavior was already
1574 documented but not fully functional.
1576 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1577 selection is programmatically changed)
1579 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1581 * doc/hildon-sections.txt: Remove obsolete icon
1582 sizes from here as well.
1584 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1586 * examples/hildon-stackable-window-example.c (add_window): Remove
1589 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1591 * src/hildon-app-menu.c
1592 (hildon_app_menu_show): Check whether the parent window of a menu
1593 is topmost before popping it up.
1595 Fixes: NB#100468 (Application menu window is launched even when a
1596 new secondary-window/dialog is pending to be shown/realized.)
1598 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1600 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1603 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1605 Patch by Mox Soini (ext-mox.soini@nokia.com)
1607 * src/hildon-banner.c: (hildon_banner_show_animation):
1608 use stylus size instead of obsolete note size.
1609 * src/hildon-defines.h: Update icon sizes.
1611 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1613 * src/hildon-touch-selector-entry.c:
1614 (hildon_touch_selector_entry_init): Disable unsupported
1616 (hildon_touch_selector_entry_get_text_column): Emit a warning
1617 if an unsupported input modes is used and explicitile state
1618 these modes in the documentation.
1620 Fixes: NB#99802 (Hildon touch selector entry not working properly
1621 for some of the input modes)
1623 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1625 * src/hildon-pannable-area.c,
1626 (hildon_pannable_area_init): Added the changed signal handlers of
1629 Fixes: NB#100320 (HildonPannableArea does not listen to
1630 GtkAdjustment "change" signals)
1632 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1634 * doc/hildon-sections.txt
1635 * src/hildon-window-private.h
1636 * src/hildon-window.h
1637 * src/hildon-window.c (hildon_window_init)
1638 (hildon_window_realize, hildon_window_unrealize)
1639 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1640 (hildon_window_size_request, hildon_window_size_allocate)
1641 (hildon_window_forall, hildon_window_show_all)
1642 (hildon_window_destroy, +paint_edit_toolbar)
1643 (+hildon_window_set_edit_toolbar):
1644 New hildon_window_set_edit_toolbar() method, to add a
1645 HildonEditToolbar to a window without having to pack it manually.
1647 Reorganize hildon_window_size_allocate()
1649 * src/hildon-edit-toolbar.c: Update documentation.
1651 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1652 example to use the new API.
1654 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1656 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1658 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1659 Remove from stack before calling parent's hide.
1661 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1663 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1664 window is removed from the middle of the stack, update the
1665 transiency of the previous one.
1667 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1670 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1672 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1673 block/unblock the signal handler if it's not actually being used.
1674 Fixes some critical warnings.
1676 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1678 Based on a patch by Iván Gómez (igomez@igalia.com)
1680 * src/hildon-banner.c
1684 * src/hildon-pannable-area.c
1685 * src/hildon-picker-dialog.c
1686 * src/hildon-wizard-dialog.h
1687 * src/hildon-wizard-dialog.c: Documentation updates.
1689 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1690 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1692 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1694 * configure.ac: post release version bump.
1695 * debian/changelog: version bump.
1697 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1702 * configure.ac: Bump version.
1703 * debian/changelog: Updates.
1705 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1707 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1708 a stock icon nor change the relief of the back arrow.
1710 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1711 graphics from theme)
1713 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1715 * src/hildon-button.c (hildon_button_set_alignment): Use
1716 priv->alignment if the button has no child yet.
1718 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-button.c: (hildon_button_init): Set the
1721 button style during initialization to give it the proper
1724 Fixes: NB#99713 (HildonButton value label color is wrong)
1726 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1728 * src/hildon-touch-selector.c: Document
1729 hildon_touch_selector_center_on_selected()
1731 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1733 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1734 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1735 all menu items, but not the menu itself.
1736 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1737 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1738 items after adding them to the menu so keyboard accelerators work.
1739 (hildon_app_menu_show): Don't show the menu if it contains items
1740 but none of them are visible.
1742 * examples/hildon-app-menu-example.c (create_menu): Use
1743 gtk_widget_show_all() to show all menu items.
1745 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1747 * src/hildon-picker-dialog.c:
1748 (-_update_title_on_selector_changed_cb),
1749 (-_dialog_update_title): Removed.
1750 (_select_on_selector_changed_cb), (_on_dialog_response),
1751 (on_selector_columns_changed): Do not update the dialog title.
1752 (setup_interaction_mode): Do not connect to
1753 HildonTouchSelector::changed signal if there's a "done" button, as
1754 the dialog title doesn't need to be updated.
1756 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1759 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1761 Patch by Kristian Rietveld (kris@imendio.com)
1763 * src/hildon-touch-selector.c: (_create_new_column): Use new
1764 GtkTreeView::hildon-row-tapped signal to react to user interactions
1765 instead of ::changed.
1767 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1768 with some dynamic tree model)
1770 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1772 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1773 (+screen_size_changed, +label_size_request)
1774 (hildon_note_class_init): Make the Hildon information note have a
1775 minimum height, and make its text hvae a maximum width.
1777 Fixes: NB#98614 (Hildon information note (background) should have
1778 minimum height and maximum text width)
1780 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1782 * src/hildon-banner.h
1783 * src/hildon-banner.c (hildon_banner_show_information)
1784 (hildon_banner_show_informationf)
1785 (hildon_banner_show_information_with_markup): Update documentation
1786 to reflect that the icon_name parameter is not used anymore.
1787 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1788 Remove all code from these functions and mark them as deprecated.
1789 (hildon_banner_show_progress): Mark as deprecated.
1791 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1793 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1795 * src/hildon-pannable-area.c,
1796 (hildon_pannable_area_class_init),
1797 (tranparency_color),
1798 (hildon_pannable_draw_vscroll),
1799 (hildon_pannable_draw_hscroll),
1800 (hildon_pannable_area_expose_event): Added a new way to render the
1801 scrollbars of the pannable area avoiding using cairo at all. This
1802 way we improve the performance of the pannable area rendering. The
1803 cairo rendering procedure is still in the code, we can control
1804 which one to use changing the value of the define
1805 USE_CAIRO_SCROLLBARS.
1807 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1809 * configure.ac: post release version bump.
1810 * debian/changelog: version bump.
1812 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1817 * configure.ac: Bump version.
1818 * debian/changelog: Updates.
1820 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1822 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1823 banners instead of destroying them when they receive a button
1826 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1828 Reverted commit 34028, it was causing regressions, probably the
1829 topmost condition is not correct, we have to check it in more
1830 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1831 propagation of button press events)
1833 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1836 that the selection is not empty before attempting to retrieve the
1837 current ampm selection.
1839 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-picker-button.c:
1842 (hildon_picker_button_on_dialog_response): Directly update the
1843 button contents when required instead of calling _selection_changed.
1845 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-program.c (hildon_program_update_top_most): Update
1848 'is-topmost' property also when wm_hints is not set.
1850 Fixes: NB#98383 (is-topmost signal is not emitted when task
1851 switcher is clicked.)
1853 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1855 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1859 * src/hildon-animation-actor.c,
1860 * src/hildon-animation-actor.h: Added the animation actor class,
1861 this widget represents an animation actor for WM-assisted
1862 animation effects in the Hildon framework.
1864 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-window-stack-private.h
1867 * src/hildon-window-stack.c
1868 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1869 Avoid calling gtk_widget_show() again indirectly from
1870 hildon_stackable_window_show()
1872 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1874 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1877 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1879 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1880 (hildon_time_selector_init): Move the construction of the hours and
1881 ampm columns to the constructor to preserve the order the columns
1884 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1886 * src/hildon-picker-dialog.c:
1887 (hildon_picker_dialog_class_init): Connect a realize method.
1888 (+hildon_picker_dialog_realize): Setup the interaction mode here
1890 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1891 yet, do it during the realize instead.
1892 (_on_dialog_response):
1893 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1894 if the widget is not realized, to avoid the dialog response before it
1897 Avoid premature responses in the HildonPickerDialog that can cause it
1898 to be hidden before it's even shown.
1900 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1902 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1903 (on_selector_columns_changed), (requires_done_button),
1904 (+prepare_action_area), (setup_interaction_mode),
1905 (_hildon_picker_dialog_set_selector):
1907 Split the interaction mode setup into preparation of the
1908 action area (prepare_action_area()) and the connection of
1909 the signals in setup_interaction_mode() and update the code to
1912 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1914 * src/hildon-pannable-area.c,
1915 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1916 per second to 15, we will check if this is ok regarding
1919 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1921 * src/hildon-pannable-area.c,
1922 (hildon_pannable_axis_scroll): Avoid resize if we already have
1923 reached overshoot_max.
1925 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1927 * src/hildon-pannable-area.c,
1928 (hildon_pannable_area_init),
1929 (hildon_pannable_area_realize),
1930 (hildon_pannable_area_size_allocate),
1931 (hildon_pannable_area_map),
1932 (hildon_pannable_area_unmap),
1933 (hildon_pannable_draw_vscroll),
1934 (hildon_pannable_draw_hscroll),
1935 (hildon_pannable_area_expose_event),
1936 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1937 pannable are to avoid the expose events go to the window and
1938 redraw the window. We save this way that part of the stack and the
1939 paint_boxes. We had to change the positions of the elements when
1942 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1944 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1945 * src/hildon-color-chooser-dialog.c:
1946 (hildon_color_chooser_dialog_init):
1947 * src/hildon-font-selection-dialog.c:
1948 (hildon_font_selection_dialog_init),
1949 (hildon_font_selection_dialog_show_preview):
1950 * src/hildon-get-password-dialog.c:
1951 * src/hildon-login-dialog.c:
1952 * src/hildon-set-password-dialog.c:
1953 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1954 * src/hildon-time-picker.c: (hildon_time_picker_init):
1956 Remove obsolete logical string IDs and update to the appropriate ones.
1958 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1960 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1962 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1963 that happens if the window hasn't been realized yet.
1965 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1966 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1968 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1970 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1971 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1974 Fixes: NB#98537 (Device hangs in account settings dialog)
1976 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1978 * configure.ac: post release version bump.
1979 * debian/changelog: version bump
1981 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1986 * configure.ac: Bump version.
1987 * debian/changelog: Updates.
1989 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1991 Added a new function to the HildonTimeButton widget that allows to
1992 change the step of the minutes in the selector associated with the
1993 button: hildon_time_button_new_step
1995 * src/hildon-time-button.c,
1996 (hildon_time_button_init),
1997 (hildon_time_button_new),
1998 (hildon_time_button_new_step):
1999 * src/hildon-time-button.h: Added the new function and refactored
2001 * examples/hildon-time-button-example.c,
2002 (main): We have replaced the function without parameters with the
2003 function with the steps set to 5
2005 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2007 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2009 * src/hildon-time-selector.c,
2010 (hildon_time_selector_class_init),
2011 (hildon_time_selector_constructor),
2012 (hildon_time_selector_get_property),
2013 (hildon_time_selector_set_property),
2014 (_create_minutes_model),
2015 (hildon_time_selector_new_step),
2016 (hildon_time_selector_set_time),
2017 * src/hildon-time-selector.h: Added a new property to the
2018 HildonTimeSelector (minutes-step), we use that property to control
2019 the steps between the minutes in the list of the selector. We have
2020 added a new function to the API to create a widget changing the
2021 step: hildon_time_selector_new_step.
2023 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2025 * src/hildon-time-selector.c,
2026 (hildon_time_selector_class_init),
2027 (hildon_time_selector_constructor),
2028 (hildon_time_selector_init): Overrided the construct function when
2029 creating the time selector object. We have moved the minutes model
2030 handling code from the init to the new construction function:
2031 hildon_time_selector_constructor.
2033 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2035 * examples/hildon-date-button-example.c: (main): Use the new
2036 hildon_date_button_new_with_year_range() method in the example.
2037 * src/hildon-date-button.c:
2038 (+hildon_date_button_new_with_year_range): New public method
2039 to conveniently create a HildonDateButton with a custom year range
2040 in its HildonDateSelector.
2041 * src/hildon-date-button.h: Add the new public method definition.
2043 Fixes: NB#97908 (Not possible to change the year range in
2044 HildonDateSelector/HildonDateButton)
2046 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2048 * src/hildon-date-selector.c:
2049 (+hildon_date_selector_set_property),
2050 (+hildon_date_selector_get_property),
2051 (hildon_date_selector_class_init): Install new properties "min-year"
2052 and "max-year" to define boundaries for the year column.
2053 (_create_year_model): Use the boundary properties to populate the model.
2054 (+hildon_date_selector_new_with_year_range): New public method to
2055 create a HildonDateSelector with a user defined year range.
2056 (hildon_date_selector_select_current_date): Use the new boundaries to
2057 calculate the iterator of current year.
2058 * src/hildon-date-selector.h: Add the new public method definition.
2060 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2062 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2063 Install a constructor method.
2064 (+hildon_date_selector_construct_ui): construct the widget.
2065 (+hildon_date_selector_constructor): new constructor.
2066 (+hildon_date_selector_init): move out widget construction code to
2067 the new constructor.
2069 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2071 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2072 that there's actually a month or year selected before obtaining them.
2073 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2074 of the HildonTouchSelector::changed signal, as it was emitted on every
2075 single item selection.
2077 Fix some warnings and possible crashers due to the selection restoring.
2079 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2081 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2082 the signal handlers only after creating the dialog instead of on every
2085 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-button.c (hildon_button_init)
2088 * src/hildon-check-button.c (hildon_check_button_init)
2089 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2090 focus when clicked by default.
2092 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2094 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2097 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2099 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2100 Alejandro G. Castro (alex@igalia.com)
2102 * src/hildon-picker-dialog.c:
2103 (hildon_picker_dialog_class_init): install new "center-on-show"
2105 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2106 (hildon_picker_dialog_set_property): add setter code for the new
2108 (hildon_picker_dialog_get_property): add getter code for the new
2110 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2111 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2114 Fixes: NB#92849 (Selected item is not always visible when
2115 HildonTouchSelector is shown)
2117 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2119 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2120 Alejandro G. Castro (alex@igalia.com)
2122 * src/hildon-touch-selector.c:
2123 (_create_new_column): Do not connect to the "realize" signal of the
2125 (hildon_touch_selector_append_column): center on the selected items
2126 when a new column is appended.
2127 (hildon_touch_selector_select_iter): Factor out the code to select a
2128 column to hildon_touch_selector_scroll_to().
2129 (+search_nearest_element): Method to retrieve the nearest selected
2130 element to the visible area of the pannable area in a column.
2131 (+on_realize_cb): scroll to the initially selected item.
2132 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2133 the pannable area is realized, otherwise delay this until it is.
2134 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2135 selected items of a given column.
2136 (+hildon_touch_selector_center_on_selected): Public method to center
2137 all columns on the nearest selected item.
2138 * src/hildon-touch-selector.h: Add definition for
2139 hildon_touch_selector_center_on_selected().
2141 Implement public API to ensure visibility of all selected items in
2142 a HildonTouchSelector.
2144 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2146 Fixed a problem in the fading when calling the scroll_to API, and
2147 improve scrollbar fading handling.
2149 * src/hildon-pannable-area.c,
2150 (hildon_pannable_area_grab_notify): avoid the timeout when the
2152 (hildon_pannable_area_button_press_cb),
2153 (hildon_pannable_area_motion_notify_cb): Code style changes.
2154 (hildon_pannable_area_button_release_cb): Review the conditions
2155 when releasing the mouse button to avoid unrequired fading
2157 (hildon_pannable_area_scroll_to): Do not calculate and set the
2158 velocity if the scroll is not required.
2160 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2162 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2163 Don't check whether the new selector is NULL: it cannot be.
2164 Hold a reference to the selector while doing the replacement.
2166 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2168 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2169 unnecessary size_request in a removed widget.
2171 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2173 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2174 an unnecessary reference tracking that was leaking.
2176 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2178 Added delayed motion notify event handling, this way we can
2179 discard redrawing if more than 25 events arrive per second.
2181 * src/hildon-pannable-area.c,
2182 (hildon_pannable_area_init): Initialized the new private atributes
2183 controlling this timeout
2184 (hildon_pannable_area_dispose): Remove the timeout that controls
2185 the motion notify events.
2186 (hildon_pannable_area_scroll): Added a condition to control the
2187 use of the acceleration.
2188 (hildon_pannable_area_motion_event_scroll_timeout),
2189 (hildon_pannable_area_motion_event_scroll): Added this two
2190 functions, they handle the motion notify events inside the
2192 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2193 to the scroll method with the new function.
2194 (hildon_pannable_area_button_release_cb): We have to remove the
2195 timeout handler and move to the last position if the last motion
2196 events were not handled.
2198 Fixes: NB#97028 (Pannable area updates on every motion event)
2200 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2202 * src/hildon-pannable-area.c,
2203 (hildon_pannable_area_get_topmost): Added a new parameter to
2204 filter the the windows that do not include those events. Added
2205 also a condition when finding the window to filter windows that do
2206 not ask for those events.
2207 (hildon_pannable_area_button_press_cb),
2208 (hildon_pannable_area_button_release_cb),
2209 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2210 topmost function, we have added the new parameter.
2212 Fixes: NB#97458 (Pannable area prevents propagation of button
2215 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2217 * src/hildon-pannable-area.c,
2218 (hildon_pannable_area_initial_effect): Added controls before
2219 launching the timeout and the idle functions.
2220 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2221 of the method, in some situations it can return with TRUE and 0 in
2223 (hildon_pannable_area_button_press_cb): We do not need to set
2224 DELAY for fading out here.
2226 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2228 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2230 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2231 post-cleaning if the selection is not NULL.
2233 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2235 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2236 all items before restoring the selection.
2238 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2240 * src/hildon-touch-selector.c:
2241 (+hildon_touch_selector_unselect_all):
2242 * src/hildon-touch-selector.h: New API to unselect all items in a
2243 column of the touch selector.
2245 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2247 * src/hildon-pannable-area.c,
2248 (hildon_pannable_area_redraw): Added a call to the refresh
2249 function inside the redraw because apparently in some cases the
2250 change in the adjustment does not imply a size allocate.
2252 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2253 despite the view not being scrollable)
2255 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2257 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2258 leak. Check for NULL before attempting to set the window title.
2260 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2263 whether to show or not the 'Done' button each time the dialog is
2264 shown, as it depends on the HildonTouchSelector selection mode.
2266 Fixes: NB#96226 (In multiple selection mode Done button is shown
2267 sometimes in listpicker)
2269 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2271 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2272 for the number of columns in the HildonTouchSelector more than once.
2274 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2276 * src/hildon-touch-selector.c: Minor documentation fixes.
2278 * src/hildon-picker-dialog.c (+_dialog_update_title)
2279 (_select_on_selector_changed_cb)
2280 (_update_title_on_selector_changed_cb)
2281 (on_selector_columns_changed): Update dialog title when there's no
2282 'Done' button and also when the number of columns in the selector
2286 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2287 (+_selection_changed, hildon_picker_button_on_dialog_response)
2288 (hildon_picker_button_selector_selection_changed)
2289 (+hildon_picker_button_selector_columns_changed)
2290 (hildon_picker_button_set_selector): Update button value and emit
2291 'value-changed' when the number of columns in the selector
2295 Fixes: NB#96225 (Dialog titles are not shown according to the
2296 values selected in the list picker)
2298 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2300 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2301 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2302 New "arrow-width" and "arrow-height" style properties to set the
2303 size of the arrow button.
2304 Set name of arrow button ("hildon-edit-toolbar-arrow").
2306 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2307 graphics from theme)
2309 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2311 * src/hildon-picker-button.c:
2312 (hildon_picker_button_selector_selection_changed): Use
2313 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2314 the dialog is present.
2316 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2317 the selection is accepted in the dialog)
2319 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-color-chooser.h
2322 * src/hildon-color-chooser-dialog.h:
2323 Added G_BEGIN_DECLS and G_END_DECLS
2325 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2327 (_clean_current_selection): plug a leak in the list.
2329 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2331 * src/hildon-picker-dialog.c:
2332 (+free_path_list): Method to free a GList of GtkTreePaths.
2333 (_clean_current_selection), (_save_current_selection),
2334 (_restore_current_selection): Save the current selection in
2335 as a list of lists, to support multiple selection properly.
2337 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2339 patch by Claudio Saavedra (csaavedra@igalia.com)
2341 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2342 Store the press position.
2343 (+hildon_text_view_button_release_event): If the release position is
2344 close enough to the press position, move the cursor here. Otherwise,
2346 (hildon_text_view_class_init): Override GtkTextView press, release, and
2347 motion event handlers, disabling this way text selection through
2348 pointer interaction, and allowing the container widget to handle the
2351 Fixes: NB#95828 (HildonTextView functionality)
2353 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2355 Based on a patch by Iván Gómez (igomez@igalia.com)
2357 * src/hildon-button.[ch]
2358 * src/hildon-calendar.c
2359 * src/hildon-check-button.c
2360 * src/hildon-date-editor.c
2361 * src/hildon-date-selector.c
2362 * src/hildon-picker-button.c
2363 * src/hildon-time-editor.c
2364 * src/hildon-time-selector.c
2365 * src/hildon-touch-selector.[ch]:
2366 Documentation updates
2368 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2370 * src/hildon-pannable-area.c,
2371 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2372 threshold, it was required due to X events handling.
2374 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2376 * src/hildon-pannable-area.c,
2377 (hildon_pannable_area_grab_notify),
2378 (hildon_pannable_area_initial_effect),
2379 (hildon_pannable_area_button_press_cb),
2380 (hildon_pannable_area_button_release_cb),
2381 (hildon_pannable_area_scroll_cb),
2382 (hildon_pannable_area_scroll_to): Review the timeout management of
2383 the scrollbar, the frecuency was incorrectly set.
2385 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-picker-button.c:
2388 (+hildon_picker_button_on_dialog_response),
2389 (hildon_picker_button_clicked): Present the dialog instead of
2390 running it with gtk_dialog_run().
2392 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2395 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2398 (hildon_app_menu_finalize): When a window is hidden it doesn't
2399 emit notify::is-topmost, so make sure than the menu also
2400 disappears in that case.
2401 (parent_window_topmost_notify): Renamed from parent_window_hidden
2403 Fixes: NB#94460 (stackable window's menu is not closed when its
2406 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-touch-selector-entry.c:
2409 (+hildon_touch_selector_entry_set_input_mode),
2410 (+hildon_touch_selector_entry_get_input_mode):
2411 * src/hildon-touch-selector-entry.h: New methods to access the input
2412 mode in the selector's entry.
2414 Fixes: NB#93410 (API required for setting IM mode in
2415 HildonTouchSelectorEntry)
2417 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2419 * configure.ac: post release version bump.
2420 * debian/changelog: version bump
2422 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2427 * configure.ac: Bump version.
2428 * debian/changelog: Updates.
2430 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2432 * src/hildon-touch-selector.c:
2433 (_hildon_touch_selector_has_multiple_selection): No need
2434 to initialize the variables here.
2436 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2438 * src/hildon-note-private.h
2439 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2440 (hildon_note_finalize, hildon_note_rebuild): Close information
2441 notes when they receive a button press.
2443 Fixes: NB#89890 (Information notes does not get disappeared after
2446 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2449 mark from the wizard title, as it's not really necessary. Also,
2450 do not display the page title if not set.
2452 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2455 (parent_window_hidden): Use the window's "is-topmost" property to
2456 detect when to hide the menu.
2458 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2460 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2461 (hildon_app_menu_finalize): If the parent window of the menu is
2462 hidden, hide the menu too.
2464 Fixes: NB#94460 (stackable window's menu is not closed when its
2467 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2470 * debian/libhildon1-examples.install
2472 * examples/Makefile.am:
2473 Use dh_install to install all examples.
2474 Use DEB_SRCDIR instead of defining SOURCE_DIR
2476 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2478 * configure.ac: post release version bump.
2479 * debian/changelog: version bump
2481 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2486 * configure.ac: bump version
2487 * debian/changelog: updates
2488 * debian/control: bump gtk+ dependency
2490 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2492 patch by Christian Dywan (christian@imendio.com)
2494 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2495 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2497 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2499 * src/hildon-check-button.c (hildon_check_button_init)
2500 (hildon_check_button_class_init, hildon_check_button_style_set)
2501 (hildon_check_button_apply_style):
2502 New "checkbox-size" style property.
2504 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2505 larger / configurable size)
2507 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2509 * configure.ac: post release version bump.
2510 * debian/changelog: version bump
2512 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2517 * configure.ac: bump version
2518 * debian/changelog: updates
2520 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2522 * doc/hildon-sections.txt
2523 * src/hildon-pannable-area.c
2524 * src/hildon-program.c
2525 * src/hildon-time-editor.c
2526 * src/hildon-touch-selector-entry.c:
2528 More documentation updates.
2530 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2532 * doc/hildon-sections.txt
2533 * src/hildon-caption.c
2534 * src/hildon-code-dialog.c
2535 * src/hildon-color-button.c
2536 * src/hildon-controlbar.c
2537 * src/hildon-date-editor.c
2538 * src/hildon-date-selector.c
2539 * src/hildon-edit-toolbar.c
2540 * src/hildon-find-toolbar.c
2541 * src/hildon-font-selection-dialog.c
2543 * src/hildon-program.c
2544 * src/hildon-range-editor.c
2545 * src/hildon-seekbar.c
2546 * src/hildon-time-editor.c
2547 * src/hildon-time-selector.c
2548 * src/hildon-volumebar-range.c
2549 * src/hildon-volumebar.c
2550 * src/hildon-vvolumebar.c
2551 * src/hildon-weekday-picker.c
2552 * src/hildon-window.c
2553 * src/hildon-wizard-dialog.c:
2555 Lots of documentation fixes.
2557 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2559 Patch contributed by Iván Gómez (igomez@igalia.com)
2561 * src/hildon-check-button.c:
2562 * src/hildon-date-button.c:
2563 * src/hildon-date-selector.c:
2564 * src/hildon-dialog.c:
2565 * src/hildon-edit-toolbar.c:
2566 * src/hildon-entry.c:
2567 * src/hildon-picker-button.c:
2568 * src/hildon-program.c:
2569 * src/hildon-text-view.c:
2570 * src/hildon-time-button.c:
2571 * src/hildon-touch-selector-entry.c:
2572 * src/hildon-window-stack.c:
2574 Add more "since" tags to the new API.
2576 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2578 * doc/hildon-sections.txt: Add below method.
2579 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2580 version for the hildonized scale.
2581 * src/hildon-gtk.h: Add the definition.
2583 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2585 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2587 * doc/hildon-sections.txt: Add missing entries for new methods.
2589 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2591 Added API to pannable are in order to get its adjustments. We
2592 added two properties to manage the values we had in the private
2595 * src/hildon-pannable-area.c:
2596 (hildon_pannable_area_class_init): Added hadjustment and
2597 vadjustment properties in order to expose horizontal and vertical
2599 (hildon_pannable_area_get_property),
2600 (hildon_pannable_area_set_property): Added code to handle the new
2602 (hildon_pannable_area_get_hadjustment),
2603 (hildon_pannable_area_get_vadjustment): API functions to get the
2605 * src/hildon-pannable-area.h:
2606 (hildon_pannable_area_get_hadjustment),
2607 (hildon_pannable_area_get_vadjustment): API functions to get the
2610 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2612 Fixed some leaks, after valgrinding.
2614 * src/hildon-touch-selector.c:
2615 (_default_print_func): Fixed a leak.
2616 (hildon_touch_selector_append_column): Fixed a leak.
2617 * src/hildon-date-button.c:
2618 (hildon_date_button_init): Fixed a leak.
2619 * src/hildon-date-selector.c
2620 (hildon_date_selector_finalize): Fixed a leak.
2622 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2624 Based on a patch by Christian Dywan (christian@imendio.com)
2626 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2628 * src/hildon-gtk.h: Add definition.
2630 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2632 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2634 * src/hildon-picker-button.c: (hildon_picker_button_init),
2635 (hildon_picker_button_new): Set the HildonButton::style property
2636 in the init method, to propagate the value to the derived classes.
2638 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2640 * src/hildon-button.c: (hildon_button_class_init): Do not make
2641 the "style" property a construct property.
2643 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-wizard-dialog.h
2646 * src/hildon-wizard-dialog.c
2647 (hildon_wizard_dialog_set_forward_page_func)
2648 * src/hildon-pannable-area.h
2649 * src/hildon-pannable-area.c
2650 (hildon_pannable_area_set_size_request_policy):
2651 Documentation fixes.
2653 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2655 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2657 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2659 * doc/hildon-sections.txt: Added sections file.
2661 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/*.[ch]: Updates.
2666 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2668 * examples/hildon-progress-indicator-example.c: new file
2669 * examples/Makefile.am: include the new example program
2671 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2675 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2677 * configure.ac: post release version bump
2678 * debian/changelog: version bump
2680 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2685 * configure.ac: bump version
2686 * debian/changelog: updates
2687 * debian/control: bump gtk+ dependency
2689 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-dialog.c: Mark as deprecated.
2692 * src/hildon-dialog.h: Mark as deprecated.
2693 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2694 from HildonDialog and still work, even if
2695 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2696 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2698 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2699 maemo changes) instead)
2701 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2703 * src/hildon-pannable_area.h:
2704 * src/hildon-pannable_area.c:
2705 (hildon_pannable_area_class_init),
2706 (hildon_pannable_area_set_property),
2707 (hildon_pannable_area_get_property),
2708 (hildon_pannable_area_size_request),
2709 (hildon_pannable_area_get_size_request_policy),
2710 (hildon_pannable_area_set_size_request_policy): Added new API
2711 allowing applications to control the request policy. Now they can
2712 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2713 children allocation (HILDON_MOVEMENT_CHILDREN).
2715 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2719 (hildon_gtk_tree_view_set_ui_mode)
2720 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2721 mode of treeviews and iconviews.
2723 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2725 * src/hildon-touch-selector-entry.c:
2726 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2727 of a GtkEntry to get proper theming.
2729 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2730 widget, not GtkEntry)
2732 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2734 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2735 no HildonWizardDialogPageFunc.
2737 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2739 Patch contributed by Iván Gómez (igomez@igalia.com)
2741 * src/hildon-app-menu.c:
2742 * src/hildon-button.c:
2743 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2744 * src/hildon-stackable-window.c:
2745 * src/hildon-time-selector.c:
2746 * src/hildon-touch-selector.c:
2747 * src/hildon-window.c:
2749 Add more "since" tags to the new API in hildon 2.2.
2751 2008-12-05 Tim Janik <timj@imendio.com>
2753 Patch contributed by Christian Dywan (christian@imendio.com)
2755 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2756 HildonSizeType, which are supplied by Gtk+ now.
2758 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2760 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2761 (with maemo changes) instead)
2763 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2765 Patch contributed by Iván Gómez (igomez@igalia.com)
2767 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2770 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2772 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2773 (some_page_func), (main): Update the example to use a
2774 HildonWizardDialogPageFunc function.
2776 * src/hildon-wizard-dialog-private.h: Add private data for
2777 the HildonWizardDialogPageFunc function usage.
2779 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2780 (destroy), (hildon_wizard_dialog_init), (response),
2781 (hildon_wizard_dialog_set_forward_page_func):
2782 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2783 that applications can use to stop a HildonWizardDialog to jump to
2786 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2789 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-program.h
2792 * src/hildon-program-private.h
2793 * src/hildon-program.c (hildon_program_init)
2794 (hildon_program_set_common_app_menu)
2795 (hildon_program_get_common_app_menu):
2796 New API for setting a common HildonAppMenu for all
2797 HildonStackableWindows registered with the HildonProgram.
2799 * src/hildon-stackable-window.c
2800 (hildon_stackable_window_toggle_menu):
2801 Use the common HildonAppMenu if a window doesn't have a specific
2804 * src/hildon-app-menu-private.h
2805 * src/hildon-app-menu.c
2806 (hildon_app_menu_get_parent_window):
2807 Function to obtain the window a HildonAppMenu is attached to.
2808 (hildon_app_menu_set_parent_window):
2809 Hide the menu if the parent window is set to NULL.
2811 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2813 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2814 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2815 search widget to popup.
2817 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2819 * configure.ac: post release version bump
2820 * debian/changelog: version bump
2822 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2827 * configure.ac: bump version
2828 * debian/changelog: updates
2830 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2832 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2834 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2835 (hildon_window_stack_window_realized)
2836 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2837 Set the leader GdkWindow when a window is stacked and realized,
2838 unset it when it's unstacked.
2839 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2841 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2843 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-stackable-window.h
2846 * src/hildon-window-stack.h:
2847 Protect definition of HildonWindowStack using the preprocessor.
2849 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2852 Fix warning if all menu items are hidden.
2854 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2856 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2858 * src/hildon-controlbar.c:
2859 * src/hildon-hvolumebar.c:
2860 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2861 Multiple scale size defines updates.
2863 Fixes: NB#94322 (Scale Updates)
2865 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2867 * examples/hildon-app-menu-example.c (create_menu)
2868 Show items after adding them to the menu, as in the future the
2869 menu will no longer call gtk_widget_show() on the added items.
2871 * src/hildon-app-menu.c:
2872 Update example as explained above.
2874 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2876 * src/hildon-app-menu.c
2877 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2878 Make sure that all menu items have finger height.
2880 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2882 * src/hildon-picker-dialog.c:
2883 (_on_dialog_response), (_save_current_selection),
2884 (_restore_current_selection), (_clean_current_selection),
2885 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2886 Defined new functions in order to save the current internal selector
2887 selection previous open the dialog, in case that the use cancel the
2888 interaction, so the widget restores the previous selection.
2890 Fixes: NB#92032 (In calendar application, date values in 'new event'
2893 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2895 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2897 * src/hildon-button.c: Add a reference to the button examples in
2898 hildon-button-example.c
2900 * examples/hildon-button-example.c: Added examples of the most
2901 common button layouts.
2903 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-app-menu.c (hildon_app_menu_show)
2906 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2908 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2910 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2912 * src/hildon-picker-dialog.c:
2913 (hildon_picker_dialog_init): Initialize the signal id for
2914 HildonTouchSelector::columns-changed.
2915 (+on_selector_columns_changed): Set up the interaction mode everytime a
2916 column is added or removed from the HildonTouchSelector.
2917 (_hildon_picker_dialog_set_selector): Connect to
2918 HildonTouchSelector::columns-changed and keep track of it.
2920 Make sure to update the interaction mode of the dialog everytime a
2921 column is added or removed in the HildonTouchSelector.
2923 Fixes: NB#93228 (Done button is not shown always in listpicker)
2925 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2927 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2928 a new ::columns-changed signal.
2929 (hildon_touch_selector_append_column): Emit ::columns-changed.
2930 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2932 Add a ::columns-changed signal, emitted when the number of columns in a
2933 HildonTouchSelector changes.
2935 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2938 (_hildon_picker_dialog_set_selector): Factor out the code
2939 to set up the dialog interaction mode.
2941 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2943 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2944 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2945 to signal_changed_id.
2947 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2952 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2954 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2955 Updated the logical ids related to ampm format, as now it is required to
2956 show it correctly localized even on languages with no default
2957 abbreviations for am or pm
2958 (_check_am_pm_format): check correctly the 24h format gconf property
2960 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2962 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2964 * src/hildon-button.c: Documentation updates.
2966 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2969 * src/hildon-caption.c: (hildon_caption_class_init):
2970 * src/hildon-color-button.c: (hildon_color_button_class_init):
2971 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2972 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2973 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2974 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2976 Remove deprecated GTK+ marshalers and replace them with the ones
2977 provided by GLib, for those available, add a marshaler for
2978 BOOLEAN:VOID, which is not available in GLib, and use it.
2980 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2982 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2983 the text from the previous column if there is no
2984 HildonTouchSelectorColumn::text-property set.
2986 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-button.h
2989 * src/hildon-button.c (hildon_button_set_property)
2990 (hildon_button_get_property, hildon_button_class_init)
2991 (hildon_button_set_style, hildon_button_get_style):
2992 New "style" property to change the visual appearance of the
2995 * src/hildon-picker-button.c (hildon_picker_button_new):
2996 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2998 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2999 HildonButton look like PickerButton)
3001 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3004 column while building the default string.
3006 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3008 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3009 scroll indicator by default.
3011 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3013 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3015 * src/hildon-main.c: Fix the documentation for hildon_init()
3017 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3019 * doc/hildon-docs.sgml
3023 * src/hildon-window-stack-private.h
3024 * src/hildon-window-stack.h
3025 * src/hildon-window-stack.c:
3026 New HildonWindowStack object, that adds support for multiple
3027 stacks of windows per process.
3029 * src/hildon-stackable-window-private.h
3030 * src/hildon-stackable-window.h
3031 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3032 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3033 (hildon_stackable_window_show, hildon_stackable_window_hide)
3034 (hildon_stackable_window_class_init)
3035 (hildon_stackable_window_init):
3036 Use HildonWindowStack for stack management.
3038 * src/hildon-program.c (hildon_program_pop_window_stack)
3039 (hildon_program_peek_window_stack)
3040 (hildon_program_go_to_root_window):
3041 Add a fallback implementation to the deprecated functions using
3044 * examples/hildon-stackable-window-example.c:
3045 Use the new HildonWindowStack API.
3047 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-stackable-window-private.h
3050 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3051 (hildon_stackable_window_hide, hildon_stackable_window_init):
3052 Remove all window stack management.
3054 * src/hildon-program-private.h
3055 * src/hildon-program.h
3056 * src/hildon-program.c (hildon_program_init)
3057 (hildon_program_pop_window_stack)
3058 (hildon_program_peek_window_stack)
3059 (hildon_program_go_to_root_window):
3060 Remove all window stack management and mark functions as
3063 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3065 * src/hildon-app-menu.c (hildon_app_menu_realize):
3066 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3068 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3070 * configure.ac: post release version bump
3071 * debian/changelog: version bump
3073 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3078 * configure.ac: bump version
3079 * debian/changelog: updates
3081 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3083 Based on initial code by Christian Dywan (christian@imendio.com)
3085 * doc/hildon-docs.sgml: Add section for hildon-main.
3086 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3087 * src/Makefile.am: Add new hildon-main.[ch]
3088 * src/hildon-defines.h: Update the icon sizes.
3089 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3090 new library initialization files and register icon sizes.
3091 * src/hildon-main.h: New declarations.
3092 * src/hildon.h: Include hildon-main.h
3094 Add new initialization functions to the library. These methods
3095 will register the hildon specific icon sizes and can be used in the
3096 future for other hildon specific bits.
3098 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3100 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3102 * src/hildon-window.c: (hildon_window_realize),
3103 (hildon_window_notify), (-hildon_window_update_title): Do not set
3104 the application name in the window title.
3106 Fixes: NB#89754 (Applications shouldn't display their names in the
3109 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3111 * src/hildon-note-private.h:
3112 * src/hildon-note.c: (hildon_note_set_property),
3113 (hildon_note_get_property), (hildon_note_class_init),
3114 (hildon_note_init), (hildon_note_finalize),
3115 (hildon_note_new_confirmation_with_icon_name),
3116 (hildon_note_new_information_with_icon_name):
3118 No need to mark as deprecated the actual code. Revert
3119 to avoid missing symbols in widgets using deprecated API.
3121 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3123 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3125 * src/hildon-volumebar.h
3126 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3127 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3129 * src/hildon-helper.h
3130 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3131 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3133 * examples/Makefile.am:
3134 Deprecate hildon-insensitive-example
3136 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3138 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3140 * examples/hildon-pannable-area-buttons-scroll-example.c:
3141 Make all buttons finger height
3143 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3145 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3147 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3148 update the day model only if it is really required, and to avoid the
3149 full-reconstruction aproach. Now it only add or remove the required days.
3151 The purpose of this is avoid superfluous HildonTouchSelector::changed
3154 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3155 with strange parameters)
3157 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3159 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3161 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3162 the WINDOW_TYPE property.
3164 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3166 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3169 Fix dependency to allow parallel compilation with make -jX
3171 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3173 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3174 color frame and some minor tweaks to make it more consistent with
3177 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3178 highlighted but not visible)
3180 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3182 * examples/Makefile.am: Fixed typo in the Makefile.am.
3184 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3186 Reviewed the use of MAEMO_GTK define, now we add the define in the
3187 compilation line, and we also add it to the pc file.
3189 * configure.ac: Added MAEMO_GTK define to the compilation command
3190 and removed it from the config.h.
3192 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3193 do not have to take care about this define if the library was
3197 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3199 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3201 * examples/Makefile.am,
3202 * examples/hildon-pannable-area-buttons-scroll-example.c,
3203 * examples/hildon-pannable-area-gesture-signals-example.c,
3204 * examples/hildon-pannable-area-scroll-jump-example.c,
3205 * examples/hildon-pannable-area-tree-view-example.c:
3206 Renamed the pannable area examples, now they have more meaningful
3209 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3211 * src/hildon-touch-selector.c:
3212 (hildon_touch_selector_set_column_selection_mode): Used of
3213 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3214 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3215 to avoid re-seting the same selection mode.
3217 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3218 breaks HildonPickerDialog)
3220 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3222 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3223 conditional in the Makefile.am
3225 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3227 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3228 Remove unused methods.
3230 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3232 * src/hildon-button.c (hildon_button_init):
3233 Make button images center-aligned by default
3235 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3238 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3239 activated, we have to think about how to deal with both defines
3240 MAEMO_GTK and MAEMO_CHANGES.
3242 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3244 * examples/hildon-app-menu-example.c (create_menu): Make all
3245 buttons finger size.
3247 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3249 Fixed the compilation without maemo gtk adding ifdefs with
3250 MAEMO_GTK define to the code, we have to check this version more
3253 * examples/Makefile.am: Added control to avoid some examples that
3254 just make sense with maemo gtk.
3257 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3258 hildon modes with the define.
3260 * examples/hildon-edit-toolbar-example.c,
3261 (create_icon_view): Create the icon view without hildon-gtk
3262 helpers if we are not using maemo gtk.
3264 * src/hildon-touch-selector.c,
3265 (_create_new_column): Create the treeview without hildon-gtk
3266 helpers if we are not using maemo gtk.
3268 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3270 * src/hildon-pnnable-area.c,
3271 (hildon_pannable_area_dispose),
3272 (hildon_pannable_area_button_press_cb),
3273 (hildon_pannable_area_child_mapped),
3274 (hildon_pannable_area_add),
3275 (hildon_pannable_area_remove): Added code to control the position
3276 of the event_window when adding and removing children from the
3277 pannable. We have to raise the event window when the child is
3280 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3281 selection mode using custom widget inside pannable)
3283 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3285 * configure.ac: post release version bump
3286 * debian/changelog: version bump
3288 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3293 * configure.ac: bump version
3294 * debian/changelog: updates
3296 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3298 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3299 search mode, in order to avoid lose the focus on the treeview when
3300 a hw key (like enter) is pressed.
3302 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3303 in HildonDateSelector dialog)
3305 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3307 * debian/rules: Added --enable-maintainer-mode
3308 * Makefile.am: Added ACLOCAL_AMFLAGS
3310 This allows to properly regenerate the Makefiles if you modify the
3311 configure.ac or any Makefile.am.
3313 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3315 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3316 properties, not needed at all.
3318 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3320 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3322 * src/hildon-note.c: (hildon_note_set_property),
3323 (hildon_note_get_property), (hildon_note_class_init),
3324 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3325 (hildon_note_new_confirmation_add_buttons): Remove icons.
3326 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3327 (hildon_note_new_information_with_icon_name): Deprecate.
3328 (hildon_note_new_confirmation): Act directly, without calling
3329 the deprecated constructor.
3330 (hildon_note_new_information): Act directly, without calling
3331 the deprecated constructor.
3332 * src/hildon-note.h: Mark deprecate methods as such.
3333 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3334 not run tests on the deprecated methods if built with deprecation
3337 Fixes: NB#91688 (Never show icons in information notes/confirmation
3340 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3342 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3343 (hildon_app_menu_key_press): Remove leftover usage of the
3344 private structure in HildonAppMenu struct.
3345 * src/hildon-app-menu.h: Remove leftover private structure
3346 from the HildonAppMenu struct.
3348 Fixes a crasher when using the HildonAppMenu.
3350 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3352 * src/hildon-picker-dialog.c: Use appropriate logical id
3353 for the default "Done" text.
3355 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3357 * configure.ac: post release version bump
3358 * debian/changelog: version bump
3360 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3362 Modified the way to scroll to the current selection just when the touch
3363 selector is shown on the screen, avoiding a g_idle. Added too a property
3364 to configure this behaviour. See hildon_pannable_area_jump_to_child
3365 documentation for more information.
3367 * src/hildon-touch-selector.c
3368 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3369 Added 'initial-scroll' property
3370 (hildon_touch_selector_set_property): Added
3371 (hildon_touch_selector_map): Removed as not required anymore
3372 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3373 only a concrete column, instead of iterate along all the columns
3375 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3380 * configure.ac: bump version
3381 * debian/changelog: updates
3383 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3385 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3386 compilation time warnings.
3388 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3390 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3391 the default value for HildonPannableArea::mov-mode to
3392 HILDON_PANNABLE_AREA_MODE_VERT.
3394 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3396 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3398 Reverting following commit:
3400 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3402 * src/hildon-app-menu-private.h
3403 * src/hildon-app-menu.[ch]
3404 * src/hildon-button.[ch]
3405 * src/hildon-check-button.[ch]
3406 * src/hildon-entry.[ch]
3407 * src/hildon-pannable-area.[ch]
3408 * src/hildon-text-view.[ch]:
3409 Added private field to the object's structure.
3411 because it causes an ABI breakage. We will need to introduce these
3412 changes later at some point. See NB#91636 for an extensive
3413 explanation and status.
3415 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3417 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3419 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3420 remove special cases that are no longer necessary.
3422 Fixes: NB#91016 (Change toolbar sizes, simplification)
3424 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3426 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3427 is shown in the cancel note.
3429 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3431 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3432 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3433 (hildon_seekbar_init): Remove steppers, remove expose event.
3434 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3436 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3438 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3440 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3441 label font to "SmallSystemFont" for vertically arranged buttons.
3443 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3446 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3448 * src/hildon-check-button.c
3449 (hildon_check_button_set_active, hildon_check_button_clicked):
3450 Don't access private parts directly, use getters instead.
3452 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3454 * src/hildon-check-button.c (hildon_check_button_new):
3455 Align the contents of the check button to the left.
3457 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3459 * src/hildon-pannable-area.c,
3460 (hildon_pannable_area_scroll_to),
3461 (hildon_pannable_area_jump_to),
3462 (hildon_pannable_area_scroll_to_child),
3463 (hildon_pannable_area_jump_to_child): Replace the mapped
3464 precondition of these functions with the realized, it is the
3465 correct state of the widget in this case. Changed the
3466 documentation according to this modification.
3468 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3470 Added a new EXTRA_CFLAGS option to add the deprecated define to
3471 the compilation command. This way we can avoid using the define in
3472 the documentation compilation.
3474 * configure.ac: Defined EXTRA_CFLAGS.
3476 * examples/Makefile.am:
3478 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3480 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3482 * src/hildon-picker-dialog.c:
3483 Defined a utility macro with the desired touch selector height
3484 Removed currently unused separator, and title_label variables from
3486 (hildon_picker_dialog_init): Removed code related to the creation
3487 of unused private variables title_label and separator.
3488 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3489 to ensure correct visualization of the touch selector inside the dialog.
3490 * src/hildon-touch-selector.c
3491 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3492 ensure a concrete height of the widget.
3494 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3497 * tests/Makefile.am:
3499 Remove spurious whitespaces.
3501 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3503 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3504 compilation warning after the cancel button removal.
3506 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3508 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3510 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3511 Makefile.am, that way we can choose not to compile some examples
3512 and tests of the deprecated widgets.
3514 * examples/Makefile.am: Divided the sources in deprecated and
3517 * src/Makefile.am: Added undef statement of the deprecated
3518 symbol to the enums file generation process.
3520 * src/hildon-color-chooser-dialog.c
3521 * src/hildon-color-chooser-dialog.h
3522 * src/hildon-color-button.c
3523 * src/hildon-color-button.h
3524 * src/hildon-color-chooser.c
3525 * src/hildon-color-chooser.h
3526 * src/hildon-controlbar.c
3527 * src/hildon-controlbar.h
3528 * src/hildon-date-editor.c
3529 * src/hildon-date-editor.h
3530 * src/hildon-hvolumebar.c
3531 * src/hildon-hvolumebar.h
3532 * src/hildon-private.c
3533 * src/hildon-private.h
3534 * src/hildon-range-editor.c
3535 * src/hildon-range-editor.h
3536 * src/hildon-seekbar.c
3537 * src/hildon-seekbar.h
3538 * src/hildon-time-editor.c
3539 * src/hildon-time-editor.h
3540 * src/hildon-time-picker.c
3541 * src/hildon-time-picker.h
3542 * src/hildon-volumebar.c
3543 * src/hildon-volumebar.h
3544 * src/hildon-vvolumebar.c
3545 * src/hildon-vvolumebar.h
3546 * src/hildon-bread-crumb-trail.h
3547 * src/hildon-bread-crumb-trail.c
3548 * src/hildon-calendar-popup.c
3549 * src/hildon-calendar-popup.h
3550 * src/hildon-weekday-picker.c:
3551 * src/hildon-weekday-picker.h:
3552 * src/hildon-bread-crumb-widget.c:
3553 * src/hildon-bread-crumb-widget.h:
3554 * src/hildon-bread-crumb.c:
3555 * src/hildon-bread-crumb.h:
3556 * src/hildon-calendar.c:
3557 * src/hildon-calendar.h:
3558 * src/hildon-caption.c:
3559 * src/hildon-code-dialog.c:
3560 * src/hildon-code-dialog.h:
3561 * src/hildon-font-selection-dialog.c:
3562 * src/hildon-font-selection-dialog.h:
3563 * src/hildon-get-password-dialog.c:
3564 * src/hildon-get-password-dialog.h:
3565 * src/hildon-login-dialog.c:
3566 * src/hildon-login-dialog.h:
3567 * src/hildon-number-editor.c:
3568 * src/hildon-number-editor.h:
3569 * src/hildon-set-password-dialog.c:
3570 * src/hildon-set-password-dialog.h:
3571 * src/hildon-sort-dialog.c:
3572 * src/hildon-sort-dialog.h: This is the list of deprecated
3575 * src/hildon-touch-selector.c:
3576 * src/hildon-window.c: Added undef statement to avoid compilation
3579 * tests/Makefile.am: Divided the sources in deprecated and
3582 * tests/check_test.c,
3583 (configure_tests): Marked the deprecated code that was adding
3584 suites with deprecated tests.
3586 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3588 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3590 * src/hildon-touch-selector.c: (_default_print_func): Do not
3591 duplicate a string returned by gtk_tree_model_get(), it is already
3594 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3597 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3599 * src/hildon-pannable-area.c
3600 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3601 method, it had problems when adding a widget with viewport the
3602 second time. Now checks if it already has a viewport and uses it.
3604 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3607 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3609 * src/hildon-pannable-area.c,
3610 (hildon_pannable_area_scroll_to),
3611 (hildon_pannable_area_jump_to),
3612 (hildon_pannable_area_scroll_to_child),
3613 (hildon_pannable_area_jump_to_child): Added a precondition to the
3614 scroll and jump to functions: the widget must be mapped before we
3615 can safely call these functions. We have also added documentation
3616 to the functions to explain how to use them in this situation.
3619 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3621 Reviewed the threading handling of the pannable widget, we have
3622 used the gdk_threads_add_timeout function instead of the usual
3623 glib handlers. This avoids some problems with the threads.
3625 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3626 (hildon_pannable_area_initial_effect),
3627 (hildon_pannable_area_scroll_indicator_fade),
3628 (hildon_pannable_area_button_press_cb),
3629 (hildon_pannable_area_timeout),
3630 (hildon_pannable_area_motion_notify_cb),
3631 (hildon_pannable_area_button_release_cb),
3632 (hildon_pannable_area_scroll_cb),
3633 (hildon_pannable_area_scroll_to): Removed the
3634 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3635 gdk_threads_add_timeout.
3637 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3639 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3644 * configure.ac: bump version
3645 * debian/changelog: updates
3647 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3649 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3650 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3651 * src/hildon-color-chooser-dialog.c:
3652 (hildon_color_chooser_dialog_init):
3653 * src/hildon-font-selection-dialog.c:
3654 (hildon_font_selection_dialog_init):
3655 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3657 Remove all cancel/close-like dialogs, as these are not going to be
3660 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3662 * src/hildon-note.c: (hildon_note_rebuild),
3663 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3666 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3668 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3670 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3671 sure all buttons are shown, even the Cancel/Close-like ones.
3673 Fixes: NB#90861 (Custom Confirmation dialogs should be
3674 protected from cancel button removal)
3676 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3678 * debian/control: Change libhildon1-examples dependency from libhildon1
3680 * debian/libhildon1-examples.install
3682 * Makefile.am: Modified the final install directory for the examples on
3683 package libhildon1-examples
3684 * Makefile.static: Update clean target in order to remove all the binary
3687 Changes suggested by Claudio after review new libhildon1-examples package
3689 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3692 * src/hildon-touch-selector.c: Ditto.
3694 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3696 * debian/control: Added new package libhildon1-examples, in order to pack
3697 the current hildon examples as documentation
3698 * debian/rules: Not to compress .c files, modify some includes on the
3699 examples (as normally are compiled locally, but when installed it will
3700 require to include the installed libhildon1 library), and rename
3702 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3703 install all the example files on the new example package
3704 * examples/Makefile.static: Added static makefile that can be used to
3705 compile the examples, once installed the new example package
3706 * examples: Most of the examples were modified in order to grant that
3707 all use only '#include "hildon.h"', in order to be easy to prepare
3708 it on the example package
3710 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3713 * debian/libhildon1-dev.install
3714 * debian/libhildon1-doc.install:
3715 Move all gtk-doc files to a separate libhildon1-doc package.
3717 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3719 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3721 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3723 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3725 * debian/rules: Fixed a error in order to avoid unnecessary calls
3726 to autogen.sh on package building
3728 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3730 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3732 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3734 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3737 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3739 * src/hildon-picker-button.c
3740 (hildon_picker_button_finalize):
3741 Free priv->done_button_text
3743 * src/hildon-time-button.c
3744 (hildon_time_button_set_time)
3745 * src/hildon-picker-button.c
3746 (hildon_picker_button_clicked)
3747 (hildon_picker_button_selector_selection_changed)
3748 (hildon_picker_button_set_selector)
3749 * src/hildon-date-button.c
3750 (hildon_date_button_set_date):
3751 Free strings returned by hildon_touch_selector_get_current_text()
3753 * src/hildon-button.c (hildon_button_construct_child):
3754 Fix leaks in priv->image and priv->label_box
3756 Fixes: NB#90535 (Memory leak in picker button)
3758 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3760 * src/hildon-button.c: (hildon_button_get_property): Do not access
3761 private elements directly, use getters instead.
3763 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3765 * src/hildon-app-menu-private.h
3766 * src/hildon-app-menu.c
3767 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3768 Store the menu's parent window.
3770 * src/hildon-stackable-window.c
3771 (hildon_stackable_window_toggle_menu)
3772 (hildon_stackable_window_finalize):
3773 Set the menu's parent window when the menu is shown, unset it when
3776 * src/hildon-app-menu.c
3777 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3778 (hildon_app_menu_class_init):
3779 Send unhandled keyboard accelerators to the parent window.
3781 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3783 * src/hildon-stackable-window.c
3784 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3786 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3788 * configure.ac: post release version bump
3790 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3793 * configure.ac: Bump version
3794 * debian/changelog: Updates
3795 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3798 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3800 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3803 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3804 GtkMenu with Hildon style.
3806 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3808 * src/hildon-picker-button.c:
3809 (hildon_picker_button_set_done_button_text): Set the dialog's
3810 done button text here as well.
3812 Fixes: NB#90232 (Picker button does not set the label on done button
3813 for the second time)
3815 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3817 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3820 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3822 * src/hildon-app-menu.c (hildon_app_menu_insert)
3823 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3824 the HildonAppMenu to be activatable using keyboard accelerators
3825 when the menu is not being shown.
3827 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3829 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3831 * src/hildon-stackable-window.c
3832 (hildon_stackable_window_show):
3833 Don't hide old windows automatically when new windows are shown:
3834 this is now a task for the window manager.
3835 (hildon_stackable_window_class_init)
3836 (hildon_stackable_window_hide):
3837 Remove windows from the stack everytime they're hidden.
3838 (hildon_stackable_window_realize):
3839 Don't change the _NET_WM_WINDOW_TYPE property. Use
3840 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3841 it as a stackable window.
3843 * src/hildon-program.c
3844 (hildon_program_pop_window_stack):
3845 Just hide the window to remove it from the stack.
3846 (hildon_program_go_to_root_window):
3847 Don't call gtk_widget_show(), this is now a task for the window
3850 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3852 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-button.c
3855 (hildon_button_construct_child):
3856 Don't pack anything in the button until text or image are
3857 set. This allows adding a custom child after creating the button
3858 with hildon_button_new().
3859 (hildon_button_finalize, hildon_button_class_init)
3860 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3861 alignment and the label box even when they're not packed in the
3864 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3866 * src/hildon-touch-selector.h:
3867 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3868 currently the type definition was using GTK_TYPE_VBOX
3869 * src/hildon-touch-selector.c:
3870 Added some implementation notes in order to clarify that any other widget
3871 added without the column related API will not be included on the
3872 selection logic, and how the widget is freed, as some people ask about
3874 (hildon_touch_selector_remove): Reimplemented in order to free properly
3875 the column related data when you remove the private hbox.
3876 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3877 to get a proper HildonTouchSelectorColumn documentation
3879 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3881 * src/hildon-touch-selector-entry.c:
3882 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3883 text in the GtkEntry and there is no item selected. Fixes a
3886 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3888 * src/hildon-app-menu-private.h
3889 * src/hildon-app-menu.[ch]
3890 * src/hildon-button.[ch]
3891 * src/hildon-check-button.[ch]
3892 * src/hildon-entry.[ch]
3893 * src/hildon-pannable-area.[ch]
3894 * src/hildon-text-view.[ch]:
3895 Added private field to the object's structure.
3897 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3899 * configure.ac: post-release version bump
3901 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3905 * configure.ac: pre-release version bump
3907 * debian/changelog: updates.
3909 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3911 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3912 Disconnect the handler for HildonTouchSelector::changed.
3914 (hildon_picker_button_selector_selection_changed): Update the button
3915 value if the selection change was not triggered by the
3918 (hildon_picker_button_set_selector): connect to
3919 HildonTouchSelector::changed.
3921 Fixes: NB#89650 (Picker button is not updated, when selection in
3922 selector has changed)
3924 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3926 * src/hildon-picker-dialog.c
3927 (hildon_picker_dialog_realize): Removed as not required
3928 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3929 * src/hildon-picker-button.c
3930 (_current_selector_empty): New function, checks if the selector is empty
3931 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3932 if the current selector is empty, in order to avoid to show the dialog
3933 close the dialog in this case (and shows a g_warning).
3935 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3937 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3939 * src/hildon-pannable-area.c,
3940 (hildon_pannable_area_scroll): Added clause to stop movement when
3941 the child of pannable is smaller than one page.
3942 (hildon_pannable_area_scroll_to): Added conditions to avoid
3943 starting the scrolling movement if the child is smaller than one
3944 page, the complete child is in the screen, we do not have to move.
3946 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3948 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3950 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3951 this is managed automatically by the widget when the size of the
3954 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3956 * src/hildon-picker-button.c
3957 (hildon_picker_button_set_done_button_text): Make a copy of the
3958 text, and free the previous value.
3960 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3962 * src/hildon-touch-selector-entry.c:
3963 (hildon_touch_selector_entry_print_func): Return the selected row's
3964 text if the entry is empty.
3966 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3969 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3971 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3973 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3976 * src/hildon-check-button.h
3977 * src/hildon-check-button.c
3978 * examples/hildon-check-button-example.c:
3979 HildonCheckButton is now a new widget. 'toggled' signal added.
3981 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3983 * src/hildon-program-private.h
3984 * src/hildon-program.c (hildon_program_init)
3985 (hildon_program_finalize): Removed unused variables group_leader
3986 and name from HildonProgramPrivate.
3988 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3990 * src/hildon-check-button.c (hildon_check_button_set_active)
3991 (hildon_check_button_get_active, hildon_check_button_new): Use
3992 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3994 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3996 * src/hildon-touch-selector.h
3997 (hildon_touch_selector_set_column_attributes): added deprecation
3998 guard HILDON_DISABLE_DEPRECATED
3999 * src/hildon-time-selector.c
4000 (hildon_time_selector_set_time)
4001 (hildon_time_selector_get_time): Fixed a typo on documentation
4002 * src/hildon-touch-selector.c: update HildonTouchSelector and
4003 HildonTouchSelectorColumn documentation
4004 * src/hildon-touch-selector-entry.c: update "text-column" property
4006 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4007 to be added to the general documentation.
4009 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4011 * examples/hildon-pannable-area-example-4.c,
4013 * examples/hildon-pannable-area-example.c,
4014 (main): Modified the code in order to use the container add, with
4015 viewport treeviews could have problems if they are really big.
4017 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4019 * src/hildon-weekday-picker.c,
4020 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4021 the agreement regarding deprecation in the library.
4023 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4025 * examples/hildon-picker-button-multicolumn-example.c:
4026 (main): Use custom "done" button text.
4028 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4029 (hildon_picker_button_set_property),
4030 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4031 (hildon_picker_button_init),
4032 (+hildon_picker_button_get_done_button_text),
4033 (+hildon_picker_button_set_done_button_text): New methods to customize
4034 the "done" button label in the launched HildonPickerDialog. Also,
4037 * src/hildon-picker-button.h: add the public API.
4039 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4041 * src/hildon-date-selector.h:
4042 * src/hildon-picker-dialog.h:
4043 * src/hildon-time-selector.h:
4044 * src/hildon-touch-selector-column.h:
4045 * src/hildon-touch-selector.h:
4047 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4048 declarations. Fixes gtk-doc warnings.
4050 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4052 * src/hildon-picker-dialog.h
4053 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4054 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4056 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4057 long text is set as label for done button)
4059 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-dialog.c (hildon_dialog_add_button):
4062 Set fixed width to all buttons in the HildonDialog.
4064 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4066 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4068 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4069 Set widget name using class name plus "-finger" or "-thumb".
4071 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4073 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4074 'clicked' when the state of the button is manually changed.
4076 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4078 * src/hildon-app-menu.c (hildon_app_menu_realize)
4079 (hildon_app_menu_unrealize, hildon_app_menu_init)
4080 (hildon_app_menu_class_init, item_visibility_changed):
4081 Change the menu layout when the size of the screen changes.
4082 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4083 Show warning only when changing the number of colums using the
4086 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4088 * debian/compat: Set to 5
4089 * debian/control: Update dependencies.
4090 * debian/libhildon1-dbg.install: Remove.
4091 * debian/libhildon1-dev.install: Update according to cdbs paths.
4092 * debian/libhildon1.install: Update according to cdbs paths.
4093 * debian/rules: Switch to cdbs.
4095 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4097 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4098 'item' variable renamed to 'filter'
4100 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4102 * src/hildon-app-menu.c (hildon_app_menu_insert)
4103 (hildon_app_menu_add_filter, remove_item_from_list)
4104 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4105 Don't leak hidden items when the menu is destroyed.
4107 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4109 * src/hildon-app-menu.c (hildon_app_menu_insert)
4110 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4111 (hildon_app_menu_set_columns, item_visibility_changed)
4112 (filter_visibility_changed, hildon_app_menu_repack_filters)
4113 (hildon_app_menu_repack_items):
4114 Repack items and filters separately.
4116 Don't repack all items, change only the ones that are needed to
4119 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4121 * src/Makefile.am: added hildon-touch-selector-column.h
4123 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4125 * src/hildon-touch-selector.c: added the property "text-column" to the
4126 class HildonTouchSelectorColumn, and related get/set functions
4127 (_default_printf_func): updated to use "text-column" property
4128 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4129 "text-column" in his documentation, as this is now included on
4130 HildonTouchSelectorColumn. The get/set_property can still be used,
4131 working as a wrapper to the concrete column "text-column" property
4132 (_text_column_modified): callback added in order to handle the signal
4133 "notify::text-column" of the concrete HildonTouchSelectorColumn
4134 (hildon_touch_selector_entry_get_text_column)
4135 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4136 modified in order to use the HildonTouchSelectorColumn "text-column"
4138 * src/hildon-time-selector.c:
4139 * src/hildon-date-selector.c:
4140 * examples/hildon-touch-selector-example.c
4141 * examples/hildon-touch-selector-multi-cells-example.c
4142 * examples/hildon-picker-button-multicolumn-example.c
4143 Set the right value to "text-column" property on the creation of a new
4144 column using hildon_touch_selector_append_column()
4146 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4148 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4150 * src/hildon-app-menu.c
4151 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4152 updating the layout of the menu, don't create all widgets again,
4153 just repack the items in their new places.
4155 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4157 * src/hildon-time-selector.c
4158 (hildon_time_selector_get_time)
4159 (hildon_time_selector_set_time)
4160 Added documentation of these public methods
4162 * src/hildon-date-button.h
4163 * src/hildon-touch-selector-column.h
4164 * src/hildon-time-button.h
4165 * src/hildon-picker-dialog.h
4166 * src/hildon-time-selector.h
4167 * src/hildon-picker-button.h
4168 * src/hildon-touch-selector.h
4169 * src/hildon-time-picker.h
4170 * src/hildon-date-selector.h
4171 * src/hildon-touch-selector-entry.h
4172 Modified in order to use hildon-widgets code style
4174 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4176 Added deprecated support to the compilation process using
4177 HILDON_DISABLE_DEPRECATED
4179 * configure.ac: Added the --disable-deprecated to the configure
4182 * src/hildon-weekday-picker.c:
4183 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4184 to use the deprecated support. We will update the other deprecated
4185 widgets status in a new patch.
4187 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4189 * configure.ac: Fixed typo with fatal warnings support, the
4190 variable name was not correct
4192 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4194 * src/hildon-app-menu.c
4195 * src/hildon-program.c: Update documentation.
4197 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4199 * configure.ac: Post-release version bump.
4201 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4206 * configure.ac: Pre-release version bump.
4207 * debian/changelog: Updates.
4209 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4211 * NEWS: Update news for previous releases.
4213 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4215 * examples/hildon-touch-selector-multi-cells-example.c:
4216 (create_selector): Update the example to use
4217 hildon_touch_selector_append_column() with a NULL renderer and set
4218 the renderers later.
4219 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4220 passed a NULL renderer. This is documented behavior now.
4222 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4223 This must be used if the developer wants full control on the layout of
4224 the renderers to be added to the column.
4226 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4228 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-touch-selector.c: Documentation fixes.
4232 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4234 * src/hildon-wizard-dialog-private.h: Remove image and box.
4235 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4236 (hildon_wizard_dialog_set_property), (response): Completely remove
4237 image/icon support, and the containers required for the layout.
4239 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4241 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4243 * src/hildon-app-menu.c: Updated documentation.
4245 * src/hildon-stackable-window.c
4246 (hildon_stackable_window_set_main_menu): Unref the old menu after
4247 ref'ing the new one.
4249 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-stackable-window.c
4252 (hildon_stackable_window_set_main_menu): Unref the previous menu
4253 instead of destroying it.
4255 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4256 floating reference and set has_user_ref_count to FALSE to make
4257 HildonAppMenu act like a normal ref-counted widget and not a
4260 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4263 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4265 * src/hildon-touch-selector-column.h: new file
4266 * src/hildon-touch-selector.h
4267 * src/hildon-touch-selector.c
4268 Implemented GtkCellLayout interface, in order to allow to configure
4269 the cell layout on each individual selector column
4270 (hildon_touch_selector_set_column_attributes): marked as deprecated
4271 * examples/hildon-touch-selector-multi-cells-example.c
4272 Example of how to use the GtkCellLayout interface on the selector
4274 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4276 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4278 * src/hildon-app-menu.h
4279 * src/hildon-app-menu.c
4280 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4281 (hildon_app_menu_append, hildon_app_menu_prepend):
4282 New methods to prepend, insert and move items in the menu.
4284 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4286 * src/hildon-wizard-dialog.c:
4288 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4290 (create_title): Update logical IDs and related code.
4291 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4293 * src/hildon-wizard-dialog.h: Note that
4294 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4295 point, as it is not used anymore.
4297 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4299 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4301 * src/hildon-note.c:
4302 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4303 shown. Do not display an icon in confirmation notes nor information
4305 (hildon_note_set_button_text): Update logical ID for cancel button.
4307 Fixes: NB#88850 (Update HildonNote button strings + signals)
4309 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4311 * src/hildon-stackable-window.c
4312 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4314 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4316 * src/hildon-app-menu-private.h
4317 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4318 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4319 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4320 temporary property 'columns' to change the number of columns.
4322 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4324 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4326 * examples/hildon-note-example.c: (on_information_clicked),
4327 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4328 debugging information.
4329 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4331 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4332 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4333 in order to close: this will be handled by the WM from now on.
4335 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4337 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4339 * src/hildon-app-menu-private.h
4340 * src/hildon-app-menu.c
4341 (hildon_app_menu_append, hildon_app_menu_add_filter)
4342 (button_visibility_changed, hildon_app_menu_apply_style)
4343 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4344 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4345 layout everytime a button (item or filter) is shown or hidden.
4347 * src/hildon-stackable-window.c
4348 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4351 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4353 * src/hildon-touch-selector.c:
4354 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4355 that the treeview inside the touch selector is in fremantle hildon mode
4356 * examples/hildon-date-button-example.c
4357 * examples/hildon-picker-button-multicolumn-example.c
4358 * examples/hildon-touch-selector-entry-example.c
4359 * examples/hildon-touch-selector-example.c
4360 * examples/hildon-time-button-example.c
4361 * examples/hildon-picker-button-example.c:
4362 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4364 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4366 * examples/hildon-text-view-example.c: (main): Remove the
4367 gtkrc bits, now handled by the theme.
4369 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4371 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4374 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4376 * po/Makefile.am: Install properly the mo files.
4377 * po/en_GB.po: Update translation, to ease testing purposes.
4379 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4381 * examples/hildon-picker-button-example.c: (main): Select an item
4382 in the selector before setting it to the button.
4384 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4387 Update button's value if the selector has an item active.
4389 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4390 'value' with the selector)
4392 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4394 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4395 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4396 (hildon_picker_button_class_init): Plug the finalize method.
4397 (hildon_picker_button_set_selector): If there's a previously set
4398 selector, unref'it before setting a new one.
4400 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4401 HildonTouchSelector)
4403 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4405 * src/hildon-touch-selector-entry.c:
4406 (hildon_touch_selector_entry_changed): Check if there is no text
4407 selected before setting the entry text.
4410 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4412 * src/hildon-touch-selector.h
4413 * src/hildon-touch-selector.c
4414 (hildon_touch_selector_get_active)
4415 (hildon_touch_selector_set_active): New methods to set/get the
4416 index of the selected item.
4418 * src/hildon-picker-button.h
4419 * src/hildon-picker-button.c
4420 (hildon_picker_button_get_active)
4421 (hildon_picker_button_set_active): New methods to set/get the
4422 index of the selected item.
4424 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4426 * configure.ac: post-release version bump.
4428 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4432 * configure.ac: Pre-release version bump.
4433 * debian/changelog: Updates.
4434 * debian/control: Add myself as maintainer and depend on l10n
4437 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4439 * src/hildon-window.c
4440 (hildon_window_set_main_menu)
4441 * src/hildon-stackable-window.c
4442 (hildon_stackable_window_set_main_menu):
4443 Updated documentation.
4445 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4447 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4448 Don't free selector->priv manually.
4451 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4454 (hildon_gtk_window_set_progress_indicator):
4455 * src/hildon-gtk.h: Added the new API
4456 hildon_gtk_window_set_progress_indicator, it changes the state of
4457 the window progress hint.
4459 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4461 * src/hildon-button.c
4462 * src/hildon-stackable-window.c: Minor documentation updates.
4464 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4466 * src/hildon-stackable-window.c: Updated documentation.
4468 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4470 * src/hildon-defines.h: Update margins definitions
4471 to the Fremantle sizes.
4474 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4476 * src/hildon-touch-selector.c,
4477 (_hildon_touch_selector_set_model): Cleaning the code after
4478 review, removed g_print and #if 0 from the code.
4480 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4482 * src/hildon-edit-toolbar.c: Update documentation.
4484 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4486 * src/hildon-check-button.h
4487 * src/hildon-check-button.c
4488 (hildon_check_button_set_label, hildon_check_button_get_label)
4489 * examples/hildon-check-button-example.c
4490 (button_clicked_cb):
4491 Removed deprecated methods.
4493 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4495 * src/hildon-text-view.c:
4496 Add sample code to the documentation.
4498 * src/hildon-entry.h
4499 * src/hildon-text-view.h:
4500 Minor cosmetic changes.
4502 * src/hildon-entry.c:
4503 Add sample code to the documentation.
4504 (hildon_entry_init, hildon_entry_refresh_contents):
4505 Don't allow NULL values in the placeholder.
4507 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4509 * doc/hildon-docs.sgml
4511 * examples/Makefile.am
4512 * examples/hildon-text-view-example.c
4514 * src/hildon-text-view.c
4515 * src/hildon-text-view.h
4517 New HildonTextView widget, with example.
4519 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4521 * po/POTFILES.in: Add missing files with translatable strings.
4522 Partially fixes NB#88287.
4524 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4526 * examples/hildon-pannable-area-example-2.c: (main): No need to
4527 set the cellrenderer height inside hildon touch lists, the theme does
4530 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4532 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4533 they are integrated in the theme.
4535 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4537 * examples/hildon-entry-example.c: Update the example adding
4538 widgets to modify the text and the placeholder of the HildonEntry.
4540 * src/hildon-entry.c: Show the placeholder everytime the widget
4541 is empty and loses the focus.
4543 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4545 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4547 * src/hildon-pannable-area.c,
4548 (hildon_pannable_area_size_request): Fixed bug in height
4549 requisition, avoid increasing size and add border twice.
4551 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4553 * configure.ac: postrelease version bump.
4555 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4559 * configure.ac: Prerelease version bump.
4560 * debian/changelog: update.
4561 * debian/rules: make -dbg package contain useful debugging symbols.
4563 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4565 * src/hildon-dialog.h
4566 * src/hildon-dialog.c
4567 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4568 New methods to add buttons with finger size.
4569 (hildon_dialog_new_with_buttons):
4570 Create buttons with finger size.
4572 * examples/hildon-dialog-example.c (main): Use HildonDialog
4573 methods to add buttons.
4575 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4577 * src/hildon-entry.c: Updated HildonButton documentation.
4579 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4581 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4582 button value label with (FALSE, FALSE) to prevent NB#88126 from
4585 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4587 * examples/hildon-pannable-area-example.c,
4588 (main): Removed examples panning a vbox inside a pannable
4589 area. Check bug NB#87965
4591 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4593 Patch contributed by Kris Rietveld (kris@imendio.com)
4595 * src/hildon-pannable-area.c,
4596 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4597 get_size and get_position, this saves an X server roundtrip.
4599 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4601 * doc/hildon-docs.sgml
4603 * examples/Makefile.am
4604 * examples/hildon-entry-example.c
4606 * src/hildon-entry.c
4607 * src/hildon-entry.h
4609 New HildonEntry widget, with example.
4611 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4613 * src/hildon-button.c (hildon_button_construct_child): Pack the
4614 image with expand == fill == FALSE. This is a workaround for a bug
4617 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4619 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4620 labels for the text column, to make it more look more dynamic.
4622 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4624 * src/hildon-time-selector.c
4625 Define gettext auxiliar macro N_
4626 (_create_minutes_model)
4627 (_create_hours_model)
4628 (_create_ampm_model): use of strftime in order to fill the model
4629 * src/hildon-date-selector.c
4630 (hildon_date_selector_finalize):
4631 (_locales_init): remove the logic related to get the name of the months
4632 using nl_langinfo, as it is not required anymore
4634 (_create_year_model)
4635 (_create_month_model)
4636 (_update_day_model): use of strftime in order to fill the model properly
4639 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4641 * src/hildon-button.h
4642 * src/hildon-button.c (hildon_button_get_image): New method to
4645 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4647 * src/hildon-touch-selector.c:
4648 (hildon_touch_selector_remove_column): Remove from the correct parent
4649 and also remove the list element and free it.
4652 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4654 * src/hildon-time-selector.c
4655 (_create_hours_model): change the range on 12h ampm format in order to use
4656 a 12-11 range instead of previous 01-12 range
4657 (hildon_time_selector_set_time): change the way to select the current time
4658 on 12h ampm format, due the change on the range
4659 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4662 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4664 * src/hildon-touch-selector.c
4665 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4666 in order to allow use this function on multiple row selection mode if
4667 the column is different that the first one
4670 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4672 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4673 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4675 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4677 * src/hildon-date-selector.h: clean some comments, now on the .c
4678 * src/hildon-date-selector.c
4679 (hildon_date_selector_select_month): first implementation
4680 (hildon_date_selector_select_day): added documentation, reimplemented
4681 using hildon_date_selector_select_current_date to avoid repeat code
4684 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4686 Reviewed interaction logic based on device experiences, refactored
4689 * src/hildon-pannable-area.c,
4690 (hildon_pannable_area_class_init): Updated default vmax speed.
4691 (hildon_pannable_area_calculate_velocity): Added this function, it
4692 avoids duplicate valocity calculation. Adjusted calculation to
4693 avoid problems with zero dist events.
4695 (hildon_pannable_area_motion_notify_cb): Now we use the
4696 calculate_velocity function.
4698 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4700 * src/hildon-date-selector.c
4701 (hildon_date_selector_select_current_date): fix the day range check
4702 as it failed using the last day of the current month
4705 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4707 * src/hildon-touch-selector.c
4708 (hildon_touch_selector_get_num_columns): added a parameter validation
4711 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4713 * examples/Makefile.am
4714 * examples/hildon-edit-toolbar-example.c: Example of the
4715 HildonEditToolbar widget.
4717 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4719 * configure.ac: postrelease version bump.
4721 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4725 * configure.ac: prerelease version bump.
4726 * debian/changelog: update.
4728 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4730 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4731 renderer to display stock icons in the touch list. Also, set the sizes
4732 to the recommended in the style guide.
4734 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4735 * src/hildon-touch-selector.h
4736 (hildon_touch_selector_set_active_iter): renamed, now is
4737 hildon_touch_selector_select_iter
4738 (hildon_touch_selector_get_active_iter): renamed, now is
4739 hildon_touch_selector_get_selected
4740 (hildon_touch_selector_unselect_iter): added
4741 * src/hildon-touch-selector.c
4742 Update after API modification (methods renamed)
4743 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4744 order to avoid problems selecting multiple elements on the column
4745 (hildon_touch_selector_unselect_iter): added the implementation
4746 * src/hildon-time-selector.c
4747 * src/hildon-date-selector.c
4748 * src/hildon-touch-selector-entry.c
4749 Update methods calls after hildon-touch-selector.h API modification (methods
4752 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4754 * src/hildon-stackable-window.c
4755 (hildon_stackable_window_finalize): Call the parent class's finalize.
4757 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4759 * examples/hildon-touch-selector-example.c: (create_selector): Use
4760 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4763 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4765 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4766 set a cell background color, to respect theming.
4768 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4770 * doc/hildon-docs.sgml
4773 * src/hildon-edit-toolbar.c
4774 * src/hildon-edit-toolbar.h
4775 * src/hildon.h: New HildonEditToolbar widget.
4777 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4779 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4782 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4783 * src/hildon-touch-selector.c
4784 (_create_new_column): use g_object_set instead of two g_object_set_property
4786 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4787 * src/hildon-touch-selector.c
4788 (_create_new_column): use of hildon_gtk_tree_view_new to create
4789 the treeview, instead of use directly g_object_new
4790 (_create_new_column): update the property name "vindicator-mode" for the
4791 new one "vscrollbar-policy"
4792 * examples/hildon-date-button-example.c
4793 * examples/hildon-picker-button-multicolumn-example.c
4794 * examples/hildon-touch-selector-entry-example.c
4795 * examples/hildon-touch-selector-example.c
4796 * examples/hildon-time-button-example.c
4797 * examples/hildon-picker-button-example.c
4798 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4799 to all the treeviews inside a pannable area.
4801 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4803 * src/hildon-button.h
4804 * src/hildon-button.c (hildon_button_init)
4805 (hildon_button_set_arrangement, hildon_button_set_alignment)
4806 (hildon_button_set_title_alignment)
4807 (hildon_button_set_value_alignment)
4808 (hildon_button_set_image_alignment)
4809 (hildon_button_construct_child): New methods to set the alignment
4810 of the individual components of the button (title, value,
4811 image). Also, new method to alter the xscale and yscale properties
4812 of the GtkAlignment inside the button, so more complex layouts can
4815 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4817 * src/hildon-button.c (hildon_button_style_set)
4818 (hildon_button_class_init, hildon_button_set_arrangement)
4819 (hildon_button_construct_child): Apply style properties
4820 correctly. Use the 'image-spacing' style property too.
4822 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4824 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4825 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4828 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4830 * src/hildon-pannable-area.c,
4831 (hildon_pannable_area_size_request): Fixed problem with
4832 pannable-area size_request.
4834 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4836 Added management for the grab-focus to a child widget, like a
4837 range, we need to fade out the scrollbar when releasing.
4839 * src/hildon-pannable-area.c,
4840 (hildon_pannable_area_init): Connected the grab-focus signal to
4842 (hildon_pannable_area_grab_notify): Added this function in order
4843 to manage the situation when the grab-focus ends. We have to
4844 fade-out the scrollbar.
4846 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4848 * src/hildon-app-menu.c: Minor documentation update.
4850 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4852 * src/hildon-app-menu.c
4853 * examples/hildon-app-menu-example.c (create_menu): Update
4854 examples and documentation to explain how to connect callbacks.
4856 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4858 * examples/hildon-button-example.c
4859 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4860 hildon_stackable_window_new instead of gtk_window_new
4862 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4864 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4865 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4866 (hildon_pannable_area_set_property),
4867 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4868 (hildon_pannable_area_unrealize),
4869 (hildon_pannable_area_size_request),
4870 (hildon_pannable_area_size_allocate),
4871 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4872 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4873 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4874 (hildon_pannable_area_initial_effect),
4875 (hildon_pannable_area_redraw),
4876 (hildon_pannable_area_scroll_indicator_fade),
4877 (hildon_pannable_area_expose_event),
4878 (hildon_pannable_area_get_topmost), (synth_crossing),
4879 (hildon_pannable_area_button_press_cb),
4880 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4881 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4882 (hildon_pannable_area_motion_notify_cb),
4883 (hildon_pannable_area_button_release_cb),
4884 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4885 (hildon_pannable_area_remove),
4886 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4887 chage the code layout to a more GtkWidget like. Review the use of
4890 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4892 * examples/hildon-pannable-area-example-4.c,
4893 (main): Modified the name of the hindicator_mode to
4896 * src/hildon-pannable-area.c,
4897 (hildon_pannable_area_class_init),
4898 (hildon_pannable_area_motion_notify_cb),
4899 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4900 we have reduced the amount of signals and managed reviewed its
4901 rationale. Changed the default decelerate value.
4903 (hildon_pannable_area_add),
4904 (hildon_pannable_area_redraw): Refactored functions.
4906 (hildon_pannable_area_init),
4907 (hildon_pannable_area_get_property),
4908 (hildon_pannable_area_set_property):
4909 (hildon_pannable_draw_vscroll),
4910 (hildon_pannable_draw_hscroll),
4911 (hildon_pannable_area_initial_effect),
4912 (hildon_pannable_area_expose_event),
4913 (hildon_pannable_area_scroll),
4914 (hildon_pannable_area_button_press_cb),
4915 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4916 and vindicator_mode with hscrollbar_policy and
4917 vscrollbar_policy. Replaced hscroll and vscroll with
4918 hscroll_visible and vscroll_visible.
4920 (hildon_pannable_area_refresh): Refactor the function, remove
4921 variables and check the calls to this function, added resize
4922 conditions in case the children change their layout.
4924 (hildon_pannable_area_size_request): Added more detailed
4925 size_request calculation.
4928 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4930 * src/hildon-color-chooser.c
4931 (init_borders): use the correct gtk_border_free instead of g_free, to
4932 avoid a crash when this widget is used (ie: the three color selection
4935 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4937 * src/hildon-check-button.c,
4938 (hildon_check_button_set_active): Fixed problem when setting the
4939 active value, the widget was not redrawn.
4941 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4943 * src/hildon-pannable-area.c,
4944 (hildon_pannable_area_refresh),
4945 (hildon_pannable_area_scroll),
4946 (hildon_pannable_area_motion_notify_cb): Small code style change.
4948 (hildon_pannable_area_class_init): Default initial_hint set to
4949 FALSE, it is not in the specs.
4951 (hildon_pannable_area_initial_effect),
4952 (hildon_pannable_area_expose_event),
4953 (hildon_pannable_area_map),
4954 (hildon_pannable_area_init): Moved the launching point of the
4955 initial effect, it was in map but the sizes where not correct in
4956 that method so we do not know if we have the reproduce it. Now it
4957 is placed in the expose_event method and uses a variable to
4958 reproduce it just once.
4960 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4962 * src/hildon-pannable-area.c,
4963 (hildon_pannable_draw_vscroll),
4964 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4965 position allowed for the scrollbars.
4967 (hildon_pannable_area_size_allocate): Small style change.
4969 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4971 * src/hildon-pannable-area.c,
4972 (hildon_pannable_area_scroll_indicator_fade),
4973 (hildon_pannable_area_button_press_cb),
4974 (hildon_pannable_area_button_release_cb),
4975 (hildon_pannable_area_scroll_cb),
4976 (hildon_pannable_area_expose_event),
4977 (hildon_pannable_area_init): Added the define parameter
4978 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4979 and refactor the fade variable.
4981 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4983 * src/hildon-pannable-area.c,
4984 (hildon_pannable_area_redraw),
4985 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4986 lines, we were reimplemeting the redraw code.
4988 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4990 * src/hildon-pannable-area.c,
4991 (hildon_pannable_area_scroll_cb),
4992 (hildon_pannable_area_realize),
4993 (hildon_pannable_area_class_init): Added scroll_event management
4994 for pannable area, now we can scroll the usual desktop method.
4996 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4997 initialization of the parameters should depend on idle_id.
4999 (hildon_pannable_area_init),
5000 (hildon_pannable_area_map): Small code style modifications
5002 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5004 * src/hildon-pannable-area.c
5005 (hildon_pannable_area_button_press_cb),
5006 (hildon_pannable_area_motion_notify_cb),
5007 (hildon_pannable_area_button_release_cb),
5008 (hildon_pannable_area_size_allocate),
5009 (hildon_pannable_area_scroll_to): Improved the timeouts
5010 management, we avoid creating them each time.
5012 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5014 * src/hildon-pannable-area.c:
5015 (hildon_pannable_area_refresh),
5016 (hildon_pannable_area_motion_notify_cb),
5017 (hildon_pannable_area_class_init):
5018 * src/hildon-pannable-area.h:
5019 * src/hildon-touch-selector.c
5020 (_create_new_column):
5021 * examples/hildon-pannable-area-example-4.c:
5022 (horizontal_movement),
5023 (vertical_movement),
5025 Replaced the names of enums in the HildonPannableArea:
5026 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5027 HILDON_MOVEMENT_MODE_*
5028 - HILDON_PANNABLE_AREA_MOV_* ->
5030 - Removed HildonPannableAreaIndicatorMode, now we
5033 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5035 * examples/hildon-pannable-area-touch-grid-example.c
5036 * examples/hildon-pannable-area-touch-list-example.c: Fix
5037 compilation warnings.
5039 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5041 * src/hildon-gtk.c (hildon_gtk_button_new)
5042 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5043 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5044 images overriding the value of the "gtk-button-images" setting.
5046 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5048 * src/hildon-check-button.c (hildon_check_button_new):
5049 Instead of using a custom container, display the label and the
5050 checkbox using the standard GtkButton API.
5052 * examples/hildon-check-button-example.c (main): Don't use
5053 hildon_check_button_set_label() anymore
5055 * src/hildon-check-button.h
5056 * src/hildon-check-button.c
5057 (hildon_check_button_set_label, hildon_check_button_get_label):
5058 Set as deprecated, now we're using gtk_button_{get,set}_label()
5060 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5062 * src/hildon-pannable-area.c,
5063 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5064 GtkTreeview first line we detected it after the inclusion of the
5065 GtkWindowImpl in gtk+. We now check if the window is visible, not
5066 just if the pointer is over the window.
5067 (hildon_pannable_axis_scroll),
5068 (hildon_pannable_area_expose_event): Small style changes.
5070 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5072 * src/hildon-button.c: Update documentation.
5074 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5076 * examples/hildon-button-example.c: Add a switch to show images in
5079 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5081 * doc/hildon-docs.sgml: Some docs reorganization.
5083 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5085 * examples/hildon-pannable-area-touch-list-example.c
5087 * examples/hildon-pannable-area-touch-grid-example.c
5088 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5089 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5090 Fix memory leak when setting the tree model.
5092 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5096 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5098 * doc/hildon.types: Remove duplicated hildon_window_get_type
5099 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5100 documentation comment.
5102 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5104 * doc/Makefile.am: Complete list of private headers.
5106 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5108 * doc/hildon-docs.sgml
5109 * src/hildon-app-menu.c
5110 * src/hildon-bread-crumb.c
5111 * src/hildon-button.c
5113 * src/hildon-program.c
5114 * src/hildon-stackable-window.c
5115 * src/hildon-window.c: Lots of documentation updates.
5117 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5119 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5121 * configure.ac: Require Gtk+ 2.12.9 at least
5123 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5125 * src/hildon-pannable-area.c
5126 (hildon_pannable_area_scroll_indicator_fade),
5127 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5128 to protect the return of this timeout callbacks, avoiding deadlocks.
5130 2008-08-12 Christian Dywan <christian@imendio.com>
5133 * src/hildon-*.h: Ensure a consistent include order,
5134 include <gtk/gtk.h> instead of particular files and
5135 only include the topmost header in the gtk stack. See NB #39857
5137 2008-08-12 Christian Dywan <christian@imendio.com>
5139 * src/hildon-picker-dialog.c
5140 * src/hildon-touch-selector.c: Fix warnings about unused and
5141 uninitialized variables.
5143 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5145 * examples/Makefile.am
5146 * examples/hildon-check-button-example.c: Example of the hildon
5149 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5151 * src/hildon-window.h
5152 * src/hildon-window.c (hildon_window_class_init)
5153 (hildon_window_unset_program): Don't make
5154 hildon_window_unset_program a virtual function anymore.
5156 * src/hildon-stackable-window.c: Update documentation
5158 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5161 * doc/hildon-docs.sgml
5162 * doc/visual_index.xml
5163 * src/hildon-defines.c
5165 * src/hildon-helper.c
5166 * src/hildon-range-editor.c: Lots of documentation fixes.
5168 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5170 * examples/hildon-picker-button-multicolumn-example.c
5171 (create_touch_selector): Fix compilation warning.
5173 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5175 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5176 (hildon_pannable_area_button_release_cb)
5177 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5179 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5181 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5184 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5186 * src/hildon-bread-crumb-trail.h
5187 * src/hildon-date-editor.c
5188 * src/hildon-date-selector.c
5189 * src/hildon-pannable-area.c
5190 * src/hildon-picker-dialog.c
5191 * src/hildon-time-selector.c
5192 * src/hildon-touch-selector-entry.c
5193 * src/hildon-touch-selector.c
5194 * src/hildon-touch-selector.h: Misc documentation fixes
5196 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5198 * examples/hildon-date-editor-example.c (main): Updated date
5201 * examples/hildon-note-example.c (on_confirmation_clicked):
5202 Updated confirmation note example.
5204 * src/hildon-date-editor.c
5205 * src/hildon-note.c: Updated sample programs in documentation.
5208 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5210 * src/hildon-date-button.h:
5211 * src/hildon-picker-button.h:
5212 * src/hildon-time-button.c:
5213 * src/hildon-time-button.h:
5215 Some declarations changes to allow gtk-doc to document the widgets
5218 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5220 * src/hildon-date-button.c: Document the widget.
5221 * src/hildon-time-button.c: Document the widget.
5223 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5225 * src/hildon-picker-button.c: Document the widget.
5226 * src/hildon-touch-selector-entry.c: Document the widget.
5228 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5230 * doc/hildon-docs.sgml
5233 * src/hildon-check-button.h
5234 * src/hildon-check-button.c: New functions to create the Hildon
5238 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5240 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5242 * src/hildon-button.h
5243 * src/hildon-button.c
5244 (hildon_button_add_title_size_group)
5245 (hildon_button_add_value_size_group)
5246 (hildon_button_add_image_size_group)
5247 (hildon_button_add_size_groups): New functions to set size groups
5248 for the button labels and image.
5249 (hildon_button_new_full): Removed
5251 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5253 * src/hildon-time-selector.c
5254 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5255 in order to avoid a crash if gconf is not available
5257 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5259 * src/hildon-button.c (hildon_button_set_arrangement)
5260 (hildon_button_construct_child): Don't construct the button child
5261 before setting the arrangement.
5263 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-program-private.h
5266 * src/hildon-program.c
5267 * src/hildon-program.h
5268 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5269 (hildon_program_peek_window_stack)
5270 (hildon_program_pop_window_stack)
5271 (hildon_program_go_to_root_window): HildonProgram now has a
5272 separate list for stackable windows. Functions are provided to
5273 manage that list with a stack-like API.
5275 * src/hildon-stackable-window.c: Stackable window management is
5276 now much simpler with the new HildonProgram API. Windows no
5277 longer need to be manually added to the program, they're
5278 automatically pushed to the top of the stack when shown.
5280 * examples/hildon-stackable-window-example.c: Updated example to
5281 reflect the API changes.
5283 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5285 * src/hildon-touch-selector.c: Comment out unimplemented
5286 hildon_touch_selector_insert_column() to avoid a compile warning.
5288 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5290 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5291 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5292 (hildon_touch_selector_set_column_selection_mode),
5293 (_hildon_touch_selector_set_model),
5294 (hildon_touch_selector_set_model):
5296 Complete review of HildonTouchSelector documentation.
5298 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5300 * doc/hildon-docs.sgml
5304 * src/hildon-gtk.c: Convenience functions for standard Gtk
5305 widgets, used to easily perform frequent operations.
5307 * src/hildon-button-helpers.h
5308 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5310 * src/hildon-helper.h
5311 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5312 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5314 * src/hildon-button.h
5315 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5317 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5319 * src/hildon-button.c (hildon_button_init)
5320 (hildon_button_set_arrangement, hildon_button_construct_child):
5321 Pack the image and the labels inside the same GtkAlignment so
5322 gtk_button_set_alignment() can be used
5324 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5326 * src/hildon-button.h
5327 * src/hildon-button.c
5328 (hildon_button_init, hildon_button_set_image)
5329 (hildon_button_set_image_position)
5330 (hildon_button_construct_child): New functions to add an image to
5333 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5335 * src/hildon-date-button.c
5336 * src/hildon-picker-button.c
5337 * src/hildon-time-button.c
5338 * src/hildon-button.c:
5339 (hildon_button_class_init): "size-flags" renamed to "size"
5340 (hildon_button_set_title): Hide the title label if set to NULL.
5342 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5344 HildonButtonFlags split into HildonButtonArrangement (to set the
5345 button layout) and HildonSizeType (which can be used for any
5348 * src/hildon-button.h
5349 * src/hildon-button.c
5350 (hildon_button_class_init)
5351 (hildon_button_set_arrangement)
5352 (hildon_button_set_property): New "size-flags"
5353 property. "arrangement-flags" renamed to "arrangement".
5354 (hildon_button_new, hildon_button_new_with_text)
5355 (hildon_button_new_full): Constructors updated to reflect type changes.
5357 * src/hildon-helper.h
5358 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5359 to set the size of a widget.
5363 * src/hildon-button-helpers.c
5364 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5366 * src/hildon-date-button.c
5367 * src/hildon-date-button.h
5368 * src/hildon-picker-button.c
5369 * src/hildon-picker-button.h
5370 * src/hildon-time-button.c
5371 * src/hildon-time-button.h: Updated widgets to reflect
5372 HildonButton API changes.
5374 * examples/hildon-button-example.c
5375 * examples/hildon-date-button-example.c
5376 * examples/hildon-picker-button-example.c
5377 * examples/hildon-picker-button-multicolumn-example.c
5378 * examples/hildon-time-button-example.c
5379 * examples/hildon-touch-selector-entry-example.c
5380 * examples/hildon-touch-selector-example.c: Updated examples to
5381 reflect HildonButton API changes.
5383 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5385 * doc/hildon-docs.sgml:
5387 * examples/Makefile.am:
5388 * examples/hildon-touch-selector-entry-example.c:
5390 * src/hildon-touch-selector-entry.c:
5391 * src/hildon-touch-selector-entry.h:
5394 Moved HildonTouchSelectorEntry from sandbox. Added its
5395 documentation and examples.
5397 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5399 * src/hildon-touch-selector.h:
5400 * examples/hildon-picker-button-multicolumn-example.c:
5401 (hildon_touch_selector_append_text_column): Add a gboolean
5402 parameter to determine if text must be centered in the column.
5404 * src/hildon-date-selector.c: (hildon_date_selector_init):
5405 * src/hildon-time-selector.c: (hildon_time_selector_init):
5406 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5407 (create_touch_selector): Update widgets and example to reflect
5410 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5412 * src/hildon-touch-selector.c:
5413 (hildon_touch_selector_set_active_iter): Set also the cursor in
5416 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5418 * doc/hildon-docs.sgml
5421 * src/hildon-toggle-button.c
5422 * src/hildon-toggle-button.h
5423 * src/hildon.h: Removed HildonToggleButton widget, a derived
5424 class is not necessary for this.
5426 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5428 * src/hildon-pannable-area.c,
5429 (hildon_pannable_area_realize),
5430 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5433 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5435 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5436 "done" button the default widget for the dialog.
5438 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5440 * src/hildon-touch-selector.c:
5441 (hildon_touch_selector_class_init),
5442 (hildon_touch_selector_get_property),
5443 (_hildon_touch_selector_set_model),
5444 (_hildon_touch_selector_has_multiple_selection),
5445 (hildon_touch_selector_has_multiple_selection):
5446 Add a "has-multiple-selection" property with a virtual
5447 has_multiple_selection() method to allow derived classes to
5448 override the default value for it. See the method and property
5449 documentation for details.
5451 * src/hildon-touch-selector.h: Add the new API.
5453 * src/hildon-picker-dialog.c: (requires_done_button): Call
5454 hildon_touch_selector_has_multiple_selection() instead of
5455 determining the need for a button itself.
5457 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5459 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5460 (_hildon_touch_selector_set_model),
5461 (hildon_touch_selector_set_model): Move working code to
5462 _hildon_touch_selector_set_mode(). Call the class method instead.
5464 * src/hildon-touch-selector.h: Add (*set_model) to
5465 HildonTouchSelectorClass.
5467 Make hildon_touch_selector_set_model() a virtual method, so that
5468 derived classes can extend it and do fancy stuff with the model.
5470 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5472 * configure.ac: Set back the tarname in AC_INIT to hildon.
5474 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5478 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5479 instead of libesd (NB#86876). Volume handling is still an open issue.
5481 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5484 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5486 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5487 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5488 derived class to ease placement of an entry widget in
5489 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5490 end, where the selector columns are packed now.
5492 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5494 * src/hildon-picker-button.c: Removed the simple _text() API.
5495 * src/hildon-picker-button.h: Likewise.
5497 * src/hildon-touch-selector.h:
5498 * src/hildon-touch-selector.c:
5499 (hildon_touch_selector_new_text),
5500 (hildon_touch_selector_append_text),
5501 (hildon_touch_selector_prepend_text),
5502 (hildon_touch_selector_insert_text):
5504 Moved the simple _text() API from HildonPickerButton to
5505 HildonTouchPicker, to provide better escalability and not to tie
5506 that API to HildonPickerButton.
5508 * examples/hildon-picker-button-example.c: (main): Example updated.
5510 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5512 * src/hildon-button.c: Updated documentation.
5514 * examples/hildon-button-example.c: Add the posibility to create
5515 the buttons using horizontal layout for title and value.
5517 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5519 * src/hildon-app-menu-private.h
5520 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5521 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5522 GtkSizeGroup for the filters, use the 'homogeneous' property of
5525 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5527 * examples/hildon-button-example.c: Updated example.
5529 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5531 * doc/hildon-docs.sgml:
5534 Update documentation.
5536 * examples/Makefile.am: Update renamed examples.
5538 * examples/hildon-picker-button-multicolumn-example.c:
5539 (create_touch_selector), (main): Update after the rename.
5541 * examples/hildon-touch-picker-example.c: Removed.
5542 * examples/hildon-touch-selector-example.c: (value_changed),
5543 (create_selector), (get_visible_content), (main): Renamed from
5544 hildon-touch-picker-example.c
5546 * src/Makefile.am: Updated renamed files.
5548 * src/hildon-date-button.c: (hildon_date_button_init),
5549 (hildon_date_button_get_date), (hildon_date_button_set_date):
5550 * src/hildon-date-selector.c: (hildon_date_selector_init),
5551 (_custom_print_func), (_update_day_model),
5552 (_manage_selector_change_cb),
5553 (hildon_date_selector_select_current_date),
5554 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5555 * src/hildon-date-selector.h:
5556 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5557 (hildon_picker_button_set_property),
5558 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5559 (hildon_picker_button_init), (hildon_picker_button_new_text),
5560 (hildon_picker_button_append_text),
5561 (hildon_picker_button_prepend_text),
5562 (hildon_picker_button_insert_text),
5563 (hildon_picker_button_set_selector),
5564 (hildon_picker_button_get_selector):
5565 * src/hildon-picker-button.h:
5566 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5567 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5568 (_update_title_on_selector_changed_cb), (requires_done_button),
5569 (_hildon_picker_dialog_set_selector),
5570 (hildon_picker_dialog_set_selector),
5571 (hildon_picker_dialog_get_selector):
5572 * src/hildon-picker-dialog.h:
5573 * src/hildon-time-button.c: (hildon_time_button_init),
5574 (hildon_time_button_get_time), (hildon_time_button_set_time):
5575 * src/hildon-time-selector.c: (hildon_time_selector_init),
5576 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5577 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5578 * src/hildon-time-selector.h:
5581 Massive code updates after the rename.
5583 * src/hildon-touch-picker.c: Removed.
5584 * src/hildon-touch-picker.h: Removed.
5586 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5587 (hildon_touch_selector_init), (hildon_touch_selector_map),
5588 (hildon_touch_selector_remove), (_default_print_func),
5589 (_selection_changed_cb), (_create_new_column),
5590 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5591 (hildon_touch_selector_append_text_column),
5592 (hildon_touch_selector_remove_column),
5593 (hildon_touch_selector_set_column_attributes),
5594 (hildon_touch_selector_insert_column),
5595 (hildon_touch_selector_get_num_columns),
5596 (hildon_touch_selector_get_column_selection_mode),
5597 (hildon_touch_selector_set_column_selection_mode),
5598 (hildon_touch_selector_set_print_func),
5599 (hildon_touch_selector_get_print_func),
5600 (hildon_touch_selector_get_active_iter),
5601 (hildon_touch_selector_set_active_iter),
5602 (hildon_touch_selector_get_selected_rows),
5603 (hildon_touch_selector_get_model),
5604 (hildon_touch_selector_set_model),
5605 (hildon_touch_selector_get_current_text),
5606 (_hildon_touch_selector_center_on_selected_items):
5607 * src/hildon-touch-selector.h: Renamed from
5608 hildon-touch-picker.[ch]
5610 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5611 references, code examples, and related documentation.
5613 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5615 * doc/hildon-docs.sgml
5618 * src/hildon-toggle-button.c
5619 * src/hildon-toggle-button.h
5620 * src/hildon.h: New HildonToggleButton widget.
5622 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5624 * src/hildon-button.c: Add API documentation.
5625 (hildon_button_set_size_groups): Check input parameters
5627 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5629 * src/hildon-pannable-area.c
5630 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5631 effect after reaching the movement thredshold. This way we start
5632 using the distance after passing the thredshold.
5634 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5636 * src/hildon-button.c: (hildon_button_set_property): Use the
5637 appropriate g_value_get_flags() method.
5639 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5641 * doc/hildon-docs.sgml:
5644 Add the touch pickers, picker dialogs, and picker button widgets
5645 to the documentation.
5647 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5649 * src/hildon-button.c: (hildon_button_set_property),
5650 (hildon_button_class_init): Make "arrangement-flags" a proper
5651 G_TYPE_FLAGS derived property.
5653 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5655 * examples/Makefile.am: Add below examples.
5656 * examples/hildon-date-button-example.c:
5657 * examples/hildon-picker-button-example.c:
5658 * examples/hildon-picker-button-multicolumn-example.c:
5659 * examples/hildon-time-button-example.c:
5660 * examples/hildon-touch-picker-example.c:
5662 Add examples for the recently added touch pickers,
5663 picker dialogs, and picker button widgets.
5665 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5667 * src/hildon-button.c: Add some API documentation
5669 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-button.h
5672 * src/hildon-button.c
5674 (hildon_button_new_with_text): New constructor to create a button
5675 with no text at all.
5676 (hildon_button_init, hildon_button_set_arrangement)
5677 (hildon_button_set_title, hildon_button_set_value)
5678 (hildon_button_set_text)
5679 (hildon_button_construct_child): Hide the value when it's not used
5680 so the rest of the text is properly aligned.
5681 Allow creating buttons with arbitrary widgets inside (not just
5682 title/value labels).
5684 * examples/hildon-button-example.c (vertical_buttons_window)
5685 (horizontal_buttons_window): Update example to use new API.
5687 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5689 * src/Makefile.am: Added HildonTimeButton.
5690 * src/hildon-time-button.c: Added missing LGPL header.
5691 * src/hildon-time-button.h: Added missing LGPL header.
5692 * src/hildon.h: Add hildon-time-button.h
5694 Copied HildonTimeButton from sandbox to trunk. Future work on this
5695 widget must take place in trunk.
5697 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5699 * src/Makefile.am: Added HildonDateButton.
5700 * src/hildon-date-button.c: Update includes.
5701 * src/hildon.h: Add hildon-date-button.h
5703 Copied HildonDateButton from sandbox to trunk. Future work on this
5704 widget must take place in trunk.
5706 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5708 * src/Makefile.am: Added HildonPickerButton.
5709 * src/hildon-picker-button.h: Update includes.
5710 * src/hildon.h: Add hildon-picker-button.h
5712 Copied HildonPickerButton from sandbox to trunk. Future work on
5713 this widget must take place in trunk.
5715 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5717 * src/Makefile.am: Added HildonPickerDialog.
5718 * src/hildon-picker-dialog.c: Update includes.
5719 * src/hildon.h: Add hildon-picker-dialog.h
5721 Copied HildonPickerDialog from sandbox to trunk. Future work
5722 on this widget must take place in trunk.
5724 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5726 * src/Makefile.am: Added HildonTimeSelector.
5727 * src/hildon.h: Add hildon-time-selector.h
5729 Copied HildonTimeSelector widget from sandbox to trunk. Future
5730 work on this widget must happen in trunk.
5732 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5734 * src/Makefile.am: Added HildonDateSelector.
5735 * src/hildon.h: Add hildon-date-selector.h
5737 Copied HildonDateSelector widget from sandbox to trunk. Future
5738 work on this widget must happen in trunk.
5740 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5742 * src/Makefile.am: Added HildonTouchPicker.
5743 * src/hildon-touch-picker.c: Update includes.
5744 * src/hildon.h: Add hildon-touch-picker.h
5746 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5747 on this widget must happen in trunk.
5749 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5751 * src/hildon-pannable-area.c:
5752 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5754 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5756 * examples/hildon-app-menu-example.c (main): Let the window
5759 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5761 * src/hildon-pannable-area.c
5762 (hildon_pannable_area_class_init): Set the min value of the
5763 overshoot properties to zero, which points out that not
5764 overshooting allowed.
5766 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5768 Modified the procedure to get the widget at a point inside the
5769 pannable area when using the movement type signals. Now the user
5770 has to call a function to get the child, that way we just
5771 calculate the child in case the user really want to use it and not
5774 * src/hildon-marshalers.list: Modified the marshallers, now we do
5775 not have the widget as a parameter.
5777 * src/hildon-pannable-area.c
5778 (hildon_pannable_area_motion_notify_cb),
5779 (hildon_pannable_area_class_init),
5780 (hildon_pannable_get_child_widget_at): Removed the widget
5781 parameter from the signal callback. We have also refactored the
5782 emission of the signals.
5784 * src/hildon-pannable-area.h: Added a new method to the API to
5785 calculate a widget at a point inside the pannable area,
5786 hildon_pannable_get_child_widget_at.
5788 * examples/hildon-pannable-area-example-4.c
5789 (horizontal_movement): Modified the example to use the new API,
5790 added condition to control which widget is under the event. This
5791 way we can avoid scrolling laterally over other widgets.
5793 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5795 * src/hildon-pannable-area.c
5796 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5797 modes, we stop getting the pointer events due to returning the
5798 callback without properly calling the get pointer again. Fixed
5799 also an error using the hscroll and vscroll.
5801 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5803 * src/hildon-app-menu-private.h
5804 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5805 (hildon_app_menu_button_release, hildon_app_menu_init)
5806 (hildon_app_menu_class_init): Don't hide the menu on button
5807 release if the user didn't press outside first.
5809 * src/hildon-window.h
5810 * src/hildon-window.c (hildon_window_toggle_menu)
5811 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5812 hildon_window_toggle_menu a virtual function for the stackable
5813 window to override it.
5815 * src/hildon-stackable-window.h
5816 * src/hildon-stackable-window-private.h
5817 * src/hildon-stackable-window.c
5818 (hildon_stackable_window_realize)
5819 (hildon_stackable_window_finalize)
5820 (hildon_stackable_window_class_init)
5821 (hildon_stackable_window_init)
5822 (hildon_stackable_window_set_main_menu): New function to set the
5823 app menu of a HildonStackableWindow.
5825 * examples/hildon-app-menu-example.c: Remove the button to show
5826 the app menu, now it'll be shown when clicking on the title bar
5829 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5831 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5832 set the widget name if the arrangement flags do not specify
5835 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5837 * src/hildon-button.c: (hildon_button_set_property),
5838 (hildon_button_class_init), (hildon_button_new_full),
5839 (hildon_button_set_arrangement): Added "arrangement-flags"
5842 Make the HildonButtonFlags a construction-only property, to allow
5843 subclasses to set them properly.
5845 2008-07-21 Tim Janik <timj@imendio.com>
5847 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5848 insertion position after backspace, so additional digits are appended,
5851 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5853 * src/hildon-pannable-area.c,
5854 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5855 TODO list, it was complete and removed the g_debug and g_print
5858 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5860 Added the movement modes to the hildon-pannable-area, with this
5861 modes the developers can control in which directions the widget
5862 can scroll. They can also connect to signals in order to do
5863 something when that happens, allowing applications scroll. There
5864 is an example uploaded showing how to use it.
5866 * examples/Makefile.am:
5867 * examples/hildon-pannable-area-example-4.c: Added this example of
5868 an application using the modes.
5870 * src/hildon-marshalers.list: Added a new marshaller for the new
5873 * src/hildon-pannable-area.h: Added new enumerations and flags in
5874 order to control the movement modes and the new signals to warn
5875 about the movements in the area.
5877 * src/hildon-pannable-area.c:
5878 (hildon_pannable_axis_scroll),
5879 (hildon_pannable_area_scroll),
5880 (hildon_pannable_area_motion_notify_cb),
5881 (hildon_pannable_area_get_property),
5882 (hildon_pannable_area_set_property),
5883 (hildon_pannable_area_map),
5884 (hildon_pannable_area_class_init),
5885 (hildon_pannable_area_init),
5886 (hildon_pannable_area_jump_to): Added the modes to control the
5887 movement in the widget. We have added properties to control it,
5888 signals to warn about the movements and refactored some code.
5890 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5892 Changes required in order to allow vfast_factor set to zero to
5895 * src/hildon-pannable-area.c:
5896 (hildon_pannable_area_button_press_cb): Changed the condition, it
5897 is required for not allowing click when vfast_factor is zero.
5898 (hildon_pannable_area_timeout): Initialized velocity variables
5899 when we stop moving, it was less than 1 but not zero and we need
5900 to check zero in some situations.
5901 (hildon_pannable_area_class_init): Changed the default value of
5902 the speed factor, now the button_press is just sent in case the
5903 speed is 2 per cent of the max speed.
5904 (hildon_pannable_area_init): Initialization with 0.
5906 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5908 * src/hildon-pannable-area.c,
5909 (hildon_pannable_area_get_topmost): replaced
5910 gdk_window_get_children with gdk_window_peek_children, this way we
5911 do not have to free the list because it is not a copy.
5913 (hildon_pannable_axis_scroll),
5914 (hildon_pannable_area_scroll),
5915 (hildon_pannable_area_timeout),
5916 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5917 two parameters that were only used inside the
5918 hildon_pannable_area_scroll function.
5920 * examples/hildon-pannable-area-example.c,
5921 (get_sawtooth_label): Fixed small memory leak.
5923 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5925 More checks for the case where the overshoot is bigger than the
5928 * src/hildon-pannable-area.c:
5929 (hildon_pannable_draw_vscroll),
5930 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5931 to draw the slider of the scrollbar under the other scrollbar.
5932 (hildon_pannable_area_expose_event): added new checks to control
5933 the drawing of the overshooting area rectangle, in case it is too
5934 big for the area of the widget.
5935 (hildon_pannable_area_size_allocate): add more checks to avoid
5936 setting a position to the child widget outside the area.
5938 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5940 * src/hildon-pannable-area.c
5941 (hildon_pannable_area_size_allocate): Added conditions to control
5942 when overshooting is bigger than the allocated space for the
5943 children, this avoids negative allocations.
5945 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5947 * doc/hildon-docs.sgml
5949 * examples/Makefile.am
5950 * examples/hildon-button-example.c
5952 * src/hildon-button.c
5953 * src/hildon-button.h
5954 * src/hildon.h: Initial version of the new HildonButton widget,
5957 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5959 * src/hildon-pannable-area.c:
5960 (hildon_pannable_area_button_press_cb),
5961 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5962 (hildon_pannable_area_motion_notify_cb),
5963 (hildon_pannable_area_button_release_cb),
5964 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5965 (hildon_pannable_area_jump_to_child):
5967 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5969 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5971 * examples/Makefile.am
5972 * examples/hildon-pannable-area-touch-grid-example.c
5973 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5974 the Hildon Touch List and Hildon Touch Grid using the
5975 HildonPannableArea widget.
5977 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5979 * src/hildon-pannable-area.c,
5980 (hildon_pannable_area_button_press_cb),
5981 (hildon_pannable_area_refresh),
5982 (hildon_pannable_area_scroll),
5983 (hildon_pannable_area_motion_notify_cb),
5984 (hildon_pannable_area_button_release_cb),
5985 (hildon_pannable_area_expose_event),
5986 (hildon_pannable_area_add),
5987 (hildon_pannable_area_remove),
5988 (hildon_pannable_area_realize),
5989 (hildon_pannable_area_size_allocate),
5990 (hildon_pannable_area_class_init),
5991 (hildon_pannable_area_init),
5992 (hildon_pannable_area_scroll_to_child),
5993 (hildon_pannable_area_jump_to_child): Fixed the problem of
5994 removing the child from the GtkBin, we have rearranged the widget
5995 hierarchy, now there is no GtkAlignment which was not doing
5996 anything interesting but breaking some of the assumptions of
5997 GtkContainer. Now developers if they want to add a GtkAlignment
5998 they could, but it is not inside the area.
6000 We had to review the whole allocation/expose process, now it is
6001 improved and we save at least three signals which would be saving
6002 some time when rendering the widget. The allocation of the
6003 scrollbars is now made in the allocate method as usual.
6005 We have also added some conditions in order to control when there
6006 is no child of the pannable area. Maybe we will need more work
6009 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6011 * src/hildon-pannable-area.c,
6012 (hildon_pannable_area_dispose): Released the fade-out timeout when
6013 disposing the widget.
6015 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6017 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6018 zero, we are going to use that property in order to deactivate the
6020 (hildon_pannable_axis_scroll),
6021 (hildon_pannable_area_size_allocate): Added conditions to control
6022 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6023 call, now it is called in all situations and we can remove calls
6024 in the allocate method.
6025 (hildon_pannable_area_map): Control the situation when
6026 overshoot_max is zero, we do not need the timeout.
6027 (hildon_pannable_area_class_init): Added documentation in order to
6028 point out that setting zero to overshoot_max means deactivate
6031 NOTE: removed trailing whitespaces from my previous comments of
6034 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6036 * src/hildon-pannable-area.c
6037 (hildon_pannable_area_get_property),
6038 (hildon_pannable_area_set_property),
6039 (hildon_pannable_area_map),
6040 (hildon_pannable_area_class_init),
6041 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6042 to cause the widget give a hint about its panning abilities upon
6045 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6047 * src/hildon-pannable-area.c: Several documentation improvements.
6049 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6051 * src/hildon-program.c
6052 * src/hildon-stackable-window.c: Update documentation.
6054 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6056 * src/hildon-stackable-window.c (get_previous_window_if_last):
6057 Renamed get_last_window()
6058 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6059 (hildon_stackable_window_unset_program):
6061 (get_previous_window_if_last):
6062 Detect if the window hasn't been added to a HildonProgram.
6064 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6066 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6068 * src/hildon-pannable-area.c
6069 (hildon_pannable_area_button_press_cb),
6070 (hildon_pannable_axis_scroll),
6071 (hildon_pannable_area_scroll),
6072 (hildon_pannable_area_timeout),
6073 (hildon_pannable_calculate_vel_factor),
6074 (hildon_pannable_area_get_property),
6075 (hildon_pannable_area_set_property),
6076 (hildon_pannable_area_class_init),
6077 (hildon_pannable_area_init),
6078 (hildon_pannable_area_scroll_to),
6079 (hildon_pannable_area_jump_to),
6080 (hildon_pannable_area_scroll_to_child),
6081 (hildon_pannable_area_jump_to_child):
6082 * src/hildon-pannable-area.h: Added the new API functions:
6083 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6084 hildon_pannable_area_scroll_to_child,
6085 hildon_pannable_area_jump_to_child
6088 * examples/Makefile.am
6089 * examples/hildon-pannable-area-example-2.c
6090 * examples/hildon-pannable-area-example-3.c: Added these two new
6091 examples in order to test and show how the new APIs work.
6093 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6095 * examples/hildon-stackable-window-example.c (new_window):
6096 * src/Makefile.am (noinst_HEADERS):
6097 * src/hildon-program.c (hildon_program_go_to_root_window):
6098 * src/hildon-program.h:
6099 * src/hildon-stackable-window-private.h:
6100 * src/hildon-stackable-window.c:
6101 * src/hildon-stackable-window.h:
6102 Create hildon-stackable-window-private.h
6103 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6105 * examples/hildon-app-menu-example.c (create_menu):
6106 * examples/hildon-hvolumebar-insensitive-example.c (main):
6107 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6108 * examples/hildon-toolbar-seekbar-example.c (main):
6109 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6110 * src/hildon-banner.c (hildon_banner_set_property):
6111 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6112 Fix compilation warnings
6114 * src/hildon-window.c:
6117 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6119 * src/hildon-stackable-window.c
6120 (hildon_stackable_window_unset_program):
6121 Calculate correctly whether to show the previous window if the
6122 last one is removed from the stack.
6123 (hildon_stackable_window_go_to_root_window):
6124 Send delete events starting from the topmost window.
6125 Stop if one of the windows is not destroyed.
6127 (hildon_stackable_window_delete_event)
6128 (hildon_stackable_window_class_init):
6129 Ignore the delete event if the window is not the topmost one.
6131 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6133 * src/hildon-pannable-area.c
6134 (hildon_pannable_area_expose_event): Fixed a problem when
6135 selecting the background color of the scrollbars.
6137 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6139 * examples/hildon-stackable-window-example.c
6140 * src/hildon-stackable-window.c
6141 * src/hildon-stackable-window.h
6142 hildon_stackable_window_go_home() renamed to
6143 hildon_stackable_window_go_to_root_window()
6144 Send delete events to windows rather than closing them with
6145 gtk_widget_destroy()
6147 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6149 * src/hildon-pannable-area.c
6150 (hildon_pannable_area_button_release_cb): Fix overshooting in
6153 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6155 * src/hildon-pannable-area.c
6156 (hildon_pannable_area_init): Initially show the scroll indicators.
6157 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6159 Add initial effect showing the widget is pannable.
6161 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6163 * src/hildon-pannable-area.c
6164 (hildon_pannable_area_class_init)
6165 (hildon_pannable_area_set_property)
6166 (hildon_pannable_area_get_property)
6167 (hildon_pannable_area_button_press_cb):
6168 New 'velocity_fast_factor' property to decide which velocity is
6171 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6173 * src/hildon-pannable-area.c
6174 (hildon_pannable_draw_hscroll)
6175 (hildon_pannable_draw_vscroll):
6176 Use float variables to calculate the size of the scrollbars to
6177 avoid error propagation and resizing during scrolling.
6179 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6181 * src/hildon-pannable-area.c
6182 (hildon_pannable_draw_vscroll)
6183 (hildon_pannable_draw_hscroll):
6184 Define a minimum size for the scroll bars
6186 * src/hildon-stackable-window.c
6187 (hildon_stackable_window_go_home): Fix compilation warning
6188 (get_last_window): Minor optimizations
6189 (hildon_stackable_window_class_init): Fix initialization of
6192 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6194 * src/hildon-stackable-window.c: Fixed typos in doc
6196 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6198 * src/hildon-pannable-area.c
6199 (hildon_pannable_area_scroll):
6200 Calculate here whether we need to scroll instead of using the booleans
6201 that tell us whether to /draw/ the scrolling bars.
6203 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6205 * src/hildon-app-menu.h
6207 * src/hildon-app-menu.c
6208 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6209 multiple filter groups related code and API. Now we support only
6211 * examples/hildon-app-menu-example.c:
6213 Update to reflect API changes.
6215 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6217 * src/hildon-stackable-window.c
6218 (hildon_stackable_window_class_init):
6219 Add hildon_stackable_window_realize.
6220 (hildon_stackable_window_realize):
6221 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6222 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6223 to apply theming and behavior specific to HildonStackableWindow
6226 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6228 * src/hildon-note.c (hildon_note_button_release):
6229 Close information notes also when tapping on them
6231 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6233 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6234 ELASTICITY, refactor and review, fix some issues with drawing
6237 * src/hildon-pannable-area.c:
6238 (hildon_pannable_area_button_press_cb): removed the conditions to
6239 avoid clicks when overshooting. It is not required
6241 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6242 define. Refatored and reviewed the code, now we do not need to
6243 manage velocity in motion_notify.
6245 (hildon_pannable_area_motion_notify_cb): We have moved the code
6246 that controls the area_scroll to the axis_scroll function and get
6247 rid of duplicated code.
6249 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6251 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6253 (hildon_pannable_draw_vscroll),
6254 (hildon_pannable_draw_hscroll): Fixed the problems with the
6255 scrollbar drawing, now we do not use two surfaces, it is easier
6256 and saves resources.
6258 (hildon_pannable_area_get_property): Style modification.
6260 (hildon_pannable_area_class_init): Changed some default values.
6262 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6264 * src/hildon-stackable-window.c: Fix some typos in the
6267 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6269 * src/hildon-dialog.c:
6270 Change indentation style
6273 (hildon_note_button_release):
6274 Use root coordinates to check if the release event happened
6277 * src/hildon-app-menu.c
6278 (hildon_app_menu_button_release):
6279 Remove unnecessary check
6281 * examples/hildon-app-menu-example.c
6283 Add cast to fix warning
6285 * src/hildon-app-menu.c
6286 (hildon_app_menu_class_init):
6287 New inner-border style property.
6288 Set all default spacings to 16
6289 (hildon_app_menu_init):
6290 Use vertical-spacing to set the space between filter buttons and
6291 regular menu buttons.
6292 Set the default container border using the inner-border value.
6294 * examples/hildon-app-menu-example.c
6296 Don't set the menu border explicitly, now we have the inner-border
6297 style property for that.
6299 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6301 * src/hildon-app-menu.c (hildon_app_menu_init):
6302 Make the window modal
6304 * src/hildon-note.c (hildon_note_map)
6305 * src/hildon-app-menu.c (hildon_app_menu_map):
6306 Destroy the grab window if we're unable to grab the pointer
6308 * src/hildon-app-menu-private.h
6309 * src/hildon-app-menu.c
6310 (hildon_app_menu_init, hildon_app_menu_finalize)
6311 (hildon_app_menu_map, hildon_app_menu_unmap)
6312 (hildon_app_menu_button_release)
6313 (grab_transfer_window_get):
6314 Bring back the grab window
6315 (hildon_app_menu_realize):
6316 Decorate the window, set WM hint for Matchbox
6318 * src/hildon-note.c (hildon_note_realize):
6319 * src/hildon-banner.c (hildon_banner_realize):
6320 Add WM hints for Matchbox
6322 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6324 * src/hildon-app-menu-private.h
6325 * src/hildon-app-menu.c
6326 (hildon_app_menu_init, hildon_app_menu_finalize)
6327 (hildon_app_menu_map, hildon_app_menu_unmap)
6328 (hildon_app_menu_button_release):
6329 Remove the grab window, it's not needed anymore
6331 * src/hildon-program.c
6332 Fixed typo in documentation
6334 * src/hildon-app-menu.h
6335 * src/hildon-app-menu.c
6336 * examples/hildon-app-menu-example.c
6337 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6339 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6342 Added new transfer_window and close_if_pressed_outside private
6344 (hildon_note_rebuild):
6345 Don't add a cancel button to the information note. It will be
6346 closed when tapping outside
6347 Remove the comment about the OK button in the documentation
6348 (hildon_note_realize):
6349 Set the notification type hint
6350 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6351 Grab/ungrab pointer and keyboard if the note has to be closed when
6353 (hildon_note_button_release):
6354 Close the note when tapping outside (if applicable)
6356 * src/hildon-app-menu.c
6357 Grab/ungrab pointer and keyboard on map/unmap
6358 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6359 Close the menu on button release, not button press
6361 * src/hildon-banner.c
6362 (hildon_banner_set_property)
6363 (hildon_banner_check_position):
6364 Make the banner use the full width of the screen
6365 (hildon_banner_show_information)
6366 (hildon_banner_show_information_with_markup):
6367 Don't display an icon by default
6369 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6371 Added fading scrollbars and adapted all the overshooting code to
6372 horizontal scrolling. We have also fixed bugs with overshooting
6373 and current fading implementation.
6375 * src/hildon-pannable-area.c
6376 (hildon_pannable_area_scroll_indicator_fade): Time out function
6377 used to change the transparency of the scrollbars.
6379 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6380 control and fixed a problem with fading, we now remove the fade
6381 timeout before adding a new one.
6383 (hildon_pannable_axis_scroll):
6384 (hildon_pannable_area_scroll):
6385 (hildon_pannable_area_timeout): Added this functions so we can use
6386 the scroll code both for vertical and horizontal.
6388 (hildon_pannable_area_motion_notify_cb):
6389 (hildon_pannable_area_button_release_cb): Added the horizontal
6390 scrolling control, fixed a problem with the overshooting timeout.
6392 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6393 painting of the scrolls.
6395 (hildon_pannable_draw_vscroll):
6396 (hildon_pannable_draw_hscroll):
6397 (hildon_pannable_area_expose_event):
6398 Draw both scrollbars and rectangles in the overshooting area.
6400 (hildon_pannable_area_get_property):
6401 (hildon_pannable_area_set_property):
6402 Modified the overshoot property to overshoot_max
6404 (hildon_pannable_area_map):
6405 Replaced the comments symbols.
6407 (hildon_pannable_area_size_allocate):
6408 (hildon_pannable_area_class_init):
6409 (hildon_pannable_area_init): Added horizontal scroll, fading
6410 effect properties, fixed a problem when overshooting in the bottom
6413 * examples/hildon-pannable-area-example.c:
6414 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6415 looks better in the example.
6417 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6419 * src/hildon-window.c
6420 * src/hildon-window.h
6421 (hildon_window_class_init)
6422 (hildon_window_unset_program)
6423 (hildon_window_unset_program_real):
6424 Make unset_program a virtual function
6426 * src/hildon-stackable-window.c
6427 * src/hildon-stackable-window.h
6428 Added hildon_stackable_window_go_home()
6430 * examples/Makefile.am
6431 * examples/hildon-stackable-window-example.c
6432 HildonStackableWindow example
6434 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6436 * hildon-pannable-area.c: Added the overshoot property and removed
6437 the OVERSHOOT define. Fixed an indent style error.
6438 (hildon_pannable_area_motion_notify_cb):
6439 (hildon_pannable_area_get_property):
6440 (hildon_pannable_area_set_property): Add overshoot property.
6442 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6445 (hildon_pannable_area_class_init): Installed the new property.
6447 * hildon-pannable-area-example.c: Added a sawtooth function, this
6448 way it is easier to check the movement in the pannable.
6449 (get_sawtooth_label): Added this function.
6450 (main): Now we get the labels from the new get_sawtooth_label
6453 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6455 * src/hildon-app-menu.h
6456 * src/hildon-app-menu.c
6457 Renamed API variables for consistency
6459 (hildon_app_menu_popup): Use also the default window size to
6460 decide where to place the menu
6462 (hildon_app_menu_init, hildon_app_menu_class_init): New
6463 external-border style property
6465 2008-05-26 Michael Natterer <mitch@imendio.com>
6467 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6468 widget_class->tap_and_hold_setup signal slot doesn't exist any
6469 longer, stop overriding it.
6471 (hildon_time_editor_init): g_signal_connect() to the
6472 tap-and-hold-setup signal instead.
6474 (hildon_time_editor_entry_keypress): add cast to fix warning.
6476 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6478 * doc/hildon-docs.sgml
6480 * examples/Makefile.am
6481 * examples/hildon-app-menu-example.c
6483 * src/hildon-app-menu-private.h
6484 * src/hildon-app-menu.c
6485 * src/hildon-app-menu.h
6487 New HildonAppMenu widget
6489 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6491 Rearranged the inheritance of the pannable area, now it inherits
6492 from GtkBin. This will allow us to control the event_window and
6493 the allocation process of the widget, required for some effects.
6495 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6496 GtkBin structures. * src/hildon-pannable-area.c: Added the
6497 event_window variable.
6498 (hildon_pannable_area_button_press_cb):
6499 (hildon_pannable_area_button_release_cb):
6500 (hildon_pannable_area_motion_notify_cb):
6501 Changed the signature of the method, now we override the event
6502 callback instead of connecting to the signal.
6504 (hildon_pannable_area_realize):
6505 (hildon_pannable_area_unrealize):
6506 (hildon_pannable_area_map):
6507 (hildon_pannable_area_unmap):
6508 (hildon_pannable_area_size_allocate):
6509 Added functions to control the widget construction. We add a
6510 INPUT_ONLY window and we put it over the widgets inside the
6511 container, this event_window handles the events.
6513 (hildon_pannable_area_class_init):
6514 Replaced the signal connections with overrides of the event
6517 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6519 Bouncing effect added when touching the borders, you can change
6520 the elasticity of the border changing the ELASTICITY define.
6522 * src/hildon-pannable-area.c: Added ELASTICITY define.
6523 (hildon_pannable_area_timeout): Added inverse velocity when
6524 touching the border of the child widget, that causes a bounce.
6526 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6528 Improved performance, we now do not go to the X server in order to
6529 get the list of window children. Apparently the effect is the
6530 same, we have to be careful and check if this breaks something in
6533 * src/hildon-pannable-area.c:
6534 (get_ordered_children): Removed this function.
6535 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6536 the children windows function with gdk_window_get_children.
6538 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6540 * src/hildon-pannable-area.c:
6541 (hildon_pannable_area_dispose): Fixed a crash when closing the
6542 window and kinetics is activated.
6544 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6546 * src/hildon-pannable-area.h
6547 * src/hildon-pannable-area.c
6548 Changed indentation style to meet the one used in Hildon
6550 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6552 Reviewed the interaction of the AUTO mode, now we use the time
6553 attribute of the events and calculate the velocity in the motion,
6554 doing a gimp like calculation. The velocity is calculated in each
6555 motion event using the last velocity and the current one, the
6556 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6558 * src/hildon-pannable-area.c: Replaced the time based algorithm
6560 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6561 timeout for the AUTO mode when we are still moving the cursor. We
6562 added also the velocity calculation in this function.
6563 (hildon_pannable_area_button_release_cb): launch the timeout in
6564 case we are in AUTO mode. There are still some constants here that
6565 come from the old implementation that should be reviewed and
6568 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6570 * doc/hildon-docs.sgml
6573 * src/hildon-stackable-window.c
6574 * src/hildon-stackable-window.h
6576 New HildonStackableWindow widget
6578 * examples/hildon-dialog-example.c
6579 * examples/hildon-pannable-area-example.c
6582 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6584 * src/hildon-dialog.c
6585 (hildon_dialog_new_with_buttons): New constructor.
6587 * examples/hildon-dialog-example.c
6588 (main): Update the example to use the new
6589 hildon_dialog_new_with_buttons().
6591 * examples/hildon-pannable-area-example.c
6592 (main): Update example.
6594 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6596 * doc/hildon-docs.sgml
6598 Added HildonPannableArea to the documentation.
6600 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6602 * doc/visual_index.xml
6603 Fix reference to HildonLoginDialog in documentation
6605 * doc/hildon-docs.sgml
6607 * examples/Makefile.am
6608 * examples/hildon-dialog-example.c
6610 * src/hildon-dialog.c
6611 * src/hildon-dialog.h
6613 New HildonDialog widget.
6615 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6617 * src/hildon-pannable-area.c
6618 Merge latest changes (r4318, r4342) from libmokoui trunk
6620 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6622 * examples/Makefile.am
6623 * examples/hildon-pannable-area-example.c
6625 * src/hildon-pannable-area.c
6626 * src/hildon-pannable-area.h
6628 New HildonPannableArea widget.
6630 2008-04-15 18:05:19 <timj@imendio.com>
6632 * src/hildon-banner.c: revert the recent change, that introduced
6633 gtk_window_present() calls. this reopens:
6634 Bug 78481 - [freetest] information banners are hidden under browser menu
6635 But resolves another variant of:
6636 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6638 2008-04-15 13:21:13 <timj@imendio.com>
6640 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6641 recreated its layout, spotted by Kris. this fixes all remaining
6642 artefacts and stability issues with the banner code. in particular:
6643 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6645 2008-04-14 16:52:59 <timj@imendio.com>
6647 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6648 operating on unrealized widgets, fixes:
6649 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6651 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6653 2008-04-09 Kristian Rietveld <kris@imendio.com>
6655 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6656 makes banner disappear.
6657 Fixes: NB#79182: info banner flickering with certain message lengts.
6659 * src/hildon-banner.c (hildon_banner_constructor),
6660 (hildon_banner_init), (hildon_banner_set_text),
6661 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6662 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6663 FALSE, reset size requests of label and banner,
6664 (force_to_wrap_truncated): when the text is too wide, always enforce
6665 the maximum possible width instead of recalculating it from the
6666 layout; enforce the maximum banner height of 3 lines,
6667 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6668 nicer wrapping and no truncated chars if space gets tight.
6670 * src/hildon-banner-private.h: add has_been_wrapped and
6671 has_been_truncated fields.
6673 2008-04-07 Sven Herzberg <sven@imendio.com>
6675 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6676 local values in hildon_date_editor_size_allocate
6678 * src/hildon-date-editor.c: moved the real allocation code into the
6681 2008-04-07 Sven Herzberg <sven@imendio.com>
6683 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6684 local values in hildon_date_editor_size_allocate
6686 * src/hildon-date-editor.c: merged the two if() branches together
6688 2008-04-07 Sven Herzberg <sven@imendio.com>
6690 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6691 local values in hildon_date_editor_size_allocate
6693 * src/hildon-date-editor.c: changed the arguments of the if()
6696 2008-04-07 Sven Herzberg <sven@imendio.com>
6698 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6699 local values in hildon_date_editor_size_allocate
6701 * src/hildon-date-editor.c: split the calculation of the allocation
6702 from the real allocation
6704 2008-03-27 Michael Natterer <mitch@imendio.com>
6706 Fixes: NB#81696: The passcode is not overwritten even after
6709 * src/hildon-code-dialog.c
6710 (hildon_code_dialog_button_clicked)
6711 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6712 because that doesn't overwrite selected text. Instead, emit the
6713 "commit" signal on the entry's im_context so the entry's normal
6714 insert logic is triggered. Set the cursor to the end of the entry
6715 after each insert operation so that we *only* insert in the middle
6716 of the text if something was selected.
6718 2008-03-27 Michael Natterer <mitch@imendio.com>
6720 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6721 selector cannot be opened
6723 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6724 when the popup color selector is created. Please connect to this
6725 signal in order to set the dialog's help ID.
6727 2008-03-25 Sven Herzberg <sven@imendio.com>
6729 Fixes: MB#1212: Hide info banners (infoprints) on click
6731 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6732 extracted the close event simulation into an extra function
6733 (hildon_banner_button_press_event): simulate a close event and destroy
6734 the widget if the event wasn't handled
6735 (hildon_banner_class_init): added the button_press_event handler
6736 (hildon_banner_init): added button-press events to the widget
6738 2008-03-25 Sven Herzberg <sven@imendio.com>
6740 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6741 Patch from: Mohammad Anwari <mdamt@maemo.org>
6743 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6744 instead of the right in RTL mode
6745 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6746 breadcrumb button list in RTL mode
6747 * src/hildon-caption.c: mirror the appearance of the caption widget in
6749 * src/hildon-date-editor.c: mirror appearance of the date editor in
6751 * src/hildon-time-editor.c: mirror appearance of the time editor in
6753 * src/hildon-window.c: fix the position of the popup in RTL mode
6755 2008-03-25 Sven Herzberg <sven@imendio.com>
6757 Amendment to the fix of NB#22072. Fix compilation.
6759 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6761 2008-03-19 Sven Herzberg <sven@imendio.com>
6763 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6766 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6767 timeout id properly when the timeout will disappear this leaves no
6768 artifacts around in the destroy(); there will only be the timeout
6769 created by hildon_banner_ensure_timeout() and adding a new timeout
6770 will also work if the timeout gets removed because the timeout_handler
6773 2008-03-19 Michael Natterer <mitch@imendio.com>
6775 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6777 * src/hildon-volumebar.c
6778 * src/hildon-vvolumebar.c
6779 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6780 the widget becomes focussable at all.
6782 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6783 set the focus to wither the mute button or the volumebar.
6785 Remove own "can-focus" property and instead listen to
6786 notify::can-focus in order to update the widget's state.
6788 Implement GtkWidget::focus() and make sure we can also *leave* the
6789 widget, not only enter it, depending on volumebar orientation and
6790 requested focus direction.
6792 Clean up set_mute() to cooperate nicely with all the above.
6794 2008-03-04 Michael Natterer <mitch@imendio.com>
6796 Fixes: NB#78481: information banners are hidden under browser menu
6798 * src/hildon-banner.c: call gtk_window_present() on the banners so
6799 they are risen if they are already visible.
6801 2008-03-03 Sven Herzberg <sven@imendio.com>
6803 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6805 * examples/hildon-window-menu-example.c: (main): extended the window
6806 menu example to serve as a testcase for automatically added
6807 accelerator groups, too
6808 * src/hildon-window.c: (hildon_window_add_accel_group),
6809 (hildon_window_set_menu): added patch by Tommi Komulainen
6811 2008-03-03 Sven Herzberg <sven@imendio.com>
6813 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6815 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6816 knowledge about the border allocators used within GTK+
6818 2008-02-26 Sven Herzberg <sven@imendio.com>
6820 Fixes: MB#2981: Build with asserts broken
6822 * src/hildon-date-editor.c,
6823 * src/hildon-number-editor.c,
6824 * src/hildon-time-editor.c,
6825 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6826 the proper GType instance check
6828 2008-02-25 Sven Herzberg <sven@imendio.com>
6830 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6832 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6833 * examples/hildon-window-menu-example.c: (main): explicitly show
6835 * src/hildon-window.c:
6836 (hildon_window_set_main_menu): moved most of the code from set_menu()
6837 to this place; skipped the call to gtk_widget_show_all(); also didn't
6838 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6839 (hildon_window_set_menu): removed most of the code, just keep the
6840 questionable gtk_widget_show_all()
6841 * src/hildon-window.h: added the new function and deprecate the old
6844 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6850 * debian/changelog: Updating.
6852 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6855 * pkgconfig/Makefile.am:
6856 * pkgconfig/hildon.pc.in:
6859 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6860 use newly created API_MAJOR_VERSION.
6862 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6868 * debian/changelog: Updating.
6870 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6872 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6874 Add outer_border style property, we use it but don't define it (!).
6878 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6880 * examples/hildon-bread-crumb-trail-example.c (main):
6884 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6886 Fix logic for the bread crumb trail node removal.
6890 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6896 * debian/changelog: Updating.
6898 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6900 Patch by Alejandro to get/set passwords dialogs accesibility.
6902 * hildon-1/src/hildon-get-password-dialog.c:
6903 * hildon-1/src/hildon-set-password-dialog.c:
6904 Set atk_set_name to the passwd entries in order to allow
6905 accessibility by name on this entries.
6907 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6912 * debian/control: Updating gtk dep.
6914 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6916 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6917 USE_MAEMO_GTK is enabled.
6919 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6921 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6922 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6924 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6930 * debian/changelog: Updating.
6932 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6934 * examples/Makefile.am:
6935 * examples/hildon-logical-color-example.c:
6936 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6937 applied + adding a test case. Fixes: NB#71660.
6939 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6941 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6942 to be visible, fixes warning on map for windows without toolbars.
6944 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6946 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6947 2.11.0, add a check for that besides the MAEMO_GTK check.
6949 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6955 * debian/changelog: Updating.
6957 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6959 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6960 visibility. Fixes: NB#70842 and MB#615.
6962 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6964 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6965 set the separator as no-show-all so it doesn't unintentionally appear when
6966 someone does a show_all.
6968 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6970 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6971 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6972 toplevel item. Fixes: NB#62031
6974 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6976 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6977 fix the name of the function in the docs.
6979 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6985 * debian/changelog: Updating.
6987 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6989 * examples/hildon-banner-long-example.c: Adding a test-case for long
6992 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6994 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6996 * src/hildon-color-chooser-dialog.c:
6997 * src/hildon-color-chooser.c:
6998 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6999 memory leaks in font selector and color selector. Fixes: NB#70499 and
7002 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7004 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7006 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7008 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7009 little bit bigger. Fixes: #NB63694.
7011 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7017 * debian/changelog: Updating.
7019 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7022 * doc/hildon-docs.sgml:
7023 * doc/images/bread-crumb-trail.png:
7024 * doc/images/calendar-popup.png:
7025 * doc/images/caption.png:
7026 * doc/images/code-dialog.png:
7027 * doc/images/color-button.png:
7028 * doc/images/color-chooser-dialog.png:
7029 * doc/images/color-chooser.png:
7030 * doc/images/controlbar.png:
7031 * doc/images/date-editor.png:
7032 * doc/images/font-selection-dialog.png:
7033 * doc/images/get-password-dialog.png:
7034 * doc/images/hvolumebar.png:
7035 * doc/images/login-dialog.png:
7036 * doc/images/note.png:
7037 * doc/images/number-editor.png:
7038 * doc/images/range-editor.png:
7039 * doc/images/seekbar.png:
7040 * doc/images/set-password-dialog.png:
7041 * doc/images/sort-dialog.png:
7042 * doc/images/time-editor.png:
7043 * doc/images/time-picker.png:
7044 * doc/images/vvolumebar.png:
7045 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7046 Adding the bread-crumb-trial and helpers to the documentation.
7048 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7050 * examples/hildon-find-toolbar-example.c:
7051 * src/hildon-find-toolbar.c:
7052 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7053 actually continue firing the other handlers if connected. Adding a new
7055 hildon_find_toolbar_get_last_index that gets the index of the most
7056 recently added (last) item. Fixes: NB#52301.
7058 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7060 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7061 behaviour. Fixes: NB#68610.
7063 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7065 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7068 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7070 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7071 when realizing the banner. Should make the infonbanner effect a bit more
7074 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7076 * src/hildon-volumebar.c:
7077 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7078 hildon_volumebar_set_range_insensitive_message and
7079 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7081 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7083 * src/hildon-window.c: Fixing the border freeing on destroy.
7085 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7087 * src/hildon-code-dialog-private.h:
7088 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7089 kw keyboard support in HildonCodeDialog.
7091 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7097 * debian/changelog: Updating.
7099 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7101 * src/hildon-date-editor.c:
7102 * src/hildon-number-editor.c:
7103 * src/hildon-private.c:
7104 * src/hildon-private.h:
7105 * src/hildon-time-editor.c:
7106 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7107 handling in subclassed composite widgets. Fixes: NB#66628.
7109 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7111 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7112 from destroy_ callback as it introduces problems in async dbus signal
7113 handlers. Fixes NB#66673.
7115 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7117 * examples/hildon-hvolumebar-example.c:
7118 * src/hildon-volumebar.c: Improving the focus handling in the
7119 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7120 set_property accessor so that "mute" property can be actually set. I'm
7121 scared that nobody noticed it's totally broken.
7123 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7125 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7128 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7130 * src/hildon-calendar.c:
7131 * src/hildon-number-editor.c:
7132 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7133 matches the spec of 6 chars per second. Fixes: NB#60489.
7135 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7137 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7138 gtk_style_lookup_color sometime returns FALSE even though color was
7139 found and values were filled properly. Weird. Removing the warning for the
7142 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7144 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7145 expand vertically. Adding some extra space to the find toolbar buttons to
7146 make them thumbable. Fixes NB#66060.
7148 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7150 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7151 popup with "Ok" and "Cancel". Fixes NB#59299.
7153 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7155 * src/hildon-calendar.c: Process all window updates before executing next
7156 timeout. Fixes: NB#54146.
7158 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7164 * debian/changelog: Updating.
7166 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7168 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7169 the client event and ignore it, since we use the delete event to close
7172 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7174 * src/hildon-helper.c: Remove the bogus warning about color not being
7175 found. Fixes NB#58352.
7177 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7179 * examples/Makefile.am:
7180 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7181 HildonSeekbar widget inside a toolbar.
7183 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7185 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7186 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7187 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7188 don't want to be closed by non-temporary windows on map.
7190 Also use G_DEFINE_TYPE instead of manually typed code.
7192 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7199 * debian/rules: Updating.
7201 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7203 * examples/Makefile.am:
7204 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7205 bug NB#61128. Strangely it works.
7207 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7209 * src/hildon-date-editor.c: When the date editor entry has been changed
7210 but the numbers of characters < max, turn off the skip validation flag.
7211 Prevents a situation when we enter first a valid year and later re-write
7212 it with an invalid one. Fixes NB#60154.
7214 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7216 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7217 code dialog. Fixes NB#64355.
7219 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7221 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7222 switching the page. Fixes NB#49374.
7224 * examples/Makefile.am:
7225 * examples/hildon-wizard-dialog-example.c: Adding an example for
7226 HildonWizardDialog that shows how to handle manual sensitivity setting on
7229 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7233 * src/hildon-version.h.in:
7234 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7236 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7238 * src/hildon-volumebar.c: Updating the docs.
7240 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7246 * debian/changelog: Updating.
7248 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7250 * src/hildon-find-toolbar.c:
7251 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7252 selected item: hildon_find_toolbar_set_active,
7253 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7254 hildon_find_toolbar_get_active_iter . They correspond to respective
7255 GtkComboBox functions.
7257 * examples/Makefile.am:
7258 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7261 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7263 * examples/Makefile.am:
7264 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7267 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7268 when font size > 32 and we pack a focusable widget inside. Actually using
7269 the default response would work too, but since we don't show default
7270 response state in any way (no theming) it would not be visible to the
7271 user. Fixes NB#63430.
7273 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7275 * src/hildon-date-editor.c: Adding the missing variable setter in the
7276 set_property handler. Fixes NB#54182.
7278 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7280 * src/hildon-window.h: Changing the long key press time from 1500ms to
7281 800ms as requested in NB#63700. I have a bad feeling about this, let's
7282 see... Fixes NB#63700.
7284 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7286 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7287 hildon_time_picker_map, hildon_time_picker_realize,
7288 hildon_time_picker_style_set): Split the contents of map to more
7289 appropriate functions; set window decorations on realize and update
7290 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7292 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7297 * debian/changelog: Updating.
7299 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7301 * src/Makefile.am: fixed installation of the header files
7303 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7309 * debian/changelog: Updating.
7311 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7313 * configure.ac: Removing some remaining of --enable-xan.
7315 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7317 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7318 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7320 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7321 2.10.12-osso6 because the move-focus signal needs to be available in
7324 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7326 * examples/Makefile.am:
7327 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7328 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7329 fine. Prolly NB#61128 is fixed now.
7331 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7333 * src/hildon-volumebar.c:
7334 * src/hildon-volumebar.h: Adding the
7335 hildon_volumebar_set_range_insensitive_message and
7336 hildon_volumebar_set_range_insensitive_messagef functions to set
7337 insensitive message on the slider of the volumebar. Fixes NB#61129.
7339 * examples/Makefile.am:
7340 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7341 test the new insensitive messsage functionality on HildonVolumebar.
7343 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7345 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7348 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7350 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7351 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7352 button on after clearing the trail.
7354 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7356 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7358 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7360 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7361 by splitting the installed headers in generated and non-generated groups. Use
7362 only the non-generated headers to create the hildon-enum-types.h file.
7364 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7366 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7368 * src/hildon-window.c: Hide the window before performing the destroy.
7369 Should make the app closing a little tiny bit more snappy.
7371 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7373 * src/hildon-seekbar.c: add gtkrange.h header
7374 * src/hildon-caption.c: remove unused variable
7376 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7378 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7381 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7387 * debian/changelog: Updating.
7389 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7391 * src/hildon-window.c (hildon_window_window_state_event,
7392 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7393 escape timeout on focus-out-event rather than notify::is-topmost; the
7394 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7396 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7398 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7399 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7401 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7403 * src/hildon-window: actually, you need to use the macro always, there's
7404 no private pointer in the instance structure. We should have cleaned this up
7405 when we had the chance...
7407 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7409 * src/hildon-window.c: do not get the private date from HildonWindow before
7410 it passes the g_return_if_fail check. Once it's passed the test, there's no
7411 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7412 if you are only going to access the data once. Whitespace cleanups.
7414 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7416 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7417 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7419 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7425 * debian/changelog: Updating.
7427 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7429 * src/hildon-window.c: When destroying the window, remove (if exists) the
7430 escape timeout handler. Fixes #NB59276.
7432 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7434 * src/hildon-banner.c: When realizing the widget, set the window
7435 transiency. Setting the transiency in the gobject constructor is not
7436 good, as the widget is not realized at that point. Fixes: #NB56624.
7438 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7440 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7441 Add padding for future expansions.
7443 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7445 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7446 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7447 will fake an activation on the previous to the last item of the trail, so
7448 the effect can be overrided by the developer as usual.
7449 Also change the callback for the back button to do the same thing, so its
7450 effect can be overrided too. Fixes: NB#58982
7452 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7455 HildonCaption. Fixes NB#52379.
7457 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7459 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7460 the internal state of the trail after the user has had the chance of executing
7461 his handler for the signal. Specifically, it may happen that the activated button
7462 is removed and the user still lets the default handler run. This would segfault
7465 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7467 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7468 scrollbar to the preview dialog. Fixes NB#54147.
7470 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7472 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7473 max/min year properties can be altered, so the client can modify it
7474 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7476 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7478 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7479 hildonlike by default. Fixing a problem with disappearing arrows when
7480 scrolling through months and years. Fixes NB#54127.
7482 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7484 * examples/hildon-date-editor-example.c: Adding error callback to the date
7487 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7493 * configure.ac: Updating.
7495 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7497 * configure.ac: Adding a special '--enable-xan' configure option that
7498 turns off the -Werror compilation setting. Usefull for development.
7500 * src/hildon-calendar.c:
7501 * src/hildon-number-editor.c:
7502 * src/hildon-time-picker.c: Adding the 5* multiplier to
7505 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7507 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7508 instead of g_object_ref + gtk_object_sink.
7510 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7516 * debian/changelog: Updating.
7518 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7520 * src/hildon-color-chooser-dialog.c:
7521 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7522 straight from Tommi labs.
7524 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7526 * examples/hildon-finger-example.c: Correcting the header file path.
7528 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7529 the changed signal. Fixes a small memory leak.
7531 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7535 * src/hildon-banner.c: Importing several usefull fixes from the
7536 ubuntu-mobile branch.
7538 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7540 * examples/Makefile.am:
7541 * examples/hildon-finger-example.c: Adding a finger-checking code
7544 * src/hildon-font-selection-dialog.c: Do not allocate the color
7545 structure using the g_new. Fixes NB#54061.
7547 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7549 * src/hildon-helper.c: Correcting tabs in file.
7551 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7553 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7554 control the visibility of the children.
7556 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7558 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7564 * debian/changelog: Updating.
7566 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7568 * src/hildon-bread-crumb-trail.c:
7569 (hildon_bread_crumb_trail_size_allocate):
7571 Make the back button always a square.
7573 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7575 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7576 from the .c file as it's a private file.
7578 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7580 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7581 uses slightly bigger height.
7583 * src/hildon-font-selection-dialog.c: Adding some checks before
7584 freeing memory in the font selection dialog.
7586 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7588 * src/hildon-font-selection-dialog.c: Adding a small check when
7591 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7592 buttons sensitivity on page switching.
7594 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7596 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7597 internal details of adding a bread crumb to the trail.
7599 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * debian/changelog: Updating.
7607 * src/hildon-bread-crumb-trail.h:
7608 * src/hildon-bread-crumb.h: Changing the API guard to
7609 HILDON_ENABLE_UNSTABLE_API.
7611 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7619 * src/hildon-helper.h: Updating.
7621 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7629 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7633 * src/hildon-helper.h: Small fix to make the package actually compile.
7635 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7637 * src/hildon-bread-crumb-trail.h:
7638 * src/hildon-bread-crumb.h:
7640 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7641 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7643 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7645 * examples/hildon-bread-crumb-trail-example.c:
7647 * src/hildon-bread-crumb-trail.c:
7648 * src/hildon-bread-crumb-trail.h:
7649 * src/hildon-bread-crumb.c:
7650 * src/hildon-bread-crumb.h:
7651 * src/hildon-marshalers.list:
7652 * src/hildon-bread-crumb-widget.c:
7653 * src/hildon-bread-crumb-widget.h:
7655 Slight change in the widget design. The bread crumb trail API is
7656 unchanged, but HildonBreadCrumb is now an interface. A *private*
7657 implementation, hildon-bread-crumb-widget, is provided and used
7658 internally by the trail for the push_text/push_icon functions.
7660 The generic push API is still available, so anyone can implement
7661 and use its own bread crumb widget.
7663 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7665 * debian/rules: Fixing the shlibs.
7667 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7669 * src/hildon-banner.c: Fixing a problem with timed banners having
7670 their parrent destroyed before they are.
7672 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7674 * src/hildon-bread-crumb.c:
7675 * src/hildon-bread-crumb.h:
7677 Make the get_natural_size function a vfunc.
7679 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7681 * src/hildon-bread-crumb.c:
7682 * src/hildon-bread-crumb-trail.c:
7686 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7693 * debian/changelog: Updating for release.
7695 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7697 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7698 don't leak the pango layout.
7700 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7703 * examples/hildon-bread-crumb-trail-example.c:
7707 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7709 * debian/changelog: Removing the bug-fixed entries that were actually
7710 resolved as WONTFIX.
7712 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7715 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7717 * src/hildon-bread-crumb-trail.c:
7718 * src/hildon-bread-crumb-trail.h:
7719 * src/hildon-bread-crumb.c:
7720 * src/hildon-bread-crumb.h:
7724 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7726 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7727 until it's passed the type check.
7729 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7731 * examples/hildon-bread-crumb-trail-example.c
7735 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7737 * examples/Makefile.am
7738 * examples/hildon-bread-crumb-trail-example.c
7740 * src/hildon-bread-crumb-trail.c
7741 * src/hildon-bread-crumb-trail.h
7742 * src/hildon-bread-crumb.c
7743 * src/hildon-bread-crumb.h
7745 New HildonBreadCrumbTrail widget.
7747 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7749 * src/hildon-range-editor.c (hildon_range_editor_init),
7750 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7751 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7752 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7753 hildon_time_editor_class_init, hildon_time_editor_init),
7754 src/hildon-get-password-dialog.c (invalid_input,
7755 hildon_get_password_set_property, hildon_get_password_get_property,
7756 create_contents, hildon_get_password_dialog_set_max_characters),
7757 src/hildon-set-password-dialog.c (create_contents),
7758 src/hildon-date-editor.c (hildon_date_editor_init),
7759 src/hildon-login-dialog.c (hildon_login_dialog_init),
7760 src/hildon-number-editor.c (hildon_number_editor_init),
7761 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7762 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7763 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7764 configure option and adding the respective checks in the code.
7765 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7766 hildon_calendar_drag_data_received): fixed some build warnings.
7768 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7770 * debian/changelog: A 1.0.0 release notes.