1 2009-04-20 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-banner.c (hildon_banner_realize):
4 Mark HildonBanner as supporting portrait mode.
5 Use GDK to set window properties insetad of direct Xlib calls.
7 Fixes: NB#111830 (HildonBanner should be marked as supporting
10 2009-04-20 Alberto Garcia <agarcia@igalia.com>
12 * src/hildon-note.c (hildon_note_rebuild):
13 Hide action area in information notes. Prevents text from being
14 slightly aligned to the left.
16 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
19 2009-04-20 Alberto Garcia <agarcia@igalia.com>
21 Patch by Mox Soini (ext-mox.soini@nokia.com)
23 * src/hildon-banner.c (hildon_banner_create_animation):
24 Use stylus-sized icons in animation banner.
26 Fixes: NB#111206 (stylus sized icon for animation banner)
28 2009-04-20 Alberto Garcia <agarcia@igalia.com>
32 (+hildon_gtk_window_set_do_not_disturb):
33 New API to set the do-not-disturb flag.
35 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
37 2009-04-20 Alberto Garcia <agarcia@igalia.com>
39 * examples/hildon-progress-indicator-example.c: Fix example
41 * src/hildon-gtk.c (set_clear_window_flag)
42 (hildon_gtk_window_set_progress_indicator):
43 Create a generic function for setting flags to a window.
44 Use GDK instead of direct Xlib calls.
46 2009-04-14 Alberto Garcia <agarcia@igalia.com>
48 * src/hildon-button.c (hildon_button_set_arrangement):
49 Due to NB#88126, if one of the labels is too long it will be
50 painted outside the button. The 'value' label is more likely to be
51 the longest one, so we change its packing options in order to
52 truncate it if necessary. As a side effect, the 'title' label will
53 no longer be truncated.
55 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
57 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
62 * configure.ac: Bump version.
63 * debian/changelog: Updates.
65 2009-04-13 Alejandro G. Castro <alex@igalia.com>
67 Deprecation of the hildon_pannable_area_set_size_request_policy
68 API, the only policy properly supported in gtk+ nowadays is the
71 * src/hildon-pannable-area.c,
72 (hildon_pannable_area_size_request): Added a workaround for the
73 size_request to avoid the problems of huge pixmaps in case someone
74 is still using the function.
75 * src/hildon-pannable-area.h: Deprecated the enum with the
78 Fixes: NB#110244 (Problems with the
79 hildon_pannable_area_set_size_request_policy API)
81 2009-04-08 Alejandro G. Castro <alex@igalia.com>
83 * src/hildon-pannable-area.c,
84 (hildon_pannable_area_init),
85 (hildon_pannable_area_size_request),
86 (hildon_pannable_area_style_set),
87 (hildon_pannable_draw_vscroll),
88 (hildon_pannable_draw_hscroll),
89 (hildon_pannable_area_check_scrollbars): Replaced area_width with
90 indicator_width to clarify the use of the attribute.
92 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
97 * configure.ac: Bump version.
98 * debian/changelog: Updates.
100 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
102 * src/hildon-picker-dialog.c
103 * src/hildon-touch-selector.c
104 Reverting the change that tried to avoid the hardcoded height on
105 the picker dialog, as causes problems on the hildon-touch-selector
108 Fixes: NB#110029 (selectors not scrolling to selected value)
110 2009-04-07 Alberto Garcia <agarcia@igalia.com>
112 * src/hildon-touch-selector.c: Fix typos
114 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
116 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
117 Use the event coordinates instead of gdk_window_get_pointer(). Also,
118 request more motions after using it.
120 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
122 * src/hildon-calendar.c (hildon_calendar_expose),
123 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
124 Remove unused variables.
126 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
128 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
131 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
133 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
134 Check the return value of gtk_tree_selection_get_selected()
137 2009-04-06 Alberto Garcia <agarcia@igalia.com>
139 * src/hildon-animation-actor.c
140 * src/hildon-button.c
142 * src/hildon-pannable-area.c
143 * src/hildon-picker-button.c
144 * src/hildon-program.c
145 * src/hildon-remote-texture.c
146 * src/hildon-text-view.c
147 * src/hildon-touch-selector.c
148 * src/hildon-window-stack.c
149 * src/hildon-window.c:
150 Add missing 'Since: 2.2' tags.
152 * doc/hildon-sections.txt:
153 Add some missing symbols.
155 * doc/hildon-docs.sgml:
156 New 'Other' section for HildonAnimationActor and
159 2009-04-06 Alberto Garcia <agarcia@igalia.com>
161 Patch by Iván Gómez (igomez@igalia.com)
165 * doc/hildon-docs.sgml
166 * doc/hildon-sections.txt
170 New chapters on using the Hildon library.
171 Updated the general structure of the reference manual.
172 Other minor documentation fixes.
174 * src/hildon-calendar-popup.c
175 * src/hildon-calendar.c
176 * src/hildon-controlbar.c
177 * src/hildon-date-editor.c
178 * src/hildon-dialog.c
179 * src/hildon-hvolumebar.c
180 * src/hildon-number-editor.c
181 * src/hildon-range-editor.c
182 * src/hildon-sort-dialog.c
183 * src/hildon-time-editor.c
184 * src/hildon-time-picker.c
185 * src/hildon-volumebar-range.c
186 * src/hildon-volumebar.c
187 * src/hildon-vvolumebar.c
188 * src/hildon-weekday-picker.c:
189 Add deprecation notes
191 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
192 Document 'horizontal-movement' and 'vertical-movement' signals.
194 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
199 * configure.ac: Bump version.
200 * debian/changelog: Updates.
202 2009-04-06 Alejandro G. Castro <alex@igalia.com>
204 * src/hildon-pannable-area.c,
205 (hildon_pannable_area_class_init): increased the minimum velocity.
206 (hildon_pannable_area_button_release_cb): Updated the
207 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
208 setup. Review the code to control that last event.
210 Fixes: NB#109790 (Releasing finger in pannable area easily causes
213 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
215 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
217 * src/hildon-get-password-dialog.c
218 (hildon_get_password_set_property),
219 (hildon_get_password_get_property), (create_contents):
220 * src/hildon-login-dialog-private.h:
221 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
222 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
223 (hildon_login_dialog_get_password):
224 * src/hildon-set-password-dialog-private.h:
225 * src/hildon-set-password-dialog.c
226 (hildon_set_password_set_property),
227 (hildon_set_password_get_property), (create_contents),
228 (hildon_set_password_response_change),
229 (hildon_set_password_response_set), (hildon_checkbox_toggled):
231 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
232 instead and look more Fremantle style.
234 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
236 2009-04-03 Alberto Garcia <agarcia@igalia.com>
238 * doc/hildon-sections.txt
239 * src/hildon-window-stack.h
240 * src/hildon-window-stack.c
241 (+hildon_window_stack_get_windows):
242 New API to obtain the list of windows on a stack.
244 2009-04-02 Alberto Garcia <agarcia@igalia.com>
246 * src/hildon-app-menu.c (hildon_app_menu_popup)
247 (hildon_app_menu_class_init, -hildon_app_menu_show):
248 Remove hildon_app_menu_show() and move all its checks to
249 hildon_app_menu_popup()
251 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
253 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
254 (_hildon_picker_dialog_set_selector): removed call to
255 gtk_widget_set_size_request
256 * src/hildon-touch-selector.c
257 (_create_new_column): change the pannable size request policy
259 Avoid to use a hardcoded height for the hildon picker dialog. In order
260 to get that, we needed to change the hildon pannable size request
262 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
264 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
266 * src/hildon-window.c (hildon_window_map): Check for vbox to be
267 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
270 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
272 * debian/control: Depend on osso-system-lock localization package.
273 * src/hildon-code-dialog.c: Obtain the secu_application_title
274 translation from osso-system-lock.
275 * src/hildon-get-password-dialog.c (create_contents): Do not mark
276 for translation the atk related strings, that's not necessary.
277 * src/hildon-set-password-dialog.c (create_contents): Ditto.
278 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
279 cancel button, it is not required.
281 2009-04-02 Alejandro G. Castro <alex@igalia.com>
283 * src/hildon-pannable-area.c,
284 (hildon_pannable_area_class_init): Modified the default value of
285 the overshooting max speed, we have reduced it.
287 2009-04-02 Alberto Garcia <agarcia@igalia.com>
289 * doc/hildon-sections.txt
290 * src/hildon-window-private.h
291 * src/hildon-window.h
292 * src/hildon-window.c (hildon_window_class_init)
293 (hildon_window_init, hildon_window_finalize)
294 (hildon_window_realize, hildon_window_get_property)
295 (hildon_window_set_property, hildon_window_update_markup)
296 (hildon_window_get_markup, hildon_window_set_markup):
297 New "markup" property and hildon_window_{get,set}_markup() methods.
299 * examples/hildon-stackable-window-example.c (new_window):
300 Update example to use hildon_window_set_markup()
302 Fixes: NB#106375 (Need API to retitle a window with a title
305 2009-04-01 Alejandro G. Castro <alex@igalia.com>
307 * src/hildon-pannable-area.c,
308 (hildon_pannable_area_class_init): Changed the default value of
309 the initial_hint to TRUE.
310 (hildon_pannable_area_initial_effect): Changed the initial effect,
311 not the effect is just the fade-out of the scrollbars.
313 Fixes: NB#107775 (No scrollbars can be seen when several items are
314 available in a dialog)
316 2009-04-01 Alberto Garcia <agarcia@igalia.com>
318 * src/hildon-program.c (hildon_program_update_top_most):
321 Fixes: NB#109179 (Memory leak in Hildon program)
323 2009-04-01 Alberto Garcia <agarcia@igalia.com>
325 * src/hildon-banner.c (-get_current_app_window):
326 Remove unused function.
328 2009-04-01 Alejandro G. Castro <alex@igalia.com>
330 * src/hildon-pannable-area.c: Modified the documentation of the
331 get adjustments functions to explain the problem of using the
333 (hildon_pannable_area_class_init): Improved the explanation about
336 2009-04-01 Alberto Garcia <agarcia@igalia.com>
338 * src/hildon-app-menu-private.h
339 * src/hildon-app-menu.c
340 (hildon_app_menu_class_init):
341 Bring back the 'external-border' style property
342 (hildon_app_menu_class_init, hildon_app_menu_init)
343 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
344 Set a fixed width-request for the menu, independent of the number
347 Fixes: NB#94957 (Smoothly opened application menu)
349 2009-03-30 Alberto Garcia <agarcia@igalia.com>
351 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
353 * src/hildon-banner.c
354 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
356 Make sure that the banner is correctly placed the first time it's
358 (hildon_banner_check_position, -check_fullscreen_state):
359 Show the banner in the same place no matter if the window is in
360 fullscreen mode or not.
362 Fixes: NB#107386 (Odd stacking behaviour for information banners)
364 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
366 * src/hildon-touch-selector.c (_default_print_func): reorder
367 concatenation for clarity.
369 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
371 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
372 for multicolumn selectors.
374 Fixes: NB#109099 (Memory leak in Hildon touch selector)
376 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
381 * configure.ac: Bump version.
382 * debian/changelog: Updates.
384 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
386 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
389 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
391 * configure.ac: removed libcangerra-gtk dependency
392 * debian/control: removed libcanberra-gtk dependency
393 * src/Makefile.am: removed libcanberra gtk related flags
394 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
395 context, and manage a global canberra context instead
397 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
399 2009-03-26 Alberto Garcia <agarcia@igalia.com>
401 Patch by Daniel Borgmann (danielb@openismus.com)
403 * src/hildon-edit-toolbar.c:
404 Adjust the left padding.
405 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
406 Paint background of the edit toolbar.
408 Fixes: NB#107897 (Patch to make editmodetoolbar background
409 themeable and adjust margin)
411 2009-03-25 Alberto Garcia <agarcia@igalia.com>
413 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
415 * src/hildon-program.c (hildon_program_update_top_most):
416 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
418 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
419 change when the user tasks in/out of an application)
421 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
423 * configure.ac: added libcangerra-gtk dependency
424 * debian/control: added libcanberra-gtk dependency
425 * src/Makefile.am: added libcanberra gtk related flags
426 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
429 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
431 2009-03-25 Alberto Garcia <agarcia@igalia.com>
433 * src/hildon-program.c (hildon_program_remove_window)
434 (hildon_program_add_window): Add checks for the window
435 parameter. Don't decrease the window counter if the window is not
438 2009-03-24 Alejandro G. Castro <alex@igalia.com>
440 * src/hildon-pannable-area.c,
441 (hildon_pannable_area_realize): Fixed position of the event_window
442 in the realize method.
444 2009-03-24 Alberto Garcia <agarcia@igalia.com>
446 * src/hildon-app-menu-private.h
447 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
448 (hildon_app_menu_map, hildon_app_menu_hide_idle)
449 (hildon_app_menu_key_press, hildon_app_menu_init)
450 (hildon_app_menu_finalize):
451 Make sure that all idle functions are removed when the widget is
454 Fixes: NB#107583 (Hildon app menu crashes in various applications)
456 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
461 * configure.ac: Bump version.
462 * debian/changelog: Updates.
464 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
467 (+hildon_entry_show_placeholder),
468 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
469 that replace hildon_entry_update_contents().
470 (hildon_entry_set_text),
471 (hildon_entry_set_placeholder),
472 (hildon_entry_focus_in_event),
473 (hildon_entry_focus_out_event): Determine when it is needed
474 either to show or hide the placeholder and call the above methods.
476 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
477 when the placeholder text is already set)
479 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
481 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
482 simple GdkPixbufAnim using the new icons for the banner.
483 (hildon_banner_show_animation): Use the above mentioned method to
484 create the animation widget.
486 Fixes: NB#103564 (Make hildon animation banner use individual
487 image files as the animation)
489 2009-03-24 Alejandro G. Castro <alex@igalia.com>
491 * src/hildon-pannable-area.c,
492 (hildon_pannable_leave_notify_event): Check if the child is NULL
493 to avoid sending the leave.
495 2009-03-24 Alejandro G. Castro <alex@igalia.com>
497 * src/hildon-pannable-area.c,
498 (hildon_pannable_area_class_init),
499 (hildon_pannable_leave_notify_event): Added a handler of the
500 leave-notify-signal to consider when no motion notify before
503 Fixes: NB#107494 (Items stay selected when clicking and moving
504 away when inside pannable area)
506 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
511 * configure.ac: Bump version.
512 * debian/changelog: Updates.
514 2009-03-19 Alejandro G. Castro <alex@igalia.com>
516 Patch by Alberto Garcia (agarcia@igalia.com)
518 * src/hildon-date-button.c,
519 (hildon_date_button_class_init),
520 (hildon_date_button_init): Removed the construct property handling
521 and created a default selector in the init method.
522 * src/hildon-picker-button.c,
523 (hildon_picker_button_class_init): Removed the construct flag of the
526 2009-03-18 Alberto Garcia <agarcia@igalia.com>
528 * src/hildon-main.c (hildon_init):
529 Don't allow hildon_init() to be called more than once.
531 Fixes: NB#106607 (hildon_init should issue error message upon
534 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
536 * examples/hildon-pannable-area-touch-list-example.c
537 * examples/hildon-pannagle-area-touch-grid-example.c
538 * examples/hildon-edit-toolbar-example.c
539 * examples/hildon-touch-selector-multi-cells-example.c
540 Removed the call to gtk_rc_parse_string, as it is not required since
543 2009-03-17 Alejandro G. Castro <alex@igalia.com>
545 * src/hildon-pannable-area.c,
546 (hildon_pannable_area_class_init): Modified the default panning
547 threshold of the widget to 6px.
549 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
550 than the threshold value ) within the button is not sending the
553 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
555 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
556 for the treeview in the new column. This way, the touch list will never
559 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
560 be selected manually for the HW keys to work)
562 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
564 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
565 comparison instead of using strcmp(). Fixes a compiler warning as well.
567 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
569 * doc/hildon-docs.sgml: Do not set the library version in the
570 document title, use the releaseinfo tag for that purpose instead.
572 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
574 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
575 Do not jump to the first item if the text in the entry is removed.
577 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
582 * configure.ac: Bump version.
583 * debian/changelog: Updates.
585 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
587 * src/hildon-entry.c (hildon_entry_refresh_contents):
588 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
589 Use "ReversedSecondaryTextColor" for the placeholder text.
591 2009-03-12 Alberto Garcia <agarcia@igalia.com>
593 * src/hildon-text-view.c: Fix compilation warning.
595 2009-03-12 Alberto Garcia <agarcia@igalia.com>
597 * src/hildon-button.c (hildon_button_class_init): Don't make
598 "title" and "value" construction properties, to prevent them from
599 overwriting labels set from derived classes.
601 * src/hildon-picker-button.c
602 (hildon_picker_button_set_selector): Allow setting a NULL selector.
603 (hildon_picker_button_class_init): Make touch-selector a
604 construction property.
606 * src/hildon-date-button.c (hildon_date_button_class_init)
607 (+hildon_date_button_constructed): Add a default date selector if
610 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
612 * src/hildon-touch-selector.c: Small documentation fixes.
614 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
616 Based on a patch by Daniel Borgmann (danielb@openismus.com)
618 * src/hildon-entry.c (hildon_entry_refresh_contents),
619 (hildon_entry_get_text), (hildon_entry_init): Do not use the
620 widget name, set the logical color directly instead and a boolean
621 showing_placeholder instead.
622 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
623 use the widget name here either.
625 Fixes: NB#105678 (HildonTextView should use logical colours
626 instead of setting widget name)
628 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
630 Patch by Daniel Elster (danielk@openismus.com)
632 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
633 Add user_data parameter.
634 (hildon_touch_selector_set_print_func_full): New function akin
635 hildon_touch_selector_set_print_func() but with support for user
636 data and a destroy callback.
637 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
638 to clean up the print function user data.
639 (hildon_touch_selector_class_init): Install dispose function.
640 (HildonTouchSelectorPrivate::print_user_data),
641 (HildonTouchSelectorPrivate::print_destroy_func): New private
643 (hildon_touch_selector_init): Initialize new private members.
644 (hildon_touch_selector_get_current_text): Pass along user data
645 to the print function.
646 (_default_print_func): Add dummy user_data to parameter list.
647 * hildon-date-selector.c (_custom_print_func): ditto,
648 * hildon-time-selector.c (_custom_print_func): ditto,
649 * hildon-touch-selector-entry.c
650 (hildon_touch_selector_entry_print_func): ditto.
652 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
654 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
656 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
658 2009-03-12 Alejandro G. Castro <alex@igalia.com>
660 * src/hildon-pannable-area.c,
661 (hildon_pannable_area_init),
662 (hildon_pannable_area_button_press_cb),
663 (hildon_pannable_area_motion_notify_cb): We have added code to
664 handle the leave and enter events when using the motion events.
666 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
668 2009-03-11 Alberto Garcia <agarcia@igalia.com>
670 * src/hildon-date-button.c (hildon_date_button_get_date)
671 (hildon_date_button_set_date): Make sure that the button has a
674 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
676 2009-03-11 Alejandro G. Castro <alex@igalia.com>
678 * src/hildon-pannable-area.c,
679 (hildon_pannable_area_class_init),
680 (hildon_pannable_area_calculate_velocity): Modify the use of the
681 force and adapt the value.
683 2009-03-10 Alberto Garcia <agarcia@igalia.com>
685 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
686 (hildon_app_menu_class_init): Hide the menu if it receives a
687 delete-event, but don't destroy it
689 Fixes: NB#104485 (Not able to address the call when application
690 menu is opened at background)
692 2009-03-10 Alberto Garcia <agarcia@igalia.com>
694 * src/hildon-app-menu.c
695 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
696 Remove the "external-border" style property, let the menu take its
697 natural size (or the one set by the window manager)
698 (hildon_app_menu_repack_items):
699 Don't reshow the menu, avoid flickers.
701 Partially fixes NB#94957 (Smoothly opened application menu)
703 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
708 * configure.ac: Bump version.
709 * debian/changelog: Updates.
711 2009-03-10 Alejandro G. Castro <alex@igalia.com>
713 * src/hildon-pannable-area.c,
714 (hildon_pannable_area_motion_notify_cb): We control that the
715 direction error margin is used just in case the movement is
716 allowed in the other direction.
718 Fixes: NB#105012 (buttons inside a pannable area not getting
719 release event when dragging/releasing)
721 2009-03-10 Alejandro G. Castro <alex@igalia.com>
723 * src/hildon-pannable-area.c,
724 (hildon_pannable_area_class_init),
725 (hildon_pannable_area_get_property),
726 (hildon_pannable_area_set_property),
727 (hildon_pannable_area_initial_effect),
728 (hildon_pannable_axis_scroll),
729 (hildon_pannable_area_button_release_cb): Reviewed the
730 overshooting effect, now it has its own max
731 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
734 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
739 * configure.ac: Bump version.
740 * debian/changelog: Updates.
742 2009-03-09 Alejandro G. Castro <alex@igalia.com>
744 * src/hildon-pannable-area.c,
745 (hildon_pannable_area_class_init): Changed the max speed, now
746 users can launch the widget very fast. Reduced the default force,
747 that way it is easier to control the launch speed.
749 2009-03-09 Alejandro G. Castro <alex@igalia.com>
751 * src/hildon-pannable-area.c,
752 (hildon_pannable_area_button_release_cb): Removed this check
753 because it causes problems when the device is overloaded.
755 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
757 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
758 add a current_text field to store the text entered in the
759 touch selector entry.
760 (_clean_current_selection): clean up the current text as well.
761 (_save_current_selection), (_restore_current_selection):
762 Save/restore the text in the entry if the selector is a
763 HildonTouchSelectorEntry.
765 Fixes: NB#102541 (value entered in the touch selector entry is not
766 shown when opened for second time)
768 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
770 * doc/hildon-sections.txt:
771 * src/hildon-touch-selector-entry.c
772 (+hildon_touch_selector_entry_get_entry):
773 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
775 Fixes: NB#104815 (I need accessor to the entry inside
776 HildonTouchSelectorEntry)
778 2009-03-06 Alberto Garcia <agarcia@igalia.com>
780 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
781 (hildon_app_menu_class_init):
782 New "filter-vertical-spacing" style property.
784 2009-03-06 Alberto Garcia <agarcia@igalia.com>
786 * src/hildon-find-toolbar.c
787 (hildon_find_toolbar_emit_close)
788 (hildon_find_toolbar_emit_invalid_input)
789 (hildon_find_toolbar_entry_activate):
790 Use g_signal_emit() instead of g_signal_emit_by_name()
792 2009-03-06 Alberto Garcia <agarcia@igalia.com>
794 Patch by Mox Soini (ext-mox.soini@nokia.com)
796 * tests/TEST-CASES.txt
797 * tests/check-hildon-banner.c
798 * tests/check-hildon-note.c
799 * src/hildon-banner.c
800 * src/hildon-code-dialog.c
801 * src/hildon-date-editor.c (real_set_calendar_icon_state)
802 * src/hildon-time-editor.c
803 * examples/hildon-lookup-example.c (main):
804 Replace obsolete icon names with new ones.
806 * src/hildon-find-toolbar-private.h:
807 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
808 (-hildon_find_toolbar_emit_search):
809 Remove find button and change icon of close button.
811 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
813 2009-03-05 Alberto Garcia <agarcia@igalia.com>
815 * src/hildon-time-button.c (hildon_time_button_new_step):
816 Use the "touch-selector" property to set the selector directly
817 when creating the object.
819 2009-03-05 Alejandro G. Castro <alex@igalia.com>
821 Added a new example application that allows tuning the pannable
822 area and replaced defines with properties in order to simplify the
823 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
824 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
825 PROP_DIRECTION_ERROR_MARGIN.
827 * examples/hildon-pannable-area-tuning-example.c: New example
829 * src/hildon-pannable-area.c,
830 (hildon_pannable_area_class_init),
831 (hildon_pannable_area_init),
832 (hildon_pannable_area_get_property),
833 (hildon_pannable_area_set_property),
834 (hildon_pannable_area_launch_fade_timeout),
835 (hildon_pannable_area_adjust_value_changed),
836 (hildon_pannable_axis_scroll),
837 (hildon_pannable_area_motion_notify_cb),
838 (hildon_pannable_area_scroll_cb),
839 (hildon_pannable_area_button_release_cb): We have converted some
840 of the defines that control the widget to properties to simplify
843 2009-03-05 Alberto Garcia <agarcia@igalia.com>
845 * src/hildon-app-menu.c (hildon_app_menu_map)
846 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
847 so it's closed if a new window appears.
849 Fixes: NB#104485 (Not able to address the call when application
850 menu is opened at background)
852 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
854 * src/hildon-color-button.c (hildon_color_button_get_property):Add
855 missing 'break' statement in in 'case' construct to avoid
858 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
860 * src/hildon-touch-selector-entry.c
861 (hildon_touch_selector_entry_get_property),
862 (hildon_touch_selector_entry_set_property): Add missing 'break'
863 statements in in 'case' constructs to avoid incorrect warnings.
865 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
867 * src/hildon-time-editor.c
868 (hildon_time_editor_get_time_separators): Do not crash if
869 the first label is NULL.
871 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
873 * src/hildon-date-selector.c (_month_days): Check for month to be
874 strictly less than 12, since otherwise we may overrun the array.
876 2009-03-04 Alberto Garcia <agarcia@igalia.com>
878 * src/hildon-date-button.c (+hildon_date_button_new_full)
879 (hildon_date_button_new, hildon_date_button_new_with_year_range)
880 (hildon_date_button_init): Set the date selector using a
881 construction property, to make it happen after HildonButton's
882 "value" property is set.
884 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
885 current date by default)
887 2009-03-04 Alberto Garcia <agarcia@igalia.com>
889 * doc/hildon-sections.txt
890 * src/hildon-program.c
891 * src/hildon-stackable-window.c
892 * src/hildon-window.c:
893 Documentation updates
895 2009-03-04 Alberto Garcia <agarcia@igalia.com>
897 * src/hildon-window-stack.c (hildon_window_stack_get_default)
898 (hildon_window_stack_new, +hildon_window_stack_set_property)
899 (+hildon_window_stack_get_property)
900 (hildon_window_stack_class_init)
901 (+hildon_window_stack_set_window_group)
902 (+hildon_window_stack_get_window_group):
903 Make the window group a construction property.
905 2009-03-04 Alberto Garcia <agarcia@igalia.com>
907 * doc/hildon-sections.txt
908 * src/hildon-stackable-window-private.h
909 * src/hildon-stackable-window.h
910 * src/hildon-stackable-window.c
911 (-hildon_stackable_window_set_app_menu)
912 (-hildon_stackable_window_get_app_menu)
913 (-hildon_stackable_window_toggle_menu)
914 (-hildon_stackable_window_finalize)
915 (hildon_stackable_window_class_init)
916 (hildon_stackable_window_init)
917 * src/hildon-window-private.h
918 * src/hildon-window.h
919 * src/hildon-window.c (hildon_window_init)
920 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
921 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
922 (hildon_window_get_main_menu, hildon_window_set_main_menu)
923 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
924 Moved all HildonAppMenu code to HildonWindow. The menu does not
925 require a HildonStackableWindow anymore.
927 * src/hildon-app-menu.c
928 * src/hildon-program.c
929 * examples/hildon-app-menu-example.c (main):
930 Update examples and documentation to reflect HildonAppMenu
933 2009-03-04 Alberto Garcia <agarcia@igalia.com>
935 * src/hildon-remote-texture.c
936 * src/hildon-animation-actor.c:
937 Don't include unused private headers.
939 2009-03-04 Alberto Garcia <agarcia@igalia.com>
941 * src/hildon-program-private.h
942 * src/hildon-program.c
943 (hildon_program_set_common_menu)
944 (hildon_program_get_common_menu)
945 (hildon_program_set_common_app_menu)
946 (hildon_program_get_common_app_menu):
947 Change common menu pointers from GtkWidget* to GtkMenu* and
948 HildonAppMenu* to avoid unnecessary casts.
950 2009-03-03 Alberto Garcia <agarcia@igalia.com>
952 * src/hildon-window.c (hildon_window_set_main_menu):
953 Removed incorrect 'Since:' tag
955 2009-03-03 Alejandro G. Castro <alex@igalia.com>
957 * src/hildon-pannable-area.c,
958 (hildon_pannable_area_calculate_velocity): We use now the
959 RATIO_TOLERANCE here to check the distance, fixed typo in the
961 (hildon_pannable_area_motion_notify_cb): We have to set the type
962 and time even if we are not sending the motion.
964 2009-03-02 Alberto Garcia <agarcia@igalia.com>
966 * doc/hildon-sections.txt
967 * src/hildon-app-menu.h
968 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
969 (+hildon_app_menu_get_filters): New methods to get the contents of
972 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
975 2009-03-02 Alberto Garcia <agarcia@igalia.com>
977 * src/hildon-app-menu.c (hildon_app_menu_popup):
980 2009-03-02 Alberto Garcia <agarcia@igalia.com>
982 * src/hildon-window.h
983 * src/hildon-window.c (+hildon_window_get_main_menu)
984 (hildon_window_get_menu): Created hildon_window_get_main_menu()
985 and deprecated hildon_window_get_menu().
987 * src/hildon-stackable-window.h
988 * src/hildon-stackable-window.c
989 (+hildon_stackable_window_set_app_menu)
990 (+hildon_stackable_window_get_app_menu)
991 (hildon_stackable_window_set_main_menu): Created
992 hildon_stackable_window_{get,set}_app_menu() and deprecated
993 hildon_stackable_window_set_main_menu().
995 * doc/hildon-sections.txt
996 * examples/hildon-app-menu-example.c (main)
997 * src/hildon-app-menu.c
998 * src/hildon-program.c:
999 Updated examples and documentation.
1001 Fixes: NB#103758 (No way to obtain a menu from a
1002 HildonStackableWindow)
1004 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1009 * configure.ac: Bump version.
1010 * debian/changelog: Updates.
1012 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1014 * examples/hildon-remote-texture-example.c: Include
1015 hildon-remote-texture.h explicitely.
1016 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1017 applications not defining _XOPEN_SOURCE which don't require this header.
1019 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1021 * doc/hildon-sections.txt
1022 * src/hildon-app-menu.h
1023 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1024 New function to pop up a HildonAppMenu
1026 * src/hildon-stackable-window.c
1027 (hildon_stackable_window_toggle_menu):
1028 Use hildon_app_menu_popup() to show the menu.
1030 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1032 * src/hildon-app-menu.c (hildon_app_menu_show)
1033 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1034 menu if there's another window between it and its parent window.
1036 Fixes: NB#100468 (Application menu window is launched even when a
1037 new secondary-window/dialog is pending to be shown/realized)
1039 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1041 * src/hildon-window-stack.c (hildon_window_stack_push)
1042 (hildon_window_stack_pop_and_push):
1043 Don't forget to push/pop the first window.
1044 Reverse the window list before calling _push_list()
1046 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1048 * src/hildon-picker-button.h
1049 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1050 Remove "value_changed" slot to avoid ABI breakage
1052 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1054 * src/hildon-pannable-area.c,
1055 (hildon_pannable_area_realize),
1056 (hildon_pannable_area_unrealize),
1057 (hildon_pannable_draw_vscroll),
1058 (hildon_pannable_draw_hscroll): Changed the method to handle the
1059 GC used to draw the transparent scrollbar, this way we avoid
1060 creating the GC all the time when drawing the scrollbars.
1062 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1064 * src/hildon-pannable-area.c,
1065 (hildon_pannable_area_init),
1066 (hildon_pannable_area_remove): Removed some unnecessary casts.
1067 (hildon_pannable_area_dispose): Disconnected some signals before
1068 releasing the adjustments.
1070 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1072 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1073 Make sure that all widgets contained in the toolbar are shown.
1075 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1077 * doc/hildon-sections.txt
1078 * src/hildon-picker-button.h
1079 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1080 (_selection_changed, hildon_picker_button_on_dialog_response)
1081 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1082 New hildon_picker_button_value_changed() method.
1085 * src/hildon-picker-button-private.h
1086 * src/hildon-picker-button.c (hildon_picker_button_init)
1087 (+hildon_picker_button_disable_value_changed): Add protected
1088 function for disabling the "value-changed" signal.
1090 * src/hildon-date-button.c (hildon_date_button_set_date):
1091 Don't emit "value-changed" for each one of the three columns.
1093 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1094 before actual change of values)
1096 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1098 * src/hildon-pannable-area.c,
1099 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1100 for the treeview overshooting.
1102 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1104 * src/hildon-banner.c (+hildon_banner_bind_style):
1105 Renamed from hildon_banner_bind_label_style(), now naming the
1106 banner itself as well.
1107 (hildon_banner_show_information),
1108 (hildon_banner_show_information_with_markup),
1109 (hildon_banner_show_animation), (hildon_banner_show_progress):
1110 Name the widgets and labels, based on their type.
1112 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1115 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1117 * src/hildon-note.c (hildon_note_set_property): call
1118 hildon_note_rename() on HildonNote:note-type set.
1119 (hildon_note_rename): Name the note and its label, based on the
1120 HildonNote:note-type property.
1122 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1125 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1127 * src/hildon-pannable-area.c,
1128 (hildon_pannable_area_class_init),
1129 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1130 panning parameters, increased SPS and deceleration factor. Added
1131 also a margin to control fake directions.
1133 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1135 Patch by Sven Herzberg (sven@imendio.com)
1137 * configure.ac: Add missing AM_PROG_CC_C_0
1138 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1140 See NB#101420 (Update unit tests and fix make check)
1142 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1144 This patch was applied before but reverted because it caused
1145 problems, we have changed the main condition and tested the
1146 regressions we detected before and they work ok. We have done a
1147 complete review of the topmost algorithm in order to get a more
1150 * src/hildon-pannable-area.c,
1151 (hildon_pannable_area_get_topmost): Added a new parameter to
1152 filter the the windows that do not include those events.
1153 (hildon_pannable_area_button_press_cb),
1154 (hildon_pannable_area_button_release_cb),
1155 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1156 topmost function, we have added the new parameter.
1158 Fixes: NB#97458 (Pannable area prevents propagation of button
1161 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1163 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1164 if all columns in the selector have an item selected.
1165 (_on_dialog_response): Stop "response" signal emission if there is
1166 any selector column without selected items.
1168 Fixes: NB#101889 (Picker dialog should not close when nothing is
1169 selected in multiple selection list)
1171 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1173 * src/hildon-font-selection-dialog.c
1174 (hildon_font_selection_dialog_class_init),
1175 (hildon_font_selection_dialog_init): Remove the preview
1176 button and dialog, since previewing with default theming is likely
1177 to be overcomplicated. The :preview property has now no effect.
1178 Update documentation blurbs to inform about this.
1180 Fixes: NB#92297 (Preview content is not clearly visible for
1181 default colour text)
1183 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1185 Reviewed the geometry that handles the children size and
1186 scrollbar, now it tries a size and reviews the results depending
1187 on the scrollbars visibility.
1189 * src/hildon-pannable-area.c,
1190 (hildon_pannable_area_realize): Fixed a typo.
1191 (hildon_pannable_area_child_allocate_calculate): Added this
1192 function to calculate the child allocation.
1193 (hildon_pannable_area_size_allocate): Reviewed the allocation
1195 (hildon_pannable_area_check_scrollbars),
1196 (hildon_pannable_area_refresh): Refactored refresh function, this
1197 way we can call the code handling the scrollbars without causing a
1198 size_request, it is interesting in the allocate.
1199 (hildon_pannable_area_init): Replace the callbacks of the
1200 value_changed and changed signals to propertly deal with the
1202 (hildon_pannable_area_grab_notify),
1203 (hildon_pannable_area_initial_effect),
1204 (hildon_pannable_area_launch_fade_timeout),
1205 (hildon_pannable_area_adjust_changed),
1206 (hildon_pannable_area_adjust_value_changed),
1207 (hildon_pannable_area_redraw),
1208 (hildon_pannable_area_button_press_cb),
1209 (hildon_pannable_area_button_release_cb),
1210 (hildon_pannable_area_scroll_cb),
1211 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1212 code and use the new functions adjust_changed and
1213 adjust_value_changed.
1215 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1216 Contact editor dialog)
1218 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1223 * configure.ac: Bump version.
1224 * debian/changelog: Updates.
1226 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1228 * src/hildon-pannable-area.c,
1229 (hildon_pannable_area_get_topmost),
1230 (hildon_pannable_area_button_press_cb),
1231 (hildon_pannable_area_button_release_cb),
1232 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1233 topmost function adding the event mask. We have to try a
1234 differente approach because it is still causing problems (NB#9745,
1237 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1239 * src/hildon-banner.c:
1240 Update the maximum width of timed banners.
1241 (force_to_wrap_truncated): Enforce the maximum text width if the
1244 Fixes: NB#102413 (The text margins (wrapping) in information
1245 banner should be HILDON_MARGIN_TRIPLE)
1247 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1249 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1251 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1252 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1253 bound when calculating the scroll indicator position.
1255 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1256 treat ->lower correctly)
1258 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1260 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1261 expose event handling, since it is not necessary to draw the focus
1264 Fixes: NB#102467 (Do not show highlight on the text in
1267 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1269 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1270 full height of the toolbar for the button and the label.
1272 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1274 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1275 padding before the label and after the button.
1277 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1279 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1281 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1282 Add a GtkVSeparator between the button and the back arrow.
1283 Let the button have automatic size.
1284 Set a name to the widget for theming handling.
1286 Fixes: NB#101793 (Make edit toolbar the same height as window
1287 title bar (use title area theming))
1289 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1291 * src/hildon-helper.c (attach_new_color_element): Fix memory
1294 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1296 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1298 * examples/hildon-button-example.c (common_buttons_window): Don't
1301 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1303 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1304 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1306 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1308 * src/hildon-gtk.c: Check that the window is realized.
1310 Fixes: NB#102225 (Crash setting the progress indicator to a non
1313 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1315 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1316 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1317 instead of modifying the one in the widget style.
1319 Fixes: NB#101043 (Second row of all the command button are
1320 displayed in transparent mode.)
1322 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1324 * src/hildon-date-button.c
1325 * src/hildon-time-button.c: Add gettext macros
1327 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1329 * src/hildon-date-button.c (hildon_date_button_new):
1330 * src/hildon-time-button.c (hildon_time_button_new_step):
1331 Use new logical strings to set the button default title.
1333 Fixes: NB#99915 (Date and Time options are not localised in Date
1336 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1338 * src/hildon-pannable-area.c
1339 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1340 the PANNING_THRESHOLD.
1342 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1344 * src/hildon-pannable-area.c,
1345 (hildon_pannable_area_class_init): Increased the maximum speed.
1346 (hildon_pannable_area_get_property),
1347 (hildon_pannable_area_set_property),
1348 (hildon_pannable_area_timeout): Added a new low friction mode, it
1349 allows the user avoid friction when launching the widget fast
1350 enough. It is interesting to traverse long lists.
1352 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1354 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1355 (+hildon_stackable_window_delete_event): Ignore delete events if
1356 the window is not the topmost one.
1358 Fixes: NB#101698 (Back button long press and delete-event handling)
1360 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1362 * src/hildon-pannable-area.c,
1363 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1364 gtk-dnd-drag-threshold, it was too big. We have defined our own
1365 dnd define and set a smaller value: PANNIG_THRESHOLD.
1367 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1369 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1370 user-defined icons, use always the default one.
1372 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1374 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1376 This patch was applied before but reverted because it caused
1377 problems, we have changed the main condition and tested the
1378 regressions we detected before and they work ok.
1380 * src/hildon-pannable-area.c,
1381 (hildon_pannable_area_get_topmost): Added a new parameter to
1382 filter the the windows that do not include those events. Added
1383 also a condition when finding the window to filter windows that do
1384 not ask for those events.
1385 (hildon_pannable_area_button_press_cb),
1386 (hildon_pannable_area_button_release_cb),
1387 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1388 topmost function, we have added the new parameter.
1390 Fixes: NB#97458 (Pannable area prevents propagation of button
1393 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1395 * tests/check-hildon-color-button.c (START_TEST): do not leak
1398 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1400 * src/hildon-font-selection-dialog.c
1401 (hildon_font_selection_dialog_get_preview_text): Return NULL
1402 instead of FALSE on the g_return_val_if_fail().
1404 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1406 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1407 * src/hildon-date-selector.c
1408 (hildon_date_selector_select_current_date):
1409 Do not compare unsigned integers to be greater than or equal 0,
1410 because it's always TRUE.
1412 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1414 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1415 (hildon_date_selector_constructor): Do not select the current
1416 date until we are handle the "changed" signal, to avoid having bogus
1417 elements in the days model.
1419 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1421 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1422 for num_days, since _month_days() can return a negative value.
1424 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1426 * src/hildon-caption.c (hildon_caption_size_allocate):
1427 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1428 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1430 Initialize allocation variables to 0, to avoid eventually using
1431 unitialized variables.
1433 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1435 * src/hildon-bread-crumb-trail.c
1436 (hildon_bread_crumb_trail_size_allocate):
1437 * src/hildon-calendar.c (hildon_calendar_set_background):
1438 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1439 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1440 * src/hildon-seekbar.c (hildon_seekbar_init):
1441 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1442 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1443 * src/hildon-touch-selector-entry.c
1444 (hildon_touch_selector_get_text_from_model):
1445 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1446 * src/hildon-window.c (hildon_window_finalize):
1448 Remove many unused variables.
1450 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1452 * src/hildon-seekbar.c: (hildon_seekbar_init),
1453 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1455 Remove unnecessary g_assert() calls.
1457 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1459 * src/hildon-caption.c: (hildon_caption_expose),
1460 (hildon_caption_set_property), (hildon_caption_init),
1461 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1462 (hildon_caption_size_request), (hildon_caption_size_allocate),
1463 (hildon_caption_forall), (hildon_caption_set_separator),
1464 (hildon_caption_activate), (hildon_caption_set_child_expand),
1465 (hildon_caption_set_label_text),
1466 (hildon_caption_get_label_alignment):
1468 Remove unnecessary g_assert() calls.
1470 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1472 * src/hildon-banner.c
1473 (hildon_banner_map, hildon_banner_init): Make banner temporary
1474 before mapping it to avoid closing other temporary windows, but
1475 make it non-temporary afterwards to avoid being closed by other
1476 non-temporary windows.
1477 (-hildon_banner_client_event, hildon_banner_init):
1478 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1480 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1483 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1485 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1488 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1490 * src/hildon-remote-texture.c
1491 * src/hildon-remote-texture.h
1492 * src/hildon-remote-texture-private.h
1493 * examples/hildon-remote-texture-example.c:
1494 Updates/fixes to remote-texture and its example.
1496 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1498 Patch by Mox Soini (ext-mox.soini@nokia.com)
1500 * src/hildon-code-dialog.c: Update logical id.
1501 * src/hildon-set-password-dialog.c: Update logical id.
1503 Fixes: NB#100646 (Logical strings is shown for ok in set
1504 password,Password needed dialogs)
1506 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1509 * src/hildon-remote-texture.c
1510 * src/hildon-remote-texture.h
1511 * src/hildon-remote-texture-private.h
1513 Added remote texture widget (for Clutter shared memory textures)
1515 * examples/hildon-remote-texture-example.c
1516 * examples/Makefile.am
1517 Added example file for remote texture usage
1519 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1521 * configure.ac: post release version bump.
1522 * debian/changelog: version bump.
1524 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1529 * configure.ac: Bump version.
1530 * debian/changelog: Updates.
1532 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1534 * src/hildon-date-selector.c (hildon_date_selector_init)
1535 (hildon_date_selector_constructor): Don't connect to the "changed"
1536 signal until the selector is completely constructed.
1538 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1540 * src/hildon-touch-selector.c: (_create_new_column),
1541 (hildon_touch_selector_append_column),
1542 (hildon_touch_selector_set_column_selection_mode),
1543 (hildon_touch_selector_set_active),
1544 (hildon_touch_selector_select_iter):
1545 Emit the HildonTouchSelector::changed signal every time selection
1546 is changed in any of the methods above. This behavior was already
1547 documented but not fully functional.
1549 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1550 selection is programmatically changed)
1552 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1554 * doc/hildon-sections.txt: Remove obsolete icon
1555 sizes from here as well.
1557 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1559 * examples/hildon-stackable-window-example.c (add_window): Remove
1562 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1564 * src/hildon-app-menu.c
1565 (hildon_app_menu_show): Check whether the parent window of a menu
1566 is topmost before popping it up.
1568 Fixes: NB#100468 (Application menu window is launched even when a
1569 new secondary-window/dialog is pending to be shown/realized.)
1571 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1573 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1576 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1578 Patch by Mox Soini (ext-mox.soini@nokia.com)
1580 * src/hildon-banner.c: (hildon_banner_show_animation):
1581 use stylus size instead of obsolete note size.
1582 * src/hildon-defines.h: Update icon sizes.
1584 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1586 * src/hildon-touch-selector-entry.c:
1587 (hildon_touch_selector_entry_init): Disable unsupported
1589 (hildon_touch_selector_entry_get_text_column): Emit a warning
1590 if an unsupported input modes is used and explicitile state
1591 these modes in the documentation.
1593 Fixes: NB#99802 (Hildon touch selector entry not working properly
1594 for some of the input modes)
1596 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1598 * src/hildon-pannable-area.c,
1599 (hildon_pannable_area_init): Added the changed signal handlers of
1602 Fixes: NB#100320 (HildonPannableArea does not listen to
1603 GtkAdjustment "change" signals)
1605 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1607 * doc/hildon-sections.txt
1608 * src/hildon-window-private.h
1609 * src/hildon-window.h
1610 * src/hildon-window.c (hildon_window_init)
1611 (hildon_window_realize, hildon_window_unrealize)
1612 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1613 (hildon_window_size_request, hildon_window_size_allocate)
1614 (hildon_window_forall, hildon_window_show_all)
1615 (hildon_window_destroy, +paint_edit_toolbar)
1616 (+hildon_window_set_edit_toolbar):
1617 New hildon_window_set_edit_toolbar() method, to add a
1618 HildonEditToolbar to a window without having to pack it manually.
1620 Reorganize hildon_window_size_allocate()
1622 * src/hildon-edit-toolbar.c: Update documentation.
1624 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1625 example to use the new API.
1627 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1629 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1631 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1632 Remove from stack before calling parent's hide.
1634 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1636 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1637 window is removed from the middle of the stack, update the
1638 transiency of the previous one.
1640 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1643 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1645 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1646 block/unblock the signal handler if it's not actually being used.
1647 Fixes some critical warnings.
1649 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1651 Based on a patch by Iván Gómez (igomez@igalia.com)
1653 * src/hildon-banner.c
1657 * src/hildon-pannable-area.c
1658 * src/hildon-picker-dialog.c
1659 * src/hildon-wizard-dialog.h
1660 * src/hildon-wizard-dialog.c: Documentation updates.
1662 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1663 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1665 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1667 * configure.ac: post release version bump.
1668 * debian/changelog: version bump.
1670 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1675 * configure.ac: Bump version.
1676 * debian/changelog: Updates.
1678 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1681 a stock icon nor change the relief of the back arrow.
1683 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1684 graphics from theme)
1686 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-button.c (hildon_button_set_alignment): Use
1689 priv->alignment if the button has no child yet.
1691 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1693 * src/hildon-button.c: (hildon_button_init): Set the
1694 button style during initialization to give it the proper
1697 Fixes: NB#99713 (HildonButton value label color is wrong)
1699 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1701 * src/hildon-touch-selector.c: Document
1702 hildon_touch_selector_center_on_selected()
1704 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1706 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1707 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1708 all menu items, but not the menu itself.
1709 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1710 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1711 items after adding them to the menu so keyboard accelerators work.
1712 (hildon_app_menu_show): Don't show the menu if it contains items
1713 but none of them are visible.
1715 * examples/hildon-app-menu-example.c (create_menu): Use
1716 gtk_widget_show_all() to show all menu items.
1718 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-picker-dialog.c:
1721 (-_update_title_on_selector_changed_cb),
1722 (-_dialog_update_title): Removed.
1723 (_select_on_selector_changed_cb), (_on_dialog_response),
1724 (on_selector_columns_changed): Do not update the dialog title.
1725 (setup_interaction_mode): Do not connect to
1726 HildonTouchSelector::changed signal if there's a "done" button, as
1727 the dialog title doesn't need to be updated.
1729 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1732 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1734 Patch by Kristian Rietveld (kris@imendio.com)
1736 * src/hildon-touch-selector.c: (_create_new_column): Use new
1737 GtkTreeView::hildon-row-tapped signal to react to user interactions
1738 instead of ::changed.
1740 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1741 with some dynamic tree model)
1743 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1745 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1746 (+screen_size_changed, +label_size_request)
1747 (hildon_note_class_init): Make the Hildon information note have a
1748 minimum height, and make its text hvae a maximum width.
1750 Fixes: NB#98614 (Hildon information note (background) should have
1751 minimum height and maximum text width)
1753 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1755 * src/hildon-banner.h
1756 * src/hildon-banner.c (hildon_banner_show_information)
1757 (hildon_banner_show_informationf)
1758 (hildon_banner_show_information_with_markup): Update documentation
1759 to reflect that the icon_name parameter is not used anymore.
1760 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1761 Remove all code from these functions and mark them as deprecated.
1762 (hildon_banner_show_progress): Mark as deprecated.
1764 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1766 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1768 * src/hildon-pannable-area.c,
1769 (hildon_pannable_area_class_init),
1770 (tranparency_color),
1771 (hildon_pannable_draw_vscroll),
1772 (hildon_pannable_draw_hscroll),
1773 (hildon_pannable_area_expose_event): Added a new way to render the
1774 scrollbars of the pannable area avoiding using cairo at all. This
1775 way we improve the performance of the pannable area rendering. The
1776 cairo rendering procedure is still in the code, we can control
1777 which one to use changing the value of the define
1778 USE_CAIRO_SCROLLBARS.
1780 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1782 * configure.ac: post release version bump.
1783 * debian/changelog: version bump.
1785 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1790 * configure.ac: Bump version.
1791 * debian/changelog: Updates.
1793 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1795 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1796 banners instead of destroying them when they receive a button
1799 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1801 Reverted commit 34028, it was causing regressions, probably the
1802 topmost condition is not correct, we have to check it in more
1803 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1804 propagation of button press events)
1806 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1808 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1809 that the selection is not empty before attempting to retrieve the
1810 current ampm selection.
1812 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1814 * src/hildon-picker-button.c:
1815 (hildon_picker_button_on_dialog_response): Directly update the
1816 button contents when required instead of calling _selection_changed.
1818 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1820 * src/hildon-program.c (hildon_program_update_top_most): Update
1821 'is-topmost' property also when wm_hints is not set.
1823 Fixes: NB#98383 (is-topmost signal is not emitted when task
1824 switcher is clicked.)
1826 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1828 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1832 * src/hildon-animation-actor.c,
1833 * src/hildon-animation-actor.h: Added the animation actor class,
1834 this widget represents an animation actor for WM-assisted
1835 animation effects in the Hildon framework.
1837 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-window-stack-private.h
1840 * src/hildon-window-stack.c
1841 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1842 Avoid calling gtk_widget_show() again indirectly from
1843 hildon_stackable_window_show()
1845 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1850 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1852 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1853 (hildon_time_selector_init): Move the construction of the hours and
1854 ampm columns to the constructor to preserve the order the columns
1857 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1859 * src/hildon-picker-dialog.c:
1860 (hildon_picker_dialog_class_init): Connect a realize method.
1861 (+hildon_picker_dialog_realize): Setup the interaction mode here
1863 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1864 yet, do it during the realize instead.
1865 (_on_dialog_response):
1866 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1867 if the widget is not realized, to avoid the dialog response before it
1870 Avoid premature responses in the HildonPickerDialog that can cause it
1871 to be hidden before it's even shown.
1873 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1875 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1876 (on_selector_columns_changed), (requires_done_button),
1877 (+prepare_action_area), (setup_interaction_mode),
1878 (_hildon_picker_dialog_set_selector):
1880 Split the interaction mode setup into preparation of the
1881 action area (prepare_action_area()) and the connection of
1882 the signals in setup_interaction_mode() and update the code to
1885 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1887 * src/hildon-pannable-area.c,
1888 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1889 per second to 15, we will check if this is ok regarding
1892 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1894 * src/hildon-pannable-area.c,
1895 (hildon_pannable_axis_scroll): Avoid resize if we already have
1896 reached overshoot_max.
1898 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1900 * src/hildon-pannable-area.c,
1901 (hildon_pannable_area_init),
1902 (hildon_pannable_area_realize),
1903 (hildon_pannable_area_size_allocate),
1904 (hildon_pannable_area_map),
1905 (hildon_pannable_area_unmap),
1906 (hildon_pannable_draw_vscroll),
1907 (hildon_pannable_draw_hscroll),
1908 (hildon_pannable_area_expose_event),
1909 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1910 pannable are to avoid the expose events go to the window and
1911 redraw the window. We save this way that part of the stack and the
1912 paint_boxes. We had to change the positions of the elements when
1915 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1917 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1918 * src/hildon-color-chooser-dialog.c:
1919 (hildon_color_chooser_dialog_init):
1920 * src/hildon-font-selection-dialog.c:
1921 (hildon_font_selection_dialog_init),
1922 (hildon_font_selection_dialog_show_preview):
1923 * src/hildon-get-password-dialog.c:
1924 * src/hildon-login-dialog.c:
1925 * src/hildon-set-password-dialog.c:
1926 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1927 * src/hildon-time-picker.c: (hildon_time_picker_init):
1929 Remove obsolete logical string IDs and update to the appropriate ones.
1931 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1933 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1935 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1936 that happens if the window hasn't been realized yet.
1938 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1939 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1941 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1944 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1947 Fixes: NB#98537 (Device hangs in account settings dialog)
1949 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1951 * configure.ac: post release version bump.
1952 * debian/changelog: version bump
1954 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1959 * configure.ac: Bump version.
1960 * debian/changelog: Updates.
1962 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1964 Added a new function to the HildonTimeButton widget that allows to
1965 change the step of the minutes in the selector associated with the
1966 button: hildon_time_button_new_step
1968 * src/hildon-time-button.c,
1969 (hildon_time_button_init),
1970 (hildon_time_button_new),
1971 (hildon_time_button_new_step):
1972 * src/hildon-time-button.h: Added the new function and refactored
1974 * examples/hildon-time-button-example.c,
1975 (main): We have replaced the function without parameters with the
1976 function with the steps set to 5
1978 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1980 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1982 * src/hildon-time-selector.c,
1983 (hildon_time_selector_class_init),
1984 (hildon_time_selector_constructor),
1985 (hildon_time_selector_get_property),
1986 (hildon_time_selector_set_property),
1987 (_create_minutes_model),
1988 (hildon_time_selector_new_step),
1989 (hildon_time_selector_set_time),
1990 * src/hildon-time-selector.h: Added a new property to the
1991 HildonTimeSelector (minutes-step), we use that property to control
1992 the steps between the minutes in the list of the selector. We have
1993 added a new function to the API to create a widget changing the
1994 step: hildon_time_selector_new_step.
1996 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1998 * src/hildon-time-selector.c,
1999 (hildon_time_selector_class_init),
2000 (hildon_time_selector_constructor),
2001 (hildon_time_selector_init): Overrided the construct function when
2002 creating the time selector object. We have moved the minutes model
2003 handling code from the init to the new construction function:
2004 hildon_time_selector_constructor.
2006 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2008 * examples/hildon-date-button-example.c: (main): Use the new
2009 hildon_date_button_new_with_year_range() method in the example.
2010 * src/hildon-date-button.c:
2011 (+hildon_date_button_new_with_year_range): New public method
2012 to conveniently create a HildonDateButton with a custom year range
2013 in its HildonDateSelector.
2014 * src/hildon-date-button.h: Add the new public method definition.
2016 Fixes: NB#97908 (Not possible to change the year range in
2017 HildonDateSelector/HildonDateButton)
2019 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2021 * src/hildon-date-selector.c:
2022 (+hildon_date_selector_set_property),
2023 (+hildon_date_selector_get_property),
2024 (hildon_date_selector_class_init): Install new properties "min-year"
2025 and "max-year" to define boundaries for the year column.
2026 (_create_year_model): Use the boundary properties to populate the model.
2027 (+hildon_date_selector_new_with_year_range): New public method to
2028 create a HildonDateSelector with a user defined year range.
2029 (hildon_date_selector_select_current_date): Use the new boundaries to
2030 calculate the iterator of current year.
2031 * src/hildon-date-selector.h: Add the new public method definition.
2033 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2035 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2036 Install a constructor method.
2037 (+hildon_date_selector_construct_ui): construct the widget.
2038 (+hildon_date_selector_constructor): new constructor.
2039 (+hildon_date_selector_init): move out widget construction code to
2040 the new constructor.
2042 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2044 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2045 that there's actually a month or year selected before obtaining them.
2046 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2047 of the HildonTouchSelector::changed signal, as it was emitted on every
2048 single item selection.
2050 Fix some warnings and possible crashers due to the selection restoring.
2052 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2054 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2055 the signal handlers only after creating the dialog instead of on every
2058 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2060 * src/hildon-button.c (hildon_button_init)
2061 * src/hildon-check-button.c (hildon_check_button_init)
2062 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2063 focus when clicked by default.
2065 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2067 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2070 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2072 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2073 Alejandro G. Castro (alex@igalia.com)
2075 * src/hildon-picker-dialog.c:
2076 (hildon_picker_dialog_class_init): install new "center-on-show"
2078 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2079 (hildon_picker_dialog_set_property): add setter code for the new
2081 (hildon_picker_dialog_get_property): add getter code for the new
2083 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2084 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2087 Fixes: NB#92849 (Selected item is not always visible when
2088 HildonTouchSelector is shown)
2090 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2092 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2093 Alejandro G. Castro (alex@igalia.com)
2095 * src/hildon-touch-selector.c:
2096 (_create_new_column): Do not connect to the "realize" signal of the
2098 (hildon_touch_selector_append_column): center on the selected items
2099 when a new column is appended.
2100 (hildon_touch_selector_select_iter): Factor out the code to select a
2101 column to hildon_touch_selector_scroll_to().
2102 (+search_nearest_element): Method to retrieve the nearest selected
2103 element to the visible area of the pannable area in a column.
2104 (+on_realize_cb): scroll to the initially selected item.
2105 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2106 the pannable area is realized, otherwise delay this until it is.
2107 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2108 selected items of a given column.
2109 (+hildon_touch_selector_center_on_selected): Public method to center
2110 all columns on the nearest selected item.
2111 * src/hildon-touch-selector.h: Add definition for
2112 hildon_touch_selector_center_on_selected().
2114 Implement public API to ensure visibility of all selected items in
2115 a HildonTouchSelector.
2117 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2119 Fixed a problem in the fading when calling the scroll_to API, and
2120 improve scrollbar fading handling.
2122 * src/hildon-pannable-area.c,
2123 (hildon_pannable_area_grab_notify): avoid the timeout when the
2125 (hildon_pannable_area_button_press_cb),
2126 (hildon_pannable_area_motion_notify_cb): Code style changes.
2127 (hildon_pannable_area_button_release_cb): Review the conditions
2128 when releasing the mouse button to avoid unrequired fading
2130 (hildon_pannable_area_scroll_to): Do not calculate and set the
2131 velocity if the scroll is not required.
2133 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2135 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2136 Don't check whether the new selector is NULL: it cannot be.
2137 Hold a reference to the selector while doing the replacement.
2139 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2141 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2142 unnecessary size_request in a removed widget.
2144 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2147 an unnecessary reference tracking that was leaking.
2149 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2151 Added delayed motion notify event handling, this way we can
2152 discard redrawing if more than 25 events arrive per second.
2154 * src/hildon-pannable-area.c,
2155 (hildon_pannable_area_init): Initialized the new private atributes
2156 controlling this timeout
2157 (hildon_pannable_area_dispose): Remove the timeout that controls
2158 the motion notify events.
2159 (hildon_pannable_area_scroll): Added a condition to control the
2160 use of the acceleration.
2161 (hildon_pannable_area_motion_event_scroll_timeout),
2162 (hildon_pannable_area_motion_event_scroll): Added this two
2163 functions, they handle the motion notify events inside the
2165 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2166 to the scroll method with the new function.
2167 (hildon_pannable_area_button_release_cb): We have to remove the
2168 timeout handler and move to the last position if the last motion
2169 events were not handled.
2171 Fixes: NB#97028 (Pannable area updates on every motion event)
2173 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2175 * src/hildon-pannable-area.c,
2176 (hildon_pannable_area_get_topmost): Added a new parameter to
2177 filter the the windows that do not include those events. Added
2178 also a condition when finding the window to filter windows that do
2179 not ask for those events.
2180 (hildon_pannable_area_button_press_cb),
2181 (hildon_pannable_area_button_release_cb),
2182 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2183 topmost function, we have added the new parameter.
2185 Fixes: NB#97458 (Pannable area prevents propagation of button
2188 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2190 * src/hildon-pannable-area.c,
2191 (hildon_pannable_area_initial_effect): Added controls before
2192 launching the timeout and the idle functions.
2193 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2194 of the method, in some situations it can return with TRUE and 0 in
2196 (hildon_pannable_area_button_press_cb): We do not need to set
2197 DELAY for fading out here.
2199 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2201 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2203 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2204 post-cleaning if the selection is not NULL.
2206 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2209 all items before restoring the selection.
2211 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2213 * src/hildon-touch-selector.c:
2214 (+hildon_touch_selector_unselect_all):
2215 * src/hildon-touch-selector.h: New API to unselect all items in a
2216 column of the touch selector.
2218 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2220 * src/hildon-pannable-area.c,
2221 (hildon_pannable_area_redraw): Added a call to the refresh
2222 function inside the redraw because apparently in some cases the
2223 change in the adjustment does not imply a size allocate.
2225 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2226 despite the view not being scrollable)
2228 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2230 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2231 leak. Check for NULL before attempting to set the window title.
2233 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2235 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2236 whether to show or not the 'Done' button each time the dialog is
2237 shown, as it depends on the HildonTouchSelector selection mode.
2239 Fixes: NB#96226 (In multiple selection mode Done button is shown
2240 sometimes in listpicker)
2242 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2244 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2245 for the number of columns in the HildonTouchSelector more than once.
2247 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2249 * src/hildon-touch-selector.c: Minor documentation fixes.
2251 * src/hildon-picker-dialog.c (+_dialog_update_title)
2252 (_select_on_selector_changed_cb)
2253 (_update_title_on_selector_changed_cb)
2254 (on_selector_columns_changed): Update dialog title when there's no
2255 'Done' button and also when the number of columns in the selector
2259 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2260 (+_selection_changed, hildon_picker_button_on_dialog_response)
2261 (hildon_picker_button_selector_selection_changed)
2262 (+hildon_picker_button_selector_columns_changed)
2263 (hildon_picker_button_set_selector): Update button value and emit
2264 'value-changed' when the number of columns in the selector
2268 Fixes: NB#96225 (Dialog titles are not shown according to the
2269 values selected in the list picker)
2271 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2273 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2274 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2275 New "arrow-width" and "arrow-height" style properties to set the
2276 size of the arrow button.
2277 Set name of arrow button ("hildon-edit-toolbar-arrow").
2279 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2280 graphics from theme)
2282 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2284 * src/hildon-picker-button.c:
2285 (hildon_picker_button_selector_selection_changed): Use
2286 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2287 the dialog is present.
2289 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2290 the selection is accepted in the dialog)
2292 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-color-chooser.h
2295 * src/hildon-color-chooser-dialog.h:
2296 Added G_BEGIN_DECLS and G_END_DECLS
2298 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2300 (_clean_current_selection): plug a leak in the list.
2302 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2304 * src/hildon-picker-dialog.c:
2305 (+free_path_list): Method to free a GList of GtkTreePaths.
2306 (_clean_current_selection), (_save_current_selection),
2307 (_restore_current_selection): Save the current selection in
2308 as a list of lists, to support multiple selection properly.
2310 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2312 patch by Claudio Saavedra (csaavedra@igalia.com)
2314 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2315 Store the press position.
2316 (+hildon_text_view_button_release_event): If the release position is
2317 close enough to the press position, move the cursor here. Otherwise,
2319 (hildon_text_view_class_init): Override GtkTextView press, release, and
2320 motion event handlers, disabling this way text selection through
2321 pointer interaction, and allowing the container widget to handle the
2324 Fixes: NB#95828 (HildonTextView functionality)
2326 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2328 Based on a patch by Iván Gómez (igomez@igalia.com)
2330 * src/hildon-button.[ch]
2331 * src/hildon-calendar.c
2332 * src/hildon-check-button.c
2333 * src/hildon-date-editor.c
2334 * src/hildon-date-selector.c
2335 * src/hildon-picker-button.c
2336 * src/hildon-time-editor.c
2337 * src/hildon-time-selector.c
2338 * src/hildon-touch-selector.[ch]:
2339 Documentation updates
2341 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2343 * src/hildon-pannable-area.c,
2344 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2345 threshold, it was required due to X events handling.
2347 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2349 * src/hildon-pannable-area.c,
2350 (hildon_pannable_area_grab_notify),
2351 (hildon_pannable_area_initial_effect),
2352 (hildon_pannable_area_button_press_cb),
2353 (hildon_pannable_area_button_release_cb),
2354 (hildon_pannable_area_scroll_cb),
2355 (hildon_pannable_area_scroll_to): Review the timeout management of
2356 the scrollbar, the frecuency was incorrectly set.
2358 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-picker-button.c:
2361 (+hildon_picker_button_on_dialog_response),
2362 (hildon_picker_button_clicked): Present the dialog instead of
2363 running it with gtk_dialog_run().
2365 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2368 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2370 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2371 (hildon_app_menu_finalize): When a window is hidden it doesn't
2372 emit notify::is-topmost, so make sure than the menu also
2373 disappears in that case.
2374 (parent_window_topmost_notify): Renamed from parent_window_hidden
2376 Fixes: NB#94460 (stackable window's menu is not closed when its
2379 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-touch-selector-entry.c:
2382 (+hildon_touch_selector_entry_set_input_mode),
2383 (+hildon_touch_selector_entry_get_input_mode):
2384 * src/hildon-touch-selector-entry.h: New methods to access the input
2385 mode in the selector's entry.
2387 Fixes: NB#93410 (API required for setting IM mode in
2388 HildonTouchSelectorEntry)
2390 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2392 * configure.ac: post release version bump.
2393 * debian/changelog: version bump
2395 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2400 * configure.ac: Bump version.
2401 * debian/changelog: Updates.
2403 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2405 * src/hildon-touch-selector.c:
2406 (_hildon_touch_selector_has_multiple_selection): No need
2407 to initialize the variables here.
2409 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-note-private.h
2412 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2413 (hildon_note_finalize, hildon_note_rebuild): Close information
2414 notes when they receive a button press.
2416 Fixes: NB#89890 (Information notes does not get disappeared after
2419 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2421 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2422 mark from the wizard title, as it's not really necessary. Also,
2423 do not display the page title if not set.
2425 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2427 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2428 (parent_window_hidden): Use the window's "is-topmost" property to
2429 detect when to hide the menu.
2431 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2433 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2434 (hildon_app_menu_finalize): If the parent window of the menu is
2435 hidden, hide the menu too.
2437 Fixes: NB#94460 (stackable window's menu is not closed when its
2440 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2443 * debian/libhildon1-examples.install
2445 * examples/Makefile.am:
2446 Use dh_install to install all examples.
2447 Use DEB_SRCDIR instead of defining SOURCE_DIR
2449 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2451 * configure.ac: post release version bump.
2452 * debian/changelog: version bump
2454 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2459 * configure.ac: bump version
2460 * debian/changelog: updates
2461 * debian/control: bump gtk+ dependency
2463 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2465 patch by Christian Dywan (christian@imendio.com)
2467 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2468 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2470 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2472 * src/hildon-check-button.c (hildon_check_button_init)
2473 (hildon_check_button_class_init, hildon_check_button_style_set)
2474 (hildon_check_button_apply_style):
2475 New "checkbox-size" style property.
2477 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2478 larger / configurable size)
2480 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2482 * configure.ac: post release version bump.
2483 * debian/changelog: version bump
2485 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2490 * configure.ac: bump version
2491 * debian/changelog: updates
2493 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2495 * doc/hildon-sections.txt
2496 * src/hildon-pannable-area.c
2497 * src/hildon-program.c
2498 * src/hildon-time-editor.c
2499 * src/hildon-touch-selector-entry.c:
2501 More documentation updates.
2503 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2505 * doc/hildon-sections.txt
2506 * src/hildon-caption.c
2507 * src/hildon-code-dialog.c
2508 * src/hildon-color-button.c
2509 * src/hildon-controlbar.c
2510 * src/hildon-date-editor.c
2511 * src/hildon-date-selector.c
2512 * src/hildon-edit-toolbar.c
2513 * src/hildon-find-toolbar.c
2514 * src/hildon-font-selection-dialog.c
2516 * src/hildon-program.c
2517 * src/hildon-range-editor.c
2518 * src/hildon-seekbar.c
2519 * src/hildon-time-editor.c
2520 * src/hildon-time-selector.c
2521 * src/hildon-volumebar-range.c
2522 * src/hildon-volumebar.c
2523 * src/hildon-vvolumebar.c
2524 * src/hildon-weekday-picker.c
2525 * src/hildon-window.c
2526 * src/hildon-wizard-dialog.c:
2528 Lots of documentation fixes.
2530 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2532 Patch contributed by Iván Gómez (igomez@igalia.com)
2534 * src/hildon-check-button.c:
2535 * src/hildon-date-button.c:
2536 * src/hildon-date-selector.c:
2537 * src/hildon-dialog.c:
2538 * src/hildon-edit-toolbar.c:
2539 * src/hildon-entry.c:
2540 * src/hildon-picker-button.c:
2541 * src/hildon-program.c:
2542 * src/hildon-text-view.c:
2543 * src/hildon-time-button.c:
2544 * src/hildon-touch-selector-entry.c:
2545 * src/hildon-window-stack.c:
2547 Add more "since" tags to the new API.
2549 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2551 * doc/hildon-sections.txt: Add below method.
2552 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2553 version for the hildonized scale.
2554 * src/hildon-gtk.h: Add the definition.
2556 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2558 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2560 * doc/hildon-sections.txt: Add missing entries for new methods.
2562 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2564 Added API to pannable are in order to get its adjustments. We
2565 added two properties to manage the values we had in the private
2568 * src/hildon-pannable-area.c:
2569 (hildon_pannable_area_class_init): Added hadjustment and
2570 vadjustment properties in order to expose horizontal and vertical
2572 (hildon_pannable_area_get_property),
2573 (hildon_pannable_area_set_property): Added code to handle the new
2575 (hildon_pannable_area_get_hadjustment),
2576 (hildon_pannable_area_get_vadjustment): API functions to get the
2578 * src/hildon-pannable-area.h:
2579 (hildon_pannable_area_get_hadjustment),
2580 (hildon_pannable_area_get_vadjustment): API functions to get the
2583 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2585 Fixed some leaks, after valgrinding.
2587 * src/hildon-touch-selector.c:
2588 (_default_print_func): Fixed a leak.
2589 (hildon_touch_selector_append_column): Fixed a leak.
2590 * src/hildon-date-button.c:
2591 (hildon_date_button_init): Fixed a leak.
2592 * src/hildon-date-selector.c
2593 (hildon_date_selector_finalize): Fixed a leak.
2595 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2597 Based on a patch by Christian Dywan (christian@imendio.com)
2599 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2601 * src/hildon-gtk.h: Add definition.
2603 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2605 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2607 * src/hildon-picker-button.c: (hildon_picker_button_init),
2608 (hildon_picker_button_new): Set the HildonButton::style property
2609 in the init method, to propagate the value to the derived classes.
2611 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2613 * src/hildon-button.c: (hildon_button_class_init): Do not make
2614 the "style" property a construct property.
2616 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2618 * src/hildon-wizard-dialog.h
2619 * src/hildon-wizard-dialog.c
2620 (hildon_wizard_dialog_set_forward_page_func)
2621 * src/hildon-pannable-area.h
2622 * src/hildon-pannable-area.c
2623 (hildon_pannable_area_set_size_request_policy):
2624 Documentation fixes.
2626 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2628 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2630 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2632 * doc/hildon-sections.txt: Added sections file.
2634 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2637 * src/*.[ch]: Updates.
2639 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2641 * examples/hildon-progress-indicator-example.c: new file
2642 * examples/Makefile.am: include the new example program
2644 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2646 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2648 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2650 * configure.ac: post release version bump
2651 * debian/changelog: version bump
2653 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2658 * configure.ac: bump version
2659 * debian/changelog: updates
2660 * debian/control: bump gtk+ dependency
2662 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-dialog.c: Mark as deprecated.
2665 * src/hildon-dialog.h: Mark as deprecated.
2666 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2667 from HildonDialog and still work, even if
2668 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2669 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2671 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2672 maemo changes) instead)
2674 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2676 * src/hildon-pannable_area.h:
2677 * src/hildon-pannable_area.c:
2678 (hildon_pannable_area_class_init),
2679 (hildon_pannable_area_set_property),
2680 (hildon_pannable_area_get_property),
2681 (hildon_pannable_area_size_request),
2682 (hildon_pannable_area_get_size_request_policy),
2683 (hildon_pannable_area_set_size_request_policy): Added new API
2684 allowing applications to control the request policy. Now they can
2685 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2686 children allocation (HILDON_MOVEMENT_CHILDREN).
2688 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2692 (hildon_gtk_tree_view_set_ui_mode)
2693 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2694 mode of treeviews and iconviews.
2696 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-touch-selector-entry.c:
2699 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2700 of a GtkEntry to get proper theming.
2702 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2703 widget, not GtkEntry)
2705 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2708 no HildonWizardDialogPageFunc.
2710 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2712 Patch contributed by Iván Gómez (igomez@igalia.com)
2714 * src/hildon-app-menu.c:
2715 * src/hildon-button.c:
2716 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2717 * src/hildon-stackable-window.c:
2718 * src/hildon-time-selector.c:
2719 * src/hildon-touch-selector.c:
2720 * src/hildon-window.c:
2722 Add more "since" tags to the new API in hildon 2.2.
2724 2008-12-05 Tim Janik <timj@imendio.com>
2726 Patch contributed by Christian Dywan (christian@imendio.com)
2728 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2729 HildonSizeType, which are supplied by Gtk+ now.
2731 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2733 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2734 (with maemo changes) instead)
2736 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2738 Patch contributed by Iván Gómez (igomez@igalia.com)
2740 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2743 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2745 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2746 (some_page_func), (main): Update the example to use a
2747 HildonWizardDialogPageFunc function.
2749 * src/hildon-wizard-dialog-private.h: Add private data for
2750 the HildonWizardDialogPageFunc function usage.
2752 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2753 (destroy), (hildon_wizard_dialog_init), (response),
2754 (hildon_wizard_dialog_set_forward_page_func):
2755 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2756 that applications can use to stop a HildonWizardDialog to jump to
2759 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2762 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2764 * src/hildon-program.h
2765 * src/hildon-program-private.h
2766 * src/hildon-program.c (hildon_program_init)
2767 (hildon_program_set_common_app_menu)
2768 (hildon_program_get_common_app_menu):
2769 New API for setting a common HildonAppMenu for all
2770 HildonStackableWindows registered with the HildonProgram.
2772 * src/hildon-stackable-window.c
2773 (hildon_stackable_window_toggle_menu):
2774 Use the common HildonAppMenu if a window doesn't have a specific
2777 * src/hildon-app-menu-private.h
2778 * src/hildon-app-menu.c
2779 (hildon_app_menu_get_parent_window):
2780 Function to obtain the window a HildonAppMenu is attached to.
2781 (hildon_app_menu_set_parent_window):
2782 Hide the menu if the parent window is set to NULL.
2784 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2787 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2788 search widget to popup.
2790 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2792 * configure.ac: post release version bump
2793 * debian/changelog: version bump
2795 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2800 * configure.ac: bump version
2801 * debian/changelog: updates
2803 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2805 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2807 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2808 (hildon_window_stack_window_realized)
2809 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2810 Set the leader GdkWindow when a window is stacked and realized,
2811 unset it when it's unstacked.
2812 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2814 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2816 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2818 * src/hildon-stackable-window.h
2819 * src/hildon-window-stack.h:
2820 Protect definition of HildonWindowStack using the preprocessor.
2822 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2824 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2825 Fix warning if all menu items are hidden.
2827 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2829 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2831 * src/hildon-controlbar.c:
2832 * src/hildon-hvolumebar.c:
2833 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2834 Multiple scale size defines updates.
2836 Fixes: NB#94322 (Scale Updates)
2838 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2840 * examples/hildon-app-menu-example.c (create_menu)
2841 Show items after adding them to the menu, as in the future the
2842 menu will no longer call gtk_widget_show() on the added items.
2844 * src/hildon-app-menu.c:
2845 Update example as explained above.
2847 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2849 * src/hildon-app-menu.c
2850 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2851 Make sure that all menu items have finger height.
2853 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2855 * src/hildon-picker-dialog.c:
2856 (_on_dialog_response), (_save_current_selection),
2857 (_restore_current_selection), (_clean_current_selection),
2858 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2859 Defined new functions in order to save the current internal selector
2860 selection previous open the dialog, in case that the use cancel the
2861 interaction, so the widget restores the previous selection.
2863 Fixes: NB#92032 (In calendar application, date values in 'new event'
2866 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2868 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-button.c: Add a reference to the button examples in
2871 hildon-button-example.c
2873 * examples/hildon-button-example.c: Added examples of the most
2874 common button layouts.
2876 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-app-menu.c (hildon_app_menu_show)
2879 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2881 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2883 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2885 * src/hildon-picker-dialog.c:
2886 (hildon_picker_dialog_init): Initialize the signal id for
2887 HildonTouchSelector::columns-changed.
2888 (+on_selector_columns_changed): Set up the interaction mode everytime a
2889 column is added or removed from the HildonTouchSelector.
2890 (_hildon_picker_dialog_set_selector): Connect to
2891 HildonTouchSelector::columns-changed and keep track of it.
2893 Make sure to update the interaction mode of the dialog everytime a
2894 column is added or removed in the HildonTouchSelector.
2896 Fixes: NB#93228 (Done button is not shown always in listpicker)
2898 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2901 a new ::columns-changed signal.
2902 (hildon_touch_selector_append_column): Emit ::columns-changed.
2903 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2905 Add a ::columns-changed signal, emitted when the number of columns in a
2906 HildonTouchSelector changes.
2908 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2911 (_hildon_picker_dialog_set_selector): Factor out the code
2912 to set up the dialog interaction mode.
2914 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2916 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2917 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2918 to signal_changed_id.
2920 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2922 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2925 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2927 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2928 Updated the logical ids related to ampm format, as now it is required to
2929 show it correctly localized even on languages with no default
2930 abbreviations for am or pm
2931 (_check_am_pm_format): check correctly the 24h format gconf property
2933 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2935 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2937 * src/hildon-button.c: Documentation updates.
2939 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2942 * src/hildon-caption.c: (hildon_caption_class_init):
2943 * src/hildon-color-button.c: (hildon_color_button_class_init):
2944 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2945 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2946 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2947 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2949 Remove deprecated GTK+ marshalers and replace them with the ones
2950 provided by GLib, for those available, add a marshaler for
2951 BOOLEAN:VOID, which is not available in GLib, and use it.
2953 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2955 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2956 the text from the previous column if there is no
2957 HildonTouchSelectorColumn::text-property set.
2959 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2961 * src/hildon-button.h
2962 * src/hildon-button.c (hildon_button_set_property)
2963 (hildon_button_get_property, hildon_button_class_init)
2964 (hildon_button_set_style, hildon_button_get_style):
2965 New "style" property to change the visual appearance of the
2968 * src/hildon-picker-button.c (hildon_picker_button_new):
2969 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2971 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2972 HildonButton look like PickerButton)
2974 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2976 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2977 column while building the default string.
2979 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2981 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2982 scroll indicator by default.
2984 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2986 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2988 * src/hildon-main.c: Fix the documentation for hildon_init()
2990 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2992 * doc/hildon-docs.sgml
2996 * src/hildon-window-stack-private.h
2997 * src/hildon-window-stack.h
2998 * src/hildon-window-stack.c:
2999 New HildonWindowStack object, that adds support for multiple
3000 stacks of windows per process.
3002 * src/hildon-stackable-window-private.h
3003 * src/hildon-stackable-window.h
3004 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3005 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3006 (hildon_stackable_window_show, hildon_stackable_window_hide)
3007 (hildon_stackable_window_class_init)
3008 (hildon_stackable_window_init):
3009 Use HildonWindowStack for stack management.
3011 * src/hildon-program.c (hildon_program_pop_window_stack)
3012 (hildon_program_peek_window_stack)
3013 (hildon_program_go_to_root_window):
3014 Add a fallback implementation to the deprecated functions using
3017 * examples/hildon-stackable-window-example.c:
3018 Use the new HildonWindowStack API.
3020 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3022 * src/hildon-stackable-window-private.h
3023 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3024 (hildon_stackable_window_hide, hildon_stackable_window_init):
3025 Remove all window stack management.
3027 * src/hildon-program-private.h
3028 * src/hildon-program.h
3029 * src/hildon-program.c (hildon_program_init)
3030 (hildon_program_pop_window_stack)
3031 (hildon_program_peek_window_stack)
3032 (hildon_program_go_to_root_window):
3033 Remove all window stack management and mark functions as
3036 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3038 * src/hildon-app-menu.c (hildon_app_menu_realize):
3039 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3041 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3043 * configure.ac: post release version bump
3044 * debian/changelog: version bump
3046 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3051 * configure.ac: bump version
3052 * debian/changelog: updates
3054 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3056 Based on initial code by Christian Dywan (christian@imendio.com)
3058 * doc/hildon-docs.sgml: Add section for hildon-main.
3059 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3060 * src/Makefile.am: Add new hildon-main.[ch]
3061 * src/hildon-defines.h: Update the icon sizes.
3062 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3063 new library initialization files and register icon sizes.
3064 * src/hildon-main.h: New declarations.
3065 * src/hildon.h: Include hildon-main.h
3067 Add new initialization functions to the library. These methods
3068 will register the hildon specific icon sizes and can be used in the
3069 future for other hildon specific bits.
3071 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3073 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3075 * src/hildon-window.c: (hildon_window_realize),
3076 (hildon_window_notify), (-hildon_window_update_title): Do not set
3077 the application name in the window title.
3079 Fixes: NB#89754 (Applications shouldn't display their names in the
3082 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3084 * src/hildon-note-private.h:
3085 * src/hildon-note.c: (hildon_note_set_property),
3086 (hildon_note_get_property), (hildon_note_class_init),
3087 (hildon_note_init), (hildon_note_finalize),
3088 (hildon_note_new_confirmation_with_icon_name),
3089 (hildon_note_new_information_with_icon_name):
3091 No need to mark as deprecated the actual code. Revert
3092 to avoid missing symbols in widgets using deprecated API.
3094 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3096 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3098 * src/hildon-volumebar.h
3099 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3100 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3102 * src/hildon-helper.h
3103 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3104 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3106 * examples/Makefile.am:
3107 Deprecate hildon-insensitive-example
3109 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3111 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3113 * examples/hildon-pannable-area-buttons-scroll-example.c:
3114 Make all buttons finger height
3116 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3118 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3120 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3121 update the day model only if it is really required, and to avoid the
3122 full-reconstruction aproach. Now it only add or remove the required days.
3124 The purpose of this is avoid superfluous HildonTouchSelector::changed
3127 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3128 with strange parameters)
3130 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3132 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3134 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3135 the WINDOW_TYPE property.
3137 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3139 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3142 Fix dependency to allow parallel compilation with make -jX
3144 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3146 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3147 color frame and some minor tweaks to make it more consistent with
3150 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3151 highlighted but not visible)
3153 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3155 * examples/Makefile.am: Fixed typo in the Makefile.am.
3157 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3159 Reviewed the use of MAEMO_GTK define, now we add the define in the
3160 compilation line, and we also add it to the pc file.
3162 * configure.ac: Added MAEMO_GTK define to the compilation command
3163 and removed it from the config.h.
3165 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3166 do not have to take care about this define if the library was
3170 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3172 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3174 * examples/Makefile.am,
3175 * examples/hildon-pannable-area-buttons-scroll-example.c,
3176 * examples/hildon-pannable-area-gesture-signals-example.c,
3177 * examples/hildon-pannable-area-scroll-jump-example.c,
3178 * examples/hildon-pannable-area-tree-view-example.c:
3179 Renamed the pannable area examples, now they have more meaningful
3182 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3184 * src/hildon-touch-selector.c:
3185 (hildon_touch_selector_set_column_selection_mode): Used of
3186 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3187 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3188 to avoid re-seting the same selection mode.
3190 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3191 breaks HildonPickerDialog)
3193 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3195 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3196 conditional in the Makefile.am
3198 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3201 Remove unused methods.
3203 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3205 * src/hildon-button.c (hildon_button_init):
3206 Make button images center-aligned by default
3208 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3211 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3212 activated, we have to think about how to deal with both defines
3213 MAEMO_GTK and MAEMO_CHANGES.
3215 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3217 * examples/hildon-app-menu-example.c (create_menu): Make all
3218 buttons finger size.
3220 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3222 Fixed the compilation without maemo gtk adding ifdefs with
3223 MAEMO_GTK define to the code, we have to check this version more
3226 * examples/Makefile.am: Added control to avoid some examples that
3227 just make sense with maemo gtk.
3230 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3231 hildon modes with the define.
3233 * examples/hildon-edit-toolbar-example.c,
3234 (create_icon_view): Create the icon view without hildon-gtk
3235 helpers if we are not using maemo gtk.
3237 * src/hildon-touch-selector.c,
3238 (_create_new_column): Create the treeview without hildon-gtk
3239 helpers if we are not using maemo gtk.
3241 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3243 * src/hildon-pnnable-area.c,
3244 (hildon_pannable_area_dispose),
3245 (hildon_pannable_area_button_press_cb),
3246 (hildon_pannable_area_child_mapped),
3247 (hildon_pannable_area_add),
3248 (hildon_pannable_area_remove): Added code to control the position
3249 of the event_window when adding and removing children from the
3250 pannable. We have to raise the event window when the child is
3253 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3254 selection mode using custom widget inside pannable)
3256 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3258 * configure.ac: post release version bump
3259 * debian/changelog: version bump
3261 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3266 * configure.ac: bump version
3267 * debian/changelog: updates
3269 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3271 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3272 search mode, in order to avoid lose the focus on the treeview when
3273 a hw key (like enter) is pressed.
3275 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3276 in HildonDateSelector dialog)
3278 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3280 * debian/rules: Added --enable-maintainer-mode
3281 * Makefile.am: Added ACLOCAL_AMFLAGS
3283 This allows to properly regenerate the Makefiles if you modify the
3284 configure.ac or any Makefile.am.
3286 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3288 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3289 properties, not needed at all.
3291 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3293 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3295 * src/hildon-note.c: (hildon_note_set_property),
3296 (hildon_note_get_property), (hildon_note_class_init),
3297 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3298 (hildon_note_new_confirmation_add_buttons): Remove icons.
3299 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3300 (hildon_note_new_information_with_icon_name): Deprecate.
3301 (hildon_note_new_confirmation): Act directly, without calling
3302 the deprecated constructor.
3303 (hildon_note_new_information): Act directly, without calling
3304 the deprecated constructor.
3305 * src/hildon-note.h: Mark deprecate methods as such.
3306 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3307 not run tests on the deprecated methods if built with deprecation
3310 Fixes: NB#91688 (Never show icons in information notes/confirmation
3313 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3315 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3316 (hildon_app_menu_key_press): Remove leftover usage of the
3317 private structure in HildonAppMenu struct.
3318 * src/hildon-app-menu.h: Remove leftover private structure
3319 from the HildonAppMenu struct.
3321 Fixes a crasher when using the HildonAppMenu.
3323 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-picker-dialog.c: Use appropriate logical id
3326 for the default "Done" text.
3328 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3330 * configure.ac: post release version bump
3331 * debian/changelog: version bump
3333 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3335 Modified the way to scroll to the current selection just when the touch
3336 selector is shown on the screen, avoiding a g_idle. Added too a property
3337 to configure this behaviour. See hildon_pannable_area_jump_to_child
3338 documentation for more information.
3340 * src/hildon-touch-selector.c
3341 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3342 Added 'initial-scroll' property
3343 (hildon_touch_selector_set_property): Added
3344 (hildon_touch_selector_map): Removed as not required anymore
3345 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3346 only a concrete column, instead of iterate along all the columns
3348 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3353 * configure.ac: bump version
3354 * debian/changelog: updates
3356 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3359 compilation time warnings.
3361 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3363 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3364 the default value for HildonPannableArea::mov-mode to
3365 HILDON_PANNABLE_AREA_MODE_VERT.
3367 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3369 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3371 Reverting following commit:
3373 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3375 * src/hildon-app-menu-private.h
3376 * src/hildon-app-menu.[ch]
3377 * src/hildon-button.[ch]
3378 * src/hildon-check-button.[ch]
3379 * src/hildon-entry.[ch]
3380 * src/hildon-pannable-area.[ch]
3381 * src/hildon-text-view.[ch]:
3382 Added private field to the object's structure.
3384 because it causes an ABI breakage. We will need to introduce these
3385 changes later at some point. See NB#91636 for an extensive
3386 explanation and status.
3388 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3390 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3392 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3393 remove special cases that are no longer necessary.
3395 Fixes: NB#91016 (Change toolbar sizes, simplification)
3397 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3400 is shown in the cancel note.
3402 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3404 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3405 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3406 (hildon_seekbar_init): Remove steppers, remove expose event.
3407 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3409 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3411 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3413 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3414 label font to "SmallSystemFont" for vertically arranged buttons.
3416 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3419 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3421 * src/hildon-check-button.c
3422 (hildon_check_button_set_active, hildon_check_button_clicked):
3423 Don't access private parts directly, use getters instead.
3425 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3427 * src/hildon-check-button.c (hildon_check_button_new):
3428 Align the contents of the check button to the left.
3430 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3432 * src/hildon-pannable-area.c,
3433 (hildon_pannable_area_scroll_to),
3434 (hildon_pannable_area_jump_to),
3435 (hildon_pannable_area_scroll_to_child),
3436 (hildon_pannable_area_jump_to_child): Replace the mapped
3437 precondition of these functions with the realized, it is the
3438 correct state of the widget in this case. Changed the
3439 documentation according to this modification.
3441 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3443 Added a new EXTRA_CFLAGS option to add the deprecated define to
3444 the compilation command. This way we can avoid using the define in
3445 the documentation compilation.
3447 * configure.ac: Defined EXTRA_CFLAGS.
3449 * examples/Makefile.am:
3451 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3453 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3455 * src/hildon-picker-dialog.c:
3456 Defined a utility macro with the desired touch selector height
3457 Removed currently unused separator, and title_label variables from
3459 (hildon_picker_dialog_init): Removed code related to the creation
3460 of unused private variables title_label and separator.
3461 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3462 to ensure correct visualization of the touch selector inside the dialog.
3463 * src/hildon-touch-selector.c
3464 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3465 ensure a concrete height of the widget.
3467 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3470 * tests/Makefile.am:
3472 Remove spurious whitespaces.
3474 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3477 compilation warning after the cancel button removal.
3479 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3481 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3483 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3484 Makefile.am, that way we can choose not to compile some examples
3485 and tests of the deprecated widgets.
3487 * examples/Makefile.am: Divided the sources in deprecated and
3490 * src/Makefile.am: Added undef statement of the deprecated
3491 symbol to the enums file generation process.
3493 * src/hildon-color-chooser-dialog.c
3494 * src/hildon-color-chooser-dialog.h
3495 * src/hildon-color-button.c
3496 * src/hildon-color-button.h
3497 * src/hildon-color-chooser.c
3498 * src/hildon-color-chooser.h
3499 * src/hildon-controlbar.c
3500 * src/hildon-controlbar.h
3501 * src/hildon-date-editor.c
3502 * src/hildon-date-editor.h
3503 * src/hildon-hvolumebar.c
3504 * src/hildon-hvolumebar.h
3505 * src/hildon-private.c
3506 * src/hildon-private.h
3507 * src/hildon-range-editor.c
3508 * src/hildon-range-editor.h
3509 * src/hildon-seekbar.c
3510 * src/hildon-seekbar.h
3511 * src/hildon-time-editor.c
3512 * src/hildon-time-editor.h
3513 * src/hildon-time-picker.c
3514 * src/hildon-time-picker.h
3515 * src/hildon-volumebar.c
3516 * src/hildon-volumebar.h
3517 * src/hildon-vvolumebar.c
3518 * src/hildon-vvolumebar.h
3519 * src/hildon-bread-crumb-trail.h
3520 * src/hildon-bread-crumb-trail.c
3521 * src/hildon-calendar-popup.c
3522 * src/hildon-calendar-popup.h
3523 * src/hildon-weekday-picker.c:
3524 * src/hildon-weekday-picker.h:
3525 * src/hildon-bread-crumb-widget.c:
3526 * src/hildon-bread-crumb-widget.h:
3527 * src/hildon-bread-crumb.c:
3528 * src/hildon-bread-crumb.h:
3529 * src/hildon-calendar.c:
3530 * src/hildon-calendar.h:
3531 * src/hildon-caption.c:
3532 * src/hildon-code-dialog.c:
3533 * src/hildon-code-dialog.h:
3534 * src/hildon-font-selection-dialog.c:
3535 * src/hildon-font-selection-dialog.h:
3536 * src/hildon-get-password-dialog.c:
3537 * src/hildon-get-password-dialog.h:
3538 * src/hildon-login-dialog.c:
3539 * src/hildon-login-dialog.h:
3540 * src/hildon-number-editor.c:
3541 * src/hildon-number-editor.h:
3542 * src/hildon-set-password-dialog.c:
3543 * src/hildon-set-password-dialog.h:
3544 * src/hildon-sort-dialog.c:
3545 * src/hildon-sort-dialog.h: This is the list of deprecated
3548 * src/hildon-touch-selector.c:
3549 * src/hildon-window.c: Added undef statement to avoid compilation
3552 * tests/Makefile.am: Divided the sources in deprecated and
3555 * tests/check_test.c,
3556 (configure_tests): Marked the deprecated code that was adding
3557 suites with deprecated tests.
3559 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3561 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-touch-selector.c: (_default_print_func): Do not
3564 duplicate a string returned by gtk_tree_model_get(), it is already
3567 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3570 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3572 * src/hildon-pannable-area.c
3573 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3574 method, it had problems when adding a widget with viewport the
3575 second time. Now checks if it already has a viewport and uses it.
3577 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3580 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3582 * src/hildon-pannable-area.c,
3583 (hildon_pannable_area_scroll_to),
3584 (hildon_pannable_area_jump_to),
3585 (hildon_pannable_area_scroll_to_child),
3586 (hildon_pannable_area_jump_to_child): Added a precondition to the
3587 scroll and jump to functions: the widget must be mapped before we
3588 can safely call these functions. We have also added documentation
3589 to the functions to explain how to use them in this situation.
3592 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3594 Reviewed the threading handling of the pannable widget, we have
3595 used the gdk_threads_add_timeout function instead of the usual
3596 glib handlers. This avoids some problems with the threads.
3598 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3599 (hildon_pannable_area_initial_effect),
3600 (hildon_pannable_area_scroll_indicator_fade),
3601 (hildon_pannable_area_button_press_cb),
3602 (hildon_pannable_area_timeout),
3603 (hildon_pannable_area_motion_notify_cb),
3604 (hildon_pannable_area_button_release_cb),
3605 (hildon_pannable_area_scroll_cb),
3606 (hildon_pannable_area_scroll_to): Removed the
3607 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3608 gdk_threads_add_timeout.
3610 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3612 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3617 * configure.ac: bump version
3618 * debian/changelog: updates
3620 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3622 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3623 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3624 * src/hildon-color-chooser-dialog.c:
3625 (hildon_color_chooser_dialog_init):
3626 * src/hildon-font-selection-dialog.c:
3627 (hildon_font_selection_dialog_init):
3628 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3630 Remove all cancel/close-like dialogs, as these are not going to be
3633 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3635 * src/hildon-note.c: (hildon_note_rebuild),
3636 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3639 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3641 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3643 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3644 sure all buttons are shown, even the Cancel/Close-like ones.
3646 Fixes: NB#90861 (Custom Confirmation dialogs should be
3647 protected from cancel button removal)
3649 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3651 * debian/control: Change libhildon1-examples dependency from libhildon1
3653 * debian/libhildon1-examples.install
3655 * Makefile.am: Modified the final install directory for the examples on
3656 package libhildon1-examples
3657 * Makefile.static: Update clean target in order to remove all the binary
3660 Changes suggested by Claudio after review new libhildon1-examples package
3662 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3665 * src/hildon-touch-selector.c: Ditto.
3667 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3669 * debian/control: Added new package libhildon1-examples, in order to pack
3670 the current hildon examples as documentation
3671 * debian/rules: Not to compress .c files, modify some includes on the
3672 examples (as normally are compiled locally, but when installed it will
3673 require to include the installed libhildon1 library), and rename
3675 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3676 install all the example files on the new example package
3677 * examples/Makefile.static: Added static makefile that can be used to
3678 compile the examples, once installed the new example package
3679 * examples: Most of the examples were modified in order to grant that
3680 all use only '#include "hildon.h"', in order to be easy to prepare
3681 it on the example package
3683 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3686 * debian/libhildon1-dev.install
3687 * debian/libhildon1-doc.install:
3688 Move all gtk-doc files to a separate libhildon1-doc package.
3690 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3692 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3694 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3696 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3698 * debian/rules: Fixed a error in order to avoid unnecessary calls
3699 to autogen.sh on package building
3701 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3703 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3705 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3707 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3710 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3712 * src/hildon-picker-button.c
3713 (hildon_picker_button_finalize):
3714 Free priv->done_button_text
3716 * src/hildon-time-button.c
3717 (hildon_time_button_set_time)
3718 * src/hildon-picker-button.c
3719 (hildon_picker_button_clicked)
3720 (hildon_picker_button_selector_selection_changed)
3721 (hildon_picker_button_set_selector)
3722 * src/hildon-date-button.c
3723 (hildon_date_button_set_date):
3724 Free strings returned by hildon_touch_selector_get_current_text()
3726 * src/hildon-button.c (hildon_button_construct_child):
3727 Fix leaks in priv->image and priv->label_box
3729 Fixes: NB#90535 (Memory leak in picker button)
3731 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3733 * src/hildon-button.c: (hildon_button_get_property): Do not access
3734 private elements directly, use getters instead.
3736 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3738 * src/hildon-app-menu-private.h
3739 * src/hildon-app-menu.c
3740 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3741 Store the menu's parent window.
3743 * src/hildon-stackable-window.c
3744 (hildon_stackable_window_toggle_menu)
3745 (hildon_stackable_window_finalize):
3746 Set the menu's parent window when the menu is shown, unset it when
3749 * src/hildon-app-menu.c
3750 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3751 (hildon_app_menu_class_init):
3752 Send unhandled keyboard accelerators to the parent window.
3754 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-stackable-window.c
3757 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3759 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3761 * configure.ac: post release version bump
3763 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3766 * configure.ac: Bump version
3767 * debian/changelog: Updates
3768 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3771 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3773 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3776 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3777 GtkMenu with Hildon style.
3779 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3781 * src/hildon-picker-button.c:
3782 (hildon_picker_button_set_done_button_text): Set the dialog's
3783 done button text here as well.
3785 Fixes: NB#90232 (Picker button does not set the label on done button
3786 for the second time)
3788 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3793 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3795 * src/hildon-app-menu.c (hildon_app_menu_insert)
3796 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3797 the HildonAppMenu to be activatable using keyboard accelerators
3798 when the menu is not being shown.
3800 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3802 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3804 * src/hildon-stackable-window.c
3805 (hildon_stackable_window_show):
3806 Don't hide old windows automatically when new windows are shown:
3807 this is now a task for the window manager.
3808 (hildon_stackable_window_class_init)
3809 (hildon_stackable_window_hide):
3810 Remove windows from the stack everytime they're hidden.
3811 (hildon_stackable_window_realize):
3812 Don't change the _NET_WM_WINDOW_TYPE property. Use
3813 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3814 it as a stackable window.
3816 * src/hildon-program.c
3817 (hildon_program_pop_window_stack):
3818 Just hide the window to remove it from the stack.
3819 (hildon_program_go_to_root_window):
3820 Don't call gtk_widget_show(), this is now a task for the window
3823 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3825 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3827 * src/hildon-button.c
3828 (hildon_button_construct_child):
3829 Don't pack anything in the button until text or image are
3830 set. This allows adding a custom child after creating the button
3831 with hildon_button_new().
3832 (hildon_button_finalize, hildon_button_class_init)
3833 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3834 alignment and the label box even when they're not packed in the
3837 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3839 * src/hildon-touch-selector.h:
3840 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3841 currently the type definition was using GTK_TYPE_VBOX
3842 * src/hildon-touch-selector.c:
3843 Added some implementation notes in order to clarify that any other widget
3844 added without the column related API will not be included on the
3845 selection logic, and how the widget is freed, as some people ask about
3847 (hildon_touch_selector_remove): Reimplemented in order to free properly
3848 the column related data when you remove the private hbox.
3849 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3850 to get a proper HildonTouchSelectorColumn documentation
3852 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3854 * src/hildon-touch-selector-entry.c:
3855 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3856 text in the GtkEntry and there is no item selected. Fixes a
3859 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3861 * src/hildon-app-menu-private.h
3862 * src/hildon-app-menu.[ch]
3863 * src/hildon-button.[ch]
3864 * src/hildon-check-button.[ch]
3865 * src/hildon-entry.[ch]
3866 * src/hildon-pannable-area.[ch]
3867 * src/hildon-text-view.[ch]:
3868 Added private field to the object's structure.
3870 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3872 * configure.ac: post-release version bump
3874 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3878 * configure.ac: pre-release version bump
3880 * debian/changelog: updates.
3882 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3884 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3885 Disconnect the handler for HildonTouchSelector::changed.
3887 (hildon_picker_button_selector_selection_changed): Update the button
3888 value if the selection change was not triggered by the
3891 (hildon_picker_button_set_selector): connect to
3892 HildonTouchSelector::changed.
3894 Fixes: NB#89650 (Picker button is not updated, when selection in
3895 selector has changed)
3897 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3899 * src/hildon-picker-dialog.c
3900 (hildon_picker_dialog_realize): Removed as not required
3901 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3902 * src/hildon-picker-button.c
3903 (_current_selector_empty): New function, checks if the selector is empty
3904 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3905 if the current selector is empty, in order to avoid to show the dialog
3906 close the dialog in this case (and shows a g_warning).
3908 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3910 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3912 * src/hildon-pannable-area.c,
3913 (hildon_pannable_area_scroll): Added clause to stop movement when
3914 the child of pannable is smaller than one page.
3915 (hildon_pannable_area_scroll_to): Added conditions to avoid
3916 starting the scrolling movement if the child is smaller than one
3917 page, the complete child is in the screen, we do not have to move.
3919 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3921 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3923 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3924 this is managed automatically by the widget when the size of the
3927 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3929 * src/hildon-picker-button.c
3930 (hildon_picker_button_set_done_button_text): Make a copy of the
3931 text, and free the previous value.
3933 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3935 * src/hildon-touch-selector-entry.c:
3936 (hildon_touch_selector_entry_print_func): Return the selected row's
3937 text if the entry is empty.
3939 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3942 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3946 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3949 * src/hildon-check-button.h
3950 * src/hildon-check-button.c
3951 * examples/hildon-check-button-example.c:
3952 HildonCheckButton is now a new widget. 'toggled' signal added.
3954 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3956 * src/hildon-program-private.h
3957 * src/hildon-program.c (hildon_program_init)
3958 (hildon_program_finalize): Removed unused variables group_leader
3959 and name from HildonProgramPrivate.
3961 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3963 * src/hildon-check-button.c (hildon_check_button_set_active)
3964 (hildon_check_button_get_active, hildon_check_button_new): Use
3965 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3967 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3969 * src/hildon-touch-selector.h
3970 (hildon_touch_selector_set_column_attributes): added deprecation
3971 guard HILDON_DISABLE_DEPRECATED
3972 * src/hildon-time-selector.c
3973 (hildon_time_selector_set_time)
3974 (hildon_time_selector_get_time): Fixed a typo on documentation
3975 * src/hildon-touch-selector.c: update HildonTouchSelector and
3976 HildonTouchSelectorColumn documentation
3977 * src/hildon-touch-selector-entry.c: update "text-column" property
3979 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3980 to be added to the general documentation.
3982 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3984 * examples/hildon-pannable-area-example-4.c,
3986 * examples/hildon-pannable-area-example.c,
3987 (main): Modified the code in order to use the container add, with
3988 viewport treeviews could have problems if they are really big.
3990 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3992 * src/hildon-weekday-picker.c,
3993 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3994 the agreement regarding deprecation in the library.
3996 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3998 * examples/hildon-picker-button-multicolumn-example.c:
3999 (main): Use custom "done" button text.
4001 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4002 (hildon_picker_button_set_property),
4003 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4004 (hildon_picker_button_init),
4005 (+hildon_picker_button_get_done_button_text),
4006 (+hildon_picker_button_set_done_button_text): New methods to customize
4007 the "done" button label in the launched HildonPickerDialog. Also,
4010 * src/hildon-picker-button.h: add the public API.
4012 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/hildon-date-selector.h:
4015 * src/hildon-picker-dialog.h:
4016 * src/hildon-time-selector.h:
4017 * src/hildon-touch-selector-column.h:
4018 * src/hildon-touch-selector.h:
4020 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4021 declarations. Fixes gtk-doc warnings.
4023 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4025 * src/hildon-picker-dialog.h
4026 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4027 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4029 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4030 long text is set as label for done button)
4032 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4034 * src/hildon-dialog.c (hildon_dialog_add_button):
4035 Set fixed width to all buttons in the HildonDialog.
4037 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4039 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4041 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4042 Set widget name using class name plus "-finger" or "-thumb".
4044 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4046 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4047 'clicked' when the state of the button is manually changed.
4049 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4051 * src/hildon-app-menu.c (hildon_app_menu_realize)
4052 (hildon_app_menu_unrealize, hildon_app_menu_init)
4053 (hildon_app_menu_class_init, item_visibility_changed):
4054 Change the menu layout when the size of the screen changes.
4055 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4056 Show warning only when changing the number of colums using the
4059 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4061 * debian/compat: Set to 5
4062 * debian/control: Update dependencies.
4063 * debian/libhildon1-dbg.install: Remove.
4064 * debian/libhildon1-dev.install: Update according to cdbs paths.
4065 * debian/libhildon1.install: Update according to cdbs paths.
4066 * debian/rules: Switch to cdbs.
4068 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4070 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4071 'item' variable renamed to 'filter'
4073 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4075 * src/hildon-app-menu.c (hildon_app_menu_insert)
4076 (hildon_app_menu_add_filter, remove_item_from_list)
4077 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4078 Don't leak hidden items when the menu is destroyed.
4080 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4082 * src/hildon-app-menu.c (hildon_app_menu_insert)
4083 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4084 (hildon_app_menu_set_columns, item_visibility_changed)
4085 (filter_visibility_changed, hildon_app_menu_repack_filters)
4086 (hildon_app_menu_repack_items):
4087 Repack items and filters separately.
4089 Don't repack all items, change only the ones that are needed to
4092 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4094 * src/Makefile.am: added hildon-touch-selector-column.h
4096 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4098 * src/hildon-touch-selector.c: added the property "text-column" to the
4099 class HildonTouchSelectorColumn, and related get/set functions
4100 (_default_printf_func): updated to use "text-column" property
4101 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4102 "text-column" in his documentation, as this is now included on
4103 HildonTouchSelectorColumn. The get/set_property can still be used,
4104 working as a wrapper to the concrete column "text-column" property
4105 (_text_column_modified): callback added in order to handle the signal
4106 "notify::text-column" of the concrete HildonTouchSelectorColumn
4107 (hildon_touch_selector_entry_get_text_column)
4108 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4109 modified in order to use the HildonTouchSelectorColumn "text-column"
4111 * src/hildon-time-selector.c:
4112 * src/hildon-date-selector.c:
4113 * examples/hildon-touch-selector-example.c
4114 * examples/hildon-touch-selector-multi-cells-example.c
4115 * examples/hildon-picker-button-multicolumn-example.c
4116 Set the right value to "text-column" property on the creation of a new
4117 column using hildon_touch_selector_append_column()
4119 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4121 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4123 * src/hildon-app-menu.c
4124 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4125 updating the layout of the menu, don't create all widgets again,
4126 just repack the items in their new places.
4128 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4130 * src/hildon-time-selector.c
4131 (hildon_time_selector_get_time)
4132 (hildon_time_selector_set_time)
4133 Added documentation of these public methods
4135 * src/hildon-date-button.h
4136 * src/hildon-touch-selector-column.h
4137 * src/hildon-time-button.h
4138 * src/hildon-picker-dialog.h
4139 * src/hildon-time-selector.h
4140 * src/hildon-picker-button.h
4141 * src/hildon-touch-selector.h
4142 * src/hildon-time-picker.h
4143 * src/hildon-date-selector.h
4144 * src/hildon-touch-selector-entry.h
4145 Modified in order to use hildon-widgets code style
4147 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4149 Added deprecated support to the compilation process using
4150 HILDON_DISABLE_DEPRECATED
4152 * configure.ac: Added the --disable-deprecated to the configure
4155 * src/hildon-weekday-picker.c:
4156 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4157 to use the deprecated support. We will update the other deprecated
4158 widgets status in a new patch.
4160 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4162 * configure.ac: Fixed typo with fatal warnings support, the
4163 variable name was not correct
4165 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4167 * src/hildon-app-menu.c
4168 * src/hildon-program.c: Update documentation.
4170 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4172 * configure.ac: Post-release version bump.
4174 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4179 * configure.ac: Pre-release version bump.
4180 * debian/changelog: Updates.
4182 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4184 * NEWS: Update news for previous releases.
4186 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4188 * examples/hildon-touch-selector-multi-cells-example.c:
4189 (create_selector): Update the example to use
4190 hildon_touch_selector_append_column() with a NULL renderer and set
4191 the renderers later.
4192 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4193 passed a NULL renderer. This is documented behavior now.
4195 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4196 This must be used if the developer wants full control on the layout of
4197 the renderers to be added to the column.
4199 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4201 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-touch-selector.c: Documentation fixes.
4205 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4207 * src/hildon-wizard-dialog-private.h: Remove image and box.
4208 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4209 (hildon_wizard_dialog_set_property), (response): Completely remove
4210 image/icon support, and the containers required for the layout.
4212 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4214 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4216 * src/hildon-app-menu.c: Updated documentation.
4218 * src/hildon-stackable-window.c
4219 (hildon_stackable_window_set_main_menu): Unref the old menu after
4220 ref'ing the new one.
4222 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4224 * src/hildon-stackable-window.c
4225 (hildon_stackable_window_set_main_menu): Unref the previous menu
4226 instead of destroying it.
4228 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4229 floating reference and set has_user_ref_count to FALSE to make
4230 HildonAppMenu act like a normal ref-counted widget and not a
4233 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4236 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4238 * src/hildon-touch-selector-column.h: new file
4239 * src/hildon-touch-selector.h
4240 * src/hildon-touch-selector.c
4241 Implemented GtkCellLayout interface, in order to allow to configure
4242 the cell layout on each individual selector column
4243 (hildon_touch_selector_set_column_attributes): marked as deprecated
4244 * examples/hildon-touch-selector-multi-cells-example.c
4245 Example of how to use the GtkCellLayout interface on the selector
4247 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4249 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-app-menu.h
4252 * src/hildon-app-menu.c
4253 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4254 (hildon_app_menu_append, hildon_app_menu_prepend):
4255 New methods to prepend, insert and move items in the menu.
4257 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4259 * src/hildon-wizard-dialog.c:
4261 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4263 (create_title): Update logical IDs and related code.
4264 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4266 * src/hildon-wizard-dialog.h: Note that
4267 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4268 point, as it is not used anymore.
4270 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4272 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4274 * src/hildon-note.c:
4275 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4276 shown. Do not display an icon in confirmation notes nor information
4278 (hildon_note_set_button_text): Update logical ID for cancel button.
4280 Fixes: NB#88850 (Update HildonNote button strings + signals)
4282 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4284 * src/hildon-stackable-window.c
4285 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4287 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4289 * src/hildon-app-menu-private.h
4290 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4291 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4292 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4293 temporary property 'columns' to change the number of columns.
4295 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4297 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4299 * examples/hildon-note-example.c: (on_information_clicked),
4300 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4301 debugging information.
4302 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4304 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4305 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4306 in order to close: this will be handled by the WM from now on.
4308 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4310 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4312 * src/hildon-app-menu-private.h
4313 * src/hildon-app-menu.c
4314 (hildon_app_menu_append, hildon_app_menu_add_filter)
4315 (button_visibility_changed, hildon_app_menu_apply_style)
4316 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4317 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4318 layout everytime a button (item or filter) is shown or hidden.
4320 * src/hildon-stackable-window.c
4321 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4324 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4326 * src/hildon-touch-selector.c:
4327 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4328 that the treeview inside the touch selector is in fremantle hildon mode
4329 * examples/hildon-date-button-example.c
4330 * examples/hildon-picker-button-multicolumn-example.c
4331 * examples/hildon-touch-selector-entry-example.c
4332 * examples/hildon-touch-selector-example.c
4333 * examples/hildon-time-button-example.c
4334 * examples/hildon-picker-button-example.c:
4335 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4337 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4339 * examples/hildon-text-view-example.c: (main): Remove the
4340 gtkrc bits, now handled by the theme.
4342 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4344 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4347 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4349 * po/Makefile.am: Install properly the mo files.
4350 * po/en_GB.po: Update translation, to ease testing purposes.
4352 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4354 * examples/hildon-picker-button-example.c: (main): Select an item
4355 in the selector before setting it to the button.
4357 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4359 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4360 Update button's value if the selector has an item active.
4362 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4363 'value' with the selector)
4365 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4368 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4369 (hildon_picker_button_class_init): Plug the finalize method.
4370 (hildon_picker_button_set_selector): If there's a previously set
4371 selector, unref'it before setting a new one.
4373 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4374 HildonTouchSelector)
4376 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4378 * src/hildon-touch-selector-entry.c:
4379 (hildon_touch_selector_entry_changed): Check if there is no text
4380 selected before setting the entry text.
4383 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4385 * src/hildon-touch-selector.h
4386 * src/hildon-touch-selector.c
4387 (hildon_touch_selector_get_active)
4388 (hildon_touch_selector_set_active): New methods to set/get the
4389 index of the selected item.
4391 * src/hildon-picker-button.h
4392 * src/hildon-picker-button.c
4393 (hildon_picker_button_get_active)
4394 (hildon_picker_button_set_active): New methods to set/get the
4395 index of the selected item.
4397 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4399 * configure.ac: post-release version bump.
4401 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4405 * configure.ac: Pre-release version bump.
4406 * debian/changelog: Updates.
4407 * debian/control: Add myself as maintainer and depend on l10n
4410 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4412 * src/hildon-window.c
4413 (hildon_window_set_main_menu)
4414 * src/hildon-stackable-window.c
4415 (hildon_stackable_window_set_main_menu):
4416 Updated documentation.
4418 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4420 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4421 Don't free selector->priv manually.
4424 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4427 (hildon_gtk_window_set_progress_indicator):
4428 * src/hildon-gtk.h: Added the new API
4429 hildon_gtk_window_set_progress_indicator, it changes the state of
4430 the window progress hint.
4432 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4434 * src/hildon-button.c
4435 * src/hildon-stackable-window.c: Minor documentation updates.
4437 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4439 * src/hildon-stackable-window.c: Updated documentation.
4441 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4443 * src/hildon-defines.h: Update margins definitions
4444 to the Fremantle sizes.
4447 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4449 * src/hildon-touch-selector.c,
4450 (_hildon_touch_selector_set_model): Cleaning the code after
4451 review, removed g_print and #if 0 from the code.
4453 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-edit-toolbar.c: Update documentation.
4457 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4459 * src/hildon-check-button.h
4460 * src/hildon-check-button.c
4461 (hildon_check_button_set_label, hildon_check_button_get_label)
4462 * examples/hildon-check-button-example.c
4463 (button_clicked_cb):
4464 Removed deprecated methods.
4466 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4468 * src/hildon-text-view.c:
4469 Add sample code to the documentation.
4471 * src/hildon-entry.h
4472 * src/hildon-text-view.h:
4473 Minor cosmetic changes.
4475 * src/hildon-entry.c:
4476 Add sample code to the documentation.
4477 (hildon_entry_init, hildon_entry_refresh_contents):
4478 Don't allow NULL values in the placeholder.
4480 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4482 * doc/hildon-docs.sgml
4484 * examples/Makefile.am
4485 * examples/hildon-text-view-example.c
4487 * src/hildon-text-view.c
4488 * src/hildon-text-view.h
4490 New HildonTextView widget, with example.
4492 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4494 * po/POTFILES.in: Add missing files with translatable strings.
4495 Partially fixes NB#88287.
4497 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4499 * examples/hildon-pannable-area-example-2.c: (main): No need to
4500 set the cellrenderer height inside hildon touch lists, the theme does
4503 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4505 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4506 they are integrated in the theme.
4508 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4510 * examples/hildon-entry-example.c: Update the example adding
4511 widgets to modify the text and the placeholder of the HildonEntry.
4513 * src/hildon-entry.c: Show the placeholder everytime the widget
4514 is empty and loses the focus.
4516 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4518 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4520 * src/hildon-pannable-area.c,
4521 (hildon_pannable_area_size_request): Fixed bug in height
4522 requisition, avoid increasing size and add border twice.
4524 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4526 * configure.ac: postrelease version bump.
4528 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4532 * configure.ac: Prerelease version bump.
4533 * debian/changelog: update.
4534 * debian/rules: make -dbg package contain useful debugging symbols.
4536 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4538 * src/hildon-dialog.h
4539 * src/hildon-dialog.c
4540 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4541 New methods to add buttons with finger size.
4542 (hildon_dialog_new_with_buttons):
4543 Create buttons with finger size.
4545 * examples/hildon-dialog-example.c (main): Use HildonDialog
4546 methods to add buttons.
4548 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4550 * src/hildon-entry.c: Updated HildonButton documentation.
4552 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4554 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4555 button value label with (FALSE, FALSE) to prevent NB#88126 from
4558 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4560 * examples/hildon-pannable-area-example.c,
4561 (main): Removed examples panning a vbox inside a pannable
4562 area. Check bug NB#87965
4564 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4566 Patch contributed by Kris Rietveld (kris@imendio.com)
4568 * src/hildon-pannable-area.c,
4569 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4570 get_size and get_position, this saves an X server roundtrip.
4572 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4574 * doc/hildon-docs.sgml
4576 * examples/Makefile.am
4577 * examples/hildon-entry-example.c
4579 * src/hildon-entry.c
4580 * src/hildon-entry.h
4582 New HildonEntry widget, with example.
4584 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4586 * src/hildon-button.c (hildon_button_construct_child): Pack the
4587 image with expand == fill == FALSE. This is a workaround for a bug
4590 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4592 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4593 labels for the text column, to make it more look more dynamic.
4595 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4597 * src/hildon-time-selector.c
4598 Define gettext auxiliar macro N_
4599 (_create_minutes_model)
4600 (_create_hours_model)
4601 (_create_ampm_model): use of strftime in order to fill the model
4602 * src/hildon-date-selector.c
4603 (hildon_date_selector_finalize):
4604 (_locales_init): remove the logic related to get the name of the months
4605 using nl_langinfo, as it is not required anymore
4607 (_create_year_model)
4608 (_create_month_model)
4609 (_update_day_model): use of strftime in order to fill the model properly
4612 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4614 * src/hildon-button.h
4615 * src/hildon-button.c (hildon_button_get_image): New method to
4618 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4620 * src/hildon-touch-selector.c:
4621 (hildon_touch_selector_remove_column): Remove from the correct parent
4622 and also remove the list element and free it.
4625 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4627 * src/hildon-time-selector.c
4628 (_create_hours_model): change the range on 12h ampm format in order to use
4629 a 12-11 range instead of previous 01-12 range
4630 (hildon_time_selector_set_time): change the way to select the current time
4631 on 12h ampm format, due the change on the range
4632 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4635 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4637 * src/hildon-touch-selector.c
4638 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4639 in order to allow use this function on multiple row selection mode if
4640 the column is different that the first one
4643 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4645 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4646 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4648 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4650 * src/hildon-date-selector.h: clean some comments, now on the .c
4651 * src/hildon-date-selector.c
4652 (hildon_date_selector_select_month): first implementation
4653 (hildon_date_selector_select_day): added documentation, reimplemented
4654 using hildon_date_selector_select_current_date to avoid repeat code
4657 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4659 Reviewed interaction logic based on device experiences, refactored
4662 * src/hildon-pannable-area.c,
4663 (hildon_pannable_area_class_init): Updated default vmax speed.
4664 (hildon_pannable_area_calculate_velocity): Added this function, it
4665 avoids duplicate valocity calculation. Adjusted calculation to
4666 avoid problems with zero dist events.
4668 (hildon_pannable_area_motion_notify_cb): Now we use the
4669 calculate_velocity function.
4671 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4673 * src/hildon-date-selector.c
4674 (hildon_date_selector_select_current_date): fix the day range check
4675 as it failed using the last day of the current month
4678 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4680 * src/hildon-touch-selector.c
4681 (hildon_touch_selector_get_num_columns): added a parameter validation
4684 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4686 * examples/Makefile.am
4687 * examples/hildon-edit-toolbar-example.c: Example of the
4688 HildonEditToolbar widget.
4690 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4692 * configure.ac: postrelease version bump.
4694 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4698 * configure.ac: prerelease version bump.
4699 * debian/changelog: update.
4701 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4703 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4704 renderer to display stock icons in the touch list. Also, set the sizes
4705 to the recommended in the style guide.
4707 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4708 * src/hildon-touch-selector.h
4709 (hildon_touch_selector_set_active_iter): renamed, now is
4710 hildon_touch_selector_select_iter
4711 (hildon_touch_selector_get_active_iter): renamed, now is
4712 hildon_touch_selector_get_selected
4713 (hildon_touch_selector_unselect_iter): added
4714 * src/hildon-touch-selector.c
4715 Update after API modification (methods renamed)
4716 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4717 order to avoid problems selecting multiple elements on the column
4718 (hildon_touch_selector_unselect_iter): added the implementation
4719 * src/hildon-time-selector.c
4720 * src/hildon-date-selector.c
4721 * src/hildon-touch-selector-entry.c
4722 Update methods calls after hildon-touch-selector.h API modification (methods
4725 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4727 * src/hildon-stackable-window.c
4728 (hildon_stackable_window_finalize): Call the parent class's finalize.
4730 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4732 * examples/hildon-touch-selector-example.c: (create_selector): Use
4733 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4736 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4738 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4739 set a cell background color, to respect theming.
4741 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4743 * doc/hildon-docs.sgml
4746 * src/hildon-edit-toolbar.c
4747 * src/hildon-edit-toolbar.h
4748 * src/hildon.h: New HildonEditToolbar widget.
4750 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4752 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4755 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4756 * src/hildon-touch-selector.c
4757 (_create_new_column): use g_object_set instead of two g_object_set_property
4759 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4760 * src/hildon-touch-selector.c
4761 (_create_new_column): use of hildon_gtk_tree_view_new to create
4762 the treeview, instead of use directly g_object_new
4763 (_create_new_column): update the property name "vindicator-mode" for the
4764 new one "vscrollbar-policy"
4765 * examples/hildon-date-button-example.c
4766 * examples/hildon-picker-button-multicolumn-example.c
4767 * examples/hildon-touch-selector-entry-example.c
4768 * examples/hildon-touch-selector-example.c
4769 * examples/hildon-time-button-example.c
4770 * examples/hildon-picker-button-example.c
4771 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4772 to all the treeviews inside a pannable area.
4774 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4776 * src/hildon-button.h
4777 * src/hildon-button.c (hildon_button_init)
4778 (hildon_button_set_arrangement, hildon_button_set_alignment)
4779 (hildon_button_set_title_alignment)
4780 (hildon_button_set_value_alignment)
4781 (hildon_button_set_image_alignment)
4782 (hildon_button_construct_child): New methods to set the alignment
4783 of the individual components of the button (title, value,
4784 image). Also, new method to alter the xscale and yscale properties
4785 of the GtkAlignment inside the button, so more complex layouts can
4788 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4790 * src/hildon-button.c (hildon_button_style_set)
4791 (hildon_button_class_init, hildon_button_set_arrangement)
4792 (hildon_button_construct_child): Apply style properties
4793 correctly. Use the 'image-spacing' style property too.
4795 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4797 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4798 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4801 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4803 * src/hildon-pannable-area.c,
4804 (hildon_pannable_area_size_request): Fixed problem with
4805 pannable-area size_request.
4807 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4809 Added management for the grab-focus to a child widget, like a
4810 range, we need to fade out the scrollbar when releasing.
4812 * src/hildon-pannable-area.c,
4813 (hildon_pannable_area_init): Connected the grab-focus signal to
4815 (hildon_pannable_area_grab_notify): Added this function in order
4816 to manage the situation when the grab-focus ends. We have to
4817 fade-out the scrollbar.
4819 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4821 * src/hildon-app-menu.c: Minor documentation update.
4823 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4825 * src/hildon-app-menu.c
4826 * examples/hildon-app-menu-example.c (create_menu): Update
4827 examples and documentation to explain how to connect callbacks.
4829 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4831 * examples/hildon-button-example.c
4832 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4833 hildon_stackable_window_new instead of gtk_window_new
4835 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4837 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4838 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4839 (hildon_pannable_area_set_property),
4840 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4841 (hildon_pannable_area_unrealize),
4842 (hildon_pannable_area_size_request),
4843 (hildon_pannable_area_size_allocate),
4844 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4845 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4846 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4847 (hildon_pannable_area_initial_effect),
4848 (hildon_pannable_area_redraw),
4849 (hildon_pannable_area_scroll_indicator_fade),
4850 (hildon_pannable_area_expose_event),
4851 (hildon_pannable_area_get_topmost), (synth_crossing),
4852 (hildon_pannable_area_button_press_cb),
4853 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4854 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4855 (hildon_pannable_area_motion_notify_cb),
4856 (hildon_pannable_area_button_release_cb),
4857 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4858 (hildon_pannable_area_remove),
4859 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4860 chage the code layout to a more GtkWidget like. Review the use of
4863 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4865 * examples/hildon-pannable-area-example-4.c,
4866 (main): Modified the name of the hindicator_mode to
4869 * src/hildon-pannable-area.c,
4870 (hildon_pannable_area_class_init),
4871 (hildon_pannable_area_motion_notify_cb),
4872 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4873 we have reduced the amount of signals and managed reviewed its
4874 rationale. Changed the default decelerate value.
4876 (hildon_pannable_area_add),
4877 (hildon_pannable_area_redraw): Refactored functions.
4879 (hildon_pannable_area_init),
4880 (hildon_pannable_area_get_property),
4881 (hildon_pannable_area_set_property):
4882 (hildon_pannable_draw_vscroll),
4883 (hildon_pannable_draw_hscroll),
4884 (hildon_pannable_area_initial_effect),
4885 (hildon_pannable_area_expose_event),
4886 (hildon_pannable_area_scroll),
4887 (hildon_pannable_area_button_press_cb),
4888 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4889 and vindicator_mode with hscrollbar_policy and
4890 vscrollbar_policy. Replaced hscroll and vscroll with
4891 hscroll_visible and vscroll_visible.
4893 (hildon_pannable_area_refresh): Refactor the function, remove
4894 variables and check the calls to this function, added resize
4895 conditions in case the children change their layout.
4897 (hildon_pannable_area_size_request): Added more detailed
4898 size_request calculation.
4901 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4903 * src/hildon-color-chooser.c
4904 (init_borders): use the correct gtk_border_free instead of g_free, to
4905 avoid a crash when this widget is used (ie: the three color selection
4908 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4910 * src/hildon-check-button.c,
4911 (hildon_check_button_set_active): Fixed problem when setting the
4912 active value, the widget was not redrawn.
4914 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4916 * src/hildon-pannable-area.c,
4917 (hildon_pannable_area_refresh),
4918 (hildon_pannable_area_scroll),
4919 (hildon_pannable_area_motion_notify_cb): Small code style change.
4921 (hildon_pannable_area_class_init): Default initial_hint set to
4922 FALSE, it is not in the specs.
4924 (hildon_pannable_area_initial_effect),
4925 (hildon_pannable_area_expose_event),
4926 (hildon_pannable_area_map),
4927 (hildon_pannable_area_init): Moved the launching point of the
4928 initial effect, it was in map but the sizes where not correct in
4929 that method so we do not know if we have the reproduce it. Now it
4930 is placed in the expose_event method and uses a variable to
4931 reproduce it just once.
4933 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4935 * src/hildon-pannable-area.c,
4936 (hildon_pannable_draw_vscroll),
4937 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4938 position allowed for the scrollbars.
4940 (hildon_pannable_area_size_allocate): Small style change.
4942 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4944 * src/hildon-pannable-area.c,
4945 (hildon_pannable_area_scroll_indicator_fade),
4946 (hildon_pannable_area_button_press_cb),
4947 (hildon_pannable_area_button_release_cb),
4948 (hildon_pannable_area_scroll_cb),
4949 (hildon_pannable_area_expose_event),
4950 (hildon_pannable_area_init): Added the define parameter
4951 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4952 and refactor the fade variable.
4954 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4956 * src/hildon-pannable-area.c,
4957 (hildon_pannable_area_redraw),
4958 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4959 lines, we were reimplemeting the redraw code.
4961 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4963 * src/hildon-pannable-area.c,
4964 (hildon_pannable_area_scroll_cb),
4965 (hildon_pannable_area_realize),
4966 (hildon_pannable_area_class_init): Added scroll_event management
4967 for pannable area, now we can scroll the usual desktop method.
4969 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4970 initialization of the parameters should depend on idle_id.
4972 (hildon_pannable_area_init),
4973 (hildon_pannable_area_map): Small code style modifications
4975 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4977 * src/hildon-pannable-area.c
4978 (hildon_pannable_area_button_press_cb),
4979 (hildon_pannable_area_motion_notify_cb),
4980 (hildon_pannable_area_button_release_cb),
4981 (hildon_pannable_area_size_allocate),
4982 (hildon_pannable_area_scroll_to): Improved the timeouts
4983 management, we avoid creating them each time.
4985 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4987 * src/hildon-pannable-area.c:
4988 (hildon_pannable_area_refresh),
4989 (hildon_pannable_area_motion_notify_cb),
4990 (hildon_pannable_area_class_init):
4991 * src/hildon-pannable-area.h:
4992 * src/hildon-touch-selector.c
4993 (_create_new_column):
4994 * examples/hildon-pannable-area-example-4.c:
4995 (horizontal_movement),
4996 (vertical_movement),
4998 Replaced the names of enums in the HildonPannableArea:
4999 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5000 HILDON_MOVEMENT_MODE_*
5001 - HILDON_PANNABLE_AREA_MOV_* ->
5003 - Removed HildonPannableAreaIndicatorMode, now we
5006 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5008 * examples/hildon-pannable-area-touch-grid-example.c
5009 * examples/hildon-pannable-area-touch-list-example.c: Fix
5010 compilation warnings.
5012 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-gtk.c (hildon_gtk_button_new)
5015 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5016 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5017 images overriding the value of the "gtk-button-images" setting.
5019 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5021 * src/hildon-check-button.c (hildon_check_button_new):
5022 Instead of using a custom container, display the label and the
5023 checkbox using the standard GtkButton API.
5025 * examples/hildon-check-button-example.c (main): Don't use
5026 hildon_check_button_set_label() anymore
5028 * src/hildon-check-button.h
5029 * src/hildon-check-button.c
5030 (hildon_check_button_set_label, hildon_check_button_get_label):
5031 Set as deprecated, now we're using gtk_button_{get,set}_label()
5033 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5035 * src/hildon-pannable-area.c,
5036 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5037 GtkTreeview first line we detected it after the inclusion of the
5038 GtkWindowImpl in gtk+. We now check if the window is visible, not
5039 just if the pointer is over the window.
5040 (hildon_pannable_axis_scroll),
5041 (hildon_pannable_area_expose_event): Small style changes.
5043 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5045 * src/hildon-button.c: Update documentation.
5047 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5049 * examples/hildon-button-example.c: Add a switch to show images in
5052 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5054 * doc/hildon-docs.sgml: Some docs reorganization.
5056 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5058 * examples/hildon-pannable-area-touch-list-example.c
5060 * examples/hildon-pannable-area-touch-grid-example.c
5061 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5062 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5063 Fix memory leak when setting the tree model.
5065 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5069 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5071 * doc/hildon.types: Remove duplicated hildon_window_get_type
5072 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5073 documentation comment.
5075 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5077 * doc/Makefile.am: Complete list of private headers.
5079 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5081 * doc/hildon-docs.sgml
5082 * src/hildon-app-menu.c
5083 * src/hildon-bread-crumb.c
5084 * src/hildon-button.c
5086 * src/hildon-program.c
5087 * src/hildon-stackable-window.c
5088 * src/hildon-window.c: Lots of documentation updates.
5090 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5092 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5094 * configure.ac: Require Gtk+ 2.12.9 at least
5096 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5098 * src/hildon-pannable-area.c
5099 (hildon_pannable_area_scroll_indicator_fade),
5100 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5101 to protect the return of this timeout callbacks, avoiding deadlocks.
5103 2008-08-12 Christian Dywan <christian@imendio.com>
5106 * src/hildon-*.h: Ensure a consistent include order,
5107 include <gtk/gtk.h> instead of particular files and
5108 only include the topmost header in the gtk stack. See NB #39857
5110 2008-08-12 Christian Dywan <christian@imendio.com>
5112 * src/hildon-picker-dialog.c
5113 * src/hildon-touch-selector.c: Fix warnings about unused and
5114 uninitialized variables.
5116 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5118 * examples/Makefile.am
5119 * examples/hildon-check-button-example.c: Example of the hildon
5122 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5124 * src/hildon-window.h
5125 * src/hildon-window.c (hildon_window_class_init)
5126 (hildon_window_unset_program): Don't make
5127 hildon_window_unset_program a virtual function anymore.
5129 * src/hildon-stackable-window.c: Update documentation
5131 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5134 * doc/hildon-docs.sgml
5135 * doc/visual_index.xml
5136 * src/hildon-defines.c
5138 * src/hildon-helper.c
5139 * src/hildon-range-editor.c: Lots of documentation fixes.
5141 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5143 * examples/hildon-picker-button-multicolumn-example.c
5144 (create_touch_selector): Fix compilation warning.
5146 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5148 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5149 (hildon_pannable_area_button_release_cb)
5150 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5152 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5157 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5159 * src/hildon-bread-crumb-trail.h
5160 * src/hildon-date-editor.c
5161 * src/hildon-date-selector.c
5162 * src/hildon-pannable-area.c
5163 * src/hildon-picker-dialog.c
5164 * src/hildon-time-selector.c
5165 * src/hildon-touch-selector-entry.c
5166 * src/hildon-touch-selector.c
5167 * src/hildon-touch-selector.h: Misc documentation fixes
5169 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5171 * examples/hildon-date-editor-example.c (main): Updated date
5174 * examples/hildon-note-example.c (on_confirmation_clicked):
5175 Updated confirmation note example.
5177 * src/hildon-date-editor.c
5178 * src/hildon-note.c: Updated sample programs in documentation.
5181 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-date-button.h:
5184 * src/hildon-picker-button.h:
5185 * src/hildon-time-button.c:
5186 * src/hildon-time-button.h:
5188 Some declarations changes to allow gtk-doc to document the widgets
5191 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5193 * src/hildon-date-button.c: Document the widget.
5194 * src/hildon-time-button.c: Document the widget.
5196 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5198 * src/hildon-picker-button.c: Document the widget.
5199 * src/hildon-touch-selector-entry.c: Document the widget.
5201 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5203 * doc/hildon-docs.sgml
5206 * src/hildon-check-button.h
5207 * src/hildon-check-button.c: New functions to create the Hildon
5211 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5213 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5215 * src/hildon-button.h
5216 * src/hildon-button.c
5217 (hildon_button_add_title_size_group)
5218 (hildon_button_add_value_size_group)
5219 (hildon_button_add_image_size_group)
5220 (hildon_button_add_size_groups): New functions to set size groups
5221 for the button labels and image.
5222 (hildon_button_new_full): Removed
5224 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5226 * src/hildon-time-selector.c
5227 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5228 in order to avoid a crash if gconf is not available
5230 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5232 * src/hildon-button.c (hildon_button_set_arrangement)
5233 (hildon_button_construct_child): Don't construct the button child
5234 before setting the arrangement.
5236 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5238 * src/hildon-program-private.h
5239 * src/hildon-program.c
5240 * src/hildon-program.h
5241 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5242 (hildon_program_peek_window_stack)
5243 (hildon_program_pop_window_stack)
5244 (hildon_program_go_to_root_window): HildonProgram now has a
5245 separate list for stackable windows. Functions are provided to
5246 manage that list with a stack-like API.
5248 * src/hildon-stackable-window.c: Stackable window management is
5249 now much simpler with the new HildonProgram API. Windows no
5250 longer need to be manually added to the program, they're
5251 automatically pushed to the top of the stack when shown.
5253 * examples/hildon-stackable-window-example.c: Updated example to
5254 reflect the API changes.
5256 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5258 * src/hildon-touch-selector.c: Comment out unimplemented
5259 hildon_touch_selector_insert_column() to avoid a compile warning.
5261 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5263 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5264 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5265 (hildon_touch_selector_set_column_selection_mode),
5266 (_hildon_touch_selector_set_model),
5267 (hildon_touch_selector_set_model):
5269 Complete review of HildonTouchSelector documentation.
5271 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5273 * doc/hildon-docs.sgml
5277 * src/hildon-gtk.c: Convenience functions for standard Gtk
5278 widgets, used to easily perform frequent operations.
5280 * src/hildon-button-helpers.h
5281 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5283 * src/hildon-helper.h
5284 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5285 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5287 * src/hildon-button.h
5288 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5290 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5292 * src/hildon-button.c (hildon_button_init)
5293 (hildon_button_set_arrangement, hildon_button_construct_child):
5294 Pack the image and the labels inside the same GtkAlignment so
5295 gtk_button_set_alignment() can be used
5297 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5299 * src/hildon-button.h
5300 * src/hildon-button.c
5301 (hildon_button_init, hildon_button_set_image)
5302 (hildon_button_set_image_position)
5303 (hildon_button_construct_child): New functions to add an image to
5306 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5308 * src/hildon-date-button.c
5309 * src/hildon-picker-button.c
5310 * src/hildon-time-button.c
5311 * src/hildon-button.c:
5312 (hildon_button_class_init): "size-flags" renamed to "size"
5313 (hildon_button_set_title): Hide the title label if set to NULL.
5315 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5317 HildonButtonFlags split into HildonButtonArrangement (to set the
5318 button layout) and HildonSizeType (which can be used for any
5321 * src/hildon-button.h
5322 * src/hildon-button.c
5323 (hildon_button_class_init)
5324 (hildon_button_set_arrangement)
5325 (hildon_button_set_property): New "size-flags"
5326 property. "arrangement-flags" renamed to "arrangement".
5327 (hildon_button_new, hildon_button_new_with_text)
5328 (hildon_button_new_full): Constructors updated to reflect type changes.
5330 * src/hildon-helper.h
5331 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5332 to set the size of a widget.
5336 * src/hildon-button-helpers.c
5337 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5339 * src/hildon-date-button.c
5340 * src/hildon-date-button.h
5341 * src/hildon-picker-button.c
5342 * src/hildon-picker-button.h
5343 * src/hildon-time-button.c
5344 * src/hildon-time-button.h: Updated widgets to reflect
5345 HildonButton API changes.
5347 * examples/hildon-button-example.c
5348 * examples/hildon-date-button-example.c
5349 * examples/hildon-picker-button-example.c
5350 * examples/hildon-picker-button-multicolumn-example.c
5351 * examples/hildon-time-button-example.c
5352 * examples/hildon-touch-selector-entry-example.c
5353 * examples/hildon-touch-selector-example.c: Updated examples to
5354 reflect HildonButton API changes.
5356 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5358 * doc/hildon-docs.sgml:
5360 * examples/Makefile.am:
5361 * examples/hildon-touch-selector-entry-example.c:
5363 * src/hildon-touch-selector-entry.c:
5364 * src/hildon-touch-selector-entry.h:
5367 Moved HildonTouchSelectorEntry from sandbox. Added its
5368 documentation and examples.
5370 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5372 * src/hildon-touch-selector.h:
5373 * examples/hildon-picker-button-multicolumn-example.c:
5374 (hildon_touch_selector_append_text_column): Add a gboolean
5375 parameter to determine if text must be centered in the column.
5377 * src/hildon-date-selector.c: (hildon_date_selector_init):
5378 * src/hildon-time-selector.c: (hildon_time_selector_init):
5379 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5380 (create_touch_selector): Update widgets and example to reflect
5383 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5385 * src/hildon-touch-selector.c:
5386 (hildon_touch_selector_set_active_iter): Set also the cursor in
5389 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5391 * doc/hildon-docs.sgml
5394 * src/hildon-toggle-button.c
5395 * src/hildon-toggle-button.h
5396 * src/hildon.h: Removed HildonToggleButton widget, a derived
5397 class is not necessary for this.
5399 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5401 * src/hildon-pannable-area.c,
5402 (hildon_pannable_area_realize),
5403 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5406 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5408 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5409 "done" button the default widget for the dialog.
5411 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5413 * src/hildon-touch-selector.c:
5414 (hildon_touch_selector_class_init),
5415 (hildon_touch_selector_get_property),
5416 (_hildon_touch_selector_set_model),
5417 (_hildon_touch_selector_has_multiple_selection),
5418 (hildon_touch_selector_has_multiple_selection):
5419 Add a "has-multiple-selection" property with a virtual
5420 has_multiple_selection() method to allow derived classes to
5421 override the default value for it. See the method and property
5422 documentation for details.
5424 * src/hildon-touch-selector.h: Add the new API.
5426 * src/hildon-picker-dialog.c: (requires_done_button): Call
5427 hildon_touch_selector_has_multiple_selection() instead of
5428 determining the need for a button itself.
5430 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5432 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5433 (_hildon_touch_selector_set_model),
5434 (hildon_touch_selector_set_model): Move working code to
5435 _hildon_touch_selector_set_mode(). Call the class method instead.
5437 * src/hildon-touch-selector.h: Add (*set_model) to
5438 HildonTouchSelectorClass.
5440 Make hildon_touch_selector_set_model() a virtual method, so that
5441 derived classes can extend it and do fancy stuff with the model.
5443 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5445 * configure.ac: Set back the tarname in AC_INIT to hildon.
5447 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5451 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5452 instead of libesd (NB#86876). Volume handling is still an open issue.
5454 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5457 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5459 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5460 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5461 derived class to ease placement of an entry widget in
5462 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5463 end, where the selector columns are packed now.
5465 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5467 * src/hildon-picker-button.c: Removed the simple _text() API.
5468 * src/hildon-picker-button.h: Likewise.
5470 * src/hildon-touch-selector.h:
5471 * src/hildon-touch-selector.c:
5472 (hildon_touch_selector_new_text),
5473 (hildon_touch_selector_append_text),
5474 (hildon_touch_selector_prepend_text),
5475 (hildon_touch_selector_insert_text):
5477 Moved the simple _text() API from HildonPickerButton to
5478 HildonTouchPicker, to provide better escalability and not to tie
5479 that API to HildonPickerButton.
5481 * examples/hildon-picker-button-example.c: (main): Example updated.
5483 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5485 * src/hildon-button.c: Updated documentation.
5487 * examples/hildon-button-example.c: Add the posibility to create
5488 the buttons using horizontal layout for title and value.
5490 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5492 * src/hildon-app-menu-private.h
5493 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5494 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5495 GtkSizeGroup for the filters, use the 'homogeneous' property of
5498 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5500 * examples/hildon-button-example.c: Updated example.
5502 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5504 * doc/hildon-docs.sgml:
5507 Update documentation.
5509 * examples/Makefile.am: Update renamed examples.
5511 * examples/hildon-picker-button-multicolumn-example.c:
5512 (create_touch_selector), (main): Update after the rename.
5514 * examples/hildon-touch-picker-example.c: Removed.
5515 * examples/hildon-touch-selector-example.c: (value_changed),
5516 (create_selector), (get_visible_content), (main): Renamed from
5517 hildon-touch-picker-example.c
5519 * src/Makefile.am: Updated renamed files.
5521 * src/hildon-date-button.c: (hildon_date_button_init),
5522 (hildon_date_button_get_date), (hildon_date_button_set_date):
5523 * src/hildon-date-selector.c: (hildon_date_selector_init),
5524 (_custom_print_func), (_update_day_model),
5525 (_manage_selector_change_cb),
5526 (hildon_date_selector_select_current_date),
5527 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5528 * src/hildon-date-selector.h:
5529 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5530 (hildon_picker_button_set_property),
5531 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5532 (hildon_picker_button_init), (hildon_picker_button_new_text),
5533 (hildon_picker_button_append_text),
5534 (hildon_picker_button_prepend_text),
5535 (hildon_picker_button_insert_text),
5536 (hildon_picker_button_set_selector),
5537 (hildon_picker_button_get_selector):
5538 * src/hildon-picker-button.h:
5539 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5540 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5541 (_update_title_on_selector_changed_cb), (requires_done_button),
5542 (_hildon_picker_dialog_set_selector),
5543 (hildon_picker_dialog_set_selector),
5544 (hildon_picker_dialog_get_selector):
5545 * src/hildon-picker-dialog.h:
5546 * src/hildon-time-button.c: (hildon_time_button_init),
5547 (hildon_time_button_get_time), (hildon_time_button_set_time):
5548 * src/hildon-time-selector.c: (hildon_time_selector_init),
5549 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5550 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5551 * src/hildon-time-selector.h:
5554 Massive code updates after the rename.
5556 * src/hildon-touch-picker.c: Removed.
5557 * src/hildon-touch-picker.h: Removed.
5559 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5560 (hildon_touch_selector_init), (hildon_touch_selector_map),
5561 (hildon_touch_selector_remove), (_default_print_func),
5562 (_selection_changed_cb), (_create_new_column),
5563 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5564 (hildon_touch_selector_append_text_column),
5565 (hildon_touch_selector_remove_column),
5566 (hildon_touch_selector_set_column_attributes),
5567 (hildon_touch_selector_insert_column),
5568 (hildon_touch_selector_get_num_columns),
5569 (hildon_touch_selector_get_column_selection_mode),
5570 (hildon_touch_selector_set_column_selection_mode),
5571 (hildon_touch_selector_set_print_func),
5572 (hildon_touch_selector_get_print_func),
5573 (hildon_touch_selector_get_active_iter),
5574 (hildon_touch_selector_set_active_iter),
5575 (hildon_touch_selector_get_selected_rows),
5576 (hildon_touch_selector_get_model),
5577 (hildon_touch_selector_set_model),
5578 (hildon_touch_selector_get_current_text),
5579 (_hildon_touch_selector_center_on_selected_items):
5580 * src/hildon-touch-selector.h: Renamed from
5581 hildon-touch-picker.[ch]
5583 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5584 references, code examples, and related documentation.
5586 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5588 * doc/hildon-docs.sgml
5591 * src/hildon-toggle-button.c
5592 * src/hildon-toggle-button.h
5593 * src/hildon.h: New HildonToggleButton widget.
5595 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5597 * src/hildon-button.c: Add API documentation.
5598 (hildon_button_set_size_groups): Check input parameters
5600 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5602 * src/hildon-pannable-area.c
5603 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5604 effect after reaching the movement thredshold. This way we start
5605 using the distance after passing the thredshold.
5607 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5609 * src/hildon-button.c: (hildon_button_set_property): Use the
5610 appropriate g_value_get_flags() method.
5612 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5614 * doc/hildon-docs.sgml:
5617 Add the touch pickers, picker dialogs, and picker button widgets
5618 to the documentation.
5620 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5622 * src/hildon-button.c: (hildon_button_set_property),
5623 (hildon_button_class_init): Make "arrangement-flags" a proper
5624 G_TYPE_FLAGS derived property.
5626 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5628 * examples/Makefile.am: Add below examples.
5629 * examples/hildon-date-button-example.c:
5630 * examples/hildon-picker-button-example.c:
5631 * examples/hildon-picker-button-multicolumn-example.c:
5632 * examples/hildon-time-button-example.c:
5633 * examples/hildon-touch-picker-example.c:
5635 Add examples for the recently added touch pickers,
5636 picker dialogs, and picker button widgets.
5638 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5640 * src/hildon-button.c: Add some API documentation
5642 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5644 * src/hildon-button.h
5645 * src/hildon-button.c
5647 (hildon_button_new_with_text): New constructor to create a button
5648 with no text at all.
5649 (hildon_button_init, hildon_button_set_arrangement)
5650 (hildon_button_set_title, hildon_button_set_value)
5651 (hildon_button_set_text)
5652 (hildon_button_construct_child): Hide the value when it's not used
5653 so the rest of the text is properly aligned.
5654 Allow creating buttons with arbitrary widgets inside (not just
5655 title/value labels).
5657 * examples/hildon-button-example.c (vertical_buttons_window)
5658 (horizontal_buttons_window): Update example to use new API.
5660 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5662 * src/Makefile.am: Added HildonTimeButton.
5663 * src/hildon-time-button.c: Added missing LGPL header.
5664 * src/hildon-time-button.h: Added missing LGPL header.
5665 * src/hildon.h: Add hildon-time-button.h
5667 Copied HildonTimeButton 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 HildonDateButton.
5673 * src/hildon-date-button.c: Update includes.
5674 * src/hildon.h: Add hildon-date-button.h
5676 Copied HildonDateButton from sandbox to trunk. Future work on this
5677 widget must take place in trunk.
5679 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5681 * src/Makefile.am: Added HildonPickerButton.
5682 * src/hildon-picker-button.h: Update includes.
5683 * src/hildon.h: Add hildon-picker-button.h
5685 Copied HildonPickerButton from sandbox to trunk. Future work on
5686 this widget must take place in trunk.
5688 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5690 * src/Makefile.am: Added HildonPickerDialog.
5691 * src/hildon-picker-dialog.c: Update includes.
5692 * src/hildon.h: Add hildon-picker-dialog.h
5694 Copied HildonPickerDialog from sandbox to trunk. Future work
5695 on this widget must take place in trunk.
5697 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5699 * src/Makefile.am: Added HildonTimeSelector.
5700 * src/hildon.h: Add hildon-time-selector.h
5702 Copied HildonTimeSelector widget from sandbox to trunk. Future
5703 work on this widget must happen in trunk.
5705 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5707 * src/Makefile.am: Added HildonDateSelector.
5708 * src/hildon.h: Add hildon-date-selector.h
5710 Copied HildonDateSelector widget from sandbox to trunk. Future
5711 work on this widget must happen in trunk.
5713 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5715 * src/Makefile.am: Added HildonTouchPicker.
5716 * src/hildon-touch-picker.c: Update includes.
5717 * src/hildon.h: Add hildon-touch-picker.h
5719 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5720 on this widget must happen in trunk.
5722 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5724 * src/hildon-pannable-area.c:
5725 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5727 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5729 * examples/hildon-app-menu-example.c (main): Let the window
5732 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5734 * src/hildon-pannable-area.c
5735 (hildon_pannable_area_class_init): Set the min value of the
5736 overshoot properties to zero, which points out that not
5737 overshooting allowed.
5739 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5741 Modified the procedure to get the widget at a point inside the
5742 pannable area when using the movement type signals. Now the user
5743 has to call a function to get the child, that way we just
5744 calculate the child in case the user really want to use it and not
5747 * src/hildon-marshalers.list: Modified the marshallers, now we do
5748 not have the widget as a parameter.
5750 * src/hildon-pannable-area.c
5751 (hildon_pannable_area_motion_notify_cb),
5752 (hildon_pannable_area_class_init),
5753 (hildon_pannable_get_child_widget_at): Removed the widget
5754 parameter from the signal callback. We have also refactored the
5755 emission of the signals.
5757 * src/hildon-pannable-area.h: Added a new method to the API to
5758 calculate a widget at a point inside the pannable area,
5759 hildon_pannable_get_child_widget_at.
5761 * examples/hildon-pannable-area-example-4.c
5762 (horizontal_movement): Modified the example to use the new API,
5763 added condition to control which widget is under the event. This
5764 way we can avoid scrolling laterally over other widgets.
5766 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5768 * src/hildon-pannable-area.c
5769 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5770 modes, we stop getting the pointer events due to returning the
5771 callback without properly calling the get pointer again. Fixed
5772 also an error using the hscroll and vscroll.
5774 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5776 * src/hildon-app-menu-private.h
5777 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5778 (hildon_app_menu_button_release, hildon_app_menu_init)
5779 (hildon_app_menu_class_init): Don't hide the menu on button
5780 release if the user didn't press outside first.
5782 * src/hildon-window.h
5783 * src/hildon-window.c (hildon_window_toggle_menu)
5784 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5785 hildon_window_toggle_menu a virtual function for the stackable
5786 window to override it.
5788 * src/hildon-stackable-window.h
5789 * src/hildon-stackable-window-private.h
5790 * src/hildon-stackable-window.c
5791 (hildon_stackable_window_realize)
5792 (hildon_stackable_window_finalize)
5793 (hildon_stackable_window_class_init)
5794 (hildon_stackable_window_init)
5795 (hildon_stackable_window_set_main_menu): New function to set the
5796 app menu of a HildonStackableWindow.
5798 * examples/hildon-app-menu-example.c: Remove the button to show
5799 the app menu, now it'll be shown when clicking on the title bar
5802 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5804 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5805 set the widget name if the arrangement flags do not specify
5808 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5810 * src/hildon-button.c: (hildon_button_set_property),
5811 (hildon_button_class_init), (hildon_button_new_full),
5812 (hildon_button_set_arrangement): Added "arrangement-flags"
5815 Make the HildonButtonFlags a construction-only property, to allow
5816 subclasses to set them properly.
5818 2008-07-21 Tim Janik <timj@imendio.com>
5820 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5821 insertion position after backspace, so additional digits are appended,
5824 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5826 * src/hildon-pannable-area.c,
5827 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5828 TODO list, it was complete and removed the g_debug and g_print
5831 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5833 Added the movement modes to the hildon-pannable-area, with this
5834 modes the developers can control in which directions the widget
5835 can scroll. They can also connect to signals in order to do
5836 something when that happens, allowing applications scroll. There
5837 is an example uploaded showing how to use it.
5839 * examples/Makefile.am:
5840 * examples/hildon-pannable-area-example-4.c: Added this example of
5841 an application using the modes.
5843 * src/hildon-marshalers.list: Added a new marshaller for the new
5846 * src/hildon-pannable-area.h: Added new enumerations and flags in
5847 order to control the movement modes and the new signals to warn
5848 about the movements in the area.
5850 * src/hildon-pannable-area.c:
5851 (hildon_pannable_axis_scroll),
5852 (hildon_pannable_area_scroll),
5853 (hildon_pannable_area_motion_notify_cb),
5854 (hildon_pannable_area_get_property),
5855 (hildon_pannable_area_set_property),
5856 (hildon_pannable_area_map),
5857 (hildon_pannable_area_class_init),
5858 (hildon_pannable_area_init),
5859 (hildon_pannable_area_jump_to): Added the modes to control the
5860 movement in the widget. We have added properties to control it,
5861 signals to warn about the movements and refactored some code.
5863 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5865 Changes required in order to allow vfast_factor set to zero to
5868 * src/hildon-pannable-area.c:
5869 (hildon_pannable_area_button_press_cb): Changed the condition, it
5870 is required for not allowing click when vfast_factor is zero.
5871 (hildon_pannable_area_timeout): Initialized velocity variables
5872 when we stop moving, it was less than 1 but not zero and we need
5873 to check zero in some situations.
5874 (hildon_pannable_area_class_init): Changed the default value of
5875 the speed factor, now the button_press is just sent in case the
5876 speed is 2 per cent of the max speed.
5877 (hildon_pannable_area_init): Initialization with 0.
5879 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5881 * src/hildon-pannable-area.c,
5882 (hildon_pannable_area_get_topmost): replaced
5883 gdk_window_get_children with gdk_window_peek_children, this way we
5884 do not have to free the list because it is not a copy.
5886 (hildon_pannable_axis_scroll),
5887 (hildon_pannable_area_scroll),
5888 (hildon_pannable_area_timeout),
5889 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5890 two parameters that were only used inside the
5891 hildon_pannable_area_scroll function.
5893 * examples/hildon-pannable-area-example.c,
5894 (get_sawtooth_label): Fixed small memory leak.
5896 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5898 More checks for the case where the overshoot is bigger than the
5901 * src/hildon-pannable-area.c:
5902 (hildon_pannable_draw_vscroll),
5903 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5904 to draw the slider of the scrollbar under the other scrollbar.
5905 (hildon_pannable_area_expose_event): added new checks to control
5906 the drawing of the overshooting area rectangle, in case it is too
5907 big for the area of the widget.
5908 (hildon_pannable_area_size_allocate): add more checks to avoid
5909 setting a position to the child widget outside the area.
5911 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5913 * src/hildon-pannable-area.c
5914 (hildon_pannable_area_size_allocate): Added conditions to control
5915 when overshooting is bigger than the allocated space for the
5916 children, this avoids negative allocations.
5918 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5920 * doc/hildon-docs.sgml
5922 * examples/Makefile.am
5923 * examples/hildon-button-example.c
5925 * src/hildon-button.c
5926 * src/hildon-button.h
5927 * src/hildon.h: Initial version of the new HildonButton widget,
5930 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5932 * src/hildon-pannable-area.c:
5933 (hildon_pannable_area_button_press_cb),
5934 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5935 (hildon_pannable_area_motion_notify_cb),
5936 (hildon_pannable_area_button_release_cb),
5937 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5938 (hildon_pannable_area_jump_to_child):
5940 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5942 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5944 * examples/Makefile.am
5945 * examples/hildon-pannable-area-touch-grid-example.c
5946 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5947 the Hildon Touch List and Hildon Touch Grid using the
5948 HildonPannableArea widget.
5950 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5952 * src/hildon-pannable-area.c,
5953 (hildon_pannable_area_button_press_cb),
5954 (hildon_pannable_area_refresh),
5955 (hildon_pannable_area_scroll),
5956 (hildon_pannable_area_motion_notify_cb),
5957 (hildon_pannable_area_button_release_cb),
5958 (hildon_pannable_area_expose_event),
5959 (hildon_pannable_area_add),
5960 (hildon_pannable_area_remove),
5961 (hildon_pannable_area_realize),
5962 (hildon_pannable_area_size_allocate),
5963 (hildon_pannable_area_class_init),
5964 (hildon_pannable_area_init),
5965 (hildon_pannable_area_scroll_to_child),
5966 (hildon_pannable_area_jump_to_child): Fixed the problem of
5967 removing the child from the GtkBin, we have rearranged the widget
5968 hierarchy, now there is no GtkAlignment which was not doing
5969 anything interesting but breaking some of the assumptions of
5970 GtkContainer. Now developers if they want to add a GtkAlignment
5971 they could, but it is not inside the area.
5973 We had to review the whole allocation/expose process, now it is
5974 improved and we save at least three signals which would be saving
5975 some time when rendering the widget. The allocation of the
5976 scrollbars is now made in the allocate method as usual.
5978 We have also added some conditions in order to control when there
5979 is no child of the pannable area. Maybe we will need more work
5982 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5984 * src/hildon-pannable-area.c,
5985 (hildon_pannable_area_dispose): Released the fade-out timeout when
5986 disposing the widget.
5988 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5990 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5991 zero, we are going to use that property in order to deactivate the
5993 (hildon_pannable_axis_scroll),
5994 (hildon_pannable_area_size_allocate): Added conditions to control
5995 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5996 call, now it is called in all situations and we can remove calls
5997 in the allocate method.
5998 (hildon_pannable_area_map): Control the situation when
5999 overshoot_max is zero, we do not need the timeout.
6000 (hildon_pannable_area_class_init): Added documentation in order to
6001 point out that setting zero to overshoot_max means deactivate
6004 NOTE: removed trailing whitespaces from my previous comments of
6007 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6009 * src/hildon-pannable-area.c
6010 (hildon_pannable_area_get_property),
6011 (hildon_pannable_area_set_property),
6012 (hildon_pannable_area_map),
6013 (hildon_pannable_area_class_init),
6014 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6015 to cause the widget give a hint about its panning abilities upon
6018 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6020 * src/hildon-pannable-area.c: Several documentation improvements.
6022 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6024 * src/hildon-program.c
6025 * src/hildon-stackable-window.c: Update documentation.
6027 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6029 * src/hildon-stackable-window.c (get_previous_window_if_last):
6030 Renamed get_last_window()
6031 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6032 (hildon_stackable_window_unset_program):
6034 (get_previous_window_if_last):
6035 Detect if the window hasn't been added to a HildonProgram.
6037 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6039 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6041 * src/hildon-pannable-area.c
6042 (hildon_pannable_area_button_press_cb),
6043 (hildon_pannable_axis_scroll),
6044 (hildon_pannable_area_scroll),
6045 (hildon_pannable_area_timeout),
6046 (hildon_pannable_calculate_vel_factor),
6047 (hildon_pannable_area_get_property),
6048 (hildon_pannable_area_set_property),
6049 (hildon_pannable_area_class_init),
6050 (hildon_pannable_area_init),
6051 (hildon_pannable_area_scroll_to),
6052 (hildon_pannable_area_jump_to),
6053 (hildon_pannable_area_scroll_to_child),
6054 (hildon_pannable_area_jump_to_child):
6055 * src/hildon-pannable-area.h: Added the new API functions:
6056 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6057 hildon_pannable_area_scroll_to_child,
6058 hildon_pannable_area_jump_to_child
6061 * examples/Makefile.am
6062 * examples/hildon-pannable-area-example-2.c
6063 * examples/hildon-pannable-area-example-3.c: Added these two new
6064 examples in order to test and show how the new APIs work.
6066 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6068 * examples/hildon-stackable-window-example.c (new_window):
6069 * src/Makefile.am (noinst_HEADERS):
6070 * src/hildon-program.c (hildon_program_go_to_root_window):
6071 * src/hildon-program.h:
6072 * src/hildon-stackable-window-private.h:
6073 * src/hildon-stackable-window.c:
6074 * src/hildon-stackable-window.h:
6075 Create hildon-stackable-window-private.h
6076 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6078 * examples/hildon-app-menu-example.c (create_menu):
6079 * examples/hildon-hvolumebar-insensitive-example.c (main):
6080 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6081 * examples/hildon-toolbar-seekbar-example.c (main):
6082 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6083 * src/hildon-banner.c (hildon_banner_set_property):
6084 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6085 Fix compilation warnings
6087 * src/hildon-window.c:
6090 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6092 * src/hildon-stackable-window.c
6093 (hildon_stackable_window_unset_program):
6094 Calculate correctly whether to show the previous window if the
6095 last one is removed from the stack.
6096 (hildon_stackable_window_go_to_root_window):
6097 Send delete events starting from the topmost window.
6098 Stop if one of the windows is not destroyed.
6100 (hildon_stackable_window_delete_event)
6101 (hildon_stackable_window_class_init):
6102 Ignore the delete event if the window is not the topmost one.
6104 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6106 * src/hildon-pannable-area.c
6107 (hildon_pannable_area_expose_event): Fixed a problem when
6108 selecting the background color of the scrollbars.
6110 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6112 * examples/hildon-stackable-window-example.c
6113 * src/hildon-stackable-window.c
6114 * src/hildon-stackable-window.h
6115 hildon_stackable_window_go_home() renamed to
6116 hildon_stackable_window_go_to_root_window()
6117 Send delete events to windows rather than closing them with
6118 gtk_widget_destroy()
6120 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6122 * src/hildon-pannable-area.c
6123 (hildon_pannable_area_button_release_cb): Fix overshooting in
6126 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6128 * src/hildon-pannable-area.c
6129 (hildon_pannable_area_init): Initially show the scroll indicators.
6130 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6132 Add initial effect showing the widget is pannable.
6134 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6136 * src/hildon-pannable-area.c
6137 (hildon_pannable_area_class_init)
6138 (hildon_pannable_area_set_property)
6139 (hildon_pannable_area_get_property)
6140 (hildon_pannable_area_button_press_cb):
6141 New 'velocity_fast_factor' property to decide which velocity is
6144 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6146 * src/hildon-pannable-area.c
6147 (hildon_pannable_draw_hscroll)
6148 (hildon_pannable_draw_vscroll):
6149 Use float variables to calculate the size of the scrollbars to
6150 avoid error propagation and resizing during scrolling.
6152 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6154 * src/hildon-pannable-area.c
6155 (hildon_pannable_draw_vscroll)
6156 (hildon_pannable_draw_hscroll):
6157 Define a minimum size for the scroll bars
6159 * src/hildon-stackable-window.c
6160 (hildon_stackable_window_go_home): Fix compilation warning
6161 (get_last_window): Minor optimizations
6162 (hildon_stackable_window_class_init): Fix initialization of
6165 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6167 * src/hildon-stackable-window.c: Fixed typos in doc
6169 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6171 * src/hildon-pannable-area.c
6172 (hildon_pannable_area_scroll):
6173 Calculate here whether we need to scroll instead of using the booleans
6174 that tell us whether to /draw/ the scrolling bars.
6176 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6178 * src/hildon-app-menu.h
6180 * src/hildon-app-menu.c
6181 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6182 multiple filter groups related code and API. Now we support only
6184 * examples/hildon-app-menu-example.c:
6186 Update to reflect API changes.
6188 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6190 * src/hildon-stackable-window.c
6191 (hildon_stackable_window_class_init):
6192 Add hildon_stackable_window_realize.
6193 (hildon_stackable_window_realize):
6194 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6195 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6196 to apply theming and behavior specific to HildonStackableWindow
6199 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6201 * src/hildon-note.c (hildon_note_button_release):
6202 Close information notes also when tapping on them
6204 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6206 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6207 ELASTICITY, refactor and review, fix some issues with drawing
6210 * src/hildon-pannable-area.c:
6211 (hildon_pannable_area_button_press_cb): removed the conditions to
6212 avoid clicks when overshooting. It is not required
6214 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6215 define. Refatored and reviewed the code, now we do not need to
6216 manage velocity in motion_notify.
6218 (hildon_pannable_area_motion_notify_cb): We have moved the code
6219 that controls the area_scroll to the axis_scroll function and get
6220 rid of duplicated code.
6222 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6224 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6226 (hildon_pannable_draw_vscroll),
6227 (hildon_pannable_draw_hscroll): Fixed the problems with the
6228 scrollbar drawing, now we do not use two surfaces, it is easier
6229 and saves resources.
6231 (hildon_pannable_area_get_property): Style modification.
6233 (hildon_pannable_area_class_init): Changed some default values.
6235 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6237 * src/hildon-stackable-window.c: Fix some typos in the
6240 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6242 * src/hildon-dialog.c:
6243 Change indentation style
6246 (hildon_note_button_release):
6247 Use root coordinates to check if the release event happened
6250 * src/hildon-app-menu.c
6251 (hildon_app_menu_button_release):
6252 Remove unnecessary check
6254 * examples/hildon-app-menu-example.c
6256 Add cast to fix warning
6258 * src/hildon-app-menu.c
6259 (hildon_app_menu_class_init):
6260 New inner-border style property.
6261 Set all default spacings to 16
6262 (hildon_app_menu_init):
6263 Use vertical-spacing to set the space between filter buttons and
6264 regular menu buttons.
6265 Set the default container border using the inner-border value.
6267 * examples/hildon-app-menu-example.c
6269 Don't set the menu border explicitly, now we have the inner-border
6270 style property for that.
6272 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6274 * src/hildon-app-menu.c (hildon_app_menu_init):
6275 Make the window modal
6277 * src/hildon-note.c (hildon_note_map)
6278 * src/hildon-app-menu.c (hildon_app_menu_map):
6279 Destroy the grab window if we're unable to grab the pointer
6281 * src/hildon-app-menu-private.h
6282 * src/hildon-app-menu.c
6283 (hildon_app_menu_init, hildon_app_menu_finalize)
6284 (hildon_app_menu_map, hildon_app_menu_unmap)
6285 (hildon_app_menu_button_release)
6286 (grab_transfer_window_get):
6287 Bring back the grab window
6288 (hildon_app_menu_realize):
6289 Decorate the window, set WM hint for Matchbox
6291 * src/hildon-note.c (hildon_note_realize):
6292 * src/hildon-banner.c (hildon_banner_realize):
6293 Add WM hints for Matchbox
6295 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6297 * src/hildon-app-menu-private.h
6298 * src/hildon-app-menu.c
6299 (hildon_app_menu_init, hildon_app_menu_finalize)
6300 (hildon_app_menu_map, hildon_app_menu_unmap)
6301 (hildon_app_menu_button_release):
6302 Remove the grab window, it's not needed anymore
6304 * src/hildon-program.c
6305 Fixed typo in documentation
6307 * src/hildon-app-menu.h
6308 * src/hildon-app-menu.c
6309 * examples/hildon-app-menu-example.c
6310 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6312 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6315 Added new transfer_window and close_if_pressed_outside private
6317 (hildon_note_rebuild):
6318 Don't add a cancel button to the information note. It will be
6319 closed when tapping outside
6320 Remove the comment about the OK button in the documentation
6321 (hildon_note_realize):
6322 Set the notification type hint
6323 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6324 Grab/ungrab pointer and keyboard if the note has to be closed when
6326 (hildon_note_button_release):
6327 Close the note when tapping outside (if applicable)
6329 * src/hildon-app-menu.c
6330 Grab/ungrab pointer and keyboard on map/unmap
6331 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6332 Close the menu on button release, not button press
6334 * src/hildon-banner.c
6335 (hildon_banner_set_property)
6336 (hildon_banner_check_position):
6337 Make the banner use the full width of the screen
6338 (hildon_banner_show_information)
6339 (hildon_banner_show_information_with_markup):
6340 Don't display an icon by default
6342 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6344 Added fading scrollbars and adapted all the overshooting code to
6345 horizontal scrolling. We have also fixed bugs with overshooting
6346 and current fading implementation.
6348 * src/hildon-pannable-area.c
6349 (hildon_pannable_area_scroll_indicator_fade): Time out function
6350 used to change the transparency of the scrollbars.
6352 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6353 control and fixed a problem with fading, we now remove the fade
6354 timeout before adding a new one.
6356 (hildon_pannable_axis_scroll):
6357 (hildon_pannable_area_scroll):
6358 (hildon_pannable_area_timeout): Added this functions so we can use
6359 the scroll code both for vertical and horizontal.
6361 (hildon_pannable_area_motion_notify_cb):
6362 (hildon_pannable_area_button_release_cb): Added the horizontal
6363 scrolling control, fixed a problem with the overshooting timeout.
6365 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6366 painting of the scrolls.
6368 (hildon_pannable_draw_vscroll):
6369 (hildon_pannable_draw_hscroll):
6370 (hildon_pannable_area_expose_event):
6371 Draw both scrollbars and rectangles in the overshooting area.
6373 (hildon_pannable_area_get_property):
6374 (hildon_pannable_area_set_property):
6375 Modified the overshoot property to overshoot_max
6377 (hildon_pannable_area_map):
6378 Replaced the comments symbols.
6380 (hildon_pannable_area_size_allocate):
6381 (hildon_pannable_area_class_init):
6382 (hildon_pannable_area_init): Added horizontal scroll, fading
6383 effect properties, fixed a problem when overshooting in the bottom
6386 * examples/hildon-pannable-area-example.c:
6387 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6388 looks better in the example.
6390 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6392 * src/hildon-window.c
6393 * src/hildon-window.h
6394 (hildon_window_class_init)
6395 (hildon_window_unset_program)
6396 (hildon_window_unset_program_real):
6397 Make unset_program a virtual function
6399 * src/hildon-stackable-window.c
6400 * src/hildon-stackable-window.h
6401 Added hildon_stackable_window_go_home()
6403 * examples/Makefile.am
6404 * examples/hildon-stackable-window-example.c
6405 HildonStackableWindow example
6407 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6409 * hildon-pannable-area.c: Added the overshoot property and removed
6410 the OVERSHOOT define. Fixed an indent style error.
6411 (hildon_pannable_area_motion_notify_cb):
6412 (hildon_pannable_area_get_property):
6413 (hildon_pannable_area_set_property): Add overshoot property.
6415 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6418 (hildon_pannable_area_class_init): Installed the new property.
6420 * hildon-pannable-area-example.c: Added a sawtooth function, this
6421 way it is easier to check the movement in the pannable.
6422 (get_sawtooth_label): Added this function.
6423 (main): Now we get the labels from the new get_sawtooth_label
6426 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6428 * src/hildon-app-menu.h
6429 * src/hildon-app-menu.c
6430 Renamed API variables for consistency
6432 (hildon_app_menu_popup): Use also the default window size to
6433 decide where to place the menu
6435 (hildon_app_menu_init, hildon_app_menu_class_init): New
6436 external-border style property
6438 2008-05-26 Michael Natterer <mitch@imendio.com>
6440 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6441 widget_class->tap_and_hold_setup signal slot doesn't exist any
6442 longer, stop overriding it.
6444 (hildon_time_editor_init): g_signal_connect() to the
6445 tap-and-hold-setup signal instead.
6447 (hildon_time_editor_entry_keypress): add cast to fix warning.
6449 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6451 * doc/hildon-docs.sgml
6453 * examples/Makefile.am
6454 * examples/hildon-app-menu-example.c
6456 * src/hildon-app-menu-private.h
6457 * src/hildon-app-menu.c
6458 * src/hildon-app-menu.h
6460 New HildonAppMenu widget
6462 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6464 Rearranged the inheritance of the pannable area, now it inherits
6465 from GtkBin. This will allow us to control the event_window and
6466 the allocation process of the widget, required for some effects.
6468 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6469 GtkBin structures. * src/hildon-pannable-area.c: Added the
6470 event_window variable.
6471 (hildon_pannable_area_button_press_cb):
6472 (hildon_pannable_area_button_release_cb):
6473 (hildon_pannable_area_motion_notify_cb):
6474 Changed the signature of the method, now we override the event
6475 callback instead of connecting to the signal.
6477 (hildon_pannable_area_realize):
6478 (hildon_pannable_area_unrealize):
6479 (hildon_pannable_area_map):
6480 (hildon_pannable_area_unmap):
6481 (hildon_pannable_area_size_allocate):
6482 Added functions to control the widget construction. We add a
6483 INPUT_ONLY window and we put it over the widgets inside the
6484 container, this event_window handles the events.
6486 (hildon_pannable_area_class_init):
6487 Replaced the signal connections with overrides of the event
6490 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6492 Bouncing effect added when touching the borders, you can change
6493 the elasticity of the border changing the ELASTICITY define.
6495 * src/hildon-pannable-area.c: Added ELASTICITY define.
6496 (hildon_pannable_area_timeout): Added inverse velocity when
6497 touching the border of the child widget, that causes a bounce.
6499 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6501 Improved performance, we now do not go to the X server in order to
6502 get the list of window children. Apparently the effect is the
6503 same, we have to be careful and check if this breaks something in
6506 * src/hildon-pannable-area.c:
6507 (get_ordered_children): Removed this function.
6508 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6509 the children windows function with gdk_window_get_children.
6511 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6513 * src/hildon-pannable-area.c:
6514 (hildon_pannable_area_dispose): Fixed a crash when closing the
6515 window and kinetics is activated.
6517 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6519 * src/hildon-pannable-area.h
6520 * src/hildon-pannable-area.c
6521 Changed indentation style to meet the one used in Hildon
6523 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6525 Reviewed the interaction of the AUTO mode, now we use the time
6526 attribute of the events and calculate the velocity in the motion,
6527 doing a gimp like calculation. The velocity is calculated in each
6528 motion event using the last velocity and the current one, the
6529 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6531 * src/hildon-pannable-area.c: Replaced the time based algorithm
6533 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6534 timeout for the AUTO mode when we are still moving the cursor. We
6535 added also the velocity calculation in this function.
6536 (hildon_pannable_area_button_release_cb): launch the timeout in
6537 case we are in AUTO mode. There are still some constants here that
6538 come from the old implementation that should be reviewed and
6541 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6543 * doc/hildon-docs.sgml
6546 * src/hildon-stackable-window.c
6547 * src/hildon-stackable-window.h
6549 New HildonStackableWindow widget
6551 * examples/hildon-dialog-example.c
6552 * examples/hildon-pannable-area-example.c
6555 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6557 * src/hildon-dialog.c
6558 (hildon_dialog_new_with_buttons): New constructor.
6560 * examples/hildon-dialog-example.c
6561 (main): Update the example to use the new
6562 hildon_dialog_new_with_buttons().
6564 * examples/hildon-pannable-area-example.c
6565 (main): Update example.
6567 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6569 * doc/hildon-docs.sgml
6571 Added HildonPannableArea to the documentation.
6573 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6575 * doc/visual_index.xml
6576 Fix reference to HildonLoginDialog in documentation
6578 * doc/hildon-docs.sgml
6580 * examples/Makefile.am
6581 * examples/hildon-dialog-example.c
6583 * src/hildon-dialog.c
6584 * src/hildon-dialog.h
6586 New HildonDialog widget.
6588 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6590 * src/hildon-pannable-area.c
6591 Merge latest changes (r4318, r4342) from libmokoui trunk
6593 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6595 * examples/Makefile.am
6596 * examples/hildon-pannable-area-example.c
6598 * src/hildon-pannable-area.c
6599 * src/hildon-pannable-area.h
6601 New HildonPannableArea widget.
6603 2008-04-15 18:05:19 <timj@imendio.com>
6605 * src/hildon-banner.c: revert the recent change, that introduced
6606 gtk_window_present() calls. this reopens:
6607 Bug 78481 - [freetest] information banners are hidden under browser menu
6608 But resolves another variant of:
6609 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6611 2008-04-15 13:21:13 <timj@imendio.com>
6613 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6614 recreated its layout, spotted by Kris. this fixes all remaining
6615 artefacts and stability issues with the banner code. in particular:
6616 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6618 2008-04-14 16:52:59 <timj@imendio.com>
6620 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6621 operating on unrealized widgets, fixes:
6622 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6624 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6626 2008-04-09 Kristian Rietveld <kris@imendio.com>
6628 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6629 makes banner disappear.
6630 Fixes: NB#79182: info banner flickering with certain message lengts.
6632 * src/hildon-banner.c (hildon_banner_constructor),
6633 (hildon_banner_init), (hildon_banner_set_text),
6634 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6635 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6636 FALSE, reset size requests of label and banner,
6637 (force_to_wrap_truncated): when the text is too wide, always enforce
6638 the maximum possible width instead of recalculating it from the
6639 layout; enforce the maximum banner height of 3 lines,
6640 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6641 nicer wrapping and no truncated chars if space gets tight.
6643 * src/hildon-banner-private.h: add has_been_wrapped and
6644 has_been_truncated fields.
6646 2008-04-07 Sven Herzberg <sven@imendio.com>
6648 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6649 local values in hildon_date_editor_size_allocate
6651 * src/hildon-date-editor.c: moved the real allocation code into the
6654 2008-04-07 Sven Herzberg <sven@imendio.com>
6656 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6657 local values in hildon_date_editor_size_allocate
6659 * src/hildon-date-editor.c: merged the two if() branches together
6661 2008-04-07 Sven Herzberg <sven@imendio.com>
6663 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6664 local values in hildon_date_editor_size_allocate
6666 * src/hildon-date-editor.c: changed the arguments of the if()
6669 2008-04-07 Sven Herzberg <sven@imendio.com>
6671 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6672 local values in hildon_date_editor_size_allocate
6674 * src/hildon-date-editor.c: split the calculation of the allocation
6675 from the real allocation
6677 2008-03-27 Michael Natterer <mitch@imendio.com>
6679 Fixes: NB#81696: The passcode is not overwritten even after
6682 * src/hildon-code-dialog.c
6683 (hildon_code_dialog_button_clicked)
6684 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6685 because that doesn't overwrite selected text. Instead, emit the
6686 "commit" signal on the entry's im_context so the entry's normal
6687 insert logic is triggered. Set the cursor to the end of the entry
6688 after each insert operation so that we *only* insert in the middle
6689 of the text if something was selected.
6691 2008-03-27 Michael Natterer <mitch@imendio.com>
6693 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6694 selector cannot be opened
6696 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6697 when the popup color selector is created. Please connect to this
6698 signal in order to set the dialog's help ID.
6700 2008-03-25 Sven Herzberg <sven@imendio.com>
6702 Fixes: MB#1212: Hide info banners (infoprints) on click
6704 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6705 extracted the close event simulation into an extra function
6706 (hildon_banner_button_press_event): simulate a close event and destroy
6707 the widget if the event wasn't handled
6708 (hildon_banner_class_init): added the button_press_event handler
6709 (hildon_banner_init): added button-press events to the widget
6711 2008-03-25 Sven Herzberg <sven@imendio.com>
6713 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6714 Patch from: Mohammad Anwari <mdamt@maemo.org>
6716 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6717 instead of the right in RTL mode
6718 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6719 breadcrumb button list in RTL mode
6720 * src/hildon-caption.c: mirror the appearance of the caption widget in
6722 * src/hildon-date-editor.c: mirror appearance of the date editor in
6724 * src/hildon-time-editor.c: mirror appearance of the time editor in
6726 * src/hildon-window.c: fix the position of the popup in RTL mode
6728 2008-03-25 Sven Herzberg <sven@imendio.com>
6730 Amendment to the fix of NB#22072. Fix compilation.
6732 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6734 2008-03-19 Sven Herzberg <sven@imendio.com>
6736 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6739 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6740 timeout id properly when the timeout will disappear this leaves no
6741 artifacts around in the destroy(); there will only be the timeout
6742 created by hildon_banner_ensure_timeout() and adding a new timeout
6743 will also work if the timeout gets removed because the timeout_handler
6746 2008-03-19 Michael Natterer <mitch@imendio.com>
6748 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6750 * src/hildon-volumebar.c
6751 * src/hildon-vvolumebar.c
6752 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6753 the widget becomes focussable at all.
6755 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6756 set the focus to wither the mute button or the volumebar.
6758 Remove own "can-focus" property and instead listen to
6759 notify::can-focus in order to update the widget's state.
6761 Implement GtkWidget::focus() and make sure we can also *leave* the
6762 widget, not only enter it, depending on volumebar orientation and
6763 requested focus direction.
6765 Clean up set_mute() to cooperate nicely with all the above.
6767 2008-03-04 Michael Natterer <mitch@imendio.com>
6769 Fixes: NB#78481: information banners are hidden under browser menu
6771 * src/hildon-banner.c: call gtk_window_present() on the banners so
6772 they are risen if they are already visible.
6774 2008-03-03 Sven Herzberg <sven@imendio.com>
6776 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6778 * examples/hildon-window-menu-example.c: (main): extended the window
6779 menu example to serve as a testcase for automatically added
6780 accelerator groups, too
6781 * src/hildon-window.c: (hildon_window_add_accel_group),
6782 (hildon_window_set_menu): added patch by Tommi Komulainen
6784 2008-03-03 Sven Herzberg <sven@imendio.com>
6786 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6788 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6789 knowledge about the border allocators used within GTK+
6791 2008-02-26 Sven Herzberg <sven@imendio.com>
6793 Fixes: MB#2981: Build with asserts broken
6795 * src/hildon-date-editor.c,
6796 * src/hildon-number-editor.c,
6797 * src/hildon-time-editor.c,
6798 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6799 the proper GType instance check
6801 2008-02-25 Sven Herzberg <sven@imendio.com>
6803 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6805 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6806 * examples/hildon-window-menu-example.c: (main): explicitly show
6808 * src/hildon-window.c:
6809 (hildon_window_set_main_menu): moved most of the code from set_menu()
6810 to this place; skipped the call to gtk_widget_show_all(); also didn't
6811 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6812 (hildon_window_set_menu): removed most of the code, just keep the
6813 questionable gtk_widget_show_all()
6814 * src/hildon-window.h: added the new function and deprecate the old
6817 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6823 * debian/changelog: Updating.
6825 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6828 * pkgconfig/Makefile.am:
6829 * pkgconfig/hildon.pc.in:
6832 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6833 use newly created API_MAJOR_VERSION.
6835 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6841 * debian/changelog: Updating.
6843 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6845 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6847 Add outer_border style property, we use it but don't define it (!).
6851 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6853 * examples/hildon-bread-crumb-trail-example.c (main):
6857 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6859 Fix logic for the bread crumb trail node removal.
6863 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6869 * debian/changelog: Updating.
6871 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6873 Patch by Alejandro to get/set passwords dialogs accesibility.
6875 * hildon-1/src/hildon-get-password-dialog.c:
6876 * hildon-1/src/hildon-set-password-dialog.c:
6877 Set atk_set_name to the passwd entries in order to allow
6878 accessibility by name on this entries.
6880 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6885 * debian/control: Updating gtk dep.
6887 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6889 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6890 USE_MAEMO_GTK is enabled.
6892 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6894 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6895 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6897 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6903 * debian/changelog: Updating.
6905 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6907 * examples/Makefile.am:
6908 * examples/hildon-logical-color-example.c:
6909 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6910 applied + adding a test case. Fixes: NB#71660.
6912 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6914 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6915 to be visible, fixes warning on map for windows without toolbars.
6917 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6919 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6920 2.11.0, add a check for that besides the MAEMO_GTK check.
6922 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6928 * debian/changelog: Updating.
6930 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6932 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6933 visibility. Fixes: NB#70842 and MB#615.
6935 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6937 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6938 set the separator as no-show-all so it doesn't unintentionally appear when
6939 someone does a show_all.
6941 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6943 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6944 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6945 toplevel item. Fixes: NB#62031
6947 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6949 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6950 fix the name of the function in the docs.
6952 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6958 * debian/changelog: Updating.
6960 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6962 * examples/hildon-banner-long-example.c: Adding a test-case for long
6965 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6967 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6969 * src/hildon-color-chooser-dialog.c:
6970 * src/hildon-color-chooser.c:
6971 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6972 memory leaks in font selector and color selector. Fixes: NB#70499 and
6975 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6977 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6979 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6981 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6982 little bit bigger. Fixes: #NB63694.
6984 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6990 * debian/changelog: Updating.
6992 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6995 * doc/hildon-docs.sgml:
6996 * doc/images/bread-crumb-trail.png:
6997 * doc/images/calendar-popup.png:
6998 * doc/images/caption.png:
6999 * doc/images/code-dialog.png:
7000 * doc/images/color-button.png:
7001 * doc/images/color-chooser-dialog.png:
7002 * doc/images/color-chooser.png:
7003 * doc/images/controlbar.png:
7004 * doc/images/date-editor.png:
7005 * doc/images/font-selection-dialog.png:
7006 * doc/images/get-password-dialog.png:
7007 * doc/images/hvolumebar.png:
7008 * doc/images/login-dialog.png:
7009 * doc/images/note.png:
7010 * doc/images/number-editor.png:
7011 * doc/images/range-editor.png:
7012 * doc/images/seekbar.png:
7013 * doc/images/set-password-dialog.png:
7014 * doc/images/sort-dialog.png:
7015 * doc/images/time-editor.png:
7016 * doc/images/time-picker.png:
7017 * doc/images/vvolumebar.png:
7018 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7019 Adding the bread-crumb-trial and helpers to the documentation.
7021 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7023 * examples/hildon-find-toolbar-example.c:
7024 * src/hildon-find-toolbar.c:
7025 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7026 actually continue firing the other handlers if connected. Adding a new
7028 hildon_find_toolbar_get_last_index that gets the index of the most
7029 recently added (last) item. Fixes: NB#52301.
7031 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7033 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7034 behaviour. Fixes: NB#68610.
7036 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7038 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7041 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7043 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7044 when realizing the banner. Should make the infonbanner effect a bit more
7047 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7049 * src/hildon-volumebar.c:
7050 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7051 hildon_volumebar_set_range_insensitive_message and
7052 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7054 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7056 * src/hildon-window.c: Fixing the border freeing on destroy.
7058 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7060 * src/hildon-code-dialog-private.h:
7061 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7062 kw keyboard support in HildonCodeDialog.
7064 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7070 * debian/changelog: Updating.
7072 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7074 * src/hildon-date-editor.c:
7075 * src/hildon-number-editor.c:
7076 * src/hildon-private.c:
7077 * src/hildon-private.h:
7078 * src/hildon-time-editor.c:
7079 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7080 handling in subclassed composite widgets. Fixes: NB#66628.
7082 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7084 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7085 from destroy_ callback as it introduces problems in async dbus signal
7086 handlers. Fixes NB#66673.
7088 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7090 * examples/hildon-hvolumebar-example.c:
7091 * src/hildon-volumebar.c: Improving the focus handling in the
7092 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7093 set_property accessor so that "mute" property can be actually set. I'm
7094 scared that nobody noticed it's totally broken.
7096 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7098 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7101 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7103 * src/hildon-calendar.c:
7104 * src/hildon-number-editor.c:
7105 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7106 matches the spec of 6 chars per second. Fixes: NB#60489.
7108 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7110 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7111 gtk_style_lookup_color sometime returns FALSE even though color was
7112 found and values were filled properly. Weird. Removing the warning for the
7115 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7117 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7118 expand vertically. Adding some extra space to the find toolbar buttons to
7119 make them thumbable. Fixes NB#66060.
7121 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7123 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7124 popup with "Ok" and "Cancel". Fixes NB#59299.
7126 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7128 * src/hildon-calendar.c: Process all window updates before executing next
7129 timeout. Fixes: NB#54146.
7131 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7137 * debian/changelog: Updating.
7139 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7141 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7142 the client event and ignore it, since we use the delete event to close
7145 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7147 * src/hildon-helper.c: Remove the bogus warning about color not being
7148 found. Fixes NB#58352.
7150 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7152 * examples/Makefile.am:
7153 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7154 HildonSeekbar widget inside a toolbar.
7156 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7158 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7159 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7160 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7161 don't want to be closed by non-temporary windows on map.
7163 Also use G_DEFINE_TYPE instead of manually typed code.
7165 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7172 * debian/rules: Updating.
7174 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7176 * examples/Makefile.am:
7177 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7178 bug NB#61128. Strangely it works.
7180 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7182 * src/hildon-date-editor.c: When the date editor entry has been changed
7183 but the numbers of characters < max, turn off the skip validation flag.
7184 Prevents a situation when we enter first a valid year and later re-write
7185 it with an invalid one. Fixes NB#60154.
7187 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7189 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7190 code dialog. Fixes NB#64355.
7192 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7194 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7195 switching the page. Fixes NB#49374.
7197 * examples/Makefile.am:
7198 * examples/hildon-wizard-dialog-example.c: Adding an example for
7199 HildonWizardDialog that shows how to handle manual sensitivity setting on
7202 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7206 * src/hildon-version.h.in:
7207 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7209 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7211 * src/hildon-volumebar.c: Updating the docs.
7213 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7219 * debian/changelog: Updating.
7221 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7223 * src/hildon-find-toolbar.c:
7224 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7225 selected item: hildon_find_toolbar_set_active,
7226 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7227 hildon_find_toolbar_get_active_iter . They correspond to respective
7228 GtkComboBox functions.
7230 * examples/Makefile.am:
7231 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7234 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7236 * examples/Makefile.am:
7237 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7240 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7241 when font size > 32 and we pack a focusable widget inside. Actually using
7242 the default response would work too, but since we don't show default
7243 response state in any way (no theming) it would not be visible to the
7244 user. Fixes NB#63430.
7246 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7248 * src/hildon-date-editor.c: Adding the missing variable setter in the
7249 set_property handler. Fixes NB#54182.
7251 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7253 * src/hildon-window.h: Changing the long key press time from 1500ms to
7254 800ms as requested in NB#63700. I have a bad feeling about this, let's
7255 see... Fixes NB#63700.
7257 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7259 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7260 hildon_time_picker_map, hildon_time_picker_realize,
7261 hildon_time_picker_style_set): Split the contents of map to more
7262 appropriate functions; set window decorations on realize and update
7263 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7265 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7270 * debian/changelog: Updating.
7272 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7274 * src/Makefile.am: fixed installation of the header files
7276 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7282 * debian/changelog: Updating.
7284 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7286 * configure.ac: Removing some remaining of --enable-xan.
7288 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7290 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7291 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7293 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7294 2.10.12-osso6 because the move-focus signal needs to be available in
7297 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7299 * examples/Makefile.am:
7300 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7301 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7302 fine. Prolly NB#61128 is fixed now.
7304 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7306 * src/hildon-volumebar.c:
7307 * src/hildon-volumebar.h: Adding the
7308 hildon_volumebar_set_range_insensitive_message and
7309 hildon_volumebar_set_range_insensitive_messagef functions to set
7310 insensitive message on the slider of the volumebar. Fixes NB#61129.
7312 * examples/Makefile.am:
7313 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7314 test the new insensitive messsage functionality on HildonVolumebar.
7316 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7318 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7321 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7323 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7324 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7325 button on after clearing the trail.
7327 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7329 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7331 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7333 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7334 by splitting the installed headers in generated and non-generated groups. Use
7335 only the non-generated headers to create the hildon-enum-types.h file.
7337 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7339 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7341 * src/hildon-window.c: Hide the window before performing the destroy.
7342 Should make the app closing a little tiny bit more snappy.
7344 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7346 * src/hildon-seekbar.c: add gtkrange.h header
7347 * src/hildon-caption.c: remove unused variable
7349 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7351 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7354 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7360 * debian/changelog: Updating.
7362 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7364 * src/hildon-window.c (hildon_window_window_state_event,
7365 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7366 escape timeout on focus-out-event rather than notify::is-topmost; the
7367 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7369 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7371 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7372 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7374 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7376 * src/hildon-window: actually, you need to use the macro always, there's
7377 no private pointer in the instance structure. We should have cleaned this up
7378 when we had the chance...
7380 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7382 * src/hildon-window.c: do not get the private date from HildonWindow before
7383 it passes the g_return_if_fail check. Once it's passed the test, there's no
7384 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7385 if you are only going to access the data once. Whitespace cleanups.
7387 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7389 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7390 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7392 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7398 * debian/changelog: Updating.
7400 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7402 * src/hildon-window.c: When destroying the window, remove (if exists) the
7403 escape timeout handler. Fixes #NB59276.
7405 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7407 * src/hildon-banner.c: When realizing the widget, set the window
7408 transiency. Setting the transiency in the gobject constructor is not
7409 good, as the widget is not realized at that point. Fixes: #NB56624.
7411 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7413 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7414 Add padding for future expansions.
7416 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7418 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7419 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7420 will fake an activation on the previous to the last item of the trail, so
7421 the effect can be overrided by the developer as usual.
7422 Also change the callback for the back button to do the same thing, so its
7423 effect can be overrided too. Fixes: NB#58982
7425 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7427 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7428 HildonCaption. Fixes NB#52379.
7430 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7432 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7433 the internal state of the trail after the user has had the chance of executing
7434 his handler for the signal. Specifically, it may happen that the activated button
7435 is removed and the user still lets the default handler run. This would segfault
7438 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7440 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7441 scrollbar to the preview dialog. Fixes NB#54147.
7443 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7445 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7446 max/min year properties can be altered, so the client can modify it
7447 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7449 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7451 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7452 hildonlike by default. Fixing a problem with disappearing arrows when
7453 scrolling through months and years. Fixes NB#54127.
7455 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7457 * examples/hildon-date-editor-example.c: Adding error callback to the date
7460 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7466 * configure.ac: Updating.
7468 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7470 * configure.ac: Adding a special '--enable-xan' configure option that
7471 turns off the -Werror compilation setting. Usefull for development.
7473 * src/hildon-calendar.c:
7474 * src/hildon-number-editor.c:
7475 * src/hildon-time-picker.c: Adding the 5* multiplier to
7478 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7480 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7481 instead of g_object_ref + gtk_object_sink.
7483 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7489 * debian/changelog: Updating.
7491 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7493 * src/hildon-color-chooser-dialog.c:
7494 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7495 straight from Tommi labs.
7497 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7499 * examples/hildon-finger-example.c: Correcting the header file path.
7501 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7502 the changed signal. Fixes a small memory leak.
7504 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7508 * src/hildon-banner.c: Importing several usefull fixes from the
7509 ubuntu-mobile branch.
7511 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7513 * examples/Makefile.am:
7514 * examples/hildon-finger-example.c: Adding a finger-checking code
7517 * src/hildon-font-selection-dialog.c: Do not allocate the color
7518 structure using the g_new. Fixes NB#54061.
7520 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7522 * src/hildon-helper.c: Correcting tabs in file.
7524 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7526 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7527 control the visibility of the children.
7529 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7531 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7537 * debian/changelog: Updating.
7539 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7541 * src/hildon-bread-crumb-trail.c:
7542 (hildon_bread_crumb_trail_size_allocate):
7544 Make the back button always a square.
7546 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7548 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7549 from the .c file as it's a private file.
7551 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7553 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7554 uses slightly bigger height.
7556 * src/hildon-font-selection-dialog.c: Adding some checks before
7557 freeing memory in the font selection dialog.
7559 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7561 * src/hildon-font-selection-dialog.c: Adding a small check when
7564 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7565 buttons sensitivity on page switching.
7567 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7569 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7570 internal details of adding a bread crumb to the trail.
7572 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7578 * debian/changelog: Updating.
7580 * src/hildon-bread-crumb-trail.h:
7581 * src/hildon-bread-crumb.h: Changing the API guard to
7582 HILDON_ENABLE_UNSTABLE_API.
7584 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7592 * src/hildon-helper.h: Updating.
7594 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7602 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7606 * src/hildon-helper.h: Small fix to make the package actually compile.
7608 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7610 * src/hildon-bread-crumb-trail.h:
7611 * src/hildon-bread-crumb.h:
7613 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7614 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7616 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7618 * examples/hildon-bread-crumb-trail-example.c:
7620 * src/hildon-bread-crumb-trail.c:
7621 * src/hildon-bread-crumb-trail.h:
7622 * src/hildon-bread-crumb.c:
7623 * src/hildon-bread-crumb.h:
7624 * src/hildon-marshalers.list:
7625 * src/hildon-bread-crumb-widget.c:
7626 * src/hildon-bread-crumb-widget.h:
7628 Slight change in the widget design. The bread crumb trail API is
7629 unchanged, but HildonBreadCrumb is now an interface. A *private*
7630 implementation, hildon-bread-crumb-widget, is provided and used
7631 internally by the trail for the push_text/push_icon functions.
7633 The generic push API is still available, so anyone can implement
7634 and use its own bread crumb widget.
7636 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7638 * debian/rules: Fixing the shlibs.
7640 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7642 * src/hildon-banner.c: Fixing a problem with timed banners having
7643 their parrent destroyed before they are.
7645 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7647 * src/hildon-bread-crumb.c:
7648 * src/hildon-bread-crumb.h:
7650 Make the get_natural_size function a vfunc.
7652 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7654 * src/hildon-bread-crumb.c:
7655 * src/hildon-bread-crumb-trail.c:
7659 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7666 * debian/changelog: Updating for release.
7668 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7670 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7671 don't leak the pango layout.
7673 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7676 * examples/hildon-bread-crumb-trail-example.c:
7680 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7682 * debian/changelog: Removing the bug-fixed entries that were actually
7683 resolved as WONTFIX.
7685 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7688 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7690 * src/hildon-bread-crumb-trail.c:
7691 * src/hildon-bread-crumb-trail.h:
7692 * src/hildon-bread-crumb.c:
7693 * src/hildon-bread-crumb.h:
7697 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7699 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7700 until it's passed the type check.
7702 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7704 * examples/hildon-bread-crumb-trail-example.c
7708 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7710 * examples/Makefile.am
7711 * examples/hildon-bread-crumb-trail-example.c
7713 * src/hildon-bread-crumb-trail.c
7714 * src/hildon-bread-crumb-trail.h
7715 * src/hildon-bread-crumb.c
7716 * src/hildon-bread-crumb.h
7718 New HildonBreadCrumbTrail widget.
7720 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7722 * src/hildon-range-editor.c (hildon_range_editor_init),
7723 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7724 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7725 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7726 hildon_time_editor_class_init, hildon_time_editor_init),
7727 src/hildon-get-password-dialog.c (invalid_input,
7728 hildon_get_password_set_property, hildon_get_password_get_property,
7729 create_contents, hildon_get_password_dialog_set_max_characters),
7730 src/hildon-set-password-dialog.c (create_contents),
7731 src/hildon-date-editor.c (hildon_date_editor_init),
7732 src/hildon-login-dialog.c (hildon_login_dialog_init),
7733 src/hildon-number-editor.c (hildon_number_editor_init),
7734 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7735 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7736 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7737 configure option and adding the respective checks in the code.
7738 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7739 hildon_calendar_drag_data_received): fixed some build warnings.
7741 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7743 * debian/changelog: A 1.0.0 release notes.