1 2009-04-20 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-note.c (hildon_note_rebuild):
4 Hide action area in information notes. Prevents text from being
5 slightly aligned to the left.
7 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
10 2009-04-20 Alberto Garcia <agarcia@igalia.com>
12 Patch by Mox Soini (ext-mox.soini@nokia.com)
14 * src/hildon-banner.c (hildon_banner_create_animation):
15 Use stylus-sized icons in animation banner.
17 Fixes: NB#111206 (stylus sized icon for animation banner)
19 2009-04-20 Alberto Garcia <agarcia@igalia.com>
23 (+hildon_gtk_window_set_do_not_disturb):
24 New API to set the do-not-disturb flag.
26 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
28 2009-04-20 Alberto Garcia <agarcia@igalia.com>
30 * examples/hildon-progress-indicator-example.c: Fix example
32 * src/hildon-gtk.c (set_clear_window_flag)
33 (hildon_gtk_window_set_progress_indicator):
34 Create a generic function for setting flags to a window.
35 Use GDK instead of direct Xlib calls.
37 2009-04-14 Alberto Garcia <agarcia@igalia.com>
39 * src/hildon-button.c (hildon_button_set_arrangement):
40 Due to NB#88126, if one of the labels is too long it will be
41 painted outside the button. The 'value' label is more likely to be
42 the longest one, so we change its packing options in order to
43 truncate it if necessary. As a side effect, the 'title' label will
44 no longer be truncated.
46 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
48 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
53 * configure.ac: Bump version.
54 * debian/changelog: Updates.
56 2009-04-13 Alejandro G. Castro <alex@igalia.com>
58 Deprecation of the hildon_pannable_area_set_size_request_policy
59 API, the only policy properly supported in gtk+ nowadays is the
62 * src/hildon-pannable-area.c,
63 (hildon_pannable_area_size_request): Added a workaround for the
64 size_request to avoid the problems of huge pixmaps in case someone
65 is still using the function.
66 * src/hildon-pannable-area.h: Deprecated the enum with the
69 Fixes: NB#110244 (Problems with the
70 hildon_pannable_area_set_size_request_policy API)
72 2009-04-08 Alejandro G. Castro <alex@igalia.com>
74 * src/hildon-pannable-area.c,
75 (hildon_pannable_area_init),
76 (hildon_pannable_area_size_request),
77 (hildon_pannable_area_style_set),
78 (hildon_pannable_draw_vscroll),
79 (hildon_pannable_draw_hscroll),
80 (hildon_pannable_area_check_scrollbars): Replaced area_width with
81 indicator_width to clarify the use of the attribute.
83 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
88 * configure.ac: Bump version.
89 * debian/changelog: Updates.
91 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
93 * src/hildon-picker-dialog.c
94 * src/hildon-touch-selector.c
95 Reverting the change that tried to avoid the hardcoded height on
96 the picker dialog, as causes problems on the hildon-touch-selector
99 Fixes: NB#110029 (selectors not scrolling to selected value)
101 2009-04-07 Alberto Garcia <agarcia@igalia.com>
103 * src/hildon-touch-selector.c: Fix typos
105 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
107 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
108 Use the event coordinates instead of gdk_window_get_pointer(). Also,
109 request more motions after using it.
111 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
113 * src/hildon-calendar.c (hildon_calendar_expose),
114 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
115 Remove unused variables.
117 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
119 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
122 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
124 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
125 Check the return value of gtk_tree_selection_get_selected()
128 2009-04-06 Alberto Garcia <agarcia@igalia.com>
130 * src/hildon-animation-actor.c
131 * src/hildon-button.c
133 * src/hildon-pannable-area.c
134 * src/hildon-picker-button.c
135 * src/hildon-program.c
136 * src/hildon-remote-texture.c
137 * src/hildon-text-view.c
138 * src/hildon-touch-selector.c
139 * src/hildon-window-stack.c
140 * src/hildon-window.c:
141 Add missing 'Since: 2.2' tags.
143 * doc/hildon-sections.txt:
144 Add some missing symbols.
146 * doc/hildon-docs.sgml:
147 New 'Other' section for HildonAnimationActor and
150 2009-04-06 Alberto Garcia <agarcia@igalia.com>
152 Patch by Iván Gómez (igomez@igalia.com)
156 * doc/hildon-docs.sgml
157 * doc/hildon-sections.txt
161 New chapters on using the Hildon library.
162 Updated the general structure of the reference manual.
163 Other minor documentation fixes.
165 * src/hildon-calendar-popup.c
166 * src/hildon-calendar.c
167 * src/hildon-controlbar.c
168 * src/hildon-date-editor.c
169 * src/hildon-dialog.c
170 * src/hildon-hvolumebar.c
171 * src/hildon-number-editor.c
172 * src/hildon-range-editor.c
173 * src/hildon-sort-dialog.c
174 * src/hildon-time-editor.c
175 * src/hildon-time-picker.c
176 * src/hildon-volumebar-range.c
177 * src/hildon-volumebar.c
178 * src/hildon-vvolumebar.c
179 * src/hildon-weekday-picker.c:
180 Add deprecation notes
182 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
183 Document 'horizontal-movement' and 'vertical-movement' signals.
185 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
190 * configure.ac: Bump version.
191 * debian/changelog: Updates.
193 2009-04-06 Alejandro G. Castro <alex@igalia.com>
195 * src/hildon-pannable-area.c,
196 (hildon_pannable_area_class_init): increased the minimum velocity.
197 (hildon_pannable_area_button_release_cb): Updated the
198 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
199 setup. Review the code to control that last event.
201 Fixes: NB#109790 (Releasing finger in pannable area easily causes
204 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
206 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
208 * src/hildon-get-password-dialog.c
209 (hildon_get_password_set_property),
210 (hildon_get_password_get_property), (create_contents):
211 * src/hildon-login-dialog-private.h:
212 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
213 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
214 (hildon_login_dialog_get_password):
215 * src/hildon-set-password-dialog-private.h:
216 * src/hildon-set-password-dialog.c
217 (hildon_set_password_set_property),
218 (hildon_set_password_get_property), (create_contents),
219 (hildon_set_password_response_change),
220 (hildon_set_password_response_set), (hildon_checkbox_toggled):
222 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
223 instead and look more Fremantle style.
225 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
227 2009-04-03 Alberto Garcia <agarcia@igalia.com>
229 * doc/hildon-sections.txt
230 * src/hildon-window-stack.h
231 * src/hildon-window-stack.c
232 (+hildon_window_stack_get_windows):
233 New API to obtain the list of windows on a stack.
235 2009-04-02 Alberto Garcia <agarcia@igalia.com>
237 * src/hildon-app-menu.c (hildon_app_menu_popup)
238 (hildon_app_menu_class_init, -hildon_app_menu_show):
239 Remove hildon_app_menu_show() and move all its checks to
240 hildon_app_menu_popup()
242 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
244 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
245 (_hildon_picker_dialog_set_selector): removed call to
246 gtk_widget_set_size_request
247 * src/hildon-touch-selector.c
248 (_create_new_column): change the pannable size request policy
250 Avoid to use a hardcoded height for the hildon picker dialog. In order
251 to get that, we needed to change the hildon pannable size request
253 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
255 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
257 * src/hildon-window.c (hildon_window_map): Check for vbox to be
258 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
261 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
263 * debian/control: Depend on osso-system-lock localization package.
264 * src/hildon-code-dialog.c: Obtain the secu_application_title
265 translation from osso-system-lock.
266 * src/hildon-get-password-dialog.c (create_contents): Do not mark
267 for translation the atk related strings, that's not necessary.
268 * src/hildon-set-password-dialog.c (create_contents): Ditto.
269 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
270 cancel button, it is not required.
272 2009-04-02 Alejandro G. Castro <alex@igalia.com>
274 * src/hildon-pannable-area.c,
275 (hildon_pannable_area_class_init): Modified the default value of
276 the overshooting max speed, we have reduced it.
278 2009-04-02 Alberto Garcia <agarcia@igalia.com>
280 * doc/hildon-sections.txt
281 * src/hildon-window-private.h
282 * src/hildon-window.h
283 * src/hildon-window.c (hildon_window_class_init)
284 (hildon_window_init, hildon_window_finalize)
285 (hildon_window_realize, hildon_window_get_property)
286 (hildon_window_set_property, hildon_window_update_markup)
287 (hildon_window_get_markup, hildon_window_set_markup):
288 New "markup" property and hildon_window_{get,set}_markup() methods.
290 * examples/hildon-stackable-window-example.c (new_window):
291 Update example to use hildon_window_set_markup()
293 Fixes: NB#106375 (Need API to retitle a window with a title
296 2009-04-01 Alejandro G. Castro <alex@igalia.com>
298 * src/hildon-pannable-area.c,
299 (hildon_pannable_area_class_init): Changed the default value of
300 the initial_hint to TRUE.
301 (hildon_pannable_area_initial_effect): Changed the initial effect,
302 not the effect is just the fade-out of the scrollbars.
304 Fixes: NB#107775 (No scrollbars can be seen when several items are
305 available in a dialog)
307 2009-04-01 Alberto Garcia <agarcia@igalia.com>
309 * src/hildon-program.c (hildon_program_update_top_most):
312 Fixes: NB#109179 (Memory leak in Hildon program)
314 2009-04-01 Alberto Garcia <agarcia@igalia.com>
316 * src/hildon-banner.c (-get_current_app_window):
317 Remove unused function.
319 2009-04-01 Alejandro G. Castro <alex@igalia.com>
321 * src/hildon-pannable-area.c: Modified the documentation of the
322 get adjustments functions to explain the problem of using the
324 (hildon_pannable_area_class_init): Improved the explanation about
327 2009-04-01 Alberto Garcia <agarcia@igalia.com>
329 * src/hildon-app-menu-private.h
330 * src/hildon-app-menu.c
331 (hildon_app_menu_class_init):
332 Bring back the 'external-border' style property
333 (hildon_app_menu_class_init, hildon_app_menu_init)
334 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
335 Set a fixed width-request for the menu, independent of the number
338 Fixes: NB#94957 (Smoothly opened application menu)
340 2009-03-30 Alberto Garcia <agarcia@igalia.com>
342 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
344 * src/hildon-banner.c
345 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
347 Make sure that the banner is correctly placed the first time it's
349 (hildon_banner_check_position, -check_fullscreen_state):
350 Show the banner in the same place no matter if the window is in
351 fullscreen mode or not.
353 Fixes: NB#107386 (Odd stacking behaviour for information banners)
355 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
357 * src/hildon-touch-selector.c (_default_print_func): reorder
358 concatenation for clarity.
360 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
362 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
363 for multicolumn selectors.
365 Fixes: NB#109099 (Memory leak in Hildon touch selector)
367 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
372 * configure.ac: Bump version.
373 * debian/changelog: Updates.
375 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
377 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
380 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
382 * configure.ac: removed libcangerra-gtk dependency
383 * debian/control: removed libcanberra-gtk dependency
384 * src/Makefile.am: removed libcanberra gtk related flags
385 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
386 context, and manage a global canberra context instead
388 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
390 2009-03-26 Alberto Garcia <agarcia@igalia.com>
392 Patch by Daniel Borgmann (danielb@openismus.com)
394 * src/hildon-edit-toolbar.c:
395 Adjust the left padding.
396 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
397 Paint background of the edit toolbar.
399 Fixes: NB#107897 (Patch to make editmodetoolbar background
400 themeable and adjust margin)
402 2009-03-25 Alberto Garcia <agarcia@igalia.com>
404 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
406 * src/hildon-program.c (hildon_program_update_top_most):
407 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
409 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
410 change when the user tasks in/out of an application)
412 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
414 * configure.ac: added libcangerra-gtk dependency
415 * debian/control: added libcanberra-gtk dependency
416 * src/Makefile.am: added libcanberra gtk related flags
417 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
420 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
422 2009-03-25 Alberto Garcia <agarcia@igalia.com>
424 * src/hildon-program.c (hildon_program_remove_window)
425 (hildon_program_add_window): Add checks for the window
426 parameter. Don't decrease the window counter if the window is not
429 2009-03-24 Alejandro G. Castro <alex@igalia.com>
431 * src/hildon-pannable-area.c,
432 (hildon_pannable_area_realize): Fixed position of the event_window
433 in the realize method.
435 2009-03-24 Alberto Garcia <agarcia@igalia.com>
437 * src/hildon-app-menu-private.h
438 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
439 (hildon_app_menu_map, hildon_app_menu_hide_idle)
440 (hildon_app_menu_key_press, hildon_app_menu_init)
441 (hildon_app_menu_finalize):
442 Make sure that all idle functions are removed when the widget is
445 Fixes: NB#107583 (Hildon app menu crashes in various applications)
447 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
452 * configure.ac: Bump version.
453 * debian/changelog: Updates.
455 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
458 (+hildon_entry_show_placeholder),
459 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
460 that replace hildon_entry_update_contents().
461 (hildon_entry_set_text),
462 (hildon_entry_set_placeholder),
463 (hildon_entry_focus_in_event),
464 (hildon_entry_focus_out_event): Determine when it is needed
465 either to show or hide the placeholder and call the above methods.
467 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
468 when the placeholder text is already set)
470 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
472 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
473 simple GdkPixbufAnim using the new icons for the banner.
474 (hildon_banner_show_animation): Use the above mentioned method to
475 create the animation widget.
477 Fixes: NB#103564 (Make hildon animation banner use individual
478 image files as the animation)
480 2009-03-24 Alejandro G. Castro <alex@igalia.com>
482 * src/hildon-pannable-area.c,
483 (hildon_pannable_leave_notify_event): Check if the child is NULL
484 to avoid sending the leave.
486 2009-03-24 Alejandro G. Castro <alex@igalia.com>
488 * src/hildon-pannable-area.c,
489 (hildon_pannable_area_class_init),
490 (hildon_pannable_leave_notify_event): Added a handler of the
491 leave-notify-signal to consider when no motion notify before
494 Fixes: NB#107494 (Items stay selected when clicking and moving
495 away when inside pannable area)
497 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
502 * configure.ac: Bump version.
503 * debian/changelog: Updates.
505 2009-03-19 Alejandro G. Castro <alex@igalia.com>
507 Patch by Alberto Garcia (agarcia@igalia.com)
509 * src/hildon-date-button.c,
510 (hildon_date_button_class_init),
511 (hildon_date_button_init): Removed the construct property handling
512 and created a default selector in the init method.
513 * src/hildon-picker-button.c,
514 (hildon_picker_button_class_init): Removed the construct flag of the
517 2009-03-18 Alberto Garcia <agarcia@igalia.com>
519 * src/hildon-main.c (hildon_init):
520 Don't allow hildon_init() to be called more than once.
522 Fixes: NB#106607 (hildon_init should issue error message upon
525 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
527 * examples/hildon-pannable-area-touch-list-example.c
528 * examples/hildon-pannagle-area-touch-grid-example.c
529 * examples/hildon-edit-toolbar-example.c
530 * examples/hildon-touch-selector-multi-cells-example.c
531 Removed the call to gtk_rc_parse_string, as it is not required since
534 2009-03-17 Alejandro G. Castro <alex@igalia.com>
536 * src/hildon-pannable-area.c,
537 (hildon_pannable_area_class_init): Modified the default panning
538 threshold of the widget to 6px.
540 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
541 than the threshold value ) within the button is not sending the
544 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
546 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
547 for the treeview in the new column. This way, the touch list will never
550 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
551 be selected manually for the HW keys to work)
553 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
555 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
556 comparison instead of using strcmp(). Fixes a compiler warning as well.
558 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
560 * doc/hildon-docs.sgml: Do not set the library version in the
561 document title, use the releaseinfo tag for that purpose instead.
563 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
565 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
566 Do not jump to the first item if the text in the entry is removed.
568 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
573 * configure.ac: Bump version.
574 * debian/changelog: Updates.
576 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
578 * src/hildon-entry.c (hildon_entry_refresh_contents):
579 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
580 Use "ReversedSecondaryTextColor" for the placeholder text.
582 2009-03-12 Alberto Garcia <agarcia@igalia.com>
584 * src/hildon-text-view.c: Fix compilation warning.
586 2009-03-12 Alberto Garcia <agarcia@igalia.com>
588 * src/hildon-button.c (hildon_button_class_init): Don't make
589 "title" and "value" construction properties, to prevent them from
590 overwriting labels set from derived classes.
592 * src/hildon-picker-button.c
593 (hildon_picker_button_set_selector): Allow setting a NULL selector.
594 (hildon_picker_button_class_init): Make touch-selector a
595 construction property.
597 * src/hildon-date-button.c (hildon_date_button_class_init)
598 (+hildon_date_button_constructed): Add a default date selector if
601 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
603 * src/hildon-touch-selector.c: Small documentation fixes.
605 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
607 Based on a patch by Daniel Borgmann (danielb@openismus.com)
609 * src/hildon-entry.c (hildon_entry_refresh_contents),
610 (hildon_entry_get_text), (hildon_entry_init): Do not use the
611 widget name, set the logical color directly instead and a boolean
612 showing_placeholder instead.
613 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
614 use the widget name here either.
616 Fixes: NB#105678 (HildonTextView should use logical colours
617 instead of setting widget name)
619 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
621 Patch by Daniel Elster (danielk@openismus.com)
623 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
624 Add user_data parameter.
625 (hildon_touch_selector_set_print_func_full): New function akin
626 hildon_touch_selector_set_print_func() but with support for user
627 data and a destroy callback.
628 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
629 to clean up the print function user data.
630 (hildon_touch_selector_class_init): Install dispose function.
631 (HildonTouchSelectorPrivate::print_user_data),
632 (HildonTouchSelectorPrivate::print_destroy_func): New private
634 (hildon_touch_selector_init): Initialize new private members.
635 (hildon_touch_selector_get_current_text): Pass along user data
636 to the print function.
637 (_default_print_func): Add dummy user_data to parameter list.
638 * hildon-date-selector.c (_custom_print_func): ditto,
639 * hildon-time-selector.c (_custom_print_func): ditto,
640 * hildon-touch-selector-entry.c
641 (hildon_touch_selector_entry_print_func): ditto.
643 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
645 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
647 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
649 2009-03-12 Alejandro G. Castro <alex@igalia.com>
651 * src/hildon-pannable-area.c,
652 (hildon_pannable_area_init),
653 (hildon_pannable_area_button_press_cb),
654 (hildon_pannable_area_motion_notify_cb): We have added code to
655 handle the leave and enter events when using the motion events.
657 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
659 2009-03-11 Alberto Garcia <agarcia@igalia.com>
661 * src/hildon-date-button.c (hildon_date_button_get_date)
662 (hildon_date_button_set_date): Make sure that the button has a
665 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
667 2009-03-11 Alejandro G. Castro <alex@igalia.com>
669 * src/hildon-pannable-area.c,
670 (hildon_pannable_area_class_init),
671 (hildon_pannable_area_calculate_velocity): Modify the use of the
672 force and adapt the value.
674 2009-03-10 Alberto Garcia <agarcia@igalia.com>
676 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
677 (hildon_app_menu_class_init): Hide the menu if it receives a
678 delete-event, but don't destroy it
680 Fixes: NB#104485 (Not able to address the call when application
681 menu is opened at background)
683 2009-03-10 Alberto Garcia <agarcia@igalia.com>
685 * src/hildon-app-menu.c
686 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
687 Remove the "external-border" style property, let the menu take its
688 natural size (or the one set by the window manager)
689 (hildon_app_menu_repack_items):
690 Don't reshow the menu, avoid flickers.
692 Partially fixes NB#94957 (Smoothly opened application menu)
694 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
699 * configure.ac: Bump version.
700 * debian/changelog: Updates.
702 2009-03-10 Alejandro G. Castro <alex@igalia.com>
704 * src/hildon-pannable-area.c,
705 (hildon_pannable_area_motion_notify_cb): We control that the
706 direction error margin is used just in case the movement is
707 allowed in the other direction.
709 Fixes: NB#105012 (buttons inside a pannable area not getting
710 release event when dragging/releasing)
712 2009-03-10 Alejandro G. Castro <alex@igalia.com>
714 * src/hildon-pannable-area.c,
715 (hildon_pannable_area_class_init),
716 (hildon_pannable_area_get_property),
717 (hildon_pannable_area_set_property),
718 (hildon_pannable_area_initial_effect),
719 (hildon_pannable_axis_scroll),
720 (hildon_pannable_area_button_release_cb): Reviewed the
721 overshooting effect, now it has its own max
722 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
725 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
730 * configure.ac: Bump version.
731 * debian/changelog: Updates.
733 2009-03-09 Alejandro G. Castro <alex@igalia.com>
735 * src/hildon-pannable-area.c,
736 (hildon_pannable_area_class_init): Changed the max speed, now
737 users can launch the widget very fast. Reduced the default force,
738 that way it is easier to control the launch speed.
740 2009-03-09 Alejandro G. Castro <alex@igalia.com>
742 * src/hildon-pannable-area.c,
743 (hildon_pannable_area_button_release_cb): Removed this check
744 because it causes problems when the device is overloaded.
746 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
748 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
749 add a current_text field to store the text entered in the
750 touch selector entry.
751 (_clean_current_selection): clean up the current text as well.
752 (_save_current_selection), (_restore_current_selection):
753 Save/restore the text in the entry if the selector is a
754 HildonTouchSelectorEntry.
756 Fixes: NB#102541 (value entered in the touch selector entry is not
757 shown when opened for second time)
759 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
761 * doc/hildon-sections.txt:
762 * src/hildon-touch-selector-entry.c
763 (+hildon_touch_selector_entry_get_entry):
764 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
766 Fixes: NB#104815 (I need accessor to the entry inside
767 HildonTouchSelectorEntry)
769 2009-03-06 Alberto Garcia <agarcia@igalia.com>
771 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
772 (hildon_app_menu_class_init):
773 New "filter-vertical-spacing" style property.
775 2009-03-06 Alberto Garcia <agarcia@igalia.com>
777 * src/hildon-find-toolbar.c
778 (hildon_find_toolbar_emit_close)
779 (hildon_find_toolbar_emit_invalid_input)
780 (hildon_find_toolbar_entry_activate):
781 Use g_signal_emit() instead of g_signal_emit_by_name()
783 2009-03-06 Alberto Garcia <agarcia@igalia.com>
785 Patch by Mox Soini (ext-mox.soini@nokia.com)
787 * tests/TEST-CASES.txt
788 * tests/check-hildon-banner.c
789 * tests/check-hildon-note.c
790 * src/hildon-banner.c
791 * src/hildon-code-dialog.c
792 * src/hildon-date-editor.c (real_set_calendar_icon_state)
793 * src/hildon-time-editor.c
794 * examples/hildon-lookup-example.c (main):
795 Replace obsolete icon names with new ones.
797 * src/hildon-find-toolbar-private.h:
798 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
799 (-hildon_find_toolbar_emit_search):
800 Remove find button and change icon of close button.
802 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
804 2009-03-05 Alberto Garcia <agarcia@igalia.com>
806 * src/hildon-time-button.c (hildon_time_button_new_step):
807 Use the "touch-selector" property to set the selector directly
808 when creating the object.
810 2009-03-05 Alejandro G. Castro <alex@igalia.com>
812 Added a new example application that allows tuning the pannable
813 area and replaced defines with properties in order to simplify the
814 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
815 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
816 PROP_DIRECTION_ERROR_MARGIN.
818 * examples/hildon-pannable-area-tuning-example.c: New example
820 * src/hildon-pannable-area.c,
821 (hildon_pannable_area_class_init),
822 (hildon_pannable_area_init),
823 (hildon_pannable_area_get_property),
824 (hildon_pannable_area_set_property),
825 (hildon_pannable_area_launch_fade_timeout),
826 (hildon_pannable_area_adjust_value_changed),
827 (hildon_pannable_axis_scroll),
828 (hildon_pannable_area_motion_notify_cb),
829 (hildon_pannable_area_scroll_cb),
830 (hildon_pannable_area_button_release_cb): We have converted some
831 of the defines that control the widget to properties to simplify
834 2009-03-05 Alberto Garcia <agarcia@igalia.com>
836 * src/hildon-app-menu.c (hildon_app_menu_map)
837 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
838 so it's closed if a new window appears.
840 Fixes: NB#104485 (Not able to address the call when application
841 menu is opened at background)
843 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
845 * src/hildon-color-button.c (hildon_color_button_get_property):Add
846 missing 'break' statement in in 'case' construct to avoid
849 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
851 * src/hildon-touch-selector-entry.c
852 (hildon_touch_selector_entry_get_property),
853 (hildon_touch_selector_entry_set_property): Add missing 'break'
854 statements in in 'case' constructs to avoid incorrect warnings.
856 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
858 * src/hildon-time-editor.c
859 (hildon_time_editor_get_time_separators): Do not crash if
860 the first label is NULL.
862 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
864 * src/hildon-date-selector.c (_month_days): Check for month to be
865 strictly less than 12, since otherwise we may overrun the array.
867 2009-03-04 Alberto Garcia <agarcia@igalia.com>
869 * src/hildon-date-button.c (+hildon_date_button_new_full)
870 (hildon_date_button_new, hildon_date_button_new_with_year_range)
871 (hildon_date_button_init): Set the date selector using a
872 construction property, to make it happen after HildonButton's
873 "value" property is set.
875 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
876 current date by default)
878 2009-03-04 Alberto Garcia <agarcia@igalia.com>
880 * doc/hildon-sections.txt
881 * src/hildon-program.c
882 * src/hildon-stackable-window.c
883 * src/hildon-window.c:
884 Documentation updates
886 2009-03-04 Alberto Garcia <agarcia@igalia.com>
888 * src/hildon-window-stack.c (hildon_window_stack_get_default)
889 (hildon_window_stack_new, +hildon_window_stack_set_property)
890 (+hildon_window_stack_get_property)
891 (hildon_window_stack_class_init)
892 (+hildon_window_stack_set_window_group)
893 (+hildon_window_stack_get_window_group):
894 Make the window group a construction property.
896 2009-03-04 Alberto Garcia <agarcia@igalia.com>
898 * doc/hildon-sections.txt
899 * src/hildon-stackable-window-private.h
900 * src/hildon-stackable-window.h
901 * src/hildon-stackable-window.c
902 (-hildon_stackable_window_set_app_menu)
903 (-hildon_stackable_window_get_app_menu)
904 (-hildon_stackable_window_toggle_menu)
905 (-hildon_stackable_window_finalize)
906 (hildon_stackable_window_class_init)
907 (hildon_stackable_window_init)
908 * src/hildon-window-private.h
909 * src/hildon-window.h
910 * src/hildon-window.c (hildon_window_init)
911 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
912 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
913 (hildon_window_get_main_menu, hildon_window_set_main_menu)
914 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
915 Moved all HildonAppMenu code to HildonWindow. The menu does not
916 require a HildonStackableWindow anymore.
918 * src/hildon-app-menu.c
919 * src/hildon-program.c
920 * examples/hildon-app-menu-example.c (main):
921 Update examples and documentation to reflect HildonAppMenu
924 2009-03-04 Alberto Garcia <agarcia@igalia.com>
926 * src/hildon-remote-texture.c
927 * src/hildon-animation-actor.c:
928 Don't include unused private headers.
930 2009-03-04 Alberto Garcia <agarcia@igalia.com>
932 * src/hildon-program-private.h
933 * src/hildon-program.c
934 (hildon_program_set_common_menu)
935 (hildon_program_get_common_menu)
936 (hildon_program_set_common_app_menu)
937 (hildon_program_get_common_app_menu):
938 Change common menu pointers from GtkWidget* to GtkMenu* and
939 HildonAppMenu* to avoid unnecessary casts.
941 2009-03-03 Alberto Garcia <agarcia@igalia.com>
943 * src/hildon-window.c (hildon_window_set_main_menu):
944 Removed incorrect 'Since:' tag
946 2009-03-03 Alejandro G. Castro <alex@igalia.com>
948 * src/hildon-pannable-area.c,
949 (hildon_pannable_area_calculate_velocity): We use now the
950 RATIO_TOLERANCE here to check the distance, fixed typo in the
952 (hildon_pannable_area_motion_notify_cb): We have to set the type
953 and time even if we are not sending the motion.
955 2009-03-02 Alberto Garcia <agarcia@igalia.com>
957 * doc/hildon-sections.txt
958 * src/hildon-app-menu.h
959 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
960 (+hildon_app_menu_get_filters): New methods to get the contents of
963 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
966 2009-03-02 Alberto Garcia <agarcia@igalia.com>
968 * src/hildon-app-menu.c (hildon_app_menu_popup):
971 2009-03-02 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-window.h
974 * src/hildon-window.c (+hildon_window_get_main_menu)
975 (hildon_window_get_menu): Created hildon_window_get_main_menu()
976 and deprecated hildon_window_get_menu().
978 * src/hildon-stackable-window.h
979 * src/hildon-stackable-window.c
980 (+hildon_stackable_window_set_app_menu)
981 (+hildon_stackable_window_get_app_menu)
982 (hildon_stackable_window_set_main_menu): Created
983 hildon_stackable_window_{get,set}_app_menu() and deprecated
984 hildon_stackable_window_set_main_menu().
986 * doc/hildon-sections.txt
987 * examples/hildon-app-menu-example.c (main)
988 * src/hildon-app-menu.c
989 * src/hildon-program.c:
990 Updated examples and documentation.
992 Fixes: NB#103758 (No way to obtain a menu from a
993 HildonStackableWindow)
995 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1000 * configure.ac: Bump version.
1001 * debian/changelog: Updates.
1003 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1005 * examples/hildon-remote-texture-example.c: Include
1006 hildon-remote-texture.h explicitely.
1007 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1008 applications not defining _XOPEN_SOURCE which don't require this header.
1010 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1012 * doc/hildon-sections.txt
1013 * src/hildon-app-menu.h
1014 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1015 New function to pop up a HildonAppMenu
1017 * src/hildon-stackable-window.c
1018 (hildon_stackable_window_toggle_menu):
1019 Use hildon_app_menu_popup() to show the menu.
1021 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1023 * src/hildon-app-menu.c (hildon_app_menu_show)
1024 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1025 menu if there's another window between it and its parent window.
1027 Fixes: NB#100468 (Application menu window is launched even when a
1028 new secondary-window/dialog is pending to be shown/realized)
1030 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1032 * src/hildon-window-stack.c (hildon_window_stack_push)
1033 (hildon_window_stack_pop_and_push):
1034 Don't forget to push/pop the first window.
1035 Reverse the window list before calling _push_list()
1037 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1039 * src/hildon-picker-button.h
1040 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1041 Remove "value_changed" slot to avoid ABI breakage
1043 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1045 * src/hildon-pannable-area.c,
1046 (hildon_pannable_area_realize),
1047 (hildon_pannable_area_unrealize),
1048 (hildon_pannable_draw_vscroll),
1049 (hildon_pannable_draw_hscroll): Changed the method to handle the
1050 GC used to draw the transparent scrollbar, this way we avoid
1051 creating the GC all the time when drawing the scrollbars.
1053 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1055 * src/hildon-pannable-area.c,
1056 (hildon_pannable_area_init),
1057 (hildon_pannable_area_remove): Removed some unnecessary casts.
1058 (hildon_pannable_area_dispose): Disconnected some signals before
1059 releasing the adjustments.
1061 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1063 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1064 Make sure that all widgets contained in the toolbar are shown.
1066 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1068 * doc/hildon-sections.txt
1069 * src/hildon-picker-button.h
1070 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1071 (_selection_changed, hildon_picker_button_on_dialog_response)
1072 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1073 New hildon_picker_button_value_changed() method.
1076 * src/hildon-picker-button-private.h
1077 * src/hildon-picker-button.c (hildon_picker_button_init)
1078 (+hildon_picker_button_disable_value_changed): Add protected
1079 function for disabling the "value-changed" signal.
1081 * src/hildon-date-button.c (hildon_date_button_set_date):
1082 Don't emit "value-changed" for each one of the three columns.
1084 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1085 before actual change of values)
1087 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1089 * src/hildon-pannable-area.c,
1090 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1091 for the treeview overshooting.
1093 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1095 * src/hildon-banner.c (+hildon_banner_bind_style):
1096 Renamed from hildon_banner_bind_label_style(), now naming the
1097 banner itself as well.
1098 (hildon_banner_show_information),
1099 (hildon_banner_show_information_with_markup),
1100 (hildon_banner_show_animation), (hildon_banner_show_progress):
1101 Name the widgets and labels, based on their type.
1103 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1106 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1108 * src/hildon-note.c (hildon_note_set_property): call
1109 hildon_note_rename() on HildonNote:note-type set.
1110 (hildon_note_rename): Name the note and its label, based on the
1111 HildonNote:note-type property.
1113 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1116 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1118 * src/hildon-pannable-area.c,
1119 (hildon_pannable_area_class_init),
1120 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1121 panning parameters, increased SPS and deceleration factor. Added
1122 also a margin to control fake directions.
1124 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1126 Patch by Sven Herzberg (sven@imendio.com)
1128 * configure.ac: Add missing AM_PROG_CC_C_0
1129 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1131 See NB#101420 (Update unit tests and fix make check)
1133 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1135 This patch was applied before but reverted because it caused
1136 problems, we have changed the main condition and tested the
1137 regressions we detected before and they work ok. We have done a
1138 complete review of the topmost algorithm in order to get a more
1141 * src/hildon-pannable-area.c,
1142 (hildon_pannable_area_get_topmost): Added a new parameter to
1143 filter the the windows that do not include those events.
1144 (hildon_pannable_area_button_press_cb),
1145 (hildon_pannable_area_button_release_cb),
1146 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1147 topmost function, we have added the new parameter.
1149 Fixes: NB#97458 (Pannable area prevents propagation of button
1152 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1154 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1155 if all columns in the selector have an item selected.
1156 (_on_dialog_response): Stop "response" signal emission if there is
1157 any selector column without selected items.
1159 Fixes: NB#101889 (Picker dialog should not close when nothing is
1160 selected in multiple selection list)
1162 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1164 * src/hildon-font-selection-dialog.c
1165 (hildon_font_selection_dialog_class_init),
1166 (hildon_font_selection_dialog_init): Remove the preview
1167 button and dialog, since previewing with default theming is likely
1168 to be overcomplicated. The :preview property has now no effect.
1169 Update documentation blurbs to inform about this.
1171 Fixes: NB#92297 (Preview content is not clearly visible for
1172 default colour text)
1174 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1176 Reviewed the geometry that handles the children size and
1177 scrollbar, now it tries a size and reviews the results depending
1178 on the scrollbars visibility.
1180 * src/hildon-pannable-area.c,
1181 (hildon_pannable_area_realize): Fixed a typo.
1182 (hildon_pannable_area_child_allocate_calculate): Added this
1183 function to calculate the child allocation.
1184 (hildon_pannable_area_size_allocate): Reviewed the allocation
1186 (hildon_pannable_area_check_scrollbars),
1187 (hildon_pannable_area_refresh): Refactored refresh function, this
1188 way we can call the code handling the scrollbars without causing a
1189 size_request, it is interesting in the allocate.
1190 (hildon_pannable_area_init): Replace the callbacks of the
1191 value_changed and changed signals to propertly deal with the
1193 (hildon_pannable_area_grab_notify),
1194 (hildon_pannable_area_initial_effect),
1195 (hildon_pannable_area_launch_fade_timeout),
1196 (hildon_pannable_area_adjust_changed),
1197 (hildon_pannable_area_adjust_value_changed),
1198 (hildon_pannable_area_redraw),
1199 (hildon_pannable_area_button_press_cb),
1200 (hildon_pannable_area_button_release_cb),
1201 (hildon_pannable_area_scroll_cb),
1202 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1203 code and use the new functions adjust_changed and
1204 adjust_value_changed.
1206 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1207 Contact editor dialog)
1209 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1214 * configure.ac: Bump version.
1215 * debian/changelog: Updates.
1217 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1219 * src/hildon-pannable-area.c,
1220 (hildon_pannable_area_get_topmost),
1221 (hildon_pannable_area_button_press_cb),
1222 (hildon_pannable_area_button_release_cb),
1223 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1224 topmost function adding the event mask. We have to try a
1225 differente approach because it is still causing problems (NB#9745,
1228 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1230 * src/hildon-banner.c:
1231 Update the maximum width of timed banners.
1232 (force_to_wrap_truncated): Enforce the maximum text width if the
1235 Fixes: NB#102413 (The text margins (wrapping) in information
1236 banner should be HILDON_MARGIN_TRIPLE)
1238 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1240 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1242 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1243 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1244 bound when calculating the scroll indicator position.
1246 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1247 treat ->lower correctly)
1249 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1251 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1252 expose event handling, since it is not necessary to draw the focus
1255 Fixes: NB#102467 (Do not show highlight on the text in
1258 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1260 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1261 full height of the toolbar for the button and the label.
1263 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1265 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1266 padding before the label and after the button.
1268 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1270 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1272 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1273 Add a GtkVSeparator between the button and the back arrow.
1274 Let the button have automatic size.
1275 Set a name to the widget for theming handling.
1277 Fixes: NB#101793 (Make edit toolbar the same height as window
1278 title bar (use title area theming))
1280 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1282 * src/hildon-helper.c (attach_new_color_element): Fix memory
1285 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1287 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1289 * examples/hildon-button-example.c (common_buttons_window): Don't
1292 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1294 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1295 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1297 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1299 * src/hildon-gtk.c: Check that the window is realized.
1301 Fixes: NB#102225 (Crash setting the progress indicator to a non
1304 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1306 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1307 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1308 instead of modifying the one in the widget style.
1310 Fixes: NB#101043 (Second row of all the command button are
1311 displayed in transparent mode.)
1313 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1315 * src/hildon-date-button.c
1316 * src/hildon-time-button.c: Add gettext macros
1318 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1320 * src/hildon-date-button.c (hildon_date_button_new):
1321 * src/hildon-time-button.c (hildon_time_button_new_step):
1322 Use new logical strings to set the button default title.
1324 Fixes: NB#99915 (Date and Time options are not localised in Date
1327 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1329 * src/hildon-pannable-area.c
1330 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1331 the PANNING_THRESHOLD.
1333 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1335 * src/hildon-pannable-area.c,
1336 (hildon_pannable_area_class_init): Increased the maximum speed.
1337 (hildon_pannable_area_get_property),
1338 (hildon_pannable_area_set_property),
1339 (hildon_pannable_area_timeout): Added a new low friction mode, it
1340 allows the user avoid friction when launching the widget fast
1341 enough. It is interesting to traverse long lists.
1343 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1346 (+hildon_stackable_window_delete_event): Ignore delete events if
1347 the window is not the topmost one.
1349 Fixes: NB#101698 (Back button long press and delete-event handling)
1351 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1353 * src/hildon-pannable-area.c,
1354 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1355 gtk-dnd-drag-threshold, it was too big. We have defined our own
1356 dnd define and set a smaller value: PANNIG_THRESHOLD.
1358 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1360 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1361 user-defined icons, use always the default one.
1363 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1365 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1367 This patch was applied before but reverted because it caused
1368 problems, we have changed the main condition and tested the
1369 regressions we detected before and they work ok.
1371 * src/hildon-pannable-area.c,
1372 (hildon_pannable_area_get_topmost): Added a new parameter to
1373 filter the the windows that do not include those events. Added
1374 also a condition when finding the window to filter windows that do
1375 not ask for those events.
1376 (hildon_pannable_area_button_press_cb),
1377 (hildon_pannable_area_button_release_cb),
1378 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1379 topmost function, we have added the new parameter.
1381 Fixes: NB#97458 (Pannable area prevents propagation of button
1384 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1386 * tests/check-hildon-color-button.c (START_TEST): do not leak
1389 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1391 * src/hildon-font-selection-dialog.c
1392 (hildon_font_selection_dialog_get_preview_text): Return NULL
1393 instead of FALSE on the g_return_val_if_fail().
1395 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1397 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1398 * src/hildon-date-selector.c
1399 (hildon_date_selector_select_current_date):
1400 Do not compare unsigned integers to be greater than or equal 0,
1401 because it's always TRUE.
1403 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1405 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1406 (hildon_date_selector_constructor): Do not select the current
1407 date until we are handle the "changed" signal, to avoid having bogus
1408 elements in the days model.
1410 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1412 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1413 for num_days, since _month_days() can return a negative value.
1415 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-caption.c (hildon_caption_size_allocate):
1418 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1419 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1421 Initialize allocation variables to 0, to avoid eventually using
1422 unitialized variables.
1424 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1426 * src/hildon-bread-crumb-trail.c
1427 (hildon_bread_crumb_trail_size_allocate):
1428 * src/hildon-calendar.c (hildon_calendar_set_background):
1429 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1430 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1431 * src/hildon-seekbar.c (hildon_seekbar_init):
1432 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1433 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1434 * src/hildon-touch-selector-entry.c
1435 (hildon_touch_selector_get_text_from_model):
1436 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1437 * src/hildon-window.c (hildon_window_finalize):
1439 Remove many unused variables.
1441 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1443 * src/hildon-seekbar.c: (hildon_seekbar_init),
1444 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1446 Remove unnecessary g_assert() calls.
1448 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1450 * src/hildon-caption.c: (hildon_caption_expose),
1451 (hildon_caption_set_property), (hildon_caption_init),
1452 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1453 (hildon_caption_size_request), (hildon_caption_size_allocate),
1454 (hildon_caption_forall), (hildon_caption_set_separator),
1455 (hildon_caption_activate), (hildon_caption_set_child_expand),
1456 (hildon_caption_set_label_text),
1457 (hildon_caption_get_label_alignment):
1459 Remove unnecessary g_assert() calls.
1461 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1463 * src/hildon-banner.c
1464 (hildon_banner_map, hildon_banner_init): Make banner temporary
1465 before mapping it to avoid closing other temporary windows, but
1466 make it non-temporary afterwards to avoid being closed by other
1467 non-temporary windows.
1468 (-hildon_banner_client_event, hildon_banner_init):
1469 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1471 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1474 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1479 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1481 * src/hildon-remote-texture.c
1482 * src/hildon-remote-texture.h
1483 * src/hildon-remote-texture-private.h
1484 * examples/hildon-remote-texture-example.c:
1485 Updates/fixes to remote-texture and its example.
1487 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1489 Patch by Mox Soini (ext-mox.soini@nokia.com)
1491 * src/hildon-code-dialog.c: Update logical id.
1492 * src/hildon-set-password-dialog.c: Update logical id.
1494 Fixes: NB#100646 (Logical strings is shown for ok in set
1495 password,Password needed dialogs)
1497 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1500 * src/hildon-remote-texture.c
1501 * src/hildon-remote-texture.h
1502 * src/hildon-remote-texture-private.h
1504 Added remote texture widget (for Clutter shared memory textures)
1506 * examples/hildon-remote-texture-example.c
1507 * examples/Makefile.am
1508 Added example file for remote texture usage
1510 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1512 * configure.ac: post release version bump.
1513 * debian/changelog: version bump.
1515 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1520 * configure.ac: Bump version.
1521 * debian/changelog: Updates.
1523 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1525 * src/hildon-date-selector.c (hildon_date_selector_init)
1526 (hildon_date_selector_constructor): Don't connect to the "changed"
1527 signal until the selector is completely constructed.
1529 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1531 * src/hildon-touch-selector.c: (_create_new_column),
1532 (hildon_touch_selector_append_column),
1533 (hildon_touch_selector_set_column_selection_mode),
1534 (hildon_touch_selector_set_active),
1535 (hildon_touch_selector_select_iter):
1536 Emit the HildonTouchSelector::changed signal every time selection
1537 is changed in any of the methods above. This behavior was already
1538 documented but not fully functional.
1540 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1541 selection is programmatically changed)
1543 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1545 * doc/hildon-sections.txt: Remove obsolete icon
1546 sizes from here as well.
1548 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1550 * examples/hildon-stackable-window-example.c (add_window): Remove
1553 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-app-menu.c
1556 (hildon_app_menu_show): Check whether the parent window of a menu
1557 is topmost before popping it up.
1559 Fixes: NB#100468 (Application menu window is launched even when a
1560 new secondary-window/dialog is pending to be shown/realized.)
1562 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1564 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1567 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1569 Patch by Mox Soini (ext-mox.soini@nokia.com)
1571 * src/hildon-banner.c: (hildon_banner_show_animation):
1572 use stylus size instead of obsolete note size.
1573 * src/hildon-defines.h: Update icon sizes.
1575 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1577 * src/hildon-touch-selector-entry.c:
1578 (hildon_touch_selector_entry_init): Disable unsupported
1580 (hildon_touch_selector_entry_get_text_column): Emit a warning
1581 if an unsupported input modes is used and explicitile state
1582 these modes in the documentation.
1584 Fixes: NB#99802 (Hildon touch selector entry not working properly
1585 for some of the input modes)
1587 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1589 * src/hildon-pannable-area.c,
1590 (hildon_pannable_area_init): Added the changed signal handlers of
1593 Fixes: NB#100320 (HildonPannableArea does not listen to
1594 GtkAdjustment "change" signals)
1596 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1598 * doc/hildon-sections.txt
1599 * src/hildon-window-private.h
1600 * src/hildon-window.h
1601 * src/hildon-window.c (hildon_window_init)
1602 (hildon_window_realize, hildon_window_unrealize)
1603 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1604 (hildon_window_size_request, hildon_window_size_allocate)
1605 (hildon_window_forall, hildon_window_show_all)
1606 (hildon_window_destroy, +paint_edit_toolbar)
1607 (+hildon_window_set_edit_toolbar):
1608 New hildon_window_set_edit_toolbar() method, to add a
1609 HildonEditToolbar to a window without having to pack it manually.
1611 Reorganize hildon_window_size_allocate()
1613 * src/hildon-edit-toolbar.c: Update documentation.
1615 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1616 example to use the new API.
1618 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1620 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1622 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1623 Remove from stack before calling parent's hide.
1625 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1627 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1628 window is removed from the middle of the stack, update the
1629 transiency of the previous one.
1631 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1634 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1637 block/unblock the signal handler if it's not actually being used.
1638 Fixes some critical warnings.
1640 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1642 Based on a patch by Iván Gómez (igomez@igalia.com)
1644 * src/hildon-banner.c
1648 * src/hildon-pannable-area.c
1649 * src/hildon-picker-dialog.c
1650 * src/hildon-wizard-dialog.h
1651 * src/hildon-wizard-dialog.c: Documentation updates.
1653 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1654 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1656 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1658 * configure.ac: post release version bump.
1659 * debian/changelog: version bump.
1661 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1666 * configure.ac: Bump version.
1667 * debian/changelog: Updates.
1669 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1671 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1672 a stock icon nor change the relief of the back arrow.
1674 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1675 graphics from theme)
1677 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1679 * src/hildon-button.c (hildon_button_set_alignment): Use
1680 priv->alignment if the button has no child yet.
1682 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1684 * src/hildon-button.c: (hildon_button_init): Set the
1685 button style during initialization to give it the proper
1688 Fixes: NB#99713 (HildonButton value label color is wrong)
1690 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1692 * src/hildon-touch-selector.c: Document
1693 hildon_touch_selector_center_on_selected()
1695 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1697 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1698 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1699 all menu items, but not the menu itself.
1700 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1701 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1702 items after adding them to the menu so keyboard accelerators work.
1703 (hildon_app_menu_show): Don't show the menu if it contains items
1704 but none of them are visible.
1706 * examples/hildon-app-menu-example.c (create_menu): Use
1707 gtk_widget_show_all() to show all menu items.
1709 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1711 * src/hildon-picker-dialog.c:
1712 (-_update_title_on_selector_changed_cb),
1713 (-_dialog_update_title): Removed.
1714 (_select_on_selector_changed_cb), (_on_dialog_response),
1715 (on_selector_columns_changed): Do not update the dialog title.
1716 (setup_interaction_mode): Do not connect to
1717 HildonTouchSelector::changed signal if there's a "done" button, as
1718 the dialog title doesn't need to be updated.
1720 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1723 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1725 Patch by Kristian Rietveld (kris@imendio.com)
1727 * src/hildon-touch-selector.c: (_create_new_column): Use new
1728 GtkTreeView::hildon-row-tapped signal to react to user interactions
1729 instead of ::changed.
1731 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1732 with some dynamic tree model)
1734 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1737 (+screen_size_changed, +label_size_request)
1738 (hildon_note_class_init): Make the Hildon information note have a
1739 minimum height, and make its text hvae a maximum width.
1741 Fixes: NB#98614 (Hildon information note (background) should have
1742 minimum height and maximum text width)
1744 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1746 * src/hildon-banner.h
1747 * src/hildon-banner.c (hildon_banner_show_information)
1748 (hildon_banner_show_informationf)
1749 (hildon_banner_show_information_with_markup): Update documentation
1750 to reflect that the icon_name parameter is not used anymore.
1751 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1752 Remove all code from these functions and mark them as deprecated.
1753 (hildon_banner_show_progress): Mark as deprecated.
1755 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1757 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1759 * src/hildon-pannable-area.c,
1760 (hildon_pannable_area_class_init),
1761 (tranparency_color),
1762 (hildon_pannable_draw_vscroll),
1763 (hildon_pannable_draw_hscroll),
1764 (hildon_pannable_area_expose_event): Added a new way to render the
1765 scrollbars of the pannable area avoiding using cairo at all. This
1766 way we improve the performance of the pannable area rendering. The
1767 cairo rendering procedure is still in the code, we can control
1768 which one to use changing the value of the define
1769 USE_CAIRO_SCROLLBARS.
1771 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1773 * configure.ac: post release version bump.
1774 * debian/changelog: version bump.
1776 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1781 * configure.ac: Bump version.
1782 * debian/changelog: Updates.
1784 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1787 banners instead of destroying them when they receive a button
1790 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1792 Reverted commit 34028, it was causing regressions, probably the
1793 topmost condition is not correct, we have to check it in more
1794 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1795 propagation of button press events)
1797 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1799 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1800 that the selection is not empty before attempting to retrieve the
1801 current ampm selection.
1803 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1805 * src/hildon-picker-button.c:
1806 (hildon_picker_button_on_dialog_response): Directly update the
1807 button contents when required instead of calling _selection_changed.
1809 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1811 * src/hildon-program.c (hildon_program_update_top_most): Update
1812 'is-topmost' property also when wm_hints is not set.
1814 Fixes: NB#98383 (is-topmost signal is not emitted when task
1815 switcher is clicked.)
1817 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1819 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1823 * src/hildon-animation-actor.c,
1824 * src/hildon-animation-actor.h: Added the animation actor class,
1825 this widget represents an animation actor for WM-assisted
1826 animation effects in the Hildon framework.
1828 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1830 * src/hildon-window-stack-private.h
1831 * src/hildon-window-stack.c
1832 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1833 Avoid calling gtk_widget_show() again indirectly from
1834 hildon_stackable_window_show()
1836 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1838 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1841 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1843 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1844 (hildon_time_selector_init): Move the construction of the hours and
1845 ampm columns to the constructor to preserve the order the columns
1848 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1850 * src/hildon-picker-dialog.c:
1851 (hildon_picker_dialog_class_init): Connect a realize method.
1852 (+hildon_picker_dialog_realize): Setup the interaction mode here
1854 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1855 yet, do it during the realize instead.
1856 (_on_dialog_response):
1857 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1858 if the widget is not realized, to avoid the dialog response before it
1861 Avoid premature responses in the HildonPickerDialog that can cause it
1862 to be hidden before it's even shown.
1864 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1866 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1867 (on_selector_columns_changed), (requires_done_button),
1868 (+prepare_action_area), (setup_interaction_mode),
1869 (_hildon_picker_dialog_set_selector):
1871 Split the interaction mode setup into preparation of the
1872 action area (prepare_action_area()) and the connection of
1873 the signals in setup_interaction_mode() and update the code to
1876 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1878 * src/hildon-pannable-area.c,
1879 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1880 per second to 15, we will check if this is ok regarding
1883 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1885 * src/hildon-pannable-area.c,
1886 (hildon_pannable_axis_scroll): Avoid resize if we already have
1887 reached overshoot_max.
1889 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1891 * src/hildon-pannable-area.c,
1892 (hildon_pannable_area_init),
1893 (hildon_pannable_area_realize),
1894 (hildon_pannable_area_size_allocate),
1895 (hildon_pannable_area_map),
1896 (hildon_pannable_area_unmap),
1897 (hildon_pannable_draw_vscroll),
1898 (hildon_pannable_draw_hscroll),
1899 (hildon_pannable_area_expose_event),
1900 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1901 pannable are to avoid the expose events go to the window and
1902 redraw the window. We save this way that part of the stack and the
1903 paint_boxes. We had to change the positions of the elements when
1906 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1908 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1909 * src/hildon-color-chooser-dialog.c:
1910 (hildon_color_chooser_dialog_init):
1911 * src/hildon-font-selection-dialog.c:
1912 (hildon_font_selection_dialog_init),
1913 (hildon_font_selection_dialog_show_preview):
1914 * src/hildon-get-password-dialog.c:
1915 * src/hildon-login-dialog.c:
1916 * src/hildon-set-password-dialog.c:
1917 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1918 * src/hildon-time-picker.c: (hildon_time_picker_init):
1920 Remove obsolete logical string IDs and update to the appropriate ones.
1922 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1924 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1926 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1927 that happens if the window hasn't been realized yet.
1929 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1930 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1932 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1934 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1935 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1938 Fixes: NB#98537 (Device hangs in account settings dialog)
1940 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1942 * configure.ac: post release version bump.
1943 * debian/changelog: version bump
1945 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1950 * configure.ac: Bump version.
1951 * debian/changelog: Updates.
1953 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1955 Added a new function to the HildonTimeButton widget that allows to
1956 change the step of the minutes in the selector associated with the
1957 button: hildon_time_button_new_step
1959 * src/hildon-time-button.c,
1960 (hildon_time_button_init),
1961 (hildon_time_button_new),
1962 (hildon_time_button_new_step):
1963 * src/hildon-time-button.h: Added the new function and refactored
1965 * examples/hildon-time-button-example.c,
1966 (main): We have replaced the function without parameters with the
1967 function with the steps set to 5
1969 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1971 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1973 * src/hildon-time-selector.c,
1974 (hildon_time_selector_class_init),
1975 (hildon_time_selector_constructor),
1976 (hildon_time_selector_get_property),
1977 (hildon_time_selector_set_property),
1978 (_create_minutes_model),
1979 (hildon_time_selector_new_step),
1980 (hildon_time_selector_set_time),
1981 * src/hildon-time-selector.h: Added a new property to the
1982 HildonTimeSelector (minutes-step), we use that property to control
1983 the steps between the minutes in the list of the selector. We have
1984 added a new function to the API to create a widget changing the
1985 step: hildon_time_selector_new_step.
1987 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1989 * src/hildon-time-selector.c,
1990 (hildon_time_selector_class_init),
1991 (hildon_time_selector_constructor),
1992 (hildon_time_selector_init): Overrided the construct function when
1993 creating the time selector object. We have moved the minutes model
1994 handling code from the init to the new construction function:
1995 hildon_time_selector_constructor.
1997 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1999 * examples/hildon-date-button-example.c: (main): Use the new
2000 hildon_date_button_new_with_year_range() method in the example.
2001 * src/hildon-date-button.c:
2002 (+hildon_date_button_new_with_year_range): New public method
2003 to conveniently create a HildonDateButton with a custom year range
2004 in its HildonDateSelector.
2005 * src/hildon-date-button.h: Add the new public method definition.
2007 Fixes: NB#97908 (Not possible to change the year range in
2008 HildonDateSelector/HildonDateButton)
2010 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/hildon-date-selector.c:
2013 (+hildon_date_selector_set_property),
2014 (+hildon_date_selector_get_property),
2015 (hildon_date_selector_class_init): Install new properties "min-year"
2016 and "max-year" to define boundaries for the year column.
2017 (_create_year_model): Use the boundary properties to populate the model.
2018 (+hildon_date_selector_new_with_year_range): New public method to
2019 create a HildonDateSelector with a user defined year range.
2020 (hildon_date_selector_select_current_date): Use the new boundaries to
2021 calculate the iterator of current year.
2022 * src/hildon-date-selector.h: Add the new public method definition.
2024 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2026 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2027 Install a constructor method.
2028 (+hildon_date_selector_construct_ui): construct the widget.
2029 (+hildon_date_selector_constructor): new constructor.
2030 (+hildon_date_selector_init): move out widget construction code to
2031 the new constructor.
2033 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2035 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2036 that there's actually a month or year selected before obtaining them.
2037 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2038 of the HildonTouchSelector::changed signal, as it was emitted on every
2039 single item selection.
2041 Fix some warnings and possible crashers due to the selection restoring.
2043 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2045 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2046 the signal handlers only after creating the dialog instead of on every
2049 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2051 * src/hildon-button.c (hildon_button_init)
2052 * src/hildon-check-button.c (hildon_check_button_init)
2053 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2054 focus when clicked by default.
2056 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2058 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2061 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2063 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2064 Alejandro G. Castro (alex@igalia.com)
2066 * src/hildon-picker-dialog.c:
2067 (hildon_picker_dialog_class_init): install new "center-on-show"
2069 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2070 (hildon_picker_dialog_set_property): add setter code for the new
2072 (hildon_picker_dialog_get_property): add getter code for the new
2074 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2075 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2078 Fixes: NB#92849 (Selected item is not always visible when
2079 HildonTouchSelector is shown)
2081 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2083 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2084 Alejandro G. Castro (alex@igalia.com)
2086 * src/hildon-touch-selector.c:
2087 (_create_new_column): Do not connect to the "realize" signal of the
2089 (hildon_touch_selector_append_column): center on the selected items
2090 when a new column is appended.
2091 (hildon_touch_selector_select_iter): Factor out the code to select a
2092 column to hildon_touch_selector_scroll_to().
2093 (+search_nearest_element): Method to retrieve the nearest selected
2094 element to the visible area of the pannable area in a column.
2095 (+on_realize_cb): scroll to the initially selected item.
2096 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2097 the pannable area is realized, otherwise delay this until it is.
2098 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2099 selected items of a given column.
2100 (+hildon_touch_selector_center_on_selected): Public method to center
2101 all columns on the nearest selected item.
2102 * src/hildon-touch-selector.h: Add definition for
2103 hildon_touch_selector_center_on_selected().
2105 Implement public API to ensure visibility of all selected items in
2106 a HildonTouchSelector.
2108 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2110 Fixed a problem in the fading when calling the scroll_to API, and
2111 improve scrollbar fading handling.
2113 * src/hildon-pannable-area.c,
2114 (hildon_pannable_area_grab_notify): avoid the timeout when the
2116 (hildon_pannable_area_button_press_cb),
2117 (hildon_pannable_area_motion_notify_cb): Code style changes.
2118 (hildon_pannable_area_button_release_cb): Review the conditions
2119 when releasing the mouse button to avoid unrequired fading
2121 (hildon_pannable_area_scroll_to): Do not calculate and set the
2122 velocity if the scroll is not required.
2124 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2126 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2127 Don't check whether the new selector is NULL: it cannot be.
2128 Hold a reference to the selector while doing the replacement.
2130 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2132 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2133 unnecessary size_request in a removed widget.
2135 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2137 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2138 an unnecessary reference tracking that was leaking.
2140 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2142 Added delayed motion notify event handling, this way we can
2143 discard redrawing if more than 25 events arrive per second.
2145 * src/hildon-pannable-area.c,
2146 (hildon_pannable_area_init): Initialized the new private atributes
2147 controlling this timeout
2148 (hildon_pannable_area_dispose): Remove the timeout that controls
2149 the motion notify events.
2150 (hildon_pannable_area_scroll): Added a condition to control the
2151 use of the acceleration.
2152 (hildon_pannable_area_motion_event_scroll_timeout),
2153 (hildon_pannable_area_motion_event_scroll): Added this two
2154 functions, they handle the motion notify events inside the
2156 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2157 to the scroll method with the new function.
2158 (hildon_pannable_area_button_release_cb): We have to remove the
2159 timeout handler and move to the last position if the last motion
2160 events were not handled.
2162 Fixes: NB#97028 (Pannable area updates on every motion event)
2164 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2166 * src/hildon-pannable-area.c,
2167 (hildon_pannable_area_get_topmost): Added a new parameter to
2168 filter the the windows that do not include those events. Added
2169 also a condition when finding the window to filter windows that do
2170 not ask for those events.
2171 (hildon_pannable_area_button_press_cb),
2172 (hildon_pannable_area_button_release_cb),
2173 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2174 topmost function, we have added the new parameter.
2176 Fixes: NB#97458 (Pannable area prevents propagation of button
2179 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2181 * src/hildon-pannable-area.c,
2182 (hildon_pannable_area_initial_effect): Added controls before
2183 launching the timeout and the idle functions.
2184 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2185 of the method, in some situations it can return with TRUE and 0 in
2187 (hildon_pannable_area_button_press_cb): We do not need to set
2188 DELAY for fading out here.
2190 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2192 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2194 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2195 post-cleaning if the selection is not NULL.
2197 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2200 all items before restoring the selection.
2202 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2204 * src/hildon-touch-selector.c:
2205 (+hildon_touch_selector_unselect_all):
2206 * src/hildon-touch-selector.h: New API to unselect all items in a
2207 column of the touch selector.
2209 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2211 * src/hildon-pannable-area.c,
2212 (hildon_pannable_area_redraw): Added a call to the refresh
2213 function inside the redraw because apparently in some cases the
2214 change in the adjustment does not imply a size allocate.
2216 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2217 despite the view not being scrollable)
2219 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2222 leak. Check for NULL before attempting to set the window title.
2224 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2226 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2227 whether to show or not the 'Done' button each time the dialog is
2228 shown, as it depends on the HildonTouchSelector selection mode.
2230 Fixes: NB#96226 (In multiple selection mode Done button is shown
2231 sometimes in listpicker)
2233 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2235 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2236 for the number of columns in the HildonTouchSelector more than once.
2238 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2240 * src/hildon-touch-selector.c: Minor documentation fixes.
2242 * src/hildon-picker-dialog.c (+_dialog_update_title)
2243 (_select_on_selector_changed_cb)
2244 (_update_title_on_selector_changed_cb)
2245 (on_selector_columns_changed): Update dialog title when there's no
2246 'Done' button and also when the number of columns in the selector
2250 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2251 (+_selection_changed, hildon_picker_button_on_dialog_response)
2252 (hildon_picker_button_selector_selection_changed)
2253 (+hildon_picker_button_selector_columns_changed)
2254 (hildon_picker_button_set_selector): Update button value and emit
2255 'value-changed' when the number of columns in the selector
2259 Fixes: NB#96225 (Dialog titles are not shown according to the
2260 values selected in the list picker)
2262 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2264 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2265 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2266 New "arrow-width" and "arrow-height" style properties to set the
2267 size of the arrow button.
2268 Set name of arrow button ("hildon-edit-toolbar-arrow").
2270 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2271 graphics from theme)
2273 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2275 * src/hildon-picker-button.c:
2276 (hildon_picker_button_selector_selection_changed): Use
2277 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2278 the dialog is present.
2280 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2281 the selection is accepted in the dialog)
2283 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2285 * src/hildon-color-chooser.h
2286 * src/hildon-color-chooser-dialog.h:
2287 Added G_BEGIN_DECLS and G_END_DECLS
2289 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2291 (_clean_current_selection): plug a leak in the list.
2293 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2295 * src/hildon-picker-dialog.c:
2296 (+free_path_list): Method to free a GList of GtkTreePaths.
2297 (_clean_current_selection), (_save_current_selection),
2298 (_restore_current_selection): Save the current selection in
2299 as a list of lists, to support multiple selection properly.
2301 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2303 patch by Claudio Saavedra (csaavedra@igalia.com)
2305 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2306 Store the press position.
2307 (+hildon_text_view_button_release_event): If the release position is
2308 close enough to the press position, move the cursor here. Otherwise,
2310 (hildon_text_view_class_init): Override GtkTextView press, release, and
2311 motion event handlers, disabling this way text selection through
2312 pointer interaction, and allowing the container widget to handle the
2315 Fixes: NB#95828 (HildonTextView functionality)
2317 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2319 Based on a patch by Iván Gómez (igomez@igalia.com)
2321 * src/hildon-button.[ch]
2322 * src/hildon-calendar.c
2323 * src/hildon-check-button.c
2324 * src/hildon-date-editor.c
2325 * src/hildon-date-selector.c
2326 * src/hildon-picker-button.c
2327 * src/hildon-time-editor.c
2328 * src/hildon-time-selector.c
2329 * src/hildon-touch-selector.[ch]:
2330 Documentation updates
2332 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2334 * src/hildon-pannable-area.c,
2335 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2336 threshold, it was required due to X events handling.
2338 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2340 * src/hildon-pannable-area.c,
2341 (hildon_pannable_area_grab_notify),
2342 (hildon_pannable_area_initial_effect),
2343 (hildon_pannable_area_button_press_cb),
2344 (hildon_pannable_area_button_release_cb),
2345 (hildon_pannable_area_scroll_cb),
2346 (hildon_pannable_area_scroll_to): Review the timeout management of
2347 the scrollbar, the frecuency was incorrectly set.
2349 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2351 * src/hildon-picker-button.c:
2352 (+hildon_picker_button_on_dialog_response),
2353 (hildon_picker_button_clicked): Present the dialog instead of
2354 running it with gtk_dialog_run().
2356 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2359 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2361 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2362 (hildon_app_menu_finalize): When a window is hidden it doesn't
2363 emit notify::is-topmost, so make sure than the menu also
2364 disappears in that case.
2365 (parent_window_topmost_notify): Renamed from parent_window_hidden
2367 Fixes: NB#94460 (stackable window's menu is not closed when its
2370 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2372 * src/hildon-touch-selector-entry.c:
2373 (+hildon_touch_selector_entry_set_input_mode),
2374 (+hildon_touch_selector_entry_get_input_mode):
2375 * src/hildon-touch-selector-entry.h: New methods to access the input
2376 mode in the selector's entry.
2378 Fixes: NB#93410 (API required for setting IM mode in
2379 HildonTouchSelectorEntry)
2381 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2383 * configure.ac: post release version bump.
2384 * debian/changelog: version bump
2386 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2391 * configure.ac: Bump version.
2392 * debian/changelog: Updates.
2394 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2396 * src/hildon-touch-selector.c:
2397 (_hildon_touch_selector_has_multiple_selection): No need
2398 to initialize the variables here.
2400 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2402 * src/hildon-note-private.h
2403 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2404 (hildon_note_finalize, hildon_note_rebuild): Close information
2405 notes when they receive a button press.
2407 Fixes: NB#89890 (Information notes does not get disappeared after
2410 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2412 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2413 mark from the wizard title, as it's not really necessary. Also,
2414 do not display the page title if not set.
2416 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2418 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2419 (parent_window_hidden): Use the window's "is-topmost" property to
2420 detect when to hide the menu.
2422 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2425 (hildon_app_menu_finalize): If the parent window of the menu is
2426 hidden, hide the menu too.
2428 Fixes: NB#94460 (stackable window's menu is not closed when its
2431 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2434 * debian/libhildon1-examples.install
2436 * examples/Makefile.am:
2437 Use dh_install to install all examples.
2438 Use DEB_SRCDIR instead of defining SOURCE_DIR
2440 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2442 * configure.ac: post release version bump.
2443 * debian/changelog: version bump
2445 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2450 * configure.ac: bump version
2451 * debian/changelog: updates
2452 * debian/control: bump gtk+ dependency
2454 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2456 patch by Christian Dywan (christian@imendio.com)
2458 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2459 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2461 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-check-button.c (hildon_check_button_init)
2464 (hildon_check_button_class_init, hildon_check_button_style_set)
2465 (hildon_check_button_apply_style):
2466 New "checkbox-size" style property.
2468 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2469 larger / configurable size)
2471 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2473 * configure.ac: post release version bump.
2474 * debian/changelog: version bump
2476 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2481 * configure.ac: bump version
2482 * debian/changelog: updates
2484 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2486 * doc/hildon-sections.txt
2487 * src/hildon-pannable-area.c
2488 * src/hildon-program.c
2489 * src/hildon-time-editor.c
2490 * src/hildon-touch-selector-entry.c:
2492 More documentation updates.
2494 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2496 * doc/hildon-sections.txt
2497 * src/hildon-caption.c
2498 * src/hildon-code-dialog.c
2499 * src/hildon-color-button.c
2500 * src/hildon-controlbar.c
2501 * src/hildon-date-editor.c
2502 * src/hildon-date-selector.c
2503 * src/hildon-edit-toolbar.c
2504 * src/hildon-find-toolbar.c
2505 * src/hildon-font-selection-dialog.c
2507 * src/hildon-program.c
2508 * src/hildon-range-editor.c
2509 * src/hildon-seekbar.c
2510 * src/hildon-time-editor.c
2511 * src/hildon-time-selector.c
2512 * src/hildon-volumebar-range.c
2513 * src/hildon-volumebar.c
2514 * src/hildon-vvolumebar.c
2515 * src/hildon-weekday-picker.c
2516 * src/hildon-window.c
2517 * src/hildon-wizard-dialog.c:
2519 Lots of documentation fixes.
2521 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2523 Patch contributed by Iván Gómez (igomez@igalia.com)
2525 * src/hildon-check-button.c:
2526 * src/hildon-date-button.c:
2527 * src/hildon-date-selector.c:
2528 * src/hildon-dialog.c:
2529 * src/hildon-edit-toolbar.c:
2530 * src/hildon-entry.c:
2531 * src/hildon-picker-button.c:
2532 * src/hildon-program.c:
2533 * src/hildon-text-view.c:
2534 * src/hildon-time-button.c:
2535 * src/hildon-touch-selector-entry.c:
2536 * src/hildon-window-stack.c:
2538 Add more "since" tags to the new API.
2540 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2542 * doc/hildon-sections.txt: Add below method.
2543 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2544 version for the hildonized scale.
2545 * src/hildon-gtk.h: Add the definition.
2547 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2549 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2551 * doc/hildon-sections.txt: Add missing entries for new methods.
2553 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2555 Added API to pannable are in order to get its adjustments. We
2556 added two properties to manage the values we had in the private
2559 * src/hildon-pannable-area.c:
2560 (hildon_pannable_area_class_init): Added hadjustment and
2561 vadjustment properties in order to expose horizontal and vertical
2563 (hildon_pannable_area_get_property),
2564 (hildon_pannable_area_set_property): Added code to handle the new
2566 (hildon_pannable_area_get_hadjustment),
2567 (hildon_pannable_area_get_vadjustment): API functions to get the
2569 * src/hildon-pannable-area.h:
2570 (hildon_pannable_area_get_hadjustment),
2571 (hildon_pannable_area_get_vadjustment): API functions to get the
2574 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2576 Fixed some leaks, after valgrinding.
2578 * src/hildon-touch-selector.c:
2579 (_default_print_func): Fixed a leak.
2580 (hildon_touch_selector_append_column): Fixed a leak.
2581 * src/hildon-date-button.c:
2582 (hildon_date_button_init): Fixed a leak.
2583 * src/hildon-date-selector.c
2584 (hildon_date_selector_finalize): Fixed a leak.
2586 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2588 Based on a patch by Christian Dywan (christian@imendio.com)
2590 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2592 * src/hildon-gtk.h: Add definition.
2594 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2596 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2598 * src/hildon-picker-button.c: (hildon_picker_button_init),
2599 (hildon_picker_button_new): Set the HildonButton::style property
2600 in the init method, to propagate the value to the derived classes.
2602 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2604 * src/hildon-button.c: (hildon_button_class_init): Do not make
2605 the "style" property a construct property.
2607 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2609 * src/hildon-wizard-dialog.h
2610 * src/hildon-wizard-dialog.c
2611 (hildon_wizard_dialog_set_forward_page_func)
2612 * src/hildon-pannable-area.h
2613 * src/hildon-pannable-area.c
2614 (hildon_pannable_area_set_size_request_policy):
2615 Documentation fixes.
2617 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2619 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2621 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2623 * doc/hildon-sections.txt: Added sections file.
2625 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2628 * src/*.[ch]: Updates.
2630 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2632 * examples/hildon-progress-indicator-example.c: new file
2633 * examples/Makefile.am: include the new example program
2635 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2637 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2639 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2641 * configure.ac: post release version bump
2642 * debian/changelog: version bump
2644 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2649 * configure.ac: bump version
2650 * debian/changelog: updates
2651 * debian/control: bump gtk+ dependency
2653 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/hildon-dialog.c: Mark as deprecated.
2656 * src/hildon-dialog.h: Mark as deprecated.
2657 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2658 from HildonDialog and still work, even if
2659 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2660 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2662 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2663 maemo changes) instead)
2665 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2667 * src/hildon-pannable_area.h:
2668 * src/hildon-pannable_area.c:
2669 (hildon_pannable_area_class_init),
2670 (hildon_pannable_area_set_property),
2671 (hildon_pannable_area_get_property),
2672 (hildon_pannable_area_size_request),
2673 (hildon_pannable_area_get_size_request_policy),
2674 (hildon_pannable_area_set_size_request_policy): Added new API
2675 allowing applications to control the request policy. Now they can
2676 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2677 children allocation (HILDON_MOVEMENT_CHILDREN).
2679 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2683 (hildon_gtk_tree_view_set_ui_mode)
2684 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2685 mode of treeviews and iconviews.
2687 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2689 * src/hildon-touch-selector-entry.c:
2690 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2691 of a GtkEntry to get proper theming.
2693 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2694 widget, not GtkEntry)
2696 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2699 no HildonWizardDialogPageFunc.
2701 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2703 Patch contributed by Iván Gómez (igomez@igalia.com)
2705 * src/hildon-app-menu.c:
2706 * src/hildon-button.c:
2707 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2708 * src/hildon-stackable-window.c:
2709 * src/hildon-time-selector.c:
2710 * src/hildon-touch-selector.c:
2711 * src/hildon-window.c:
2713 Add more "since" tags to the new API in hildon 2.2.
2715 2008-12-05 Tim Janik <timj@imendio.com>
2717 Patch contributed by Christian Dywan (christian@imendio.com)
2719 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2720 HildonSizeType, which are supplied by Gtk+ now.
2722 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2724 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2725 (with maemo changes) instead)
2727 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2729 Patch contributed by Iván Gómez (igomez@igalia.com)
2731 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2734 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2736 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2737 (some_page_func), (main): Update the example to use a
2738 HildonWizardDialogPageFunc function.
2740 * src/hildon-wizard-dialog-private.h: Add private data for
2741 the HildonWizardDialogPageFunc function usage.
2743 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2744 (destroy), (hildon_wizard_dialog_init), (response),
2745 (hildon_wizard_dialog_set_forward_page_func):
2746 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2747 that applications can use to stop a HildonWizardDialog to jump to
2750 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2753 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2755 * src/hildon-program.h
2756 * src/hildon-program-private.h
2757 * src/hildon-program.c (hildon_program_init)
2758 (hildon_program_set_common_app_menu)
2759 (hildon_program_get_common_app_menu):
2760 New API for setting a common HildonAppMenu for all
2761 HildonStackableWindows registered with the HildonProgram.
2763 * src/hildon-stackable-window.c
2764 (hildon_stackable_window_toggle_menu):
2765 Use the common HildonAppMenu if a window doesn't have a specific
2768 * src/hildon-app-menu-private.h
2769 * src/hildon-app-menu.c
2770 (hildon_app_menu_get_parent_window):
2771 Function to obtain the window a HildonAppMenu is attached to.
2772 (hildon_app_menu_set_parent_window):
2773 Hide the menu if the parent window is set to NULL.
2775 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2777 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2778 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2779 search widget to popup.
2781 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2783 * configure.ac: post release version bump
2784 * debian/changelog: version bump
2786 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2791 * configure.ac: bump version
2792 * debian/changelog: updates
2794 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2796 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2798 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2799 (hildon_window_stack_window_realized)
2800 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2801 Set the leader GdkWindow when a window is stacked and realized,
2802 unset it when it's unstacked.
2803 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2805 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2807 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-stackable-window.h
2810 * src/hildon-window-stack.h:
2811 Protect definition of HildonWindowStack using the preprocessor.
2813 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2815 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2816 Fix warning if all menu items are hidden.
2818 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2820 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2822 * src/hildon-controlbar.c:
2823 * src/hildon-hvolumebar.c:
2824 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2825 Multiple scale size defines updates.
2827 Fixes: NB#94322 (Scale Updates)
2829 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2831 * examples/hildon-app-menu-example.c (create_menu)
2832 Show items after adding them to the menu, as in the future the
2833 menu will no longer call gtk_widget_show() on the added items.
2835 * src/hildon-app-menu.c:
2836 Update example as explained above.
2838 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2840 * src/hildon-app-menu.c
2841 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2842 Make sure that all menu items have finger height.
2844 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2846 * src/hildon-picker-dialog.c:
2847 (_on_dialog_response), (_save_current_selection),
2848 (_restore_current_selection), (_clean_current_selection),
2849 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2850 Defined new functions in order to save the current internal selector
2851 selection previous open the dialog, in case that the use cancel the
2852 interaction, so the widget restores the previous selection.
2854 Fixes: NB#92032 (In calendar application, date values in 'new event'
2857 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2859 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-button.c: Add a reference to the button examples in
2862 hildon-button-example.c
2864 * examples/hildon-button-example.c: Added examples of the most
2865 common button layouts.
2867 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2869 * src/hildon-app-menu.c (hildon_app_menu_show)
2870 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2872 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2874 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2876 * src/hildon-picker-dialog.c:
2877 (hildon_picker_dialog_init): Initialize the signal id for
2878 HildonTouchSelector::columns-changed.
2879 (+on_selector_columns_changed): Set up the interaction mode everytime a
2880 column is added or removed from the HildonTouchSelector.
2881 (_hildon_picker_dialog_set_selector): Connect to
2882 HildonTouchSelector::columns-changed and keep track of it.
2884 Make sure to update the interaction mode of the dialog everytime a
2885 column is added or removed in the HildonTouchSelector.
2887 Fixes: NB#93228 (Done button is not shown always in listpicker)
2889 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2891 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2892 a new ::columns-changed signal.
2893 (hildon_touch_selector_append_column): Emit ::columns-changed.
2894 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2896 Add a ::columns-changed signal, emitted when the number of columns in a
2897 HildonTouchSelector changes.
2899 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2901 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2902 (_hildon_picker_dialog_set_selector): Factor out the code
2903 to set up the dialog interaction mode.
2905 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2908 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2909 to signal_changed_id.
2911 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2916 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2918 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2919 Updated the logical ids related to ampm format, as now it is required to
2920 show it correctly localized even on languages with no default
2921 abbreviations for am or pm
2922 (_check_am_pm_format): check correctly the 24h format gconf property
2924 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2926 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2928 * src/hildon-button.c: Documentation updates.
2930 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2932 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2933 * src/hildon-caption.c: (hildon_caption_class_init):
2934 * src/hildon-color-button.c: (hildon_color_button_class_init):
2935 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2936 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2937 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2938 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2940 Remove deprecated GTK+ marshalers and replace them with the ones
2941 provided by GLib, for those available, add a marshaler for
2942 BOOLEAN:VOID, which is not available in GLib, and use it.
2944 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2946 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2947 the text from the previous column if there is no
2948 HildonTouchSelectorColumn::text-property set.
2950 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-button.h
2953 * src/hildon-button.c (hildon_button_set_property)
2954 (hildon_button_get_property, hildon_button_class_init)
2955 (hildon_button_set_style, hildon_button_get_style):
2956 New "style" property to change the visual appearance of the
2959 * src/hildon-picker-button.c (hildon_picker_button_new):
2960 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2962 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2963 HildonButton look like PickerButton)
2965 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2968 column while building the default string.
2970 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2973 scroll indicator by default.
2975 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2977 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2979 * src/hildon-main.c: Fix the documentation for hildon_init()
2981 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2983 * doc/hildon-docs.sgml
2987 * src/hildon-window-stack-private.h
2988 * src/hildon-window-stack.h
2989 * src/hildon-window-stack.c:
2990 New HildonWindowStack object, that adds support for multiple
2991 stacks of windows per process.
2993 * src/hildon-stackable-window-private.h
2994 * src/hildon-stackable-window.h
2995 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2996 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2997 (hildon_stackable_window_show, hildon_stackable_window_hide)
2998 (hildon_stackable_window_class_init)
2999 (hildon_stackable_window_init):
3000 Use HildonWindowStack for stack management.
3002 * src/hildon-program.c (hildon_program_pop_window_stack)
3003 (hildon_program_peek_window_stack)
3004 (hildon_program_go_to_root_window):
3005 Add a fallback implementation to the deprecated functions using
3008 * examples/hildon-stackable-window-example.c:
3009 Use the new HildonWindowStack API.
3011 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3013 * src/hildon-stackable-window-private.h
3014 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3015 (hildon_stackable_window_hide, hildon_stackable_window_init):
3016 Remove all window stack management.
3018 * src/hildon-program-private.h
3019 * src/hildon-program.h
3020 * src/hildon-program.c (hildon_program_init)
3021 (hildon_program_pop_window_stack)
3022 (hildon_program_peek_window_stack)
3023 (hildon_program_go_to_root_window):
3024 Remove all window stack management and mark functions as
3027 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3029 * src/hildon-app-menu.c (hildon_app_menu_realize):
3030 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3032 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3034 * configure.ac: post release version bump
3035 * debian/changelog: version bump
3037 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3042 * configure.ac: bump version
3043 * debian/changelog: updates
3045 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3047 Based on initial code by Christian Dywan (christian@imendio.com)
3049 * doc/hildon-docs.sgml: Add section for hildon-main.
3050 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3051 * src/Makefile.am: Add new hildon-main.[ch]
3052 * src/hildon-defines.h: Update the icon sizes.
3053 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3054 new library initialization files and register icon sizes.
3055 * src/hildon-main.h: New declarations.
3056 * src/hildon.h: Include hildon-main.h
3058 Add new initialization functions to the library. These methods
3059 will register the hildon specific icon sizes and can be used in the
3060 future for other hildon specific bits.
3062 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3064 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3066 * src/hildon-window.c: (hildon_window_realize),
3067 (hildon_window_notify), (-hildon_window_update_title): Do not set
3068 the application name in the window title.
3070 Fixes: NB#89754 (Applications shouldn't display their names in the
3073 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3075 * src/hildon-note-private.h:
3076 * src/hildon-note.c: (hildon_note_set_property),
3077 (hildon_note_get_property), (hildon_note_class_init),
3078 (hildon_note_init), (hildon_note_finalize),
3079 (hildon_note_new_confirmation_with_icon_name),
3080 (hildon_note_new_information_with_icon_name):
3082 No need to mark as deprecated the actual code. Revert
3083 to avoid missing symbols in widgets using deprecated API.
3085 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3087 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3089 * src/hildon-volumebar.h
3090 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3091 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3093 * src/hildon-helper.h
3094 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3095 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3097 * examples/Makefile.am:
3098 Deprecate hildon-insensitive-example
3100 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3102 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3104 * examples/hildon-pannable-area-buttons-scroll-example.c:
3105 Make all buttons finger height
3107 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3109 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3111 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3112 update the day model only if it is really required, and to avoid the
3113 full-reconstruction aproach. Now it only add or remove the required days.
3115 The purpose of this is avoid superfluous HildonTouchSelector::changed
3118 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3119 with strange parameters)
3121 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3123 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3125 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3126 the WINDOW_TYPE property.
3128 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3130 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3133 Fix dependency to allow parallel compilation with make -jX
3135 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3137 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3138 color frame and some minor tweaks to make it more consistent with
3141 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3142 highlighted but not visible)
3144 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3146 * examples/Makefile.am: Fixed typo in the Makefile.am.
3148 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3150 Reviewed the use of MAEMO_GTK define, now we add the define in the
3151 compilation line, and we also add it to the pc file.
3153 * configure.ac: Added MAEMO_GTK define to the compilation command
3154 and removed it from the config.h.
3156 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3157 do not have to take care about this define if the library was
3161 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3163 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3165 * examples/Makefile.am,
3166 * examples/hildon-pannable-area-buttons-scroll-example.c,
3167 * examples/hildon-pannable-area-gesture-signals-example.c,
3168 * examples/hildon-pannable-area-scroll-jump-example.c,
3169 * examples/hildon-pannable-area-tree-view-example.c:
3170 Renamed the pannable area examples, now they have more meaningful
3173 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3175 * src/hildon-touch-selector.c:
3176 (hildon_touch_selector_set_column_selection_mode): Used of
3177 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3178 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3179 to avoid re-seting the same selection mode.
3181 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3182 breaks HildonPickerDialog)
3184 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3186 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3187 conditional in the Makefile.am
3189 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3191 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3192 Remove unused methods.
3194 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3196 * src/hildon-button.c (hildon_button_init):
3197 Make button images center-aligned by default
3199 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3202 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3203 activated, we have to think about how to deal with both defines
3204 MAEMO_GTK and MAEMO_CHANGES.
3206 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3208 * examples/hildon-app-menu-example.c (create_menu): Make all
3209 buttons finger size.
3211 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3213 Fixed the compilation without maemo gtk adding ifdefs with
3214 MAEMO_GTK define to the code, we have to check this version more
3217 * examples/Makefile.am: Added control to avoid some examples that
3218 just make sense with maemo gtk.
3221 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3222 hildon modes with the define.
3224 * examples/hildon-edit-toolbar-example.c,
3225 (create_icon_view): Create the icon view without hildon-gtk
3226 helpers if we are not using maemo gtk.
3228 * src/hildon-touch-selector.c,
3229 (_create_new_column): Create the treeview without hildon-gtk
3230 helpers if we are not using maemo gtk.
3232 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3234 * src/hildon-pnnable-area.c,
3235 (hildon_pannable_area_dispose),
3236 (hildon_pannable_area_button_press_cb),
3237 (hildon_pannable_area_child_mapped),
3238 (hildon_pannable_area_add),
3239 (hildon_pannable_area_remove): Added code to control the position
3240 of the event_window when adding and removing children from the
3241 pannable. We have to raise the event window when the child is
3244 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3245 selection mode using custom widget inside pannable)
3247 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3249 * configure.ac: post release version bump
3250 * debian/changelog: version bump
3252 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3257 * configure.ac: bump version
3258 * debian/changelog: updates
3260 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3262 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3263 search mode, in order to avoid lose the focus on the treeview when
3264 a hw key (like enter) is pressed.
3266 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3267 in HildonDateSelector dialog)
3269 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3271 * debian/rules: Added --enable-maintainer-mode
3272 * Makefile.am: Added ACLOCAL_AMFLAGS
3274 This allows to properly regenerate the Makefiles if you modify the
3275 configure.ac or any Makefile.am.
3277 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3279 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3280 properties, not needed at all.
3282 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3284 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3286 * src/hildon-note.c: (hildon_note_set_property),
3287 (hildon_note_get_property), (hildon_note_class_init),
3288 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3289 (hildon_note_new_confirmation_add_buttons): Remove icons.
3290 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3291 (hildon_note_new_information_with_icon_name): Deprecate.
3292 (hildon_note_new_confirmation): Act directly, without calling
3293 the deprecated constructor.
3294 (hildon_note_new_information): Act directly, without calling
3295 the deprecated constructor.
3296 * src/hildon-note.h: Mark deprecate methods as such.
3297 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3298 not run tests on the deprecated methods if built with deprecation
3301 Fixes: NB#91688 (Never show icons in information notes/confirmation
3304 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3306 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3307 (hildon_app_menu_key_press): Remove leftover usage of the
3308 private structure in HildonAppMenu struct.
3309 * src/hildon-app-menu.h: Remove leftover private structure
3310 from the HildonAppMenu struct.
3312 Fixes a crasher when using the HildonAppMenu.
3314 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3316 * src/hildon-picker-dialog.c: Use appropriate logical id
3317 for the default "Done" text.
3319 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3321 * configure.ac: post release version bump
3322 * debian/changelog: version bump
3324 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3326 Modified the way to scroll to the current selection just when the touch
3327 selector is shown on the screen, avoiding a g_idle. Added too a property
3328 to configure this behaviour. See hildon_pannable_area_jump_to_child
3329 documentation for more information.
3331 * src/hildon-touch-selector.c
3332 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3333 Added 'initial-scroll' property
3334 (hildon_touch_selector_set_property): Added
3335 (hildon_touch_selector_map): Removed as not required anymore
3336 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3337 only a concrete column, instead of iterate along all the columns
3339 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3344 * configure.ac: bump version
3345 * debian/changelog: updates
3347 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3350 compilation time warnings.
3352 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3354 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3355 the default value for HildonPannableArea::mov-mode to
3356 HILDON_PANNABLE_AREA_MODE_VERT.
3358 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3360 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3362 Reverting following commit:
3364 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3366 * src/hildon-app-menu-private.h
3367 * src/hildon-app-menu.[ch]
3368 * src/hildon-button.[ch]
3369 * src/hildon-check-button.[ch]
3370 * src/hildon-entry.[ch]
3371 * src/hildon-pannable-area.[ch]
3372 * src/hildon-text-view.[ch]:
3373 Added private field to the object's structure.
3375 because it causes an ABI breakage. We will need to introduce these
3376 changes later at some point. See NB#91636 for an extensive
3377 explanation and status.
3379 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3381 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3383 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3384 remove special cases that are no longer necessary.
3386 Fixes: NB#91016 (Change toolbar sizes, simplification)
3388 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3390 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3391 is shown in the cancel note.
3393 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3395 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3396 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3397 (hildon_seekbar_init): Remove steppers, remove expose event.
3398 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3400 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3402 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3404 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3405 label font to "SmallSystemFont" for vertically arranged buttons.
3407 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3410 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3412 * src/hildon-check-button.c
3413 (hildon_check_button_set_active, hildon_check_button_clicked):
3414 Don't access private parts directly, use getters instead.
3416 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3418 * src/hildon-check-button.c (hildon_check_button_new):
3419 Align the contents of the check button to the left.
3421 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3423 * src/hildon-pannable-area.c,
3424 (hildon_pannable_area_scroll_to),
3425 (hildon_pannable_area_jump_to),
3426 (hildon_pannable_area_scroll_to_child),
3427 (hildon_pannable_area_jump_to_child): Replace the mapped
3428 precondition of these functions with the realized, it is the
3429 correct state of the widget in this case. Changed the
3430 documentation according to this modification.
3432 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3434 Added a new EXTRA_CFLAGS option to add the deprecated define to
3435 the compilation command. This way we can avoid using the define in
3436 the documentation compilation.
3438 * configure.ac: Defined EXTRA_CFLAGS.
3440 * examples/Makefile.am:
3442 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3444 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3446 * src/hildon-picker-dialog.c:
3447 Defined a utility macro with the desired touch selector height
3448 Removed currently unused separator, and title_label variables from
3450 (hildon_picker_dialog_init): Removed code related to the creation
3451 of unused private variables title_label and separator.
3452 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3453 to ensure correct visualization of the touch selector inside the dialog.
3454 * src/hildon-touch-selector.c
3455 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3456 ensure a concrete height of the widget.
3458 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3461 * tests/Makefile.am:
3463 Remove spurious whitespaces.
3465 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3467 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3468 compilation warning after the cancel button removal.
3470 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3472 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3474 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3475 Makefile.am, that way we can choose not to compile some examples
3476 and tests of the deprecated widgets.
3478 * examples/Makefile.am: Divided the sources in deprecated and
3481 * src/Makefile.am: Added undef statement of the deprecated
3482 symbol to the enums file generation process.
3484 * src/hildon-color-chooser-dialog.c
3485 * src/hildon-color-chooser-dialog.h
3486 * src/hildon-color-button.c
3487 * src/hildon-color-button.h
3488 * src/hildon-color-chooser.c
3489 * src/hildon-color-chooser.h
3490 * src/hildon-controlbar.c
3491 * src/hildon-controlbar.h
3492 * src/hildon-date-editor.c
3493 * src/hildon-date-editor.h
3494 * src/hildon-hvolumebar.c
3495 * src/hildon-hvolumebar.h
3496 * src/hildon-private.c
3497 * src/hildon-private.h
3498 * src/hildon-range-editor.c
3499 * src/hildon-range-editor.h
3500 * src/hildon-seekbar.c
3501 * src/hildon-seekbar.h
3502 * src/hildon-time-editor.c
3503 * src/hildon-time-editor.h
3504 * src/hildon-time-picker.c
3505 * src/hildon-time-picker.h
3506 * src/hildon-volumebar.c
3507 * src/hildon-volumebar.h
3508 * src/hildon-vvolumebar.c
3509 * src/hildon-vvolumebar.h
3510 * src/hildon-bread-crumb-trail.h
3511 * src/hildon-bread-crumb-trail.c
3512 * src/hildon-calendar-popup.c
3513 * src/hildon-calendar-popup.h
3514 * src/hildon-weekday-picker.c:
3515 * src/hildon-weekday-picker.h:
3516 * src/hildon-bread-crumb-widget.c:
3517 * src/hildon-bread-crumb-widget.h:
3518 * src/hildon-bread-crumb.c:
3519 * src/hildon-bread-crumb.h:
3520 * src/hildon-calendar.c:
3521 * src/hildon-calendar.h:
3522 * src/hildon-caption.c:
3523 * src/hildon-code-dialog.c:
3524 * src/hildon-code-dialog.h:
3525 * src/hildon-font-selection-dialog.c:
3526 * src/hildon-font-selection-dialog.h:
3527 * src/hildon-get-password-dialog.c:
3528 * src/hildon-get-password-dialog.h:
3529 * src/hildon-login-dialog.c:
3530 * src/hildon-login-dialog.h:
3531 * src/hildon-number-editor.c:
3532 * src/hildon-number-editor.h:
3533 * src/hildon-set-password-dialog.c:
3534 * src/hildon-set-password-dialog.h:
3535 * src/hildon-sort-dialog.c:
3536 * src/hildon-sort-dialog.h: This is the list of deprecated
3539 * src/hildon-touch-selector.c:
3540 * src/hildon-window.c: Added undef statement to avoid compilation
3543 * tests/Makefile.am: Divided the sources in deprecated and
3546 * tests/check_test.c,
3547 (configure_tests): Marked the deprecated code that was adding
3548 suites with deprecated tests.
3550 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3552 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3554 * src/hildon-touch-selector.c: (_default_print_func): Do not
3555 duplicate a string returned by gtk_tree_model_get(), it is already
3558 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3561 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3563 * src/hildon-pannable-area.c
3564 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3565 method, it had problems when adding a widget with viewport the
3566 second time. Now checks if it already has a viewport and uses it.
3568 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3571 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3573 * src/hildon-pannable-area.c,
3574 (hildon_pannable_area_scroll_to),
3575 (hildon_pannable_area_jump_to),
3576 (hildon_pannable_area_scroll_to_child),
3577 (hildon_pannable_area_jump_to_child): Added a precondition to the
3578 scroll and jump to functions: the widget must be mapped before we
3579 can safely call these functions. We have also added documentation
3580 to the functions to explain how to use them in this situation.
3583 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3585 Reviewed the threading handling of the pannable widget, we have
3586 used the gdk_threads_add_timeout function instead of the usual
3587 glib handlers. This avoids some problems with the threads.
3589 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3590 (hildon_pannable_area_initial_effect),
3591 (hildon_pannable_area_scroll_indicator_fade),
3592 (hildon_pannable_area_button_press_cb),
3593 (hildon_pannable_area_timeout),
3594 (hildon_pannable_area_motion_notify_cb),
3595 (hildon_pannable_area_button_release_cb),
3596 (hildon_pannable_area_scroll_cb),
3597 (hildon_pannable_area_scroll_to): Removed the
3598 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3599 gdk_threads_add_timeout.
3601 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3603 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3608 * configure.ac: bump version
3609 * debian/changelog: updates
3611 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3613 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3614 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3615 * src/hildon-color-chooser-dialog.c:
3616 (hildon_color_chooser_dialog_init):
3617 * src/hildon-font-selection-dialog.c:
3618 (hildon_font_selection_dialog_init):
3619 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3621 Remove all cancel/close-like dialogs, as these are not going to be
3624 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3626 * src/hildon-note.c: (hildon_note_rebuild),
3627 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3630 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3632 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3634 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3635 sure all buttons are shown, even the Cancel/Close-like ones.
3637 Fixes: NB#90861 (Custom Confirmation dialogs should be
3638 protected from cancel button removal)
3640 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3642 * debian/control: Change libhildon1-examples dependency from libhildon1
3644 * debian/libhildon1-examples.install
3646 * Makefile.am: Modified the final install directory for the examples on
3647 package libhildon1-examples
3648 * Makefile.static: Update clean target in order to remove all the binary
3651 Changes suggested by Claudio after review new libhildon1-examples package
3653 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3655 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3656 * src/hildon-touch-selector.c: Ditto.
3658 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3660 * debian/control: Added new package libhildon1-examples, in order to pack
3661 the current hildon examples as documentation
3662 * debian/rules: Not to compress .c files, modify some includes on the
3663 examples (as normally are compiled locally, but when installed it will
3664 require to include the installed libhildon1 library), and rename
3666 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3667 install all the example files on the new example package
3668 * examples/Makefile.static: Added static makefile that can be used to
3669 compile the examples, once installed the new example package
3670 * examples: Most of the examples were modified in order to grant that
3671 all use only '#include "hildon.h"', in order to be easy to prepare
3672 it on the example package
3674 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3677 * debian/libhildon1-dev.install
3678 * debian/libhildon1-doc.install:
3679 Move all gtk-doc files to a separate libhildon1-doc package.
3681 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3683 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3685 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3687 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3689 * debian/rules: Fixed a error in order to avoid unnecessary calls
3690 to autogen.sh on package building
3692 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3694 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3696 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3698 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3701 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3703 * src/hildon-picker-button.c
3704 (hildon_picker_button_finalize):
3705 Free priv->done_button_text
3707 * src/hildon-time-button.c
3708 (hildon_time_button_set_time)
3709 * src/hildon-picker-button.c
3710 (hildon_picker_button_clicked)
3711 (hildon_picker_button_selector_selection_changed)
3712 (hildon_picker_button_set_selector)
3713 * src/hildon-date-button.c
3714 (hildon_date_button_set_date):
3715 Free strings returned by hildon_touch_selector_get_current_text()
3717 * src/hildon-button.c (hildon_button_construct_child):
3718 Fix leaks in priv->image and priv->label_box
3720 Fixes: NB#90535 (Memory leak in picker button)
3722 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3724 * src/hildon-button.c: (hildon_button_get_property): Do not access
3725 private elements directly, use getters instead.
3727 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3729 * src/hildon-app-menu-private.h
3730 * src/hildon-app-menu.c
3731 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3732 Store the menu's parent window.
3734 * src/hildon-stackable-window.c
3735 (hildon_stackable_window_toggle_menu)
3736 (hildon_stackable_window_finalize):
3737 Set the menu's parent window when the menu is shown, unset it when
3740 * src/hildon-app-menu.c
3741 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3742 (hildon_app_menu_class_init):
3743 Send unhandled keyboard accelerators to the parent window.
3745 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3747 * src/hildon-stackable-window.c
3748 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3750 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3752 * configure.ac: post release version bump
3754 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3757 * configure.ac: Bump version
3758 * debian/changelog: Updates
3759 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3762 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3764 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3767 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3768 GtkMenu with Hildon style.
3770 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3772 * src/hildon-picker-button.c:
3773 (hildon_picker_button_set_done_button_text): Set the dialog's
3774 done button text here as well.
3776 Fixes: NB#90232 (Picker button does not set the label on done button
3777 for the second time)
3779 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3781 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3784 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3786 * src/hildon-app-menu.c (hildon_app_menu_insert)
3787 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3788 the HildonAppMenu to be activatable using keyboard accelerators
3789 when the menu is not being shown.
3791 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3793 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3795 * src/hildon-stackable-window.c
3796 (hildon_stackable_window_show):
3797 Don't hide old windows automatically when new windows are shown:
3798 this is now a task for the window manager.
3799 (hildon_stackable_window_class_init)
3800 (hildon_stackable_window_hide):
3801 Remove windows from the stack everytime they're hidden.
3802 (hildon_stackable_window_realize):
3803 Don't change the _NET_WM_WINDOW_TYPE property. Use
3804 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3805 it as a stackable window.
3807 * src/hildon-program.c
3808 (hildon_program_pop_window_stack):
3809 Just hide the window to remove it from the stack.
3810 (hildon_program_go_to_root_window):
3811 Don't call gtk_widget_show(), this is now a task for the window
3814 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3816 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3818 * src/hildon-button.c
3819 (hildon_button_construct_child):
3820 Don't pack anything in the button until text or image are
3821 set. This allows adding a custom child after creating the button
3822 with hildon_button_new().
3823 (hildon_button_finalize, hildon_button_class_init)
3824 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3825 alignment and the label box even when they're not packed in the
3828 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3830 * src/hildon-touch-selector.h:
3831 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3832 currently the type definition was using GTK_TYPE_VBOX
3833 * src/hildon-touch-selector.c:
3834 Added some implementation notes in order to clarify that any other widget
3835 added without the column related API will not be included on the
3836 selection logic, and how the widget is freed, as some people ask about
3838 (hildon_touch_selector_remove): Reimplemented in order to free properly
3839 the column related data when you remove the private hbox.
3840 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3841 to get a proper HildonTouchSelectorColumn documentation
3843 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3845 * src/hildon-touch-selector-entry.c:
3846 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3847 text in the GtkEntry and there is no item selected. Fixes a
3850 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3852 * src/hildon-app-menu-private.h
3853 * src/hildon-app-menu.[ch]
3854 * src/hildon-button.[ch]
3855 * src/hildon-check-button.[ch]
3856 * src/hildon-entry.[ch]
3857 * src/hildon-pannable-area.[ch]
3858 * src/hildon-text-view.[ch]:
3859 Added private field to the object's structure.
3861 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3863 * configure.ac: post-release version bump
3865 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3869 * configure.ac: pre-release version bump
3871 * debian/changelog: updates.
3873 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3875 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3876 Disconnect the handler for HildonTouchSelector::changed.
3878 (hildon_picker_button_selector_selection_changed): Update the button
3879 value if the selection change was not triggered by the
3882 (hildon_picker_button_set_selector): connect to
3883 HildonTouchSelector::changed.
3885 Fixes: NB#89650 (Picker button is not updated, when selection in
3886 selector has changed)
3888 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3890 * src/hildon-picker-dialog.c
3891 (hildon_picker_dialog_realize): Removed as not required
3892 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3893 * src/hildon-picker-button.c
3894 (_current_selector_empty): New function, checks if the selector is empty
3895 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3896 if the current selector is empty, in order to avoid to show the dialog
3897 close the dialog in this case (and shows a g_warning).
3899 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3901 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3903 * src/hildon-pannable-area.c,
3904 (hildon_pannable_area_scroll): Added clause to stop movement when
3905 the child of pannable is smaller than one page.
3906 (hildon_pannable_area_scroll_to): Added conditions to avoid
3907 starting the scrolling movement if the child is smaller than one
3908 page, the complete child is in the screen, we do not have to move.
3910 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3912 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3915 this is managed automatically by the widget when the size of the
3918 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3920 * src/hildon-picker-button.c
3921 (hildon_picker_button_set_done_button_text): Make a copy of the
3922 text, and free the previous value.
3924 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3926 * src/hildon-touch-selector-entry.c:
3927 (hildon_touch_selector_entry_print_func): Return the selected row's
3928 text if the entry is empty.
3930 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3933 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3935 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3937 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3940 * src/hildon-check-button.h
3941 * src/hildon-check-button.c
3942 * examples/hildon-check-button-example.c:
3943 HildonCheckButton is now a new widget. 'toggled' signal added.
3945 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3947 * src/hildon-program-private.h
3948 * src/hildon-program.c (hildon_program_init)
3949 (hildon_program_finalize): Removed unused variables group_leader
3950 and name from HildonProgramPrivate.
3952 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3954 * src/hildon-check-button.c (hildon_check_button_set_active)
3955 (hildon_check_button_get_active, hildon_check_button_new): Use
3956 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3958 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3960 * src/hildon-touch-selector.h
3961 (hildon_touch_selector_set_column_attributes): added deprecation
3962 guard HILDON_DISABLE_DEPRECATED
3963 * src/hildon-time-selector.c
3964 (hildon_time_selector_set_time)
3965 (hildon_time_selector_get_time): Fixed a typo on documentation
3966 * src/hildon-touch-selector.c: update HildonTouchSelector and
3967 HildonTouchSelectorColumn documentation
3968 * src/hildon-touch-selector-entry.c: update "text-column" property
3970 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3971 to be added to the general documentation.
3973 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3975 * examples/hildon-pannable-area-example-4.c,
3977 * examples/hildon-pannable-area-example.c,
3978 (main): Modified the code in order to use the container add, with
3979 viewport treeviews could have problems if they are really big.
3981 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3983 * src/hildon-weekday-picker.c,
3984 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3985 the agreement regarding deprecation in the library.
3987 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3989 * examples/hildon-picker-button-multicolumn-example.c:
3990 (main): Use custom "done" button text.
3992 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3993 (hildon_picker_button_set_property),
3994 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3995 (hildon_picker_button_init),
3996 (+hildon_picker_button_get_done_button_text),
3997 (+hildon_picker_button_set_done_button_text): New methods to customize
3998 the "done" button label in the launched HildonPickerDialog. Also,
4001 * src/hildon-picker-button.h: add the public API.
4003 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4005 * src/hildon-date-selector.h:
4006 * src/hildon-picker-dialog.h:
4007 * src/hildon-time-selector.h:
4008 * src/hildon-touch-selector-column.h:
4009 * src/hildon-touch-selector.h:
4011 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4012 declarations. Fixes gtk-doc warnings.
4014 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4016 * src/hildon-picker-dialog.h
4017 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4018 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4020 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4021 long text is set as label for done button)
4023 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4025 * src/hildon-dialog.c (hildon_dialog_add_button):
4026 Set fixed width to all buttons in the HildonDialog.
4028 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4030 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4032 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4033 Set widget name using class name plus "-finger" or "-thumb".
4035 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4037 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4038 'clicked' when the state of the button is manually changed.
4040 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4042 * src/hildon-app-menu.c (hildon_app_menu_realize)
4043 (hildon_app_menu_unrealize, hildon_app_menu_init)
4044 (hildon_app_menu_class_init, item_visibility_changed):
4045 Change the menu layout when the size of the screen changes.
4046 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4047 Show warning only when changing the number of colums using the
4050 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4052 * debian/compat: Set to 5
4053 * debian/control: Update dependencies.
4054 * debian/libhildon1-dbg.install: Remove.
4055 * debian/libhildon1-dev.install: Update according to cdbs paths.
4056 * debian/libhildon1.install: Update according to cdbs paths.
4057 * debian/rules: Switch to cdbs.
4059 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4062 'item' variable renamed to 'filter'
4064 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4066 * src/hildon-app-menu.c (hildon_app_menu_insert)
4067 (hildon_app_menu_add_filter, remove_item_from_list)
4068 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4069 Don't leak hidden items when the menu is destroyed.
4071 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4073 * src/hildon-app-menu.c (hildon_app_menu_insert)
4074 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4075 (hildon_app_menu_set_columns, item_visibility_changed)
4076 (filter_visibility_changed, hildon_app_menu_repack_filters)
4077 (hildon_app_menu_repack_items):
4078 Repack items and filters separately.
4080 Don't repack all items, change only the ones that are needed to
4083 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4085 * src/Makefile.am: added hildon-touch-selector-column.h
4087 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4089 * src/hildon-touch-selector.c: added the property "text-column" to the
4090 class HildonTouchSelectorColumn, and related get/set functions
4091 (_default_printf_func): updated to use "text-column" property
4092 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4093 "text-column" in his documentation, as this is now included on
4094 HildonTouchSelectorColumn. The get/set_property can still be used,
4095 working as a wrapper to the concrete column "text-column" property
4096 (_text_column_modified): callback added in order to handle the signal
4097 "notify::text-column" of the concrete HildonTouchSelectorColumn
4098 (hildon_touch_selector_entry_get_text_column)
4099 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4100 modified in order to use the HildonTouchSelectorColumn "text-column"
4102 * src/hildon-time-selector.c:
4103 * src/hildon-date-selector.c:
4104 * examples/hildon-touch-selector-example.c
4105 * examples/hildon-touch-selector-multi-cells-example.c
4106 * examples/hildon-picker-button-multicolumn-example.c
4107 Set the right value to "text-column" property on the creation of a new
4108 column using hildon_touch_selector_append_column()
4110 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4112 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-app-menu.c
4115 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4116 updating the layout of the menu, don't create all widgets again,
4117 just repack the items in their new places.
4119 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4121 * src/hildon-time-selector.c
4122 (hildon_time_selector_get_time)
4123 (hildon_time_selector_set_time)
4124 Added documentation of these public methods
4126 * src/hildon-date-button.h
4127 * src/hildon-touch-selector-column.h
4128 * src/hildon-time-button.h
4129 * src/hildon-picker-dialog.h
4130 * src/hildon-time-selector.h
4131 * src/hildon-picker-button.h
4132 * src/hildon-touch-selector.h
4133 * src/hildon-time-picker.h
4134 * src/hildon-date-selector.h
4135 * src/hildon-touch-selector-entry.h
4136 Modified in order to use hildon-widgets code style
4138 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4140 Added deprecated support to the compilation process using
4141 HILDON_DISABLE_DEPRECATED
4143 * configure.ac: Added the --disable-deprecated to the configure
4146 * src/hildon-weekday-picker.c:
4147 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4148 to use the deprecated support. We will update the other deprecated
4149 widgets status in a new patch.
4151 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4153 * configure.ac: Fixed typo with fatal warnings support, the
4154 variable name was not correct
4156 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4158 * src/hildon-app-menu.c
4159 * src/hildon-program.c: Update documentation.
4161 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4163 * configure.ac: Post-release version bump.
4165 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4170 * configure.ac: Pre-release version bump.
4171 * debian/changelog: Updates.
4173 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4175 * NEWS: Update news for previous releases.
4177 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4179 * examples/hildon-touch-selector-multi-cells-example.c:
4180 (create_selector): Update the example to use
4181 hildon_touch_selector_append_column() with a NULL renderer and set
4182 the renderers later.
4183 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4184 passed a NULL renderer. This is documented behavior now.
4186 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4187 This must be used if the developer wants full control on the layout of
4188 the renderers to be added to the column.
4190 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4192 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4194 * src/hildon-touch-selector.c: Documentation fixes.
4196 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4198 * src/hildon-wizard-dialog-private.h: Remove image and box.
4199 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4200 (hildon_wizard_dialog_set_property), (response): Completely remove
4201 image/icon support, and the containers required for the layout.
4203 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4205 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4207 * src/hildon-app-menu.c: Updated documentation.
4209 * src/hildon-stackable-window.c
4210 (hildon_stackable_window_set_main_menu): Unref the old menu after
4211 ref'ing the new one.
4213 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-stackable-window.c
4216 (hildon_stackable_window_set_main_menu): Unref the previous menu
4217 instead of destroying it.
4219 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4220 floating reference and set has_user_ref_count to FALSE to make
4221 HildonAppMenu act like a normal ref-counted widget and not a
4224 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4227 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4229 * src/hildon-touch-selector-column.h: new file
4230 * src/hildon-touch-selector.h
4231 * src/hildon-touch-selector.c
4232 Implemented GtkCellLayout interface, in order to allow to configure
4233 the cell layout on each individual selector column
4234 (hildon_touch_selector_set_column_attributes): marked as deprecated
4235 * examples/hildon-touch-selector-multi-cells-example.c
4236 Example of how to use the GtkCellLayout interface on the selector
4238 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4240 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4242 * src/hildon-app-menu.h
4243 * src/hildon-app-menu.c
4244 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4245 (hildon_app_menu_append, hildon_app_menu_prepend):
4246 New methods to prepend, insert and move items in the menu.
4248 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-wizard-dialog.c:
4252 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4254 (create_title): Update logical IDs and related code.
4255 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4257 * src/hildon-wizard-dialog.h: Note that
4258 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4259 point, as it is not used anymore.
4261 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4263 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4265 * src/hildon-note.c:
4266 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4267 shown. Do not display an icon in confirmation notes nor information
4269 (hildon_note_set_button_text): Update logical ID for cancel button.
4271 Fixes: NB#88850 (Update HildonNote button strings + signals)
4273 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4275 * src/hildon-stackable-window.c
4276 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4278 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4280 * src/hildon-app-menu-private.h
4281 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4282 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4283 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4284 temporary property 'columns' to change the number of columns.
4286 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4288 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4290 * examples/hildon-note-example.c: (on_information_clicked),
4291 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4292 debugging information.
4293 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4295 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4296 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4297 in order to close: this will be handled by the WM from now on.
4299 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4301 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4303 * src/hildon-app-menu-private.h
4304 * src/hildon-app-menu.c
4305 (hildon_app_menu_append, hildon_app_menu_add_filter)
4306 (button_visibility_changed, hildon_app_menu_apply_style)
4307 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4308 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4309 layout everytime a button (item or filter) is shown or hidden.
4311 * src/hildon-stackable-window.c
4312 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4315 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4317 * src/hildon-touch-selector.c:
4318 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4319 that the treeview inside the touch selector is in fremantle hildon mode
4320 * examples/hildon-date-button-example.c
4321 * examples/hildon-picker-button-multicolumn-example.c
4322 * examples/hildon-touch-selector-entry-example.c
4323 * examples/hildon-touch-selector-example.c
4324 * examples/hildon-time-button-example.c
4325 * examples/hildon-picker-button-example.c:
4326 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4328 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4330 * examples/hildon-text-view-example.c: (main): Remove the
4331 gtkrc bits, now handled by the theme.
4333 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4335 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4338 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4340 * po/Makefile.am: Install properly the mo files.
4341 * po/en_GB.po: Update translation, to ease testing purposes.
4343 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4345 * examples/hildon-picker-button-example.c: (main): Select an item
4346 in the selector before setting it to the button.
4348 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4350 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4351 Update button's value if the selector has an item active.
4353 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4354 'value' with the selector)
4356 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4359 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4360 (hildon_picker_button_class_init): Plug the finalize method.
4361 (hildon_picker_button_set_selector): If there's a previously set
4362 selector, unref'it before setting a new one.
4364 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4365 HildonTouchSelector)
4367 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4369 * src/hildon-touch-selector-entry.c:
4370 (hildon_touch_selector_entry_changed): Check if there is no text
4371 selected before setting the entry text.
4374 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4376 * src/hildon-touch-selector.h
4377 * src/hildon-touch-selector.c
4378 (hildon_touch_selector_get_active)
4379 (hildon_touch_selector_set_active): New methods to set/get the
4380 index of the selected item.
4382 * src/hildon-picker-button.h
4383 * src/hildon-picker-button.c
4384 (hildon_picker_button_get_active)
4385 (hildon_picker_button_set_active): New methods to set/get the
4386 index of the selected item.
4388 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4390 * configure.ac: post-release version bump.
4392 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4396 * configure.ac: Pre-release version bump.
4397 * debian/changelog: Updates.
4398 * debian/control: Add myself as maintainer and depend on l10n
4401 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4403 * src/hildon-window.c
4404 (hildon_window_set_main_menu)
4405 * src/hildon-stackable-window.c
4406 (hildon_stackable_window_set_main_menu):
4407 Updated documentation.
4409 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4411 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4412 Don't free selector->priv manually.
4415 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4418 (hildon_gtk_window_set_progress_indicator):
4419 * src/hildon-gtk.h: Added the new API
4420 hildon_gtk_window_set_progress_indicator, it changes the state of
4421 the window progress hint.
4423 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4425 * src/hildon-button.c
4426 * src/hildon-stackable-window.c: Minor documentation updates.
4428 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4430 * src/hildon-stackable-window.c: Updated documentation.
4432 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4434 * src/hildon-defines.h: Update margins definitions
4435 to the Fremantle sizes.
4438 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4440 * src/hildon-touch-selector.c,
4441 (_hildon_touch_selector_set_model): Cleaning the code after
4442 review, removed g_print and #if 0 from the code.
4444 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-edit-toolbar.c: Update documentation.
4448 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4450 * src/hildon-check-button.h
4451 * src/hildon-check-button.c
4452 (hildon_check_button_set_label, hildon_check_button_get_label)
4453 * examples/hildon-check-button-example.c
4454 (button_clicked_cb):
4455 Removed deprecated methods.
4457 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4459 * src/hildon-text-view.c:
4460 Add sample code to the documentation.
4462 * src/hildon-entry.h
4463 * src/hildon-text-view.h:
4464 Minor cosmetic changes.
4466 * src/hildon-entry.c:
4467 Add sample code to the documentation.
4468 (hildon_entry_init, hildon_entry_refresh_contents):
4469 Don't allow NULL values in the placeholder.
4471 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4473 * doc/hildon-docs.sgml
4475 * examples/Makefile.am
4476 * examples/hildon-text-view-example.c
4478 * src/hildon-text-view.c
4479 * src/hildon-text-view.h
4481 New HildonTextView widget, with example.
4483 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4485 * po/POTFILES.in: Add missing files with translatable strings.
4486 Partially fixes NB#88287.
4488 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4490 * examples/hildon-pannable-area-example-2.c: (main): No need to
4491 set the cellrenderer height inside hildon touch lists, the theme does
4494 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4496 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4497 they are integrated in the theme.
4499 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4501 * examples/hildon-entry-example.c: Update the example adding
4502 widgets to modify the text and the placeholder of the HildonEntry.
4504 * src/hildon-entry.c: Show the placeholder everytime the widget
4505 is empty and loses the focus.
4507 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4509 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4511 * src/hildon-pannable-area.c,
4512 (hildon_pannable_area_size_request): Fixed bug in height
4513 requisition, avoid increasing size and add border twice.
4515 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4517 * configure.ac: postrelease version bump.
4519 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4523 * configure.ac: Prerelease version bump.
4524 * debian/changelog: update.
4525 * debian/rules: make -dbg package contain useful debugging symbols.
4527 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4529 * src/hildon-dialog.h
4530 * src/hildon-dialog.c
4531 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4532 New methods to add buttons with finger size.
4533 (hildon_dialog_new_with_buttons):
4534 Create buttons with finger size.
4536 * examples/hildon-dialog-example.c (main): Use HildonDialog
4537 methods to add buttons.
4539 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4541 * src/hildon-entry.c: Updated HildonButton documentation.
4543 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4545 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4546 button value label with (FALSE, FALSE) to prevent NB#88126 from
4549 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4551 * examples/hildon-pannable-area-example.c,
4552 (main): Removed examples panning a vbox inside a pannable
4553 area. Check bug NB#87965
4555 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4557 Patch contributed by Kris Rietveld (kris@imendio.com)
4559 * src/hildon-pannable-area.c,
4560 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4561 get_size and get_position, this saves an X server roundtrip.
4563 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4565 * doc/hildon-docs.sgml
4567 * examples/Makefile.am
4568 * examples/hildon-entry-example.c
4570 * src/hildon-entry.c
4571 * src/hildon-entry.h
4573 New HildonEntry widget, with example.
4575 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4577 * src/hildon-button.c (hildon_button_construct_child): Pack the
4578 image with expand == fill == FALSE. This is a workaround for a bug
4581 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4583 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4584 labels for the text column, to make it more look more dynamic.
4586 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4588 * src/hildon-time-selector.c
4589 Define gettext auxiliar macro N_
4590 (_create_minutes_model)
4591 (_create_hours_model)
4592 (_create_ampm_model): use of strftime in order to fill the model
4593 * src/hildon-date-selector.c
4594 (hildon_date_selector_finalize):
4595 (_locales_init): remove the logic related to get the name of the months
4596 using nl_langinfo, as it is not required anymore
4598 (_create_year_model)
4599 (_create_month_model)
4600 (_update_day_model): use of strftime in order to fill the model properly
4603 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4605 * src/hildon-button.h
4606 * src/hildon-button.c (hildon_button_get_image): New method to
4609 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4611 * src/hildon-touch-selector.c:
4612 (hildon_touch_selector_remove_column): Remove from the correct parent
4613 and also remove the list element and free it.
4616 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4618 * src/hildon-time-selector.c
4619 (_create_hours_model): change the range on 12h ampm format in order to use
4620 a 12-11 range instead of previous 01-12 range
4621 (hildon_time_selector_set_time): change the way to select the current time
4622 on 12h ampm format, due the change on the range
4623 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4626 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4628 * src/hildon-touch-selector.c
4629 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4630 in order to allow use this function on multiple row selection mode if
4631 the column is different that the first one
4634 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4636 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4637 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4639 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4641 * src/hildon-date-selector.h: clean some comments, now on the .c
4642 * src/hildon-date-selector.c
4643 (hildon_date_selector_select_month): first implementation
4644 (hildon_date_selector_select_day): added documentation, reimplemented
4645 using hildon_date_selector_select_current_date to avoid repeat code
4648 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4650 Reviewed interaction logic based on device experiences, refactored
4653 * src/hildon-pannable-area.c,
4654 (hildon_pannable_area_class_init): Updated default vmax speed.
4655 (hildon_pannable_area_calculate_velocity): Added this function, it
4656 avoids duplicate valocity calculation. Adjusted calculation to
4657 avoid problems with zero dist events.
4659 (hildon_pannable_area_motion_notify_cb): Now we use the
4660 calculate_velocity function.
4662 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4664 * src/hildon-date-selector.c
4665 (hildon_date_selector_select_current_date): fix the day range check
4666 as it failed using the last day of the current month
4669 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4671 * src/hildon-touch-selector.c
4672 (hildon_touch_selector_get_num_columns): added a parameter validation
4675 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4677 * examples/Makefile.am
4678 * examples/hildon-edit-toolbar-example.c: Example of the
4679 HildonEditToolbar widget.
4681 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4683 * configure.ac: postrelease version bump.
4685 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4689 * configure.ac: prerelease version bump.
4690 * debian/changelog: update.
4692 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4694 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4695 renderer to display stock icons in the touch list. Also, set the sizes
4696 to the recommended in the style guide.
4698 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4699 * src/hildon-touch-selector.h
4700 (hildon_touch_selector_set_active_iter): renamed, now is
4701 hildon_touch_selector_select_iter
4702 (hildon_touch_selector_get_active_iter): renamed, now is
4703 hildon_touch_selector_get_selected
4704 (hildon_touch_selector_unselect_iter): added
4705 * src/hildon-touch-selector.c
4706 Update after API modification (methods renamed)
4707 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4708 order to avoid problems selecting multiple elements on the column
4709 (hildon_touch_selector_unselect_iter): added the implementation
4710 * src/hildon-time-selector.c
4711 * src/hildon-date-selector.c
4712 * src/hildon-touch-selector-entry.c
4713 Update methods calls after hildon-touch-selector.h API modification (methods
4716 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4718 * src/hildon-stackable-window.c
4719 (hildon_stackable_window_finalize): Call the parent class's finalize.
4721 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4723 * examples/hildon-touch-selector-example.c: (create_selector): Use
4724 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4727 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4729 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4730 set a cell background color, to respect theming.
4732 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4734 * doc/hildon-docs.sgml
4737 * src/hildon-edit-toolbar.c
4738 * src/hildon-edit-toolbar.h
4739 * src/hildon.h: New HildonEditToolbar widget.
4741 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4743 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4746 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4747 * src/hildon-touch-selector.c
4748 (_create_new_column): use g_object_set instead of two g_object_set_property
4750 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4751 * src/hildon-touch-selector.c
4752 (_create_new_column): use of hildon_gtk_tree_view_new to create
4753 the treeview, instead of use directly g_object_new
4754 (_create_new_column): update the property name "vindicator-mode" for the
4755 new one "vscrollbar-policy"
4756 * examples/hildon-date-button-example.c
4757 * examples/hildon-picker-button-multicolumn-example.c
4758 * examples/hildon-touch-selector-entry-example.c
4759 * examples/hildon-touch-selector-example.c
4760 * examples/hildon-time-button-example.c
4761 * examples/hildon-picker-button-example.c
4762 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4763 to all the treeviews inside a pannable area.
4765 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4767 * src/hildon-button.h
4768 * src/hildon-button.c (hildon_button_init)
4769 (hildon_button_set_arrangement, hildon_button_set_alignment)
4770 (hildon_button_set_title_alignment)
4771 (hildon_button_set_value_alignment)
4772 (hildon_button_set_image_alignment)
4773 (hildon_button_construct_child): New methods to set the alignment
4774 of the individual components of the button (title, value,
4775 image). Also, new method to alter the xscale and yscale properties
4776 of the GtkAlignment inside the button, so more complex layouts can
4779 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4781 * src/hildon-button.c (hildon_button_style_set)
4782 (hildon_button_class_init, hildon_button_set_arrangement)
4783 (hildon_button_construct_child): Apply style properties
4784 correctly. Use the 'image-spacing' style property too.
4786 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4788 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4789 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4792 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4794 * src/hildon-pannable-area.c,
4795 (hildon_pannable_area_size_request): Fixed problem with
4796 pannable-area size_request.
4798 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4800 Added management for the grab-focus to a child widget, like a
4801 range, we need to fade out the scrollbar when releasing.
4803 * src/hildon-pannable-area.c,
4804 (hildon_pannable_area_init): Connected the grab-focus signal to
4806 (hildon_pannable_area_grab_notify): Added this function in order
4807 to manage the situation when the grab-focus ends. We have to
4808 fade-out the scrollbar.
4810 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4812 * src/hildon-app-menu.c: Minor documentation update.
4814 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4816 * src/hildon-app-menu.c
4817 * examples/hildon-app-menu-example.c (create_menu): Update
4818 examples and documentation to explain how to connect callbacks.
4820 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4822 * examples/hildon-button-example.c
4823 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4824 hildon_stackable_window_new instead of gtk_window_new
4826 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4828 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4829 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4830 (hildon_pannable_area_set_property),
4831 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4832 (hildon_pannable_area_unrealize),
4833 (hildon_pannable_area_size_request),
4834 (hildon_pannable_area_size_allocate),
4835 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4836 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4837 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4838 (hildon_pannable_area_initial_effect),
4839 (hildon_pannable_area_redraw),
4840 (hildon_pannable_area_scroll_indicator_fade),
4841 (hildon_pannable_area_expose_event),
4842 (hildon_pannable_area_get_topmost), (synth_crossing),
4843 (hildon_pannable_area_button_press_cb),
4844 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4845 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4846 (hildon_pannable_area_motion_notify_cb),
4847 (hildon_pannable_area_button_release_cb),
4848 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4849 (hildon_pannable_area_remove),
4850 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4851 chage the code layout to a more GtkWidget like. Review the use of
4854 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4856 * examples/hildon-pannable-area-example-4.c,
4857 (main): Modified the name of the hindicator_mode to
4860 * src/hildon-pannable-area.c,
4861 (hildon_pannable_area_class_init),
4862 (hildon_pannable_area_motion_notify_cb),
4863 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4864 we have reduced the amount of signals and managed reviewed its
4865 rationale. Changed the default decelerate value.
4867 (hildon_pannable_area_add),
4868 (hildon_pannable_area_redraw): Refactored functions.
4870 (hildon_pannable_area_init),
4871 (hildon_pannable_area_get_property),
4872 (hildon_pannable_area_set_property):
4873 (hildon_pannable_draw_vscroll),
4874 (hildon_pannable_draw_hscroll),
4875 (hildon_pannable_area_initial_effect),
4876 (hildon_pannable_area_expose_event),
4877 (hildon_pannable_area_scroll),
4878 (hildon_pannable_area_button_press_cb),
4879 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4880 and vindicator_mode with hscrollbar_policy and
4881 vscrollbar_policy. Replaced hscroll and vscroll with
4882 hscroll_visible and vscroll_visible.
4884 (hildon_pannable_area_refresh): Refactor the function, remove
4885 variables and check the calls to this function, added resize
4886 conditions in case the children change their layout.
4888 (hildon_pannable_area_size_request): Added more detailed
4889 size_request calculation.
4892 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4894 * src/hildon-color-chooser.c
4895 (init_borders): use the correct gtk_border_free instead of g_free, to
4896 avoid a crash when this widget is used (ie: the three color selection
4899 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4901 * src/hildon-check-button.c,
4902 (hildon_check_button_set_active): Fixed problem when setting the
4903 active value, the widget was not redrawn.
4905 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4907 * src/hildon-pannable-area.c,
4908 (hildon_pannable_area_refresh),
4909 (hildon_pannable_area_scroll),
4910 (hildon_pannable_area_motion_notify_cb): Small code style change.
4912 (hildon_pannable_area_class_init): Default initial_hint set to
4913 FALSE, it is not in the specs.
4915 (hildon_pannable_area_initial_effect),
4916 (hildon_pannable_area_expose_event),
4917 (hildon_pannable_area_map),
4918 (hildon_pannable_area_init): Moved the launching point of the
4919 initial effect, it was in map but the sizes where not correct in
4920 that method so we do not know if we have the reproduce it. Now it
4921 is placed in the expose_event method and uses a variable to
4922 reproduce it just once.
4924 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4926 * src/hildon-pannable-area.c,
4927 (hildon_pannable_draw_vscroll),
4928 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4929 position allowed for the scrollbars.
4931 (hildon_pannable_area_size_allocate): Small style change.
4933 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4935 * src/hildon-pannable-area.c,
4936 (hildon_pannable_area_scroll_indicator_fade),
4937 (hildon_pannable_area_button_press_cb),
4938 (hildon_pannable_area_button_release_cb),
4939 (hildon_pannable_area_scroll_cb),
4940 (hildon_pannable_area_expose_event),
4941 (hildon_pannable_area_init): Added the define parameter
4942 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4943 and refactor the fade variable.
4945 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4947 * src/hildon-pannable-area.c,
4948 (hildon_pannable_area_redraw),
4949 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4950 lines, we were reimplemeting the redraw code.
4952 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4954 * src/hildon-pannable-area.c,
4955 (hildon_pannable_area_scroll_cb),
4956 (hildon_pannable_area_realize),
4957 (hildon_pannable_area_class_init): Added scroll_event management
4958 for pannable area, now we can scroll the usual desktop method.
4960 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4961 initialization of the parameters should depend on idle_id.
4963 (hildon_pannable_area_init),
4964 (hildon_pannable_area_map): Small code style modifications
4966 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4968 * src/hildon-pannable-area.c
4969 (hildon_pannable_area_button_press_cb),
4970 (hildon_pannable_area_motion_notify_cb),
4971 (hildon_pannable_area_button_release_cb),
4972 (hildon_pannable_area_size_allocate),
4973 (hildon_pannable_area_scroll_to): Improved the timeouts
4974 management, we avoid creating them each time.
4976 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4978 * src/hildon-pannable-area.c:
4979 (hildon_pannable_area_refresh),
4980 (hildon_pannable_area_motion_notify_cb),
4981 (hildon_pannable_area_class_init):
4982 * src/hildon-pannable-area.h:
4983 * src/hildon-touch-selector.c
4984 (_create_new_column):
4985 * examples/hildon-pannable-area-example-4.c:
4986 (horizontal_movement),
4987 (vertical_movement),
4989 Replaced the names of enums in the HildonPannableArea:
4990 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4991 HILDON_MOVEMENT_MODE_*
4992 - HILDON_PANNABLE_AREA_MOV_* ->
4994 - Removed HildonPannableAreaIndicatorMode, now we
4997 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4999 * examples/hildon-pannable-area-touch-grid-example.c
5000 * examples/hildon-pannable-area-touch-list-example.c: Fix
5001 compilation warnings.
5003 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5005 * src/hildon-gtk.c (hildon_gtk_button_new)
5006 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5007 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5008 images overriding the value of the "gtk-button-images" setting.
5010 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5012 * src/hildon-check-button.c (hildon_check_button_new):
5013 Instead of using a custom container, display the label and the
5014 checkbox using the standard GtkButton API.
5016 * examples/hildon-check-button-example.c (main): Don't use
5017 hildon_check_button_set_label() anymore
5019 * src/hildon-check-button.h
5020 * src/hildon-check-button.c
5021 (hildon_check_button_set_label, hildon_check_button_get_label):
5022 Set as deprecated, now we're using gtk_button_{get,set}_label()
5024 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5026 * src/hildon-pannable-area.c,
5027 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5028 GtkTreeview first line we detected it after the inclusion of the
5029 GtkWindowImpl in gtk+. We now check if the window is visible, not
5030 just if the pointer is over the window.
5031 (hildon_pannable_axis_scroll),
5032 (hildon_pannable_area_expose_event): Small style changes.
5034 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5036 * src/hildon-button.c: Update documentation.
5038 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5040 * examples/hildon-button-example.c: Add a switch to show images in
5043 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5045 * doc/hildon-docs.sgml: Some docs reorganization.
5047 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5049 * examples/hildon-pannable-area-touch-list-example.c
5051 * examples/hildon-pannable-area-touch-grid-example.c
5052 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5053 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5054 Fix memory leak when setting the tree model.
5056 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5060 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5062 * doc/hildon.types: Remove duplicated hildon_window_get_type
5063 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5064 documentation comment.
5066 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5068 * doc/Makefile.am: Complete list of private headers.
5070 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5072 * doc/hildon-docs.sgml
5073 * src/hildon-app-menu.c
5074 * src/hildon-bread-crumb.c
5075 * src/hildon-button.c
5077 * src/hildon-program.c
5078 * src/hildon-stackable-window.c
5079 * src/hildon-window.c: Lots of documentation updates.
5081 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5083 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5085 * configure.ac: Require Gtk+ 2.12.9 at least
5087 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5089 * src/hildon-pannable-area.c
5090 (hildon_pannable_area_scroll_indicator_fade),
5091 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5092 to protect the return of this timeout callbacks, avoiding deadlocks.
5094 2008-08-12 Christian Dywan <christian@imendio.com>
5097 * src/hildon-*.h: Ensure a consistent include order,
5098 include <gtk/gtk.h> instead of particular files and
5099 only include the topmost header in the gtk stack. See NB #39857
5101 2008-08-12 Christian Dywan <christian@imendio.com>
5103 * src/hildon-picker-dialog.c
5104 * src/hildon-touch-selector.c: Fix warnings about unused and
5105 uninitialized variables.
5107 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5109 * examples/Makefile.am
5110 * examples/hildon-check-button-example.c: Example of the hildon
5113 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5115 * src/hildon-window.h
5116 * src/hildon-window.c (hildon_window_class_init)
5117 (hildon_window_unset_program): Don't make
5118 hildon_window_unset_program a virtual function anymore.
5120 * src/hildon-stackable-window.c: Update documentation
5122 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5125 * doc/hildon-docs.sgml
5126 * doc/visual_index.xml
5127 * src/hildon-defines.c
5129 * src/hildon-helper.c
5130 * src/hildon-range-editor.c: Lots of documentation fixes.
5132 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5134 * examples/hildon-picker-button-multicolumn-example.c
5135 (create_touch_selector): Fix compilation warning.
5137 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5139 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5140 (hildon_pannable_area_button_release_cb)
5141 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5143 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5145 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5148 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5150 * src/hildon-bread-crumb-trail.h
5151 * src/hildon-date-editor.c
5152 * src/hildon-date-selector.c
5153 * src/hildon-pannable-area.c
5154 * src/hildon-picker-dialog.c
5155 * src/hildon-time-selector.c
5156 * src/hildon-touch-selector-entry.c
5157 * src/hildon-touch-selector.c
5158 * src/hildon-touch-selector.h: Misc documentation fixes
5160 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5162 * examples/hildon-date-editor-example.c (main): Updated date
5165 * examples/hildon-note-example.c (on_confirmation_clicked):
5166 Updated confirmation note example.
5168 * src/hildon-date-editor.c
5169 * src/hildon-note.c: Updated sample programs in documentation.
5172 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5174 * src/hildon-date-button.h:
5175 * src/hildon-picker-button.h:
5176 * src/hildon-time-button.c:
5177 * src/hildon-time-button.h:
5179 Some declarations changes to allow gtk-doc to document the widgets
5182 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5184 * src/hildon-date-button.c: Document the widget.
5185 * src/hildon-time-button.c: Document the widget.
5187 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5189 * src/hildon-picker-button.c: Document the widget.
5190 * src/hildon-touch-selector-entry.c: Document the widget.
5192 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5194 * doc/hildon-docs.sgml
5197 * src/hildon-check-button.h
5198 * src/hildon-check-button.c: New functions to create the Hildon
5202 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5204 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-button.h
5207 * src/hildon-button.c
5208 (hildon_button_add_title_size_group)
5209 (hildon_button_add_value_size_group)
5210 (hildon_button_add_image_size_group)
5211 (hildon_button_add_size_groups): New functions to set size groups
5212 for the button labels and image.
5213 (hildon_button_new_full): Removed
5215 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5217 * src/hildon-time-selector.c
5218 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5219 in order to avoid a crash if gconf is not available
5221 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5223 * src/hildon-button.c (hildon_button_set_arrangement)
5224 (hildon_button_construct_child): Don't construct the button child
5225 before setting the arrangement.
5227 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5229 * src/hildon-program-private.h
5230 * src/hildon-program.c
5231 * src/hildon-program.h
5232 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5233 (hildon_program_peek_window_stack)
5234 (hildon_program_pop_window_stack)
5235 (hildon_program_go_to_root_window): HildonProgram now has a
5236 separate list for stackable windows. Functions are provided to
5237 manage that list with a stack-like API.
5239 * src/hildon-stackable-window.c: Stackable window management is
5240 now much simpler with the new HildonProgram API. Windows no
5241 longer need to be manually added to the program, they're
5242 automatically pushed to the top of the stack when shown.
5244 * examples/hildon-stackable-window-example.c: Updated example to
5245 reflect the API changes.
5247 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5249 * src/hildon-touch-selector.c: Comment out unimplemented
5250 hildon_touch_selector_insert_column() to avoid a compile warning.
5252 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5254 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5255 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5256 (hildon_touch_selector_set_column_selection_mode),
5257 (_hildon_touch_selector_set_model),
5258 (hildon_touch_selector_set_model):
5260 Complete review of HildonTouchSelector documentation.
5262 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5264 * doc/hildon-docs.sgml
5268 * src/hildon-gtk.c: Convenience functions for standard Gtk
5269 widgets, used to easily perform frequent operations.
5271 * src/hildon-button-helpers.h
5272 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5274 * src/hildon-helper.h
5275 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5276 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5278 * src/hildon-button.h
5279 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5281 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5283 * src/hildon-button.c (hildon_button_init)
5284 (hildon_button_set_arrangement, hildon_button_construct_child):
5285 Pack the image and the labels inside the same GtkAlignment so
5286 gtk_button_set_alignment() can be used
5288 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5290 * src/hildon-button.h
5291 * src/hildon-button.c
5292 (hildon_button_init, hildon_button_set_image)
5293 (hildon_button_set_image_position)
5294 (hildon_button_construct_child): New functions to add an image to
5297 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5299 * src/hildon-date-button.c
5300 * src/hildon-picker-button.c
5301 * src/hildon-time-button.c
5302 * src/hildon-button.c:
5303 (hildon_button_class_init): "size-flags" renamed to "size"
5304 (hildon_button_set_title): Hide the title label if set to NULL.
5306 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5308 HildonButtonFlags split into HildonButtonArrangement (to set the
5309 button layout) and HildonSizeType (which can be used for any
5312 * src/hildon-button.h
5313 * src/hildon-button.c
5314 (hildon_button_class_init)
5315 (hildon_button_set_arrangement)
5316 (hildon_button_set_property): New "size-flags"
5317 property. "arrangement-flags" renamed to "arrangement".
5318 (hildon_button_new, hildon_button_new_with_text)
5319 (hildon_button_new_full): Constructors updated to reflect type changes.
5321 * src/hildon-helper.h
5322 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5323 to set the size of a widget.
5327 * src/hildon-button-helpers.c
5328 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5330 * src/hildon-date-button.c
5331 * src/hildon-date-button.h
5332 * src/hildon-picker-button.c
5333 * src/hildon-picker-button.h
5334 * src/hildon-time-button.c
5335 * src/hildon-time-button.h: Updated widgets to reflect
5336 HildonButton API changes.
5338 * examples/hildon-button-example.c
5339 * examples/hildon-date-button-example.c
5340 * examples/hildon-picker-button-example.c
5341 * examples/hildon-picker-button-multicolumn-example.c
5342 * examples/hildon-time-button-example.c
5343 * examples/hildon-touch-selector-entry-example.c
5344 * examples/hildon-touch-selector-example.c: Updated examples to
5345 reflect HildonButton API changes.
5347 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5349 * doc/hildon-docs.sgml:
5351 * examples/Makefile.am:
5352 * examples/hildon-touch-selector-entry-example.c:
5354 * src/hildon-touch-selector-entry.c:
5355 * src/hildon-touch-selector-entry.h:
5358 Moved HildonTouchSelectorEntry from sandbox. Added its
5359 documentation and examples.
5361 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5363 * src/hildon-touch-selector.h:
5364 * examples/hildon-picker-button-multicolumn-example.c:
5365 (hildon_touch_selector_append_text_column): Add a gboolean
5366 parameter to determine if text must be centered in the column.
5368 * src/hildon-date-selector.c: (hildon_date_selector_init):
5369 * src/hildon-time-selector.c: (hildon_time_selector_init):
5370 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5371 (create_touch_selector): Update widgets and example to reflect
5374 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5376 * src/hildon-touch-selector.c:
5377 (hildon_touch_selector_set_active_iter): Set also the cursor in
5380 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5382 * doc/hildon-docs.sgml
5385 * src/hildon-toggle-button.c
5386 * src/hildon-toggle-button.h
5387 * src/hildon.h: Removed HildonToggleButton widget, a derived
5388 class is not necessary for this.
5390 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5392 * src/hildon-pannable-area.c,
5393 (hildon_pannable_area_realize),
5394 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5397 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5399 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5400 "done" button the default widget for the dialog.
5402 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5404 * src/hildon-touch-selector.c:
5405 (hildon_touch_selector_class_init),
5406 (hildon_touch_selector_get_property),
5407 (_hildon_touch_selector_set_model),
5408 (_hildon_touch_selector_has_multiple_selection),
5409 (hildon_touch_selector_has_multiple_selection):
5410 Add a "has-multiple-selection" property with a virtual
5411 has_multiple_selection() method to allow derived classes to
5412 override the default value for it. See the method and property
5413 documentation for details.
5415 * src/hildon-touch-selector.h: Add the new API.
5417 * src/hildon-picker-dialog.c: (requires_done_button): Call
5418 hildon_touch_selector_has_multiple_selection() instead of
5419 determining the need for a button itself.
5421 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5423 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5424 (_hildon_touch_selector_set_model),
5425 (hildon_touch_selector_set_model): Move working code to
5426 _hildon_touch_selector_set_mode(). Call the class method instead.
5428 * src/hildon-touch-selector.h: Add (*set_model) to
5429 HildonTouchSelectorClass.
5431 Make hildon_touch_selector_set_model() a virtual method, so that
5432 derived classes can extend it and do fancy stuff with the model.
5434 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5436 * configure.ac: Set back the tarname in AC_INIT to hildon.
5438 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5442 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5443 instead of libesd (NB#86876). Volume handling is still an open issue.
5445 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5448 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5450 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5451 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5452 derived class to ease placement of an entry widget in
5453 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5454 end, where the selector columns are packed now.
5456 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5458 * src/hildon-picker-button.c: Removed the simple _text() API.
5459 * src/hildon-picker-button.h: Likewise.
5461 * src/hildon-touch-selector.h:
5462 * src/hildon-touch-selector.c:
5463 (hildon_touch_selector_new_text),
5464 (hildon_touch_selector_append_text),
5465 (hildon_touch_selector_prepend_text),
5466 (hildon_touch_selector_insert_text):
5468 Moved the simple _text() API from HildonPickerButton to
5469 HildonTouchPicker, to provide better escalability and not to tie
5470 that API to HildonPickerButton.
5472 * examples/hildon-picker-button-example.c: (main): Example updated.
5474 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5476 * src/hildon-button.c: Updated documentation.
5478 * examples/hildon-button-example.c: Add the posibility to create
5479 the buttons using horizontal layout for title and value.
5481 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5483 * src/hildon-app-menu-private.h
5484 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5485 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5486 GtkSizeGroup for the filters, use the 'homogeneous' property of
5489 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5491 * examples/hildon-button-example.c: Updated example.
5493 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5495 * doc/hildon-docs.sgml:
5498 Update documentation.
5500 * examples/Makefile.am: Update renamed examples.
5502 * examples/hildon-picker-button-multicolumn-example.c:
5503 (create_touch_selector), (main): Update after the rename.
5505 * examples/hildon-touch-picker-example.c: Removed.
5506 * examples/hildon-touch-selector-example.c: (value_changed),
5507 (create_selector), (get_visible_content), (main): Renamed from
5508 hildon-touch-picker-example.c
5510 * src/Makefile.am: Updated renamed files.
5512 * src/hildon-date-button.c: (hildon_date_button_init),
5513 (hildon_date_button_get_date), (hildon_date_button_set_date):
5514 * src/hildon-date-selector.c: (hildon_date_selector_init),
5515 (_custom_print_func), (_update_day_model),
5516 (_manage_selector_change_cb),
5517 (hildon_date_selector_select_current_date),
5518 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5519 * src/hildon-date-selector.h:
5520 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5521 (hildon_picker_button_set_property),
5522 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5523 (hildon_picker_button_init), (hildon_picker_button_new_text),
5524 (hildon_picker_button_append_text),
5525 (hildon_picker_button_prepend_text),
5526 (hildon_picker_button_insert_text),
5527 (hildon_picker_button_set_selector),
5528 (hildon_picker_button_get_selector):
5529 * src/hildon-picker-button.h:
5530 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5531 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5532 (_update_title_on_selector_changed_cb), (requires_done_button),
5533 (_hildon_picker_dialog_set_selector),
5534 (hildon_picker_dialog_set_selector),
5535 (hildon_picker_dialog_get_selector):
5536 * src/hildon-picker-dialog.h:
5537 * src/hildon-time-button.c: (hildon_time_button_init),
5538 (hildon_time_button_get_time), (hildon_time_button_set_time):
5539 * src/hildon-time-selector.c: (hildon_time_selector_init),
5540 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5541 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5542 * src/hildon-time-selector.h:
5545 Massive code updates after the rename.
5547 * src/hildon-touch-picker.c: Removed.
5548 * src/hildon-touch-picker.h: Removed.
5550 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5551 (hildon_touch_selector_init), (hildon_touch_selector_map),
5552 (hildon_touch_selector_remove), (_default_print_func),
5553 (_selection_changed_cb), (_create_new_column),
5554 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5555 (hildon_touch_selector_append_text_column),
5556 (hildon_touch_selector_remove_column),
5557 (hildon_touch_selector_set_column_attributes),
5558 (hildon_touch_selector_insert_column),
5559 (hildon_touch_selector_get_num_columns),
5560 (hildon_touch_selector_get_column_selection_mode),
5561 (hildon_touch_selector_set_column_selection_mode),
5562 (hildon_touch_selector_set_print_func),
5563 (hildon_touch_selector_get_print_func),
5564 (hildon_touch_selector_get_active_iter),
5565 (hildon_touch_selector_set_active_iter),
5566 (hildon_touch_selector_get_selected_rows),
5567 (hildon_touch_selector_get_model),
5568 (hildon_touch_selector_set_model),
5569 (hildon_touch_selector_get_current_text),
5570 (_hildon_touch_selector_center_on_selected_items):
5571 * src/hildon-touch-selector.h: Renamed from
5572 hildon-touch-picker.[ch]
5574 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5575 references, code examples, and related documentation.
5577 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5579 * doc/hildon-docs.sgml
5582 * src/hildon-toggle-button.c
5583 * src/hildon-toggle-button.h
5584 * src/hildon.h: New HildonToggleButton widget.
5586 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5588 * src/hildon-button.c: Add API documentation.
5589 (hildon_button_set_size_groups): Check input parameters
5591 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5593 * src/hildon-pannable-area.c
5594 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5595 effect after reaching the movement thredshold. This way we start
5596 using the distance after passing the thredshold.
5598 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5600 * src/hildon-button.c: (hildon_button_set_property): Use the
5601 appropriate g_value_get_flags() method.
5603 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5605 * doc/hildon-docs.sgml:
5608 Add the touch pickers, picker dialogs, and picker button widgets
5609 to the documentation.
5611 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5613 * src/hildon-button.c: (hildon_button_set_property),
5614 (hildon_button_class_init): Make "arrangement-flags" a proper
5615 G_TYPE_FLAGS derived property.
5617 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5619 * examples/Makefile.am: Add below examples.
5620 * examples/hildon-date-button-example.c:
5621 * examples/hildon-picker-button-example.c:
5622 * examples/hildon-picker-button-multicolumn-example.c:
5623 * examples/hildon-time-button-example.c:
5624 * examples/hildon-touch-picker-example.c:
5626 Add examples for the recently added touch pickers,
5627 picker dialogs, and picker button widgets.
5629 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5631 * src/hildon-button.c: Add some API documentation
5633 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5635 * src/hildon-button.h
5636 * src/hildon-button.c
5638 (hildon_button_new_with_text): New constructor to create a button
5639 with no text at all.
5640 (hildon_button_init, hildon_button_set_arrangement)
5641 (hildon_button_set_title, hildon_button_set_value)
5642 (hildon_button_set_text)
5643 (hildon_button_construct_child): Hide the value when it's not used
5644 so the rest of the text is properly aligned.
5645 Allow creating buttons with arbitrary widgets inside (not just
5646 title/value labels).
5648 * examples/hildon-button-example.c (vertical_buttons_window)
5649 (horizontal_buttons_window): Update example to use new API.
5651 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5653 * src/Makefile.am: Added HildonTimeButton.
5654 * src/hildon-time-button.c: Added missing LGPL header.
5655 * src/hildon-time-button.h: Added missing LGPL header.
5656 * src/hildon.h: Add hildon-time-button.h
5658 Copied HildonTimeButton from sandbox to trunk. Future work on this
5659 widget must take place in trunk.
5661 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5663 * src/Makefile.am: Added HildonDateButton.
5664 * src/hildon-date-button.c: Update includes.
5665 * src/hildon.h: Add hildon-date-button.h
5667 Copied HildonDateButton from sandbox to trunk. Future work on this
5668 widget must take place in trunk.
5670 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5672 * src/Makefile.am: Added HildonPickerButton.
5673 * src/hildon-picker-button.h: Update includes.
5674 * src/hildon.h: Add hildon-picker-button.h
5676 Copied HildonPickerButton from sandbox to trunk. Future work on
5677 this widget must take place in trunk.
5679 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5681 * src/Makefile.am: Added HildonPickerDialog.
5682 * src/hildon-picker-dialog.c: Update includes.
5683 * src/hildon.h: Add hildon-picker-dialog.h
5685 Copied HildonPickerDialog from sandbox to trunk. Future work
5686 on this widget must take place in trunk.
5688 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5690 * src/Makefile.am: Added HildonTimeSelector.
5691 * src/hildon.h: Add hildon-time-selector.h
5693 Copied HildonTimeSelector widget from sandbox to trunk. Future
5694 work on this widget must happen in trunk.
5696 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5698 * src/Makefile.am: Added HildonDateSelector.
5699 * src/hildon.h: Add hildon-date-selector.h
5701 Copied HildonDateSelector widget from sandbox to trunk. Future
5702 work on this widget must happen in trunk.
5704 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5706 * src/Makefile.am: Added HildonTouchPicker.
5707 * src/hildon-touch-picker.c: Update includes.
5708 * src/hildon.h: Add hildon-touch-picker.h
5710 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5711 on this widget must happen in trunk.
5713 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5715 * src/hildon-pannable-area.c:
5716 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5718 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5720 * examples/hildon-app-menu-example.c (main): Let the window
5723 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5725 * src/hildon-pannable-area.c
5726 (hildon_pannable_area_class_init): Set the min value of the
5727 overshoot properties to zero, which points out that not
5728 overshooting allowed.
5730 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5732 Modified the procedure to get the widget at a point inside the
5733 pannable area when using the movement type signals. Now the user
5734 has to call a function to get the child, that way we just
5735 calculate the child in case the user really want to use it and not
5738 * src/hildon-marshalers.list: Modified the marshallers, now we do
5739 not have the widget as a parameter.
5741 * src/hildon-pannable-area.c
5742 (hildon_pannable_area_motion_notify_cb),
5743 (hildon_pannable_area_class_init),
5744 (hildon_pannable_get_child_widget_at): Removed the widget
5745 parameter from the signal callback. We have also refactored the
5746 emission of the signals.
5748 * src/hildon-pannable-area.h: Added a new method to the API to
5749 calculate a widget at a point inside the pannable area,
5750 hildon_pannable_get_child_widget_at.
5752 * examples/hildon-pannable-area-example-4.c
5753 (horizontal_movement): Modified the example to use the new API,
5754 added condition to control which widget is under the event. This
5755 way we can avoid scrolling laterally over other widgets.
5757 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5759 * src/hildon-pannable-area.c
5760 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5761 modes, we stop getting the pointer events due to returning the
5762 callback without properly calling the get pointer again. Fixed
5763 also an error using the hscroll and vscroll.
5765 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5767 * src/hildon-app-menu-private.h
5768 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5769 (hildon_app_menu_button_release, hildon_app_menu_init)
5770 (hildon_app_menu_class_init): Don't hide the menu on button
5771 release if the user didn't press outside first.
5773 * src/hildon-window.h
5774 * src/hildon-window.c (hildon_window_toggle_menu)
5775 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5776 hildon_window_toggle_menu a virtual function for the stackable
5777 window to override it.
5779 * src/hildon-stackable-window.h
5780 * src/hildon-stackable-window-private.h
5781 * src/hildon-stackable-window.c
5782 (hildon_stackable_window_realize)
5783 (hildon_stackable_window_finalize)
5784 (hildon_stackable_window_class_init)
5785 (hildon_stackable_window_init)
5786 (hildon_stackable_window_set_main_menu): New function to set the
5787 app menu of a HildonStackableWindow.
5789 * examples/hildon-app-menu-example.c: Remove the button to show
5790 the app menu, now it'll be shown when clicking on the title bar
5793 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5795 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5796 set the widget name if the arrangement flags do not specify
5799 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5801 * src/hildon-button.c: (hildon_button_set_property),
5802 (hildon_button_class_init), (hildon_button_new_full),
5803 (hildon_button_set_arrangement): Added "arrangement-flags"
5806 Make the HildonButtonFlags a construction-only property, to allow
5807 subclasses to set them properly.
5809 2008-07-21 Tim Janik <timj@imendio.com>
5811 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5812 insertion position after backspace, so additional digits are appended,
5815 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5817 * src/hildon-pannable-area.c,
5818 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5819 TODO list, it was complete and removed the g_debug and g_print
5822 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5824 Added the movement modes to the hildon-pannable-area, with this
5825 modes the developers can control in which directions the widget
5826 can scroll. They can also connect to signals in order to do
5827 something when that happens, allowing applications scroll. There
5828 is an example uploaded showing how to use it.
5830 * examples/Makefile.am:
5831 * examples/hildon-pannable-area-example-4.c: Added this example of
5832 an application using the modes.
5834 * src/hildon-marshalers.list: Added a new marshaller for the new
5837 * src/hildon-pannable-area.h: Added new enumerations and flags in
5838 order to control the movement modes and the new signals to warn
5839 about the movements in the area.
5841 * src/hildon-pannable-area.c:
5842 (hildon_pannable_axis_scroll),
5843 (hildon_pannable_area_scroll),
5844 (hildon_pannable_area_motion_notify_cb),
5845 (hildon_pannable_area_get_property),
5846 (hildon_pannable_area_set_property),
5847 (hildon_pannable_area_map),
5848 (hildon_pannable_area_class_init),
5849 (hildon_pannable_area_init),
5850 (hildon_pannable_area_jump_to): Added the modes to control the
5851 movement in the widget. We have added properties to control it,
5852 signals to warn about the movements and refactored some code.
5854 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5856 Changes required in order to allow vfast_factor set to zero to
5859 * src/hildon-pannable-area.c:
5860 (hildon_pannable_area_button_press_cb): Changed the condition, it
5861 is required for not allowing click when vfast_factor is zero.
5862 (hildon_pannable_area_timeout): Initialized velocity variables
5863 when we stop moving, it was less than 1 but not zero and we need
5864 to check zero in some situations.
5865 (hildon_pannable_area_class_init): Changed the default value of
5866 the speed factor, now the button_press is just sent in case the
5867 speed is 2 per cent of the max speed.
5868 (hildon_pannable_area_init): Initialization with 0.
5870 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5872 * src/hildon-pannable-area.c,
5873 (hildon_pannable_area_get_topmost): replaced
5874 gdk_window_get_children with gdk_window_peek_children, this way we
5875 do not have to free the list because it is not a copy.
5877 (hildon_pannable_axis_scroll),
5878 (hildon_pannable_area_scroll),
5879 (hildon_pannable_area_timeout),
5880 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5881 two parameters that were only used inside the
5882 hildon_pannable_area_scroll function.
5884 * examples/hildon-pannable-area-example.c,
5885 (get_sawtooth_label): Fixed small memory leak.
5887 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5889 More checks for the case where the overshoot is bigger than the
5892 * src/hildon-pannable-area.c:
5893 (hildon_pannable_draw_vscroll),
5894 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5895 to draw the slider of the scrollbar under the other scrollbar.
5896 (hildon_pannable_area_expose_event): added new checks to control
5897 the drawing of the overshooting area rectangle, in case it is too
5898 big for the area of the widget.
5899 (hildon_pannable_area_size_allocate): add more checks to avoid
5900 setting a position to the child widget outside the area.
5902 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5904 * src/hildon-pannable-area.c
5905 (hildon_pannable_area_size_allocate): Added conditions to control
5906 when overshooting is bigger than the allocated space for the
5907 children, this avoids negative allocations.
5909 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5911 * doc/hildon-docs.sgml
5913 * examples/Makefile.am
5914 * examples/hildon-button-example.c
5916 * src/hildon-button.c
5917 * src/hildon-button.h
5918 * src/hildon.h: Initial version of the new HildonButton widget,
5921 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5923 * src/hildon-pannable-area.c:
5924 (hildon_pannable_area_button_press_cb),
5925 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5926 (hildon_pannable_area_motion_notify_cb),
5927 (hildon_pannable_area_button_release_cb),
5928 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5929 (hildon_pannable_area_jump_to_child):
5931 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5933 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5935 * examples/Makefile.am
5936 * examples/hildon-pannable-area-touch-grid-example.c
5937 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5938 the Hildon Touch List and Hildon Touch Grid using the
5939 HildonPannableArea widget.
5941 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5943 * src/hildon-pannable-area.c,
5944 (hildon_pannable_area_button_press_cb),
5945 (hildon_pannable_area_refresh),
5946 (hildon_pannable_area_scroll),
5947 (hildon_pannable_area_motion_notify_cb),
5948 (hildon_pannable_area_button_release_cb),
5949 (hildon_pannable_area_expose_event),
5950 (hildon_pannable_area_add),
5951 (hildon_pannable_area_remove),
5952 (hildon_pannable_area_realize),
5953 (hildon_pannable_area_size_allocate),
5954 (hildon_pannable_area_class_init),
5955 (hildon_pannable_area_init),
5956 (hildon_pannable_area_scroll_to_child),
5957 (hildon_pannable_area_jump_to_child): Fixed the problem of
5958 removing the child from the GtkBin, we have rearranged the widget
5959 hierarchy, now there is no GtkAlignment which was not doing
5960 anything interesting but breaking some of the assumptions of
5961 GtkContainer. Now developers if they want to add a GtkAlignment
5962 they could, but it is not inside the area.
5964 We had to review the whole allocation/expose process, now it is
5965 improved and we save at least three signals which would be saving
5966 some time when rendering the widget. The allocation of the
5967 scrollbars is now made in the allocate method as usual.
5969 We have also added some conditions in order to control when there
5970 is no child of the pannable area. Maybe we will need more work
5973 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5975 * src/hildon-pannable-area.c,
5976 (hildon_pannable_area_dispose): Released the fade-out timeout when
5977 disposing the widget.
5979 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5981 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5982 zero, we are going to use that property in order to deactivate the
5984 (hildon_pannable_axis_scroll),
5985 (hildon_pannable_area_size_allocate): Added conditions to control
5986 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5987 call, now it is called in all situations and we can remove calls
5988 in the allocate method.
5989 (hildon_pannable_area_map): Control the situation when
5990 overshoot_max is zero, we do not need the timeout.
5991 (hildon_pannable_area_class_init): Added documentation in order to
5992 point out that setting zero to overshoot_max means deactivate
5995 NOTE: removed trailing whitespaces from my previous comments of
5998 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6000 * src/hildon-pannable-area.c
6001 (hildon_pannable_area_get_property),
6002 (hildon_pannable_area_set_property),
6003 (hildon_pannable_area_map),
6004 (hildon_pannable_area_class_init),
6005 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6006 to cause the widget give a hint about its panning abilities upon
6009 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6011 * src/hildon-pannable-area.c: Several documentation improvements.
6013 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6015 * src/hildon-program.c
6016 * src/hildon-stackable-window.c: Update documentation.
6018 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6020 * src/hildon-stackable-window.c (get_previous_window_if_last):
6021 Renamed get_last_window()
6022 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6023 (hildon_stackable_window_unset_program):
6025 (get_previous_window_if_last):
6026 Detect if the window hasn't been added to a HildonProgram.
6028 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6030 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6032 * src/hildon-pannable-area.c
6033 (hildon_pannable_area_button_press_cb),
6034 (hildon_pannable_axis_scroll),
6035 (hildon_pannable_area_scroll),
6036 (hildon_pannable_area_timeout),
6037 (hildon_pannable_calculate_vel_factor),
6038 (hildon_pannable_area_get_property),
6039 (hildon_pannable_area_set_property),
6040 (hildon_pannable_area_class_init),
6041 (hildon_pannable_area_init),
6042 (hildon_pannable_area_scroll_to),
6043 (hildon_pannable_area_jump_to),
6044 (hildon_pannable_area_scroll_to_child),
6045 (hildon_pannable_area_jump_to_child):
6046 * src/hildon-pannable-area.h: Added the new API functions:
6047 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6048 hildon_pannable_area_scroll_to_child,
6049 hildon_pannable_area_jump_to_child
6052 * examples/Makefile.am
6053 * examples/hildon-pannable-area-example-2.c
6054 * examples/hildon-pannable-area-example-3.c: Added these two new
6055 examples in order to test and show how the new APIs work.
6057 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6059 * examples/hildon-stackable-window-example.c (new_window):
6060 * src/Makefile.am (noinst_HEADERS):
6061 * src/hildon-program.c (hildon_program_go_to_root_window):
6062 * src/hildon-program.h:
6063 * src/hildon-stackable-window-private.h:
6064 * src/hildon-stackable-window.c:
6065 * src/hildon-stackable-window.h:
6066 Create hildon-stackable-window-private.h
6067 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6069 * examples/hildon-app-menu-example.c (create_menu):
6070 * examples/hildon-hvolumebar-insensitive-example.c (main):
6071 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6072 * examples/hildon-toolbar-seekbar-example.c (main):
6073 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6074 * src/hildon-banner.c (hildon_banner_set_property):
6075 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6076 Fix compilation warnings
6078 * src/hildon-window.c:
6081 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6083 * src/hildon-stackable-window.c
6084 (hildon_stackable_window_unset_program):
6085 Calculate correctly whether to show the previous window if the
6086 last one is removed from the stack.
6087 (hildon_stackable_window_go_to_root_window):
6088 Send delete events starting from the topmost window.
6089 Stop if one of the windows is not destroyed.
6091 (hildon_stackable_window_delete_event)
6092 (hildon_stackable_window_class_init):
6093 Ignore the delete event if the window is not the topmost one.
6095 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6097 * src/hildon-pannable-area.c
6098 (hildon_pannable_area_expose_event): Fixed a problem when
6099 selecting the background color of the scrollbars.
6101 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6103 * examples/hildon-stackable-window-example.c
6104 * src/hildon-stackable-window.c
6105 * src/hildon-stackable-window.h
6106 hildon_stackable_window_go_home() renamed to
6107 hildon_stackable_window_go_to_root_window()
6108 Send delete events to windows rather than closing them with
6109 gtk_widget_destroy()
6111 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6113 * src/hildon-pannable-area.c
6114 (hildon_pannable_area_button_release_cb): Fix overshooting in
6117 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6119 * src/hildon-pannable-area.c
6120 (hildon_pannable_area_init): Initially show the scroll indicators.
6121 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6123 Add initial effect showing the widget is pannable.
6125 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6127 * src/hildon-pannable-area.c
6128 (hildon_pannable_area_class_init)
6129 (hildon_pannable_area_set_property)
6130 (hildon_pannable_area_get_property)
6131 (hildon_pannable_area_button_press_cb):
6132 New 'velocity_fast_factor' property to decide which velocity is
6135 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6137 * src/hildon-pannable-area.c
6138 (hildon_pannable_draw_hscroll)
6139 (hildon_pannable_draw_vscroll):
6140 Use float variables to calculate the size of the scrollbars to
6141 avoid error propagation and resizing during scrolling.
6143 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6145 * src/hildon-pannable-area.c
6146 (hildon_pannable_draw_vscroll)
6147 (hildon_pannable_draw_hscroll):
6148 Define a minimum size for the scroll bars
6150 * src/hildon-stackable-window.c
6151 (hildon_stackable_window_go_home): Fix compilation warning
6152 (get_last_window): Minor optimizations
6153 (hildon_stackable_window_class_init): Fix initialization of
6156 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6158 * src/hildon-stackable-window.c: Fixed typos in doc
6160 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6162 * src/hildon-pannable-area.c
6163 (hildon_pannable_area_scroll):
6164 Calculate here whether we need to scroll instead of using the booleans
6165 that tell us whether to /draw/ the scrolling bars.
6167 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6169 * src/hildon-app-menu.h
6171 * src/hildon-app-menu.c
6172 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6173 multiple filter groups related code and API. Now we support only
6175 * examples/hildon-app-menu-example.c:
6177 Update to reflect API changes.
6179 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6181 * src/hildon-stackable-window.c
6182 (hildon_stackable_window_class_init):
6183 Add hildon_stackable_window_realize.
6184 (hildon_stackable_window_realize):
6185 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6186 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6187 to apply theming and behavior specific to HildonStackableWindow
6190 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6192 * src/hildon-note.c (hildon_note_button_release):
6193 Close information notes also when tapping on them
6195 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6197 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6198 ELASTICITY, refactor and review, fix some issues with drawing
6201 * src/hildon-pannable-area.c:
6202 (hildon_pannable_area_button_press_cb): removed the conditions to
6203 avoid clicks when overshooting. It is not required
6205 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6206 define. Refatored and reviewed the code, now we do not need to
6207 manage velocity in motion_notify.
6209 (hildon_pannable_area_motion_notify_cb): We have moved the code
6210 that controls the area_scroll to the axis_scroll function and get
6211 rid of duplicated code.
6213 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6215 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6217 (hildon_pannable_draw_vscroll),
6218 (hildon_pannable_draw_hscroll): Fixed the problems with the
6219 scrollbar drawing, now we do not use two surfaces, it is easier
6220 and saves resources.
6222 (hildon_pannable_area_get_property): Style modification.
6224 (hildon_pannable_area_class_init): Changed some default values.
6226 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6228 * src/hildon-stackable-window.c: Fix some typos in the
6231 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6233 * src/hildon-dialog.c:
6234 Change indentation style
6237 (hildon_note_button_release):
6238 Use root coordinates to check if the release event happened
6241 * src/hildon-app-menu.c
6242 (hildon_app_menu_button_release):
6243 Remove unnecessary check
6245 * examples/hildon-app-menu-example.c
6247 Add cast to fix warning
6249 * src/hildon-app-menu.c
6250 (hildon_app_menu_class_init):
6251 New inner-border style property.
6252 Set all default spacings to 16
6253 (hildon_app_menu_init):
6254 Use vertical-spacing to set the space between filter buttons and
6255 regular menu buttons.
6256 Set the default container border using the inner-border value.
6258 * examples/hildon-app-menu-example.c
6260 Don't set the menu border explicitly, now we have the inner-border
6261 style property for that.
6263 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6265 * src/hildon-app-menu.c (hildon_app_menu_init):
6266 Make the window modal
6268 * src/hildon-note.c (hildon_note_map)
6269 * src/hildon-app-menu.c (hildon_app_menu_map):
6270 Destroy the grab window if we're unable to grab the pointer
6272 * src/hildon-app-menu-private.h
6273 * src/hildon-app-menu.c
6274 (hildon_app_menu_init, hildon_app_menu_finalize)
6275 (hildon_app_menu_map, hildon_app_menu_unmap)
6276 (hildon_app_menu_button_release)
6277 (grab_transfer_window_get):
6278 Bring back the grab window
6279 (hildon_app_menu_realize):
6280 Decorate the window, set WM hint for Matchbox
6282 * src/hildon-note.c (hildon_note_realize):
6283 * src/hildon-banner.c (hildon_banner_realize):
6284 Add WM hints for Matchbox
6286 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6288 * src/hildon-app-menu-private.h
6289 * src/hildon-app-menu.c
6290 (hildon_app_menu_init, hildon_app_menu_finalize)
6291 (hildon_app_menu_map, hildon_app_menu_unmap)
6292 (hildon_app_menu_button_release):
6293 Remove the grab window, it's not needed anymore
6295 * src/hildon-program.c
6296 Fixed typo in documentation
6298 * src/hildon-app-menu.h
6299 * src/hildon-app-menu.c
6300 * examples/hildon-app-menu-example.c
6301 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6303 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6306 Added new transfer_window and close_if_pressed_outside private
6308 (hildon_note_rebuild):
6309 Don't add a cancel button to the information note. It will be
6310 closed when tapping outside
6311 Remove the comment about the OK button in the documentation
6312 (hildon_note_realize):
6313 Set the notification type hint
6314 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6315 Grab/ungrab pointer and keyboard if the note has to be closed when
6317 (hildon_note_button_release):
6318 Close the note when tapping outside (if applicable)
6320 * src/hildon-app-menu.c
6321 Grab/ungrab pointer and keyboard on map/unmap
6322 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6323 Close the menu on button release, not button press
6325 * src/hildon-banner.c
6326 (hildon_banner_set_property)
6327 (hildon_banner_check_position):
6328 Make the banner use the full width of the screen
6329 (hildon_banner_show_information)
6330 (hildon_banner_show_information_with_markup):
6331 Don't display an icon by default
6333 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6335 Added fading scrollbars and adapted all the overshooting code to
6336 horizontal scrolling. We have also fixed bugs with overshooting
6337 and current fading implementation.
6339 * src/hildon-pannable-area.c
6340 (hildon_pannable_area_scroll_indicator_fade): Time out function
6341 used to change the transparency of the scrollbars.
6343 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6344 control and fixed a problem with fading, we now remove the fade
6345 timeout before adding a new one.
6347 (hildon_pannable_axis_scroll):
6348 (hildon_pannable_area_scroll):
6349 (hildon_pannable_area_timeout): Added this functions so we can use
6350 the scroll code both for vertical and horizontal.
6352 (hildon_pannable_area_motion_notify_cb):
6353 (hildon_pannable_area_button_release_cb): Added the horizontal
6354 scrolling control, fixed a problem with the overshooting timeout.
6356 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6357 painting of the scrolls.
6359 (hildon_pannable_draw_vscroll):
6360 (hildon_pannable_draw_hscroll):
6361 (hildon_pannable_area_expose_event):
6362 Draw both scrollbars and rectangles in the overshooting area.
6364 (hildon_pannable_area_get_property):
6365 (hildon_pannable_area_set_property):
6366 Modified the overshoot property to overshoot_max
6368 (hildon_pannable_area_map):
6369 Replaced the comments symbols.
6371 (hildon_pannable_area_size_allocate):
6372 (hildon_pannable_area_class_init):
6373 (hildon_pannable_area_init): Added horizontal scroll, fading
6374 effect properties, fixed a problem when overshooting in the bottom
6377 * examples/hildon-pannable-area-example.c:
6378 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6379 looks better in the example.
6381 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6383 * src/hildon-window.c
6384 * src/hildon-window.h
6385 (hildon_window_class_init)
6386 (hildon_window_unset_program)
6387 (hildon_window_unset_program_real):
6388 Make unset_program a virtual function
6390 * src/hildon-stackable-window.c
6391 * src/hildon-stackable-window.h
6392 Added hildon_stackable_window_go_home()
6394 * examples/Makefile.am
6395 * examples/hildon-stackable-window-example.c
6396 HildonStackableWindow example
6398 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6400 * hildon-pannable-area.c: Added the overshoot property and removed
6401 the OVERSHOOT define. Fixed an indent style error.
6402 (hildon_pannable_area_motion_notify_cb):
6403 (hildon_pannable_area_get_property):
6404 (hildon_pannable_area_set_property): Add overshoot property.
6406 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6409 (hildon_pannable_area_class_init): Installed the new property.
6411 * hildon-pannable-area-example.c: Added a sawtooth function, this
6412 way it is easier to check the movement in the pannable.
6413 (get_sawtooth_label): Added this function.
6414 (main): Now we get the labels from the new get_sawtooth_label
6417 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6419 * src/hildon-app-menu.h
6420 * src/hildon-app-menu.c
6421 Renamed API variables for consistency
6423 (hildon_app_menu_popup): Use also the default window size to
6424 decide where to place the menu
6426 (hildon_app_menu_init, hildon_app_menu_class_init): New
6427 external-border style property
6429 2008-05-26 Michael Natterer <mitch@imendio.com>
6431 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6432 widget_class->tap_and_hold_setup signal slot doesn't exist any
6433 longer, stop overriding it.
6435 (hildon_time_editor_init): g_signal_connect() to the
6436 tap-and-hold-setup signal instead.
6438 (hildon_time_editor_entry_keypress): add cast to fix warning.
6440 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6442 * doc/hildon-docs.sgml
6444 * examples/Makefile.am
6445 * examples/hildon-app-menu-example.c
6447 * src/hildon-app-menu-private.h
6448 * src/hildon-app-menu.c
6449 * src/hildon-app-menu.h
6451 New HildonAppMenu widget
6453 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6455 Rearranged the inheritance of the pannable area, now it inherits
6456 from GtkBin. This will allow us to control the event_window and
6457 the allocation process of the widget, required for some effects.
6459 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6460 GtkBin structures. * src/hildon-pannable-area.c: Added the
6461 event_window variable.
6462 (hildon_pannable_area_button_press_cb):
6463 (hildon_pannable_area_button_release_cb):
6464 (hildon_pannable_area_motion_notify_cb):
6465 Changed the signature of the method, now we override the event
6466 callback instead of connecting to the signal.
6468 (hildon_pannable_area_realize):
6469 (hildon_pannable_area_unrealize):
6470 (hildon_pannable_area_map):
6471 (hildon_pannable_area_unmap):
6472 (hildon_pannable_area_size_allocate):
6473 Added functions to control the widget construction. We add a
6474 INPUT_ONLY window and we put it over the widgets inside the
6475 container, this event_window handles the events.
6477 (hildon_pannable_area_class_init):
6478 Replaced the signal connections with overrides of the event
6481 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6483 Bouncing effect added when touching the borders, you can change
6484 the elasticity of the border changing the ELASTICITY define.
6486 * src/hildon-pannable-area.c: Added ELASTICITY define.
6487 (hildon_pannable_area_timeout): Added inverse velocity when
6488 touching the border of the child widget, that causes a bounce.
6490 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6492 Improved performance, we now do not go to the X server in order to
6493 get the list of window children. Apparently the effect is the
6494 same, we have to be careful and check if this breaks something in
6497 * src/hildon-pannable-area.c:
6498 (get_ordered_children): Removed this function.
6499 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6500 the children windows function with gdk_window_get_children.
6502 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6504 * src/hildon-pannable-area.c:
6505 (hildon_pannable_area_dispose): Fixed a crash when closing the
6506 window and kinetics is activated.
6508 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6510 * src/hildon-pannable-area.h
6511 * src/hildon-pannable-area.c
6512 Changed indentation style to meet the one used in Hildon
6514 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6516 Reviewed the interaction of the AUTO mode, now we use the time
6517 attribute of the events and calculate the velocity in the motion,
6518 doing a gimp like calculation. The velocity is calculated in each
6519 motion event using the last velocity and the current one, the
6520 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6522 * src/hildon-pannable-area.c: Replaced the time based algorithm
6524 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6525 timeout for the AUTO mode when we are still moving the cursor. We
6526 added also the velocity calculation in this function.
6527 (hildon_pannable_area_button_release_cb): launch the timeout in
6528 case we are in AUTO mode. There are still some constants here that
6529 come from the old implementation that should be reviewed and
6532 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6534 * doc/hildon-docs.sgml
6537 * src/hildon-stackable-window.c
6538 * src/hildon-stackable-window.h
6540 New HildonStackableWindow widget
6542 * examples/hildon-dialog-example.c
6543 * examples/hildon-pannable-area-example.c
6546 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6548 * src/hildon-dialog.c
6549 (hildon_dialog_new_with_buttons): New constructor.
6551 * examples/hildon-dialog-example.c
6552 (main): Update the example to use the new
6553 hildon_dialog_new_with_buttons().
6555 * examples/hildon-pannable-area-example.c
6556 (main): Update example.
6558 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6560 * doc/hildon-docs.sgml
6562 Added HildonPannableArea to the documentation.
6564 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6566 * doc/visual_index.xml
6567 Fix reference to HildonLoginDialog in documentation
6569 * doc/hildon-docs.sgml
6571 * examples/Makefile.am
6572 * examples/hildon-dialog-example.c
6574 * src/hildon-dialog.c
6575 * src/hildon-dialog.h
6577 New HildonDialog widget.
6579 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6581 * src/hildon-pannable-area.c
6582 Merge latest changes (r4318, r4342) from libmokoui trunk
6584 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6586 * examples/Makefile.am
6587 * examples/hildon-pannable-area-example.c
6589 * src/hildon-pannable-area.c
6590 * src/hildon-pannable-area.h
6592 New HildonPannableArea widget.
6594 2008-04-15 18:05:19 <timj@imendio.com>
6596 * src/hildon-banner.c: revert the recent change, that introduced
6597 gtk_window_present() calls. this reopens:
6598 Bug 78481 - [freetest] information banners are hidden under browser menu
6599 But resolves another variant of:
6600 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6602 2008-04-15 13:21:13 <timj@imendio.com>
6604 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6605 recreated its layout, spotted by Kris. this fixes all remaining
6606 artefacts and stability issues with the banner code. in particular:
6607 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6609 2008-04-14 16:52:59 <timj@imendio.com>
6611 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6612 operating on unrealized widgets, fixes:
6613 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6615 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6617 2008-04-09 Kristian Rietveld <kris@imendio.com>
6619 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6620 makes banner disappear.
6621 Fixes: NB#79182: info banner flickering with certain message lengts.
6623 * src/hildon-banner.c (hildon_banner_constructor),
6624 (hildon_banner_init), (hildon_banner_set_text),
6625 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6626 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6627 FALSE, reset size requests of label and banner,
6628 (force_to_wrap_truncated): when the text is too wide, always enforce
6629 the maximum possible width instead of recalculating it from the
6630 layout; enforce the maximum banner height of 3 lines,
6631 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6632 nicer wrapping and no truncated chars if space gets tight.
6634 * src/hildon-banner-private.h: add has_been_wrapped and
6635 has_been_truncated fields.
6637 2008-04-07 Sven Herzberg <sven@imendio.com>
6639 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6640 local values in hildon_date_editor_size_allocate
6642 * src/hildon-date-editor.c: moved the real allocation code into the
6645 2008-04-07 Sven Herzberg <sven@imendio.com>
6647 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6648 local values in hildon_date_editor_size_allocate
6650 * src/hildon-date-editor.c: merged the two if() branches together
6652 2008-04-07 Sven Herzberg <sven@imendio.com>
6654 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6655 local values in hildon_date_editor_size_allocate
6657 * src/hildon-date-editor.c: changed the arguments of the if()
6660 2008-04-07 Sven Herzberg <sven@imendio.com>
6662 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6663 local values in hildon_date_editor_size_allocate
6665 * src/hildon-date-editor.c: split the calculation of the allocation
6666 from the real allocation
6668 2008-03-27 Michael Natterer <mitch@imendio.com>
6670 Fixes: NB#81696: The passcode is not overwritten even after
6673 * src/hildon-code-dialog.c
6674 (hildon_code_dialog_button_clicked)
6675 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6676 because that doesn't overwrite selected text. Instead, emit the
6677 "commit" signal on the entry's im_context so the entry's normal
6678 insert logic is triggered. Set the cursor to the end of the entry
6679 after each insert operation so that we *only* insert in the middle
6680 of the text if something was selected.
6682 2008-03-27 Michael Natterer <mitch@imendio.com>
6684 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6685 selector cannot be opened
6687 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6688 when the popup color selector is created. Please connect to this
6689 signal in order to set the dialog's help ID.
6691 2008-03-25 Sven Herzberg <sven@imendio.com>
6693 Fixes: MB#1212: Hide info banners (infoprints) on click
6695 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6696 extracted the close event simulation into an extra function
6697 (hildon_banner_button_press_event): simulate a close event and destroy
6698 the widget if the event wasn't handled
6699 (hildon_banner_class_init): added the button_press_event handler
6700 (hildon_banner_init): added button-press events to the widget
6702 2008-03-25 Sven Herzberg <sven@imendio.com>
6704 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6705 Patch from: Mohammad Anwari <mdamt@maemo.org>
6707 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6708 instead of the right in RTL mode
6709 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6710 breadcrumb button list in RTL mode
6711 * src/hildon-caption.c: mirror the appearance of the caption widget in
6713 * src/hildon-date-editor.c: mirror appearance of the date editor in
6715 * src/hildon-time-editor.c: mirror appearance of the time editor in
6717 * src/hildon-window.c: fix the position of the popup in RTL mode
6719 2008-03-25 Sven Herzberg <sven@imendio.com>
6721 Amendment to the fix of NB#22072. Fix compilation.
6723 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6725 2008-03-19 Sven Herzberg <sven@imendio.com>
6727 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6730 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6731 timeout id properly when the timeout will disappear this leaves no
6732 artifacts around in the destroy(); there will only be the timeout
6733 created by hildon_banner_ensure_timeout() and adding a new timeout
6734 will also work if the timeout gets removed because the timeout_handler
6737 2008-03-19 Michael Natterer <mitch@imendio.com>
6739 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6741 * src/hildon-volumebar.c
6742 * src/hildon-vvolumebar.c
6743 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6744 the widget becomes focussable at all.
6746 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6747 set the focus to wither the mute button or the volumebar.
6749 Remove own "can-focus" property and instead listen to
6750 notify::can-focus in order to update the widget's state.
6752 Implement GtkWidget::focus() and make sure we can also *leave* the
6753 widget, not only enter it, depending on volumebar orientation and
6754 requested focus direction.
6756 Clean up set_mute() to cooperate nicely with all the above.
6758 2008-03-04 Michael Natterer <mitch@imendio.com>
6760 Fixes: NB#78481: information banners are hidden under browser menu
6762 * src/hildon-banner.c: call gtk_window_present() on the banners so
6763 they are risen if they are already visible.
6765 2008-03-03 Sven Herzberg <sven@imendio.com>
6767 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6769 * examples/hildon-window-menu-example.c: (main): extended the window
6770 menu example to serve as a testcase for automatically added
6771 accelerator groups, too
6772 * src/hildon-window.c: (hildon_window_add_accel_group),
6773 (hildon_window_set_menu): added patch by Tommi Komulainen
6775 2008-03-03 Sven Herzberg <sven@imendio.com>
6777 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6779 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6780 knowledge about the border allocators used within GTK+
6782 2008-02-26 Sven Herzberg <sven@imendio.com>
6784 Fixes: MB#2981: Build with asserts broken
6786 * src/hildon-date-editor.c,
6787 * src/hildon-number-editor.c,
6788 * src/hildon-time-editor.c,
6789 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6790 the proper GType instance check
6792 2008-02-25 Sven Herzberg <sven@imendio.com>
6794 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6796 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6797 * examples/hildon-window-menu-example.c: (main): explicitly show
6799 * src/hildon-window.c:
6800 (hildon_window_set_main_menu): moved most of the code from set_menu()
6801 to this place; skipped the call to gtk_widget_show_all(); also didn't
6802 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6803 (hildon_window_set_menu): removed most of the code, just keep the
6804 questionable gtk_widget_show_all()
6805 * src/hildon-window.h: added the new function and deprecate the old
6808 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6814 * debian/changelog: Updating.
6816 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6819 * pkgconfig/Makefile.am:
6820 * pkgconfig/hildon.pc.in:
6823 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6824 use newly created API_MAJOR_VERSION.
6826 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6832 * debian/changelog: Updating.
6834 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6836 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6838 Add outer_border style property, we use it but don't define it (!).
6842 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6844 * examples/hildon-bread-crumb-trail-example.c (main):
6848 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6850 Fix logic for the bread crumb trail node removal.
6854 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6860 * debian/changelog: Updating.
6862 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6864 Patch by Alejandro to get/set passwords dialogs accesibility.
6866 * hildon-1/src/hildon-get-password-dialog.c:
6867 * hildon-1/src/hildon-set-password-dialog.c:
6868 Set atk_set_name to the passwd entries in order to allow
6869 accessibility by name on this entries.
6871 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6876 * debian/control: Updating gtk dep.
6878 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6880 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6881 USE_MAEMO_GTK is enabled.
6883 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6885 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6886 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6888 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6894 * debian/changelog: Updating.
6896 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6898 * examples/Makefile.am:
6899 * examples/hildon-logical-color-example.c:
6900 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6901 applied + adding a test case. Fixes: NB#71660.
6903 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6905 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6906 to be visible, fixes warning on map for windows without toolbars.
6908 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6910 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6911 2.11.0, add a check for that besides the MAEMO_GTK check.
6913 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6919 * debian/changelog: Updating.
6921 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6923 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6924 visibility. Fixes: NB#70842 and MB#615.
6926 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6928 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6929 set the separator as no-show-all so it doesn't unintentionally appear when
6930 someone does a show_all.
6932 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6934 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6935 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6936 toplevel item. Fixes: NB#62031
6938 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6940 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6941 fix the name of the function in the docs.
6943 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6949 * debian/changelog: Updating.
6951 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6953 * examples/hildon-banner-long-example.c: Adding a test-case for long
6956 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6958 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6960 * src/hildon-color-chooser-dialog.c:
6961 * src/hildon-color-chooser.c:
6962 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6963 memory leaks in font selector and color selector. Fixes: NB#70499 and
6966 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6968 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6970 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6972 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6973 little bit bigger. Fixes: #NB63694.
6975 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6981 * debian/changelog: Updating.
6983 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6986 * doc/hildon-docs.sgml:
6987 * doc/images/bread-crumb-trail.png:
6988 * doc/images/calendar-popup.png:
6989 * doc/images/caption.png:
6990 * doc/images/code-dialog.png:
6991 * doc/images/color-button.png:
6992 * doc/images/color-chooser-dialog.png:
6993 * doc/images/color-chooser.png:
6994 * doc/images/controlbar.png:
6995 * doc/images/date-editor.png:
6996 * doc/images/font-selection-dialog.png:
6997 * doc/images/get-password-dialog.png:
6998 * doc/images/hvolumebar.png:
6999 * doc/images/login-dialog.png:
7000 * doc/images/note.png:
7001 * doc/images/number-editor.png:
7002 * doc/images/range-editor.png:
7003 * doc/images/seekbar.png:
7004 * doc/images/set-password-dialog.png:
7005 * doc/images/sort-dialog.png:
7006 * doc/images/time-editor.png:
7007 * doc/images/time-picker.png:
7008 * doc/images/vvolumebar.png:
7009 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7010 Adding the bread-crumb-trial and helpers to the documentation.
7012 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7014 * examples/hildon-find-toolbar-example.c:
7015 * src/hildon-find-toolbar.c:
7016 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7017 actually continue firing the other handlers if connected. Adding a new
7019 hildon_find_toolbar_get_last_index that gets the index of the most
7020 recently added (last) item. Fixes: NB#52301.
7022 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7024 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7025 behaviour. Fixes: NB#68610.
7027 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7029 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7032 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7034 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7035 when realizing the banner. Should make the infonbanner effect a bit more
7038 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7040 * src/hildon-volumebar.c:
7041 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7042 hildon_volumebar_set_range_insensitive_message and
7043 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7045 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7047 * src/hildon-window.c: Fixing the border freeing on destroy.
7049 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7051 * src/hildon-code-dialog-private.h:
7052 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7053 kw keyboard support in HildonCodeDialog.
7055 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7061 * debian/changelog: Updating.
7063 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7065 * src/hildon-date-editor.c:
7066 * src/hildon-number-editor.c:
7067 * src/hildon-private.c:
7068 * src/hildon-private.h:
7069 * src/hildon-time-editor.c:
7070 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7071 handling in subclassed composite widgets. Fixes: NB#66628.
7073 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7075 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7076 from destroy_ callback as it introduces problems in async dbus signal
7077 handlers. Fixes NB#66673.
7079 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7081 * examples/hildon-hvolumebar-example.c:
7082 * src/hildon-volumebar.c: Improving the focus handling in the
7083 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7084 set_property accessor so that "mute" property can be actually set. I'm
7085 scared that nobody noticed it's totally broken.
7087 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7089 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7092 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7094 * src/hildon-calendar.c:
7095 * src/hildon-number-editor.c:
7096 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7097 matches the spec of 6 chars per second. Fixes: NB#60489.
7099 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7101 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7102 gtk_style_lookup_color sometime returns FALSE even though color was
7103 found and values were filled properly. Weird. Removing the warning for the
7106 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7108 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7109 expand vertically. Adding some extra space to the find toolbar buttons to
7110 make them thumbable. Fixes NB#66060.
7112 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7114 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7115 popup with "Ok" and "Cancel". Fixes NB#59299.
7117 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7119 * src/hildon-calendar.c: Process all window updates before executing next
7120 timeout. Fixes: NB#54146.
7122 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7128 * debian/changelog: Updating.
7130 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7132 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7133 the client event and ignore it, since we use the delete event to close
7136 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7138 * src/hildon-helper.c: Remove the bogus warning about color not being
7139 found. Fixes NB#58352.
7141 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7143 * examples/Makefile.am:
7144 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7145 HildonSeekbar widget inside a toolbar.
7147 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7149 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7150 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7151 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7152 don't want to be closed by non-temporary windows on map.
7154 Also use G_DEFINE_TYPE instead of manually typed code.
7156 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7163 * debian/rules: Updating.
7165 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7167 * examples/Makefile.am:
7168 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7169 bug NB#61128. Strangely it works.
7171 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7173 * src/hildon-date-editor.c: When the date editor entry has been changed
7174 but the numbers of characters < max, turn off the skip validation flag.
7175 Prevents a situation when we enter first a valid year and later re-write
7176 it with an invalid one. Fixes NB#60154.
7178 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7180 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7181 code dialog. Fixes NB#64355.
7183 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7185 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7186 switching the page. Fixes NB#49374.
7188 * examples/Makefile.am:
7189 * examples/hildon-wizard-dialog-example.c: Adding an example for
7190 HildonWizardDialog that shows how to handle manual sensitivity setting on
7193 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7197 * src/hildon-version.h.in:
7198 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7200 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7202 * src/hildon-volumebar.c: Updating the docs.
7204 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7210 * debian/changelog: Updating.
7212 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7214 * src/hildon-find-toolbar.c:
7215 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7216 selected item: hildon_find_toolbar_set_active,
7217 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7218 hildon_find_toolbar_get_active_iter . They correspond to respective
7219 GtkComboBox functions.
7221 * examples/Makefile.am:
7222 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7225 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7227 * examples/Makefile.am:
7228 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7231 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7232 when font size > 32 and we pack a focusable widget inside. Actually using
7233 the default response would work too, but since we don't show default
7234 response state in any way (no theming) it would not be visible to the
7235 user. Fixes NB#63430.
7237 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7239 * src/hildon-date-editor.c: Adding the missing variable setter in the
7240 set_property handler. Fixes NB#54182.
7242 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7244 * src/hildon-window.h: Changing the long key press time from 1500ms to
7245 800ms as requested in NB#63700. I have a bad feeling about this, let's
7246 see... Fixes NB#63700.
7248 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7250 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7251 hildon_time_picker_map, hildon_time_picker_realize,
7252 hildon_time_picker_style_set): Split the contents of map to more
7253 appropriate functions; set window decorations on realize and update
7254 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7256 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7261 * debian/changelog: Updating.
7263 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7265 * src/Makefile.am: fixed installation of the header files
7267 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7273 * debian/changelog: Updating.
7275 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7277 * configure.ac: Removing some remaining of --enable-xan.
7279 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7281 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7282 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7284 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7285 2.10.12-osso6 because the move-focus signal needs to be available in
7288 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7290 * examples/Makefile.am:
7291 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7292 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7293 fine. Prolly NB#61128 is fixed now.
7295 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7297 * src/hildon-volumebar.c:
7298 * src/hildon-volumebar.h: Adding the
7299 hildon_volumebar_set_range_insensitive_message and
7300 hildon_volumebar_set_range_insensitive_messagef functions to set
7301 insensitive message on the slider of the volumebar. Fixes NB#61129.
7303 * examples/Makefile.am:
7304 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7305 test the new insensitive messsage functionality on HildonVolumebar.
7307 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7309 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7312 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7314 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7315 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7316 button on after clearing the trail.
7318 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7320 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7322 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7324 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7325 by splitting the installed headers in generated and non-generated groups. Use
7326 only the non-generated headers to create the hildon-enum-types.h file.
7328 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7330 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7332 * src/hildon-window.c: Hide the window before performing the destroy.
7333 Should make the app closing a little tiny bit more snappy.
7335 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7337 * src/hildon-seekbar.c: add gtkrange.h header
7338 * src/hildon-caption.c: remove unused variable
7340 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7342 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7345 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7351 * debian/changelog: Updating.
7353 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7355 * src/hildon-window.c (hildon_window_window_state_event,
7356 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7357 escape timeout on focus-out-event rather than notify::is-topmost; the
7358 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7360 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7363 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7365 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7367 * src/hildon-window: actually, you need to use the macro always, there's
7368 no private pointer in the instance structure. We should have cleaned this up
7369 when we had the chance...
7371 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7373 * src/hildon-window.c: do not get the private date from HildonWindow before
7374 it passes the g_return_if_fail check. Once it's passed the test, there's no
7375 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7376 if you are only going to access the data once. Whitespace cleanups.
7378 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7380 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7381 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7383 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7389 * debian/changelog: Updating.
7391 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7393 * src/hildon-window.c: When destroying the window, remove (if exists) the
7394 escape timeout handler. Fixes #NB59276.
7396 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7398 * src/hildon-banner.c: When realizing the widget, set the window
7399 transiency. Setting the transiency in the gobject constructor is not
7400 good, as the widget is not realized at that point. Fixes: #NB56624.
7402 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7404 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7405 Add padding for future expansions.
7407 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7409 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7410 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7411 will fake an activation on the previous to the last item of the trail, so
7412 the effect can be overrided by the developer as usual.
7413 Also change the callback for the back button to do the same thing, so its
7414 effect can be overrided too. Fixes: NB#58982
7416 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7418 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7419 HildonCaption. Fixes NB#52379.
7421 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7423 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7424 the internal state of the trail after the user has had the chance of executing
7425 his handler for the signal. Specifically, it may happen that the activated button
7426 is removed and the user still lets the default handler run. This would segfault
7429 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7431 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7432 scrollbar to the preview dialog. Fixes NB#54147.
7434 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7436 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7437 max/min year properties can be altered, so the client can modify it
7438 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7440 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7442 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7443 hildonlike by default. Fixing a problem with disappearing arrows when
7444 scrolling through months and years. Fixes NB#54127.
7446 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7448 * examples/hildon-date-editor-example.c: Adding error callback to the date
7451 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7457 * configure.ac: Updating.
7459 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7461 * configure.ac: Adding a special '--enable-xan' configure option that
7462 turns off the -Werror compilation setting. Usefull for development.
7464 * src/hildon-calendar.c:
7465 * src/hildon-number-editor.c:
7466 * src/hildon-time-picker.c: Adding the 5* multiplier to
7469 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7471 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7472 instead of g_object_ref + gtk_object_sink.
7474 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7480 * debian/changelog: Updating.
7482 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7484 * src/hildon-color-chooser-dialog.c:
7485 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7486 straight from Tommi labs.
7488 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7490 * examples/hildon-finger-example.c: Correcting the header file path.
7492 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7493 the changed signal. Fixes a small memory leak.
7495 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7499 * src/hildon-banner.c: Importing several usefull fixes from the
7500 ubuntu-mobile branch.
7502 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7504 * examples/Makefile.am:
7505 * examples/hildon-finger-example.c: Adding a finger-checking code
7508 * src/hildon-font-selection-dialog.c: Do not allocate the color
7509 structure using the g_new. Fixes NB#54061.
7511 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7513 * src/hildon-helper.c: Correcting tabs in file.
7515 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7517 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7518 control the visibility of the children.
7520 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7522 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7528 * debian/changelog: Updating.
7530 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7532 * src/hildon-bread-crumb-trail.c:
7533 (hildon_bread_crumb_trail_size_allocate):
7535 Make the back button always a square.
7537 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7539 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7540 from the .c file as it's a private file.
7542 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7544 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7545 uses slightly bigger height.
7547 * src/hildon-font-selection-dialog.c: Adding some checks before
7548 freeing memory in the font selection dialog.
7550 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7552 * src/hildon-font-selection-dialog.c: Adding a small check when
7555 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7556 buttons sensitivity on page switching.
7558 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7560 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7561 internal details of adding a bread crumb to the trail.
7563 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7569 * debian/changelog: Updating.
7571 * src/hildon-bread-crumb-trail.h:
7572 * src/hildon-bread-crumb.h: Changing the API guard to
7573 HILDON_ENABLE_UNSTABLE_API.
7575 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7583 * src/hildon-helper.h: Updating.
7585 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7593 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7597 * src/hildon-helper.h: Small fix to make the package actually compile.
7599 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7601 * src/hildon-bread-crumb-trail.h:
7602 * src/hildon-bread-crumb.h:
7604 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7605 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7607 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7609 * examples/hildon-bread-crumb-trail-example.c:
7611 * src/hildon-bread-crumb-trail.c:
7612 * src/hildon-bread-crumb-trail.h:
7613 * src/hildon-bread-crumb.c:
7614 * src/hildon-bread-crumb.h:
7615 * src/hildon-marshalers.list:
7616 * src/hildon-bread-crumb-widget.c:
7617 * src/hildon-bread-crumb-widget.h:
7619 Slight change in the widget design. The bread crumb trail API is
7620 unchanged, but HildonBreadCrumb is now an interface. A *private*
7621 implementation, hildon-bread-crumb-widget, is provided and used
7622 internally by the trail for the push_text/push_icon functions.
7624 The generic push API is still available, so anyone can implement
7625 and use its own bread crumb widget.
7627 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7629 * debian/rules: Fixing the shlibs.
7631 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7633 * src/hildon-banner.c: Fixing a problem with timed banners having
7634 their parrent destroyed before they are.
7636 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7638 * src/hildon-bread-crumb.c:
7639 * src/hildon-bread-crumb.h:
7641 Make the get_natural_size function a vfunc.
7643 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7645 * src/hildon-bread-crumb.c:
7646 * src/hildon-bread-crumb-trail.c:
7650 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7657 * debian/changelog: Updating for release.
7659 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7661 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7662 don't leak the pango layout.
7664 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7667 * examples/hildon-bread-crumb-trail-example.c:
7671 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7673 * debian/changelog: Removing the bug-fixed entries that were actually
7674 resolved as WONTFIX.
7676 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7679 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7681 * src/hildon-bread-crumb-trail.c:
7682 * src/hildon-bread-crumb-trail.h:
7683 * src/hildon-bread-crumb.c:
7684 * src/hildon-bread-crumb.h:
7688 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7690 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7691 until it's passed the type check.
7693 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7695 * examples/hildon-bread-crumb-trail-example.c
7699 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7701 * examples/Makefile.am
7702 * examples/hildon-bread-crumb-trail-example.c
7704 * src/hildon-bread-crumb-trail.c
7705 * src/hildon-bread-crumb-trail.h
7706 * src/hildon-bread-crumb.c
7707 * src/hildon-bread-crumb.h
7709 New HildonBreadCrumbTrail widget.
7711 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7713 * src/hildon-range-editor.c (hildon_range_editor_init),
7714 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7715 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7716 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7717 hildon_time_editor_class_init, hildon_time_editor_init),
7718 src/hildon-get-password-dialog.c (invalid_input,
7719 hildon_get_password_set_property, hildon_get_password_get_property,
7720 create_contents, hildon_get_password_dialog_set_max_characters),
7721 src/hildon-set-password-dialog.c (create_contents),
7722 src/hildon-date-editor.c (hildon_date_editor_init),
7723 src/hildon-login-dialog.c (hildon_login_dialog_init),
7724 src/hildon-number-editor.c (hildon_number_editor_init),
7725 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7726 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7727 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7728 configure option and adding the respective checks in the code.
7729 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7730 hildon_calendar_drag_data_received): fixed some build warnings.
7732 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7734 * debian/changelog: A 1.0.0 release notes.