1 2009-04-20 Alberto Garcia <agarcia@igalia.com>
3 * examples/hildon-progress-indicator-example.c: Fix example
5 * src/hildon-gtk.c (set_clear_window_flag)
6 (hildon_gtk_window_set_progress_indicator):
7 Create a generic function for setting flags to a window.
8 Use GDK instead of direct Xlib calls.
10 2009-04-14 Alberto Garcia <agarcia@igalia.com>
12 * src/hildon-button.c (hildon_button_set_arrangement):
13 Due to NB#88126, if one of the labels is too long it will be
14 painted outside the button. The 'value' label is more likely to be
15 the longest one, so we change its packing options in order to
16 truncate it if necessary. As a side effect, the 'title' label will
17 no longer be truncated.
19 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
21 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
26 * configure.ac: Bump version.
27 * debian/changelog: Updates.
29 2009-04-13 Alejandro G. Castro <alex@igalia.com>
31 Deprecation of the hildon_pannable_area_set_size_request_policy
32 API, the only policy properly supported in gtk+ nowadays is the
35 * src/hildon-pannable-area.c,
36 (hildon_pannable_area_size_request): Added a workaround for the
37 size_request to avoid the problems of huge pixmaps in case someone
38 is still using the function.
39 * src/hildon-pannable-area.h: Deprecated the enum with the
42 Fixes: NB#110244 (Problems with the
43 hildon_pannable_area_set_size_request_policy API)
45 2009-04-08 Alejandro G. Castro <alex@igalia.com>
47 * src/hildon-pannable-area.c,
48 (hildon_pannable_area_init),
49 (hildon_pannable_area_size_request),
50 (hildon_pannable_area_style_set),
51 (hildon_pannable_draw_vscroll),
52 (hildon_pannable_draw_hscroll),
53 (hildon_pannable_area_check_scrollbars): Replaced area_width with
54 indicator_width to clarify the use of the attribute.
56 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
61 * configure.ac: Bump version.
62 * debian/changelog: Updates.
64 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
66 * src/hildon-picker-dialog.c
67 * src/hildon-touch-selector.c
68 Reverting the change that tried to avoid the hardcoded height on
69 the picker dialog, as causes problems on the hildon-touch-selector
72 Fixes: NB#110029 (selectors not scrolling to selected value)
74 2009-04-07 Alberto Garcia <agarcia@igalia.com>
76 * src/hildon-touch-selector.c: Fix typos
78 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
80 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
81 Use the event coordinates instead of gdk_window_get_pointer(). Also,
82 request more motions after using it.
84 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
86 * src/hildon-calendar.c (hildon_calendar_expose),
87 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
88 Remove unused variables.
90 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
92 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
95 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
97 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
98 Check the return value of gtk_tree_selection_get_selected()
101 2009-04-06 Alberto Garcia <agarcia@igalia.com>
103 * src/hildon-animation-actor.c
104 * src/hildon-button.c
106 * src/hildon-pannable-area.c
107 * src/hildon-picker-button.c
108 * src/hildon-program.c
109 * src/hildon-remote-texture.c
110 * src/hildon-text-view.c
111 * src/hildon-touch-selector.c
112 * src/hildon-window-stack.c
113 * src/hildon-window.c:
114 Add missing 'Since: 2.2' tags.
116 * doc/hildon-sections.txt:
117 Add some missing symbols.
119 * doc/hildon-docs.sgml:
120 New 'Other' section for HildonAnimationActor and
123 2009-04-06 Alberto Garcia <agarcia@igalia.com>
125 Patch by Iván Gómez (igomez@igalia.com)
129 * doc/hildon-docs.sgml
130 * doc/hildon-sections.txt
134 New chapters on using the Hildon library.
135 Updated the general structure of the reference manual.
136 Other minor documentation fixes.
138 * src/hildon-calendar-popup.c
139 * src/hildon-calendar.c
140 * src/hildon-controlbar.c
141 * src/hildon-date-editor.c
142 * src/hildon-dialog.c
143 * src/hildon-hvolumebar.c
144 * src/hildon-number-editor.c
145 * src/hildon-range-editor.c
146 * src/hildon-sort-dialog.c
147 * src/hildon-time-editor.c
148 * src/hildon-time-picker.c
149 * src/hildon-volumebar-range.c
150 * src/hildon-volumebar.c
151 * src/hildon-vvolumebar.c
152 * src/hildon-weekday-picker.c:
153 Add deprecation notes
155 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
156 Document 'horizontal-movement' and 'vertical-movement' signals.
158 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
163 * configure.ac: Bump version.
164 * debian/changelog: Updates.
166 2009-04-06 Alejandro G. Castro <alex@igalia.com>
168 * src/hildon-pannable-area.c,
169 (hildon_pannable_area_class_init): increased the minimum velocity.
170 (hildon_pannable_area_button_release_cb): Updated the
171 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
172 setup. Review the code to control that last event.
174 Fixes: NB#109790 (Releasing finger in pannable area easily causes
177 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
179 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
181 * src/hildon-get-password-dialog.c
182 (hildon_get_password_set_property),
183 (hildon_get_password_get_property), (create_contents):
184 * src/hildon-login-dialog-private.h:
185 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
186 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
187 (hildon_login_dialog_get_password):
188 * src/hildon-set-password-dialog-private.h:
189 * src/hildon-set-password-dialog.c
190 (hildon_set_password_set_property),
191 (hildon_set_password_get_property), (create_contents),
192 (hildon_set_password_response_change),
193 (hildon_set_password_response_set), (hildon_checkbox_toggled):
195 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
196 instead and look more Fremantle style.
198 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
200 2009-04-03 Alberto Garcia <agarcia@igalia.com>
202 * doc/hildon-sections.txt
203 * src/hildon-window-stack.h
204 * src/hildon-window-stack.c
205 (+hildon_window_stack_get_windows):
206 New API to obtain the list of windows on a stack.
208 2009-04-02 Alberto Garcia <agarcia@igalia.com>
210 * src/hildon-app-menu.c (hildon_app_menu_popup)
211 (hildon_app_menu_class_init, -hildon_app_menu_show):
212 Remove hildon_app_menu_show() and move all its checks to
213 hildon_app_menu_popup()
215 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
217 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
218 (_hildon_picker_dialog_set_selector): removed call to
219 gtk_widget_set_size_request
220 * src/hildon-touch-selector.c
221 (_create_new_column): change the pannable size request policy
223 Avoid to use a hardcoded height for the hildon picker dialog. In order
224 to get that, we needed to change the hildon pannable size request
226 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
228 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
230 * src/hildon-window.c (hildon_window_map): Check for vbox to be
231 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
234 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
236 * debian/control: Depend on osso-system-lock localization package.
237 * src/hildon-code-dialog.c: Obtain the secu_application_title
238 translation from osso-system-lock.
239 * src/hildon-get-password-dialog.c (create_contents): Do not mark
240 for translation the atk related strings, that's not necessary.
241 * src/hildon-set-password-dialog.c (create_contents): Ditto.
242 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
243 cancel button, it is not required.
245 2009-04-02 Alejandro G. Castro <alex@igalia.com>
247 * src/hildon-pannable-area.c,
248 (hildon_pannable_area_class_init): Modified the default value of
249 the overshooting max speed, we have reduced it.
251 2009-04-02 Alberto Garcia <agarcia@igalia.com>
253 * doc/hildon-sections.txt
254 * src/hildon-window-private.h
255 * src/hildon-window.h
256 * src/hildon-window.c (hildon_window_class_init)
257 (hildon_window_init, hildon_window_finalize)
258 (hildon_window_realize, hildon_window_get_property)
259 (hildon_window_set_property, hildon_window_update_markup)
260 (hildon_window_get_markup, hildon_window_set_markup):
261 New "markup" property and hildon_window_{get,set}_markup() methods.
263 * examples/hildon-stackable-window-example.c (new_window):
264 Update example to use hildon_window_set_markup()
266 Fixes: NB#106375 (Need API to retitle a window with a title
269 2009-04-01 Alejandro G. Castro <alex@igalia.com>
271 * src/hildon-pannable-area.c,
272 (hildon_pannable_area_class_init): Changed the default value of
273 the initial_hint to TRUE.
274 (hildon_pannable_area_initial_effect): Changed the initial effect,
275 not the effect is just the fade-out of the scrollbars.
277 Fixes: NB#107775 (No scrollbars can be seen when several items are
278 available in a dialog)
280 2009-04-01 Alberto Garcia <agarcia@igalia.com>
282 * src/hildon-program.c (hildon_program_update_top_most):
285 Fixes: NB#109179 (Memory leak in Hildon program)
287 2009-04-01 Alberto Garcia <agarcia@igalia.com>
289 * src/hildon-banner.c (-get_current_app_window):
290 Remove unused function.
292 2009-04-01 Alejandro G. Castro <alex@igalia.com>
294 * src/hildon-pannable-area.c: Modified the documentation of the
295 get adjustments functions to explain the problem of using the
297 (hildon_pannable_area_class_init): Improved the explanation about
300 2009-04-01 Alberto Garcia <agarcia@igalia.com>
302 * src/hildon-app-menu-private.h
303 * src/hildon-app-menu.c
304 (hildon_app_menu_class_init):
305 Bring back the 'external-border' style property
306 (hildon_app_menu_class_init, hildon_app_menu_init)
307 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
308 Set a fixed width-request for the menu, independent of the number
311 Fixes: NB#94957 (Smoothly opened application menu)
313 2009-03-30 Alberto Garcia <agarcia@igalia.com>
315 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
317 * src/hildon-banner.c
318 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
320 Make sure that the banner is correctly placed the first time it's
322 (hildon_banner_check_position, -check_fullscreen_state):
323 Show the banner in the same place no matter if the window is in
324 fullscreen mode or not.
326 Fixes: NB#107386 (Odd stacking behaviour for information banners)
328 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
330 * src/hildon-touch-selector.c (_default_print_func): reorder
331 concatenation for clarity.
333 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
335 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
336 for multicolumn selectors.
338 Fixes: NB#109099 (Memory leak in Hildon touch selector)
340 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
345 * configure.ac: Bump version.
346 * debian/changelog: Updates.
348 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
350 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
353 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
355 * configure.ac: removed libcangerra-gtk dependency
356 * debian/control: removed libcanberra-gtk dependency
357 * src/Makefile.am: removed libcanberra gtk related flags
358 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
359 context, and manage a global canberra context instead
361 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
363 2009-03-26 Alberto Garcia <agarcia@igalia.com>
365 Patch by Daniel Borgmann (danielb@openismus.com)
367 * src/hildon-edit-toolbar.c:
368 Adjust the left padding.
369 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
370 Paint background of the edit toolbar.
372 Fixes: NB#107897 (Patch to make editmodetoolbar background
373 themeable and adjust margin)
375 2009-03-25 Alberto Garcia <agarcia@igalia.com>
377 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
379 * src/hildon-program.c (hildon_program_update_top_most):
380 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
382 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
383 change when the user tasks in/out of an application)
385 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
387 * configure.ac: added libcangerra-gtk dependency
388 * debian/control: added libcanberra-gtk dependency
389 * src/Makefile.am: added libcanberra gtk related flags
390 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
393 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
395 2009-03-25 Alberto Garcia <agarcia@igalia.com>
397 * src/hildon-program.c (hildon_program_remove_window)
398 (hildon_program_add_window): Add checks for the window
399 parameter. Don't decrease the window counter if the window is not
402 2009-03-24 Alejandro G. Castro <alex@igalia.com>
404 * src/hildon-pannable-area.c,
405 (hildon_pannable_area_realize): Fixed position of the event_window
406 in the realize method.
408 2009-03-24 Alberto Garcia <agarcia@igalia.com>
410 * src/hildon-app-menu-private.h
411 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
412 (hildon_app_menu_map, hildon_app_menu_hide_idle)
413 (hildon_app_menu_key_press, hildon_app_menu_init)
414 (hildon_app_menu_finalize):
415 Make sure that all idle functions are removed when the widget is
418 Fixes: NB#107583 (Hildon app menu crashes in various applications)
420 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
425 * configure.ac: Bump version.
426 * debian/changelog: Updates.
428 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
431 (+hildon_entry_show_placeholder),
432 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
433 that replace hildon_entry_update_contents().
434 (hildon_entry_set_text),
435 (hildon_entry_set_placeholder),
436 (hildon_entry_focus_in_event),
437 (hildon_entry_focus_out_event): Determine when it is needed
438 either to show or hide the placeholder and call the above methods.
440 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
441 when the placeholder text is already set)
443 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
445 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
446 simple GdkPixbufAnim using the new icons for the banner.
447 (hildon_banner_show_animation): Use the above mentioned method to
448 create the animation widget.
450 Fixes: NB#103564 (Make hildon animation banner use individual
451 image files as the animation)
453 2009-03-24 Alejandro G. Castro <alex@igalia.com>
455 * src/hildon-pannable-area.c,
456 (hildon_pannable_leave_notify_event): Check if the child is NULL
457 to avoid sending the leave.
459 2009-03-24 Alejandro G. Castro <alex@igalia.com>
461 * src/hildon-pannable-area.c,
462 (hildon_pannable_area_class_init),
463 (hildon_pannable_leave_notify_event): Added a handler of the
464 leave-notify-signal to consider when no motion notify before
467 Fixes: NB#107494 (Items stay selected when clicking and moving
468 away when inside pannable area)
470 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
475 * configure.ac: Bump version.
476 * debian/changelog: Updates.
478 2009-03-19 Alejandro G. Castro <alex@igalia.com>
480 Patch by Alberto Garcia (agarcia@igalia.com)
482 * src/hildon-date-button.c,
483 (hildon_date_button_class_init),
484 (hildon_date_button_init): Removed the construct property handling
485 and created a default selector in the init method.
486 * src/hildon-picker-button.c,
487 (hildon_picker_button_class_init): Removed the construct flag of the
490 2009-03-18 Alberto Garcia <agarcia@igalia.com>
492 * src/hildon-main.c (hildon_init):
493 Don't allow hildon_init() to be called more than once.
495 Fixes: NB#106607 (hildon_init should issue error message upon
498 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
500 * examples/hildon-pannable-area-touch-list-example.c
501 * examples/hildon-pannagle-area-touch-grid-example.c
502 * examples/hildon-edit-toolbar-example.c
503 * examples/hildon-touch-selector-multi-cells-example.c
504 Removed the call to gtk_rc_parse_string, as it is not required since
507 2009-03-17 Alejandro G. Castro <alex@igalia.com>
509 * src/hildon-pannable-area.c,
510 (hildon_pannable_area_class_init): Modified the default panning
511 threshold of the widget to 6px.
513 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
514 than the threshold value ) within the button is not sending the
517 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
519 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
520 for the treeview in the new column. This way, the touch list will never
523 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
524 be selected manually for the HW keys to work)
526 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
528 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
529 comparison instead of using strcmp(). Fixes a compiler warning as well.
531 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
533 * doc/hildon-docs.sgml: Do not set the library version in the
534 document title, use the releaseinfo tag for that purpose instead.
536 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
538 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
539 Do not jump to the first item if the text in the entry is removed.
541 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
546 * configure.ac: Bump version.
547 * debian/changelog: Updates.
549 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
551 * src/hildon-entry.c (hildon_entry_refresh_contents):
552 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
553 Use "ReversedSecondaryTextColor" for the placeholder text.
555 2009-03-12 Alberto Garcia <agarcia@igalia.com>
557 * src/hildon-text-view.c: Fix compilation warning.
559 2009-03-12 Alberto Garcia <agarcia@igalia.com>
561 * src/hildon-button.c (hildon_button_class_init): Don't make
562 "title" and "value" construction properties, to prevent them from
563 overwriting labels set from derived classes.
565 * src/hildon-picker-button.c
566 (hildon_picker_button_set_selector): Allow setting a NULL selector.
567 (hildon_picker_button_class_init): Make touch-selector a
568 construction property.
570 * src/hildon-date-button.c (hildon_date_button_class_init)
571 (+hildon_date_button_constructed): Add a default date selector if
574 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
576 * src/hildon-touch-selector.c: Small documentation fixes.
578 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
580 Based on a patch by Daniel Borgmann (danielb@openismus.com)
582 * src/hildon-entry.c (hildon_entry_refresh_contents),
583 (hildon_entry_get_text), (hildon_entry_init): Do not use the
584 widget name, set the logical color directly instead and a boolean
585 showing_placeholder instead.
586 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
587 use the widget name here either.
589 Fixes: NB#105678 (HildonTextView should use logical colours
590 instead of setting widget name)
592 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
594 Patch by Daniel Elster (danielk@openismus.com)
596 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
597 Add user_data parameter.
598 (hildon_touch_selector_set_print_func_full): New function akin
599 hildon_touch_selector_set_print_func() but with support for user
600 data and a destroy callback.
601 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
602 to clean up the print function user data.
603 (hildon_touch_selector_class_init): Install dispose function.
604 (HildonTouchSelectorPrivate::print_user_data),
605 (HildonTouchSelectorPrivate::print_destroy_func): New private
607 (hildon_touch_selector_init): Initialize new private members.
608 (hildon_touch_selector_get_current_text): Pass along user data
609 to the print function.
610 (_default_print_func): Add dummy user_data to parameter list.
611 * hildon-date-selector.c (_custom_print_func): ditto,
612 * hildon-time-selector.c (_custom_print_func): ditto,
613 * hildon-touch-selector-entry.c
614 (hildon_touch_selector_entry_print_func): ditto.
616 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
618 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
620 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
622 2009-03-12 Alejandro G. Castro <alex@igalia.com>
624 * src/hildon-pannable-area.c,
625 (hildon_pannable_area_init),
626 (hildon_pannable_area_button_press_cb),
627 (hildon_pannable_area_motion_notify_cb): We have added code to
628 handle the leave and enter events when using the motion events.
630 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
632 2009-03-11 Alberto Garcia <agarcia@igalia.com>
634 * src/hildon-date-button.c (hildon_date_button_get_date)
635 (hildon_date_button_set_date): Make sure that the button has a
638 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
640 2009-03-11 Alejandro G. Castro <alex@igalia.com>
642 * src/hildon-pannable-area.c,
643 (hildon_pannable_area_class_init),
644 (hildon_pannable_area_calculate_velocity): Modify the use of the
645 force and adapt the value.
647 2009-03-10 Alberto Garcia <agarcia@igalia.com>
649 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
650 (hildon_app_menu_class_init): Hide the menu if it receives a
651 delete-event, but don't destroy it
653 Fixes: NB#104485 (Not able to address the call when application
654 menu is opened at background)
656 2009-03-10 Alberto Garcia <agarcia@igalia.com>
658 * src/hildon-app-menu.c
659 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
660 Remove the "external-border" style property, let the menu take its
661 natural size (or the one set by the window manager)
662 (hildon_app_menu_repack_items):
663 Don't reshow the menu, avoid flickers.
665 Partially fixes NB#94957 (Smoothly opened application menu)
667 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
672 * configure.ac: Bump version.
673 * debian/changelog: Updates.
675 2009-03-10 Alejandro G. Castro <alex@igalia.com>
677 * src/hildon-pannable-area.c,
678 (hildon_pannable_area_motion_notify_cb): We control that the
679 direction error margin is used just in case the movement is
680 allowed in the other direction.
682 Fixes: NB#105012 (buttons inside a pannable area not getting
683 release event when dragging/releasing)
685 2009-03-10 Alejandro G. Castro <alex@igalia.com>
687 * src/hildon-pannable-area.c,
688 (hildon_pannable_area_class_init),
689 (hildon_pannable_area_get_property),
690 (hildon_pannable_area_set_property),
691 (hildon_pannable_area_initial_effect),
692 (hildon_pannable_axis_scroll),
693 (hildon_pannable_area_button_release_cb): Reviewed the
694 overshooting effect, now it has its own max
695 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
698 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
703 * configure.ac: Bump version.
704 * debian/changelog: Updates.
706 2009-03-09 Alejandro G. Castro <alex@igalia.com>
708 * src/hildon-pannable-area.c,
709 (hildon_pannable_area_class_init): Changed the max speed, now
710 users can launch the widget very fast. Reduced the default force,
711 that way it is easier to control the launch speed.
713 2009-03-09 Alejandro G. Castro <alex@igalia.com>
715 * src/hildon-pannable-area.c,
716 (hildon_pannable_area_button_release_cb): Removed this check
717 because it causes problems when the device is overloaded.
719 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
721 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
722 add a current_text field to store the text entered in the
723 touch selector entry.
724 (_clean_current_selection): clean up the current text as well.
725 (_save_current_selection), (_restore_current_selection):
726 Save/restore the text in the entry if the selector is a
727 HildonTouchSelectorEntry.
729 Fixes: NB#102541 (value entered in the touch selector entry is not
730 shown when opened for second time)
732 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
734 * doc/hildon-sections.txt:
735 * src/hildon-touch-selector-entry.c
736 (+hildon_touch_selector_entry_get_entry):
737 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
739 Fixes: NB#104815 (I need accessor to the entry inside
740 HildonTouchSelectorEntry)
742 2009-03-06 Alberto Garcia <agarcia@igalia.com>
744 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
745 (hildon_app_menu_class_init):
746 New "filter-vertical-spacing" style property.
748 2009-03-06 Alberto Garcia <agarcia@igalia.com>
750 * src/hildon-find-toolbar.c
751 (hildon_find_toolbar_emit_close)
752 (hildon_find_toolbar_emit_invalid_input)
753 (hildon_find_toolbar_entry_activate):
754 Use g_signal_emit() instead of g_signal_emit_by_name()
756 2009-03-06 Alberto Garcia <agarcia@igalia.com>
758 Patch by Mox Soini (ext-mox.soini@nokia.com)
760 * tests/TEST-CASES.txt
761 * tests/check-hildon-banner.c
762 * tests/check-hildon-note.c
763 * src/hildon-banner.c
764 * src/hildon-code-dialog.c
765 * src/hildon-date-editor.c (real_set_calendar_icon_state)
766 * src/hildon-time-editor.c
767 * examples/hildon-lookup-example.c (main):
768 Replace obsolete icon names with new ones.
770 * src/hildon-find-toolbar-private.h:
771 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
772 (-hildon_find_toolbar_emit_search):
773 Remove find button and change icon of close button.
775 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
777 2009-03-05 Alberto Garcia <agarcia@igalia.com>
779 * src/hildon-time-button.c (hildon_time_button_new_step):
780 Use the "touch-selector" property to set the selector directly
781 when creating the object.
783 2009-03-05 Alejandro G. Castro <alex@igalia.com>
785 Added a new example application that allows tuning the pannable
786 area and replaced defines with properties in order to simplify the
787 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
788 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
789 PROP_DIRECTION_ERROR_MARGIN.
791 * examples/hildon-pannable-area-tuning-example.c: New example
793 * src/hildon-pannable-area.c,
794 (hildon_pannable_area_class_init),
795 (hildon_pannable_area_init),
796 (hildon_pannable_area_get_property),
797 (hildon_pannable_area_set_property),
798 (hildon_pannable_area_launch_fade_timeout),
799 (hildon_pannable_area_adjust_value_changed),
800 (hildon_pannable_axis_scroll),
801 (hildon_pannable_area_motion_notify_cb),
802 (hildon_pannable_area_scroll_cb),
803 (hildon_pannable_area_button_release_cb): We have converted some
804 of the defines that control the widget to properties to simplify
807 2009-03-05 Alberto Garcia <agarcia@igalia.com>
809 * src/hildon-app-menu.c (hildon_app_menu_map)
810 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
811 so it's closed if a new window appears.
813 Fixes: NB#104485 (Not able to address the call when application
814 menu is opened at background)
816 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
818 * src/hildon-color-button.c (hildon_color_button_get_property):Add
819 missing 'break' statement in in 'case' construct to avoid
822 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
824 * src/hildon-touch-selector-entry.c
825 (hildon_touch_selector_entry_get_property),
826 (hildon_touch_selector_entry_set_property): Add missing 'break'
827 statements in in 'case' constructs to avoid incorrect warnings.
829 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
831 * src/hildon-time-editor.c
832 (hildon_time_editor_get_time_separators): Do not crash if
833 the first label is NULL.
835 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
837 * src/hildon-date-selector.c (_month_days): Check for month to be
838 strictly less than 12, since otherwise we may overrun the array.
840 2009-03-04 Alberto Garcia <agarcia@igalia.com>
842 * src/hildon-date-button.c (+hildon_date_button_new_full)
843 (hildon_date_button_new, hildon_date_button_new_with_year_range)
844 (hildon_date_button_init): Set the date selector using a
845 construction property, to make it happen after HildonButton's
846 "value" property is set.
848 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
849 current date by default)
851 2009-03-04 Alberto Garcia <agarcia@igalia.com>
853 * doc/hildon-sections.txt
854 * src/hildon-program.c
855 * src/hildon-stackable-window.c
856 * src/hildon-window.c:
857 Documentation updates
859 2009-03-04 Alberto Garcia <agarcia@igalia.com>
861 * src/hildon-window-stack.c (hildon_window_stack_get_default)
862 (hildon_window_stack_new, +hildon_window_stack_set_property)
863 (+hildon_window_stack_get_property)
864 (hildon_window_stack_class_init)
865 (+hildon_window_stack_set_window_group)
866 (+hildon_window_stack_get_window_group):
867 Make the window group a construction property.
869 2009-03-04 Alberto Garcia <agarcia@igalia.com>
871 * doc/hildon-sections.txt
872 * src/hildon-stackable-window-private.h
873 * src/hildon-stackable-window.h
874 * src/hildon-stackable-window.c
875 (-hildon_stackable_window_set_app_menu)
876 (-hildon_stackable_window_get_app_menu)
877 (-hildon_stackable_window_toggle_menu)
878 (-hildon_stackable_window_finalize)
879 (hildon_stackable_window_class_init)
880 (hildon_stackable_window_init)
881 * src/hildon-window-private.h
882 * src/hildon-window.h
883 * src/hildon-window.c (hildon_window_init)
884 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
885 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
886 (hildon_window_get_main_menu, hildon_window_set_main_menu)
887 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
888 Moved all HildonAppMenu code to HildonWindow. The menu does not
889 require a HildonStackableWindow anymore.
891 * src/hildon-app-menu.c
892 * src/hildon-program.c
893 * examples/hildon-app-menu-example.c (main):
894 Update examples and documentation to reflect HildonAppMenu
897 2009-03-04 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-remote-texture.c
900 * src/hildon-animation-actor.c:
901 Don't include unused private headers.
903 2009-03-04 Alberto Garcia <agarcia@igalia.com>
905 * src/hildon-program-private.h
906 * src/hildon-program.c
907 (hildon_program_set_common_menu)
908 (hildon_program_get_common_menu)
909 (hildon_program_set_common_app_menu)
910 (hildon_program_get_common_app_menu):
911 Change common menu pointers from GtkWidget* to GtkMenu* and
912 HildonAppMenu* to avoid unnecessary casts.
914 2009-03-03 Alberto Garcia <agarcia@igalia.com>
916 * src/hildon-window.c (hildon_window_set_main_menu):
917 Removed incorrect 'Since:' tag
919 2009-03-03 Alejandro G. Castro <alex@igalia.com>
921 * src/hildon-pannable-area.c,
922 (hildon_pannable_area_calculate_velocity): We use now the
923 RATIO_TOLERANCE here to check the distance, fixed typo in the
925 (hildon_pannable_area_motion_notify_cb): We have to set the type
926 and time even if we are not sending the motion.
928 2009-03-02 Alberto Garcia <agarcia@igalia.com>
930 * doc/hildon-sections.txt
931 * src/hildon-app-menu.h
932 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
933 (+hildon_app_menu_get_filters): New methods to get the contents of
936 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
939 2009-03-02 Alberto Garcia <agarcia@igalia.com>
941 * src/hildon-app-menu.c (hildon_app_menu_popup):
944 2009-03-02 Alberto Garcia <agarcia@igalia.com>
946 * src/hildon-window.h
947 * src/hildon-window.c (+hildon_window_get_main_menu)
948 (hildon_window_get_menu): Created hildon_window_get_main_menu()
949 and deprecated hildon_window_get_menu().
951 * src/hildon-stackable-window.h
952 * src/hildon-stackable-window.c
953 (+hildon_stackable_window_set_app_menu)
954 (+hildon_stackable_window_get_app_menu)
955 (hildon_stackable_window_set_main_menu): Created
956 hildon_stackable_window_{get,set}_app_menu() and deprecated
957 hildon_stackable_window_set_main_menu().
959 * doc/hildon-sections.txt
960 * examples/hildon-app-menu-example.c (main)
961 * src/hildon-app-menu.c
962 * src/hildon-program.c:
963 Updated examples and documentation.
965 Fixes: NB#103758 (No way to obtain a menu from a
966 HildonStackableWindow)
968 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
973 * configure.ac: Bump version.
974 * debian/changelog: Updates.
976 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
978 * examples/hildon-remote-texture-example.c: Include
979 hildon-remote-texture.h explicitely.
980 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
981 applications not defining _XOPEN_SOURCE which don't require this header.
983 2009-02-27 Alberto Garcia <agarcia@igalia.com>
985 * doc/hildon-sections.txt
986 * src/hildon-app-menu.h
987 * src/hildon-app-menu.c (+hildon_app_menu_popup):
988 New function to pop up a HildonAppMenu
990 * src/hildon-stackable-window.c
991 (hildon_stackable_window_toggle_menu):
992 Use hildon_app_menu_popup() to show the menu.
994 2009-02-27 Alberto Garcia <agarcia@igalia.com>
996 * src/hildon-app-menu.c (hildon_app_menu_show)
997 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
998 menu if there's another window between it and its parent window.
1000 Fixes: NB#100468 (Application menu window is launched even when a
1001 new secondary-window/dialog is pending to be shown/realized)
1003 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-window-stack.c (hildon_window_stack_push)
1006 (hildon_window_stack_pop_and_push):
1007 Don't forget to push/pop the first window.
1008 Reverse the window list before calling _push_list()
1010 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1012 * src/hildon-picker-button.h
1013 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1014 Remove "value_changed" slot to avoid ABI breakage
1016 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1018 * src/hildon-pannable-area.c,
1019 (hildon_pannable_area_realize),
1020 (hildon_pannable_area_unrealize),
1021 (hildon_pannable_draw_vscroll),
1022 (hildon_pannable_draw_hscroll): Changed the method to handle the
1023 GC used to draw the transparent scrollbar, this way we avoid
1024 creating the GC all the time when drawing the scrollbars.
1026 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1028 * src/hildon-pannable-area.c,
1029 (hildon_pannable_area_init),
1030 (hildon_pannable_area_remove): Removed some unnecessary casts.
1031 (hildon_pannable_area_dispose): Disconnected some signals before
1032 releasing the adjustments.
1034 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1036 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1037 Make sure that all widgets contained in the toolbar are shown.
1039 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1041 * doc/hildon-sections.txt
1042 * src/hildon-picker-button.h
1043 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1044 (_selection_changed, hildon_picker_button_on_dialog_response)
1045 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1046 New hildon_picker_button_value_changed() method.
1049 * src/hildon-picker-button-private.h
1050 * src/hildon-picker-button.c (hildon_picker_button_init)
1051 (+hildon_picker_button_disable_value_changed): Add protected
1052 function for disabling the "value-changed" signal.
1054 * src/hildon-date-button.c (hildon_date_button_set_date):
1055 Don't emit "value-changed" for each one of the three columns.
1057 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1058 before actual change of values)
1060 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1062 * src/hildon-pannable-area.c,
1063 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1064 for the treeview overshooting.
1066 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1068 * src/hildon-banner.c (+hildon_banner_bind_style):
1069 Renamed from hildon_banner_bind_label_style(), now naming the
1070 banner itself as well.
1071 (hildon_banner_show_information),
1072 (hildon_banner_show_information_with_markup),
1073 (hildon_banner_show_animation), (hildon_banner_show_progress):
1074 Name the widgets and labels, based on their type.
1076 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1079 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/hildon-note.c (hildon_note_set_property): call
1082 hildon_note_rename() on HildonNote:note-type set.
1083 (hildon_note_rename): Name the note and its label, based on the
1084 HildonNote:note-type property.
1086 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1089 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1091 * src/hildon-pannable-area.c,
1092 (hildon_pannable_area_class_init),
1093 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1094 panning parameters, increased SPS and deceleration factor. Added
1095 also a margin to control fake directions.
1097 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1099 Patch by Sven Herzberg (sven@imendio.com)
1101 * configure.ac: Add missing AM_PROG_CC_C_0
1102 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1104 See NB#101420 (Update unit tests and fix make check)
1106 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1108 This patch was applied before but reverted because it caused
1109 problems, we have changed the main condition and tested the
1110 regressions we detected before and they work ok. We have done a
1111 complete review of the topmost algorithm in order to get a more
1114 * src/hildon-pannable-area.c,
1115 (hildon_pannable_area_get_topmost): Added a new parameter to
1116 filter the the windows that do not include those events.
1117 (hildon_pannable_area_button_press_cb),
1118 (hildon_pannable_area_button_release_cb),
1119 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1120 topmost function, we have added the new parameter.
1122 Fixes: NB#97458 (Pannable area prevents propagation of button
1125 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1127 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1128 if all columns in the selector have an item selected.
1129 (_on_dialog_response): Stop "response" signal emission if there is
1130 any selector column without selected items.
1132 Fixes: NB#101889 (Picker dialog should not close when nothing is
1133 selected in multiple selection list)
1135 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1137 * src/hildon-font-selection-dialog.c
1138 (hildon_font_selection_dialog_class_init),
1139 (hildon_font_selection_dialog_init): Remove the preview
1140 button and dialog, since previewing with default theming is likely
1141 to be overcomplicated. The :preview property has now no effect.
1142 Update documentation blurbs to inform about this.
1144 Fixes: NB#92297 (Preview content is not clearly visible for
1145 default colour text)
1147 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1149 Reviewed the geometry that handles the children size and
1150 scrollbar, now it tries a size and reviews the results depending
1151 on the scrollbars visibility.
1153 * src/hildon-pannable-area.c,
1154 (hildon_pannable_area_realize): Fixed a typo.
1155 (hildon_pannable_area_child_allocate_calculate): Added this
1156 function to calculate the child allocation.
1157 (hildon_pannable_area_size_allocate): Reviewed the allocation
1159 (hildon_pannable_area_check_scrollbars),
1160 (hildon_pannable_area_refresh): Refactored refresh function, this
1161 way we can call the code handling the scrollbars without causing a
1162 size_request, it is interesting in the allocate.
1163 (hildon_pannable_area_init): Replace the callbacks of the
1164 value_changed and changed signals to propertly deal with the
1166 (hildon_pannable_area_grab_notify),
1167 (hildon_pannable_area_initial_effect),
1168 (hildon_pannable_area_launch_fade_timeout),
1169 (hildon_pannable_area_adjust_changed),
1170 (hildon_pannable_area_adjust_value_changed),
1171 (hildon_pannable_area_redraw),
1172 (hildon_pannable_area_button_press_cb),
1173 (hildon_pannable_area_button_release_cb),
1174 (hildon_pannable_area_scroll_cb),
1175 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1176 code and use the new functions adjust_changed and
1177 adjust_value_changed.
1179 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1180 Contact editor dialog)
1182 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1187 * configure.ac: Bump version.
1188 * debian/changelog: Updates.
1190 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1192 * src/hildon-pannable-area.c,
1193 (hildon_pannable_area_get_topmost),
1194 (hildon_pannable_area_button_press_cb),
1195 (hildon_pannable_area_button_release_cb),
1196 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1197 topmost function adding the event mask. We have to try a
1198 differente approach because it is still causing problems (NB#9745,
1201 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1203 * src/hildon-banner.c:
1204 Update the maximum width of timed banners.
1205 (force_to_wrap_truncated): Enforce the maximum text width if the
1208 Fixes: NB#102413 (The text margins (wrapping) in information
1209 banner should be HILDON_MARGIN_TRIPLE)
1211 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1213 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1215 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1216 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1217 bound when calculating the scroll indicator position.
1219 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1220 treat ->lower correctly)
1222 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1224 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1225 expose event handling, since it is not necessary to draw the focus
1228 Fixes: NB#102467 (Do not show highlight on the text in
1231 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1233 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1234 full height of the toolbar for the button and the label.
1236 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1238 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1239 padding before the label and after the button.
1241 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1243 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1245 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1246 Add a GtkVSeparator between the button and the back arrow.
1247 Let the button have automatic size.
1248 Set a name to the widget for theming handling.
1250 Fixes: NB#101793 (Make edit toolbar the same height as window
1251 title bar (use title area theming))
1253 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1255 * src/hildon-helper.c (attach_new_color_element): Fix memory
1258 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1260 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1262 * examples/hildon-button-example.c (common_buttons_window): Don't
1265 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1267 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1268 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1270 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1272 * src/hildon-gtk.c: Check that the window is realized.
1274 Fixes: NB#102225 (Crash setting the progress indicator to a non
1277 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1279 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1280 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1281 instead of modifying the one in the widget style.
1283 Fixes: NB#101043 (Second row of all the command button are
1284 displayed in transparent mode.)
1286 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1288 * src/hildon-date-button.c
1289 * src/hildon-time-button.c: Add gettext macros
1291 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1293 * src/hildon-date-button.c (hildon_date_button_new):
1294 * src/hildon-time-button.c (hildon_time_button_new_step):
1295 Use new logical strings to set the button default title.
1297 Fixes: NB#99915 (Date and Time options are not localised in Date
1300 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1302 * src/hildon-pannable-area.c
1303 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1304 the PANNING_THRESHOLD.
1306 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1308 * src/hildon-pannable-area.c,
1309 (hildon_pannable_area_class_init): Increased the maximum speed.
1310 (hildon_pannable_area_get_property),
1311 (hildon_pannable_area_set_property),
1312 (hildon_pannable_area_timeout): Added a new low friction mode, it
1313 allows the user avoid friction when launching the widget fast
1314 enough. It is interesting to traverse long lists.
1316 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1318 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1319 (+hildon_stackable_window_delete_event): Ignore delete events if
1320 the window is not the topmost one.
1322 Fixes: NB#101698 (Back button long press and delete-event handling)
1324 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1326 * src/hildon-pannable-area.c,
1327 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1328 gtk-dnd-drag-threshold, it was too big. We have defined our own
1329 dnd define and set a smaller value: PANNIG_THRESHOLD.
1331 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1333 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1334 user-defined icons, use always the default one.
1336 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1338 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1340 This patch was applied before but reverted because it caused
1341 problems, we have changed the main condition and tested the
1342 regressions we detected before and they work ok.
1344 * src/hildon-pannable-area.c,
1345 (hildon_pannable_area_get_topmost): Added a new parameter to
1346 filter the the windows that do not include those events. Added
1347 also a condition when finding the window to filter windows that do
1348 not ask for those events.
1349 (hildon_pannable_area_button_press_cb),
1350 (hildon_pannable_area_button_release_cb),
1351 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1352 topmost function, we have added the new parameter.
1354 Fixes: NB#97458 (Pannable area prevents propagation of button
1357 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1359 * tests/check-hildon-color-button.c (START_TEST): do not leak
1362 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1364 * src/hildon-font-selection-dialog.c
1365 (hildon_font_selection_dialog_get_preview_text): Return NULL
1366 instead of FALSE on the g_return_val_if_fail().
1368 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1370 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1371 * src/hildon-date-selector.c
1372 (hildon_date_selector_select_current_date):
1373 Do not compare unsigned integers to be greater than or equal 0,
1374 because it's always TRUE.
1376 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1378 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1379 (hildon_date_selector_constructor): Do not select the current
1380 date until we are handle the "changed" signal, to avoid having bogus
1381 elements in the days model.
1383 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1385 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1386 for num_days, since _month_days() can return a negative value.
1388 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1390 * src/hildon-caption.c (hildon_caption_size_allocate):
1391 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1392 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1394 Initialize allocation variables to 0, to avoid eventually using
1395 unitialized variables.
1397 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1399 * src/hildon-bread-crumb-trail.c
1400 (hildon_bread_crumb_trail_size_allocate):
1401 * src/hildon-calendar.c (hildon_calendar_set_background):
1402 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1403 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1404 * src/hildon-seekbar.c (hildon_seekbar_init):
1405 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1406 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1407 * src/hildon-touch-selector-entry.c
1408 (hildon_touch_selector_get_text_from_model):
1409 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1410 * src/hildon-window.c (hildon_window_finalize):
1412 Remove many unused variables.
1414 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1416 * src/hildon-seekbar.c: (hildon_seekbar_init),
1417 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1419 Remove unnecessary g_assert() calls.
1421 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1423 * src/hildon-caption.c: (hildon_caption_expose),
1424 (hildon_caption_set_property), (hildon_caption_init),
1425 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1426 (hildon_caption_size_request), (hildon_caption_size_allocate),
1427 (hildon_caption_forall), (hildon_caption_set_separator),
1428 (hildon_caption_activate), (hildon_caption_set_child_expand),
1429 (hildon_caption_set_label_text),
1430 (hildon_caption_get_label_alignment):
1432 Remove unnecessary g_assert() calls.
1434 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1436 * src/hildon-banner.c
1437 (hildon_banner_map, hildon_banner_init): Make banner temporary
1438 before mapping it to avoid closing other temporary windows, but
1439 make it non-temporary afterwards to avoid being closed by other
1440 non-temporary windows.
1441 (-hildon_banner_client_event, hildon_banner_init):
1442 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1444 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1447 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1449 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1452 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1454 * src/hildon-remote-texture.c
1455 * src/hildon-remote-texture.h
1456 * src/hildon-remote-texture-private.h
1457 * examples/hildon-remote-texture-example.c:
1458 Updates/fixes to remote-texture and its example.
1460 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1462 Patch by Mox Soini (ext-mox.soini@nokia.com)
1464 * src/hildon-code-dialog.c: Update logical id.
1465 * src/hildon-set-password-dialog.c: Update logical id.
1467 Fixes: NB#100646 (Logical strings is shown for ok in set
1468 password,Password needed dialogs)
1470 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1473 * src/hildon-remote-texture.c
1474 * src/hildon-remote-texture.h
1475 * src/hildon-remote-texture-private.h
1477 Added remote texture widget (for Clutter shared memory textures)
1479 * examples/hildon-remote-texture-example.c
1480 * examples/Makefile.am
1481 Added example file for remote texture usage
1483 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1485 * configure.ac: post release version bump.
1486 * debian/changelog: version bump.
1488 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1493 * configure.ac: Bump version.
1494 * debian/changelog: Updates.
1496 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-date-selector.c (hildon_date_selector_init)
1499 (hildon_date_selector_constructor): Don't connect to the "changed"
1500 signal until the selector is completely constructed.
1502 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1504 * src/hildon-touch-selector.c: (_create_new_column),
1505 (hildon_touch_selector_append_column),
1506 (hildon_touch_selector_set_column_selection_mode),
1507 (hildon_touch_selector_set_active),
1508 (hildon_touch_selector_select_iter):
1509 Emit the HildonTouchSelector::changed signal every time selection
1510 is changed in any of the methods above. This behavior was already
1511 documented but not fully functional.
1513 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1514 selection is programmatically changed)
1516 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1518 * doc/hildon-sections.txt: Remove obsolete icon
1519 sizes from here as well.
1521 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1523 * examples/hildon-stackable-window-example.c (add_window): Remove
1526 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1528 * src/hildon-app-menu.c
1529 (hildon_app_menu_show): Check whether the parent window of a menu
1530 is topmost before popping it up.
1532 Fixes: NB#100468 (Application menu window is launched even when a
1533 new secondary-window/dialog is pending to be shown/realized.)
1535 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1537 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1540 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1542 Patch by Mox Soini (ext-mox.soini@nokia.com)
1544 * src/hildon-banner.c: (hildon_banner_show_animation):
1545 use stylus size instead of obsolete note size.
1546 * src/hildon-defines.h: Update icon sizes.
1548 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1550 * src/hildon-touch-selector-entry.c:
1551 (hildon_touch_selector_entry_init): Disable unsupported
1553 (hildon_touch_selector_entry_get_text_column): Emit a warning
1554 if an unsupported input modes is used and explicitile state
1555 these modes in the documentation.
1557 Fixes: NB#99802 (Hildon touch selector entry not working properly
1558 for some of the input modes)
1560 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1562 * src/hildon-pannable-area.c,
1563 (hildon_pannable_area_init): Added the changed signal handlers of
1566 Fixes: NB#100320 (HildonPannableArea does not listen to
1567 GtkAdjustment "change" signals)
1569 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1571 * doc/hildon-sections.txt
1572 * src/hildon-window-private.h
1573 * src/hildon-window.h
1574 * src/hildon-window.c (hildon_window_init)
1575 (hildon_window_realize, hildon_window_unrealize)
1576 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1577 (hildon_window_size_request, hildon_window_size_allocate)
1578 (hildon_window_forall, hildon_window_show_all)
1579 (hildon_window_destroy, +paint_edit_toolbar)
1580 (+hildon_window_set_edit_toolbar):
1581 New hildon_window_set_edit_toolbar() method, to add a
1582 HildonEditToolbar to a window without having to pack it manually.
1584 Reorganize hildon_window_size_allocate()
1586 * src/hildon-edit-toolbar.c: Update documentation.
1588 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1589 example to use the new API.
1591 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1593 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1595 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1596 Remove from stack before calling parent's hide.
1598 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1600 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1601 window is removed from the middle of the stack, update the
1602 transiency of the previous one.
1604 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1607 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1610 block/unblock the signal handler if it's not actually being used.
1611 Fixes some critical warnings.
1613 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1615 Based on a patch by Iván Gómez (igomez@igalia.com)
1617 * src/hildon-banner.c
1621 * src/hildon-pannable-area.c
1622 * src/hildon-picker-dialog.c
1623 * src/hildon-wizard-dialog.h
1624 * src/hildon-wizard-dialog.c: Documentation updates.
1626 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1627 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1629 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1631 * configure.ac: post release version bump.
1632 * debian/changelog: version bump.
1634 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1639 * configure.ac: Bump version.
1640 * debian/changelog: Updates.
1642 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1644 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1645 a stock icon nor change the relief of the back arrow.
1647 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1648 graphics from theme)
1650 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1652 * src/hildon-button.c (hildon_button_set_alignment): Use
1653 priv->alignment if the button has no child yet.
1655 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1657 * src/hildon-button.c: (hildon_button_init): Set the
1658 button style during initialization to give it the proper
1661 Fixes: NB#99713 (HildonButton value label color is wrong)
1663 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1665 * src/hildon-touch-selector.c: Document
1666 hildon_touch_selector_center_on_selected()
1668 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1670 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1671 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1672 all menu items, but not the menu itself.
1673 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1674 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1675 items after adding them to the menu so keyboard accelerators work.
1676 (hildon_app_menu_show): Don't show the menu if it contains items
1677 but none of them are visible.
1679 * examples/hildon-app-menu-example.c (create_menu): Use
1680 gtk_widget_show_all() to show all menu items.
1682 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1684 * src/hildon-picker-dialog.c:
1685 (-_update_title_on_selector_changed_cb),
1686 (-_dialog_update_title): Removed.
1687 (_select_on_selector_changed_cb), (_on_dialog_response),
1688 (on_selector_columns_changed): Do not update the dialog title.
1689 (setup_interaction_mode): Do not connect to
1690 HildonTouchSelector::changed signal if there's a "done" button, as
1691 the dialog title doesn't need to be updated.
1693 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1696 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1698 Patch by Kristian Rietveld (kris@imendio.com)
1700 * src/hildon-touch-selector.c: (_create_new_column): Use new
1701 GtkTreeView::hildon-row-tapped signal to react to user interactions
1702 instead of ::changed.
1704 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1705 with some dynamic tree model)
1707 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1709 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1710 (+screen_size_changed, +label_size_request)
1711 (hildon_note_class_init): Make the Hildon information note have a
1712 minimum height, and make its text hvae a maximum width.
1714 Fixes: NB#98614 (Hildon information note (background) should have
1715 minimum height and maximum text width)
1717 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-banner.h
1720 * src/hildon-banner.c (hildon_banner_show_information)
1721 (hildon_banner_show_informationf)
1722 (hildon_banner_show_information_with_markup): Update documentation
1723 to reflect that the icon_name parameter is not used anymore.
1724 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1725 Remove all code from these functions and mark them as deprecated.
1726 (hildon_banner_show_progress): Mark as deprecated.
1728 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1730 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1732 * src/hildon-pannable-area.c,
1733 (hildon_pannable_area_class_init),
1734 (tranparency_color),
1735 (hildon_pannable_draw_vscroll),
1736 (hildon_pannable_draw_hscroll),
1737 (hildon_pannable_area_expose_event): Added a new way to render the
1738 scrollbars of the pannable area avoiding using cairo at all. This
1739 way we improve the performance of the pannable area rendering. The
1740 cairo rendering procedure is still in the code, we can control
1741 which one to use changing the value of the define
1742 USE_CAIRO_SCROLLBARS.
1744 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1746 * configure.ac: post release version bump.
1747 * debian/changelog: version bump.
1749 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1754 * configure.ac: Bump version.
1755 * debian/changelog: Updates.
1757 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1759 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1760 banners instead of destroying them when they receive a button
1763 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1765 Reverted commit 34028, it was causing regressions, probably the
1766 topmost condition is not correct, we have to check it in more
1767 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1768 propagation of button press events)
1770 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1772 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1773 that the selection is not empty before attempting to retrieve the
1774 current ampm selection.
1776 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1778 * src/hildon-picker-button.c:
1779 (hildon_picker_button_on_dialog_response): Directly update the
1780 button contents when required instead of calling _selection_changed.
1782 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1784 * src/hildon-program.c (hildon_program_update_top_most): Update
1785 'is-topmost' property also when wm_hints is not set.
1787 Fixes: NB#98383 (is-topmost signal is not emitted when task
1788 switcher is clicked.)
1790 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1792 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1796 * src/hildon-animation-actor.c,
1797 * src/hildon-animation-actor.h: Added the animation actor class,
1798 this widget represents an animation actor for WM-assisted
1799 animation effects in the Hildon framework.
1801 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-window-stack-private.h
1804 * src/hildon-window-stack.c
1805 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1806 Avoid calling gtk_widget_show() again indirectly from
1807 hildon_stackable_window_show()
1809 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1811 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1814 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1816 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1817 (hildon_time_selector_init): Move the construction of the hours and
1818 ampm columns to the constructor to preserve the order the columns
1821 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1823 * src/hildon-picker-dialog.c:
1824 (hildon_picker_dialog_class_init): Connect a realize method.
1825 (+hildon_picker_dialog_realize): Setup the interaction mode here
1827 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1828 yet, do it during the realize instead.
1829 (_on_dialog_response):
1830 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1831 if the widget is not realized, to avoid the dialog response before it
1834 Avoid premature responses in the HildonPickerDialog that can cause it
1835 to be hidden before it's even shown.
1837 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1839 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1840 (on_selector_columns_changed), (requires_done_button),
1841 (+prepare_action_area), (setup_interaction_mode),
1842 (_hildon_picker_dialog_set_selector):
1844 Split the interaction mode setup into preparation of the
1845 action area (prepare_action_area()) and the connection of
1846 the signals in setup_interaction_mode() and update the code to
1849 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1851 * src/hildon-pannable-area.c,
1852 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1853 per second to 15, we will check if this is ok regarding
1856 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1858 * src/hildon-pannable-area.c,
1859 (hildon_pannable_axis_scroll): Avoid resize if we already have
1860 reached overshoot_max.
1862 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1864 * src/hildon-pannable-area.c,
1865 (hildon_pannable_area_init),
1866 (hildon_pannable_area_realize),
1867 (hildon_pannable_area_size_allocate),
1868 (hildon_pannable_area_map),
1869 (hildon_pannable_area_unmap),
1870 (hildon_pannable_draw_vscroll),
1871 (hildon_pannable_draw_hscroll),
1872 (hildon_pannable_area_expose_event),
1873 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1874 pannable are to avoid the expose events go to the window and
1875 redraw the window. We save this way that part of the stack and the
1876 paint_boxes. We had to change the positions of the elements when
1879 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1881 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1882 * src/hildon-color-chooser-dialog.c:
1883 (hildon_color_chooser_dialog_init):
1884 * src/hildon-font-selection-dialog.c:
1885 (hildon_font_selection_dialog_init),
1886 (hildon_font_selection_dialog_show_preview):
1887 * src/hildon-get-password-dialog.c:
1888 * src/hildon-login-dialog.c:
1889 * src/hildon-set-password-dialog.c:
1890 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1891 * src/hildon-time-picker.c: (hildon_time_picker_init):
1893 Remove obsolete logical string IDs and update to the appropriate ones.
1895 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1897 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1899 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1900 that happens if the window hasn't been realized yet.
1902 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1903 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1905 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1907 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1908 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1911 Fixes: NB#98537 (Device hangs in account settings dialog)
1913 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1915 * configure.ac: post release version bump.
1916 * debian/changelog: version bump
1918 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1923 * configure.ac: Bump version.
1924 * debian/changelog: Updates.
1926 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1928 Added a new function to the HildonTimeButton widget that allows to
1929 change the step of the minutes in the selector associated with the
1930 button: hildon_time_button_new_step
1932 * src/hildon-time-button.c,
1933 (hildon_time_button_init),
1934 (hildon_time_button_new),
1935 (hildon_time_button_new_step):
1936 * src/hildon-time-button.h: Added the new function and refactored
1938 * examples/hildon-time-button-example.c,
1939 (main): We have replaced the function without parameters with the
1940 function with the steps set to 5
1942 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1944 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1946 * src/hildon-time-selector.c,
1947 (hildon_time_selector_class_init),
1948 (hildon_time_selector_constructor),
1949 (hildon_time_selector_get_property),
1950 (hildon_time_selector_set_property),
1951 (_create_minutes_model),
1952 (hildon_time_selector_new_step),
1953 (hildon_time_selector_set_time),
1954 * src/hildon-time-selector.h: Added a new property to the
1955 HildonTimeSelector (minutes-step), we use that property to control
1956 the steps between the minutes in the list of the selector. We have
1957 added a new function to the API to create a widget changing the
1958 step: hildon_time_selector_new_step.
1960 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1962 * src/hildon-time-selector.c,
1963 (hildon_time_selector_class_init),
1964 (hildon_time_selector_constructor),
1965 (hildon_time_selector_init): Overrided the construct function when
1966 creating the time selector object. We have moved the minutes model
1967 handling code from the init to the new construction function:
1968 hildon_time_selector_constructor.
1970 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1972 * examples/hildon-date-button-example.c: (main): Use the new
1973 hildon_date_button_new_with_year_range() method in the example.
1974 * src/hildon-date-button.c:
1975 (+hildon_date_button_new_with_year_range): New public method
1976 to conveniently create a HildonDateButton with a custom year range
1977 in its HildonDateSelector.
1978 * src/hildon-date-button.h: Add the new public method definition.
1980 Fixes: NB#97908 (Not possible to change the year range in
1981 HildonDateSelector/HildonDateButton)
1983 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1985 * src/hildon-date-selector.c:
1986 (+hildon_date_selector_set_property),
1987 (+hildon_date_selector_get_property),
1988 (hildon_date_selector_class_init): Install new properties "min-year"
1989 and "max-year" to define boundaries for the year column.
1990 (_create_year_model): Use the boundary properties to populate the model.
1991 (+hildon_date_selector_new_with_year_range): New public method to
1992 create a HildonDateSelector with a user defined year range.
1993 (hildon_date_selector_select_current_date): Use the new boundaries to
1994 calculate the iterator of current year.
1995 * src/hildon-date-selector.h: Add the new public method definition.
1997 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2000 Install a constructor method.
2001 (+hildon_date_selector_construct_ui): construct the widget.
2002 (+hildon_date_selector_constructor): new constructor.
2003 (+hildon_date_selector_init): move out widget construction code to
2004 the new constructor.
2006 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2008 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2009 that there's actually a month or year selected before obtaining them.
2010 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2011 of the HildonTouchSelector::changed signal, as it was emitted on every
2012 single item selection.
2014 Fix some warnings and possible crashers due to the selection restoring.
2016 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2018 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2019 the signal handlers only after creating the dialog instead of on every
2022 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2024 * src/hildon-button.c (hildon_button_init)
2025 * src/hildon-check-button.c (hildon_check_button_init)
2026 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2027 focus when clicked by default.
2029 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2031 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2034 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2036 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2037 Alejandro G. Castro (alex@igalia.com)
2039 * src/hildon-picker-dialog.c:
2040 (hildon_picker_dialog_class_init): install new "center-on-show"
2042 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2043 (hildon_picker_dialog_set_property): add setter code for the new
2045 (hildon_picker_dialog_get_property): add getter code for the new
2047 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2048 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2051 Fixes: NB#92849 (Selected item is not always visible when
2052 HildonTouchSelector is shown)
2054 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2056 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2057 Alejandro G. Castro (alex@igalia.com)
2059 * src/hildon-touch-selector.c:
2060 (_create_new_column): Do not connect to the "realize" signal of the
2062 (hildon_touch_selector_append_column): center on the selected items
2063 when a new column is appended.
2064 (hildon_touch_selector_select_iter): Factor out the code to select a
2065 column to hildon_touch_selector_scroll_to().
2066 (+search_nearest_element): Method to retrieve the nearest selected
2067 element to the visible area of the pannable area in a column.
2068 (+on_realize_cb): scroll to the initially selected item.
2069 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2070 the pannable area is realized, otherwise delay this until it is.
2071 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2072 selected items of a given column.
2073 (+hildon_touch_selector_center_on_selected): Public method to center
2074 all columns on the nearest selected item.
2075 * src/hildon-touch-selector.h: Add definition for
2076 hildon_touch_selector_center_on_selected().
2078 Implement public API to ensure visibility of all selected items in
2079 a HildonTouchSelector.
2081 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2083 Fixed a problem in the fading when calling the scroll_to API, and
2084 improve scrollbar fading handling.
2086 * src/hildon-pannable-area.c,
2087 (hildon_pannable_area_grab_notify): avoid the timeout when the
2089 (hildon_pannable_area_button_press_cb),
2090 (hildon_pannable_area_motion_notify_cb): Code style changes.
2091 (hildon_pannable_area_button_release_cb): Review the conditions
2092 when releasing the mouse button to avoid unrequired fading
2094 (hildon_pannable_area_scroll_to): Do not calculate and set the
2095 velocity if the scroll is not required.
2097 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2099 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2100 Don't check whether the new selector is NULL: it cannot be.
2101 Hold a reference to the selector while doing the replacement.
2103 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2105 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2106 unnecessary size_request in a removed widget.
2108 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2111 an unnecessary reference tracking that was leaking.
2113 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2115 Added delayed motion notify event handling, this way we can
2116 discard redrawing if more than 25 events arrive per second.
2118 * src/hildon-pannable-area.c,
2119 (hildon_pannable_area_init): Initialized the new private atributes
2120 controlling this timeout
2121 (hildon_pannable_area_dispose): Remove the timeout that controls
2122 the motion notify events.
2123 (hildon_pannable_area_scroll): Added a condition to control the
2124 use of the acceleration.
2125 (hildon_pannable_area_motion_event_scroll_timeout),
2126 (hildon_pannable_area_motion_event_scroll): Added this two
2127 functions, they handle the motion notify events inside the
2129 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2130 to the scroll method with the new function.
2131 (hildon_pannable_area_button_release_cb): We have to remove the
2132 timeout handler and move to the last position if the last motion
2133 events were not handled.
2135 Fixes: NB#97028 (Pannable area updates on every motion event)
2137 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2139 * src/hildon-pannable-area.c,
2140 (hildon_pannable_area_get_topmost): Added a new parameter to
2141 filter the the windows that do not include those events. Added
2142 also a condition when finding the window to filter windows that do
2143 not ask for those events.
2144 (hildon_pannable_area_button_press_cb),
2145 (hildon_pannable_area_button_release_cb),
2146 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2147 topmost function, we have added the new parameter.
2149 Fixes: NB#97458 (Pannable area prevents propagation of button
2152 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2154 * src/hildon-pannable-area.c,
2155 (hildon_pannable_area_initial_effect): Added controls before
2156 launching the timeout and the idle functions.
2157 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2158 of the method, in some situations it can return with TRUE and 0 in
2160 (hildon_pannable_area_button_press_cb): We do not need to set
2161 DELAY for fading out here.
2163 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2165 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2167 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2168 post-cleaning if the selection is not NULL.
2170 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2172 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2173 all items before restoring the selection.
2175 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2177 * src/hildon-touch-selector.c:
2178 (+hildon_touch_selector_unselect_all):
2179 * src/hildon-touch-selector.h: New API to unselect all items in a
2180 column of the touch selector.
2182 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2184 * src/hildon-pannable-area.c,
2185 (hildon_pannable_area_redraw): Added a call to the refresh
2186 function inside the redraw because apparently in some cases the
2187 change in the adjustment does not imply a size allocate.
2189 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2190 despite the view not being scrollable)
2192 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2194 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2195 leak. Check for NULL before attempting to set the window title.
2197 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2199 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2200 whether to show or not the 'Done' button each time the dialog is
2201 shown, as it depends on the HildonTouchSelector selection mode.
2203 Fixes: NB#96226 (In multiple selection mode Done button is shown
2204 sometimes in listpicker)
2206 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2209 for the number of columns in the HildonTouchSelector more than once.
2211 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2213 * src/hildon-touch-selector.c: Minor documentation fixes.
2215 * src/hildon-picker-dialog.c (+_dialog_update_title)
2216 (_select_on_selector_changed_cb)
2217 (_update_title_on_selector_changed_cb)
2218 (on_selector_columns_changed): Update dialog title when there's no
2219 'Done' button and also when the number of columns in the selector
2223 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2224 (+_selection_changed, hildon_picker_button_on_dialog_response)
2225 (hildon_picker_button_selector_selection_changed)
2226 (+hildon_picker_button_selector_columns_changed)
2227 (hildon_picker_button_set_selector): Update button value and emit
2228 'value-changed' when the number of columns in the selector
2232 Fixes: NB#96225 (Dialog titles are not shown according to the
2233 values selected in the list picker)
2235 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2238 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2239 New "arrow-width" and "arrow-height" style properties to set the
2240 size of the arrow button.
2241 Set name of arrow button ("hildon-edit-toolbar-arrow").
2243 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2244 graphics from theme)
2246 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2248 * src/hildon-picker-button.c:
2249 (hildon_picker_button_selector_selection_changed): Use
2250 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2251 the dialog is present.
2253 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2254 the selection is accepted in the dialog)
2256 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2258 * src/hildon-color-chooser.h
2259 * src/hildon-color-chooser-dialog.h:
2260 Added G_BEGIN_DECLS and G_END_DECLS
2262 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2264 (_clean_current_selection): plug a leak in the list.
2266 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2268 * src/hildon-picker-dialog.c:
2269 (+free_path_list): Method to free a GList of GtkTreePaths.
2270 (_clean_current_selection), (_save_current_selection),
2271 (_restore_current_selection): Save the current selection in
2272 as a list of lists, to support multiple selection properly.
2274 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2276 patch by Claudio Saavedra (csaavedra@igalia.com)
2278 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2279 Store the press position.
2280 (+hildon_text_view_button_release_event): If the release position is
2281 close enough to the press position, move the cursor here. Otherwise,
2283 (hildon_text_view_class_init): Override GtkTextView press, release, and
2284 motion event handlers, disabling this way text selection through
2285 pointer interaction, and allowing the container widget to handle the
2288 Fixes: NB#95828 (HildonTextView functionality)
2290 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2292 Based on a patch by Iván Gómez (igomez@igalia.com)
2294 * src/hildon-button.[ch]
2295 * src/hildon-calendar.c
2296 * src/hildon-check-button.c
2297 * src/hildon-date-editor.c
2298 * src/hildon-date-selector.c
2299 * src/hildon-picker-button.c
2300 * src/hildon-time-editor.c
2301 * src/hildon-time-selector.c
2302 * src/hildon-touch-selector.[ch]:
2303 Documentation updates
2305 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2307 * src/hildon-pannable-area.c,
2308 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2309 threshold, it was required due to X events handling.
2311 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2313 * src/hildon-pannable-area.c,
2314 (hildon_pannable_area_grab_notify),
2315 (hildon_pannable_area_initial_effect),
2316 (hildon_pannable_area_button_press_cb),
2317 (hildon_pannable_area_button_release_cb),
2318 (hildon_pannable_area_scroll_cb),
2319 (hildon_pannable_area_scroll_to): Review the timeout management of
2320 the scrollbar, the frecuency was incorrectly set.
2322 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2324 * src/hildon-picker-button.c:
2325 (+hildon_picker_button_on_dialog_response),
2326 (hildon_picker_button_clicked): Present the dialog instead of
2327 running it with gtk_dialog_run().
2329 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2332 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2335 (hildon_app_menu_finalize): When a window is hidden it doesn't
2336 emit notify::is-topmost, so make sure than the menu also
2337 disappears in that case.
2338 (parent_window_topmost_notify): Renamed from parent_window_hidden
2340 Fixes: NB#94460 (stackable window's menu is not closed when its
2343 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2345 * src/hildon-touch-selector-entry.c:
2346 (+hildon_touch_selector_entry_set_input_mode),
2347 (+hildon_touch_selector_entry_get_input_mode):
2348 * src/hildon-touch-selector-entry.h: New methods to access the input
2349 mode in the selector's entry.
2351 Fixes: NB#93410 (API required for setting IM mode in
2352 HildonTouchSelectorEntry)
2354 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2356 * configure.ac: post release version bump.
2357 * debian/changelog: version bump
2359 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2364 * configure.ac: Bump version.
2365 * debian/changelog: Updates.
2367 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2369 * src/hildon-touch-selector.c:
2370 (_hildon_touch_selector_has_multiple_selection): No need
2371 to initialize the variables here.
2373 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-note-private.h
2376 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2377 (hildon_note_finalize, hildon_note_rebuild): Close information
2378 notes when they receive a button press.
2380 Fixes: NB#89890 (Information notes does not get disappeared after
2383 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2385 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2386 mark from the wizard title, as it's not really necessary. Also,
2387 do not display the page title if not set.
2389 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2391 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2392 (parent_window_hidden): Use the window's "is-topmost" property to
2393 detect when to hide the menu.
2395 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2398 (hildon_app_menu_finalize): If the parent window of the menu is
2399 hidden, hide the menu too.
2401 Fixes: NB#94460 (stackable window's menu is not closed when its
2404 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2407 * debian/libhildon1-examples.install
2409 * examples/Makefile.am:
2410 Use dh_install to install all examples.
2411 Use DEB_SRCDIR instead of defining SOURCE_DIR
2413 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2415 * configure.ac: post release version bump.
2416 * debian/changelog: version bump
2418 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2423 * configure.ac: bump version
2424 * debian/changelog: updates
2425 * debian/control: bump gtk+ dependency
2427 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2429 patch by Christian Dywan (christian@imendio.com)
2431 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2432 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2434 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2436 * src/hildon-check-button.c (hildon_check_button_init)
2437 (hildon_check_button_class_init, hildon_check_button_style_set)
2438 (hildon_check_button_apply_style):
2439 New "checkbox-size" style property.
2441 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2442 larger / configurable size)
2444 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2446 * configure.ac: post release version bump.
2447 * debian/changelog: version bump
2449 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2454 * configure.ac: bump version
2455 * debian/changelog: updates
2457 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2459 * doc/hildon-sections.txt
2460 * src/hildon-pannable-area.c
2461 * src/hildon-program.c
2462 * src/hildon-time-editor.c
2463 * src/hildon-touch-selector-entry.c:
2465 More documentation updates.
2467 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2469 * doc/hildon-sections.txt
2470 * src/hildon-caption.c
2471 * src/hildon-code-dialog.c
2472 * src/hildon-color-button.c
2473 * src/hildon-controlbar.c
2474 * src/hildon-date-editor.c
2475 * src/hildon-date-selector.c
2476 * src/hildon-edit-toolbar.c
2477 * src/hildon-find-toolbar.c
2478 * src/hildon-font-selection-dialog.c
2480 * src/hildon-program.c
2481 * src/hildon-range-editor.c
2482 * src/hildon-seekbar.c
2483 * src/hildon-time-editor.c
2484 * src/hildon-time-selector.c
2485 * src/hildon-volumebar-range.c
2486 * src/hildon-volumebar.c
2487 * src/hildon-vvolumebar.c
2488 * src/hildon-weekday-picker.c
2489 * src/hildon-window.c
2490 * src/hildon-wizard-dialog.c:
2492 Lots of documentation fixes.
2494 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2496 Patch contributed by Iván Gómez (igomez@igalia.com)
2498 * src/hildon-check-button.c:
2499 * src/hildon-date-button.c:
2500 * src/hildon-date-selector.c:
2501 * src/hildon-dialog.c:
2502 * src/hildon-edit-toolbar.c:
2503 * src/hildon-entry.c:
2504 * src/hildon-picker-button.c:
2505 * src/hildon-program.c:
2506 * src/hildon-text-view.c:
2507 * src/hildon-time-button.c:
2508 * src/hildon-touch-selector-entry.c:
2509 * src/hildon-window-stack.c:
2511 Add more "since" tags to the new API.
2513 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2515 * doc/hildon-sections.txt: Add below method.
2516 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2517 version for the hildonized scale.
2518 * src/hildon-gtk.h: Add the definition.
2520 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2522 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2524 * doc/hildon-sections.txt: Add missing entries for new methods.
2526 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2528 Added API to pannable are in order to get its adjustments. We
2529 added two properties to manage the values we had in the private
2532 * src/hildon-pannable-area.c:
2533 (hildon_pannable_area_class_init): Added hadjustment and
2534 vadjustment properties in order to expose horizontal and vertical
2536 (hildon_pannable_area_get_property),
2537 (hildon_pannable_area_set_property): Added code to handle the new
2539 (hildon_pannable_area_get_hadjustment),
2540 (hildon_pannable_area_get_vadjustment): API functions to get the
2542 * src/hildon-pannable-area.h:
2543 (hildon_pannable_area_get_hadjustment),
2544 (hildon_pannable_area_get_vadjustment): API functions to get the
2547 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2549 Fixed some leaks, after valgrinding.
2551 * src/hildon-touch-selector.c:
2552 (_default_print_func): Fixed a leak.
2553 (hildon_touch_selector_append_column): Fixed a leak.
2554 * src/hildon-date-button.c:
2555 (hildon_date_button_init): Fixed a leak.
2556 * src/hildon-date-selector.c
2557 (hildon_date_selector_finalize): Fixed a leak.
2559 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2561 Based on a patch by Christian Dywan (christian@imendio.com)
2563 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2565 * src/hildon-gtk.h: Add definition.
2567 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2569 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/hildon-picker-button.c: (hildon_picker_button_init),
2572 (hildon_picker_button_new): Set the HildonButton::style property
2573 in the init method, to propagate the value to the derived classes.
2575 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2577 * src/hildon-button.c: (hildon_button_class_init): Do not make
2578 the "style" property a construct property.
2580 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2582 * src/hildon-wizard-dialog.h
2583 * src/hildon-wizard-dialog.c
2584 (hildon_wizard_dialog_set_forward_page_func)
2585 * src/hildon-pannable-area.h
2586 * src/hildon-pannable-area.c
2587 (hildon_pannable_area_set_size_request_policy):
2588 Documentation fixes.
2590 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2592 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2594 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2596 * doc/hildon-sections.txt: Added sections file.
2598 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2601 * src/*.[ch]: Updates.
2603 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2605 * examples/hildon-progress-indicator-example.c: new file
2606 * examples/Makefile.am: include the new example program
2608 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2610 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2612 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2614 * configure.ac: post release version bump
2615 * debian/changelog: version bump
2617 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2622 * configure.ac: bump version
2623 * debian/changelog: updates
2624 * debian/control: bump gtk+ dependency
2626 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2628 * src/hildon-dialog.c: Mark as deprecated.
2629 * src/hildon-dialog.h: Mark as deprecated.
2630 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2631 from HildonDialog and still work, even if
2632 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2633 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2635 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2636 maemo changes) instead)
2638 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2640 * src/hildon-pannable_area.h:
2641 * src/hildon-pannable_area.c:
2642 (hildon_pannable_area_class_init),
2643 (hildon_pannable_area_set_property),
2644 (hildon_pannable_area_get_property),
2645 (hildon_pannable_area_size_request),
2646 (hildon_pannable_area_get_size_request_policy),
2647 (hildon_pannable_area_set_size_request_policy): Added new API
2648 allowing applications to control the request policy. Now they can
2649 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2650 children allocation (HILDON_MOVEMENT_CHILDREN).
2652 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2656 (hildon_gtk_tree_view_set_ui_mode)
2657 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2658 mode of treeviews and iconviews.
2660 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2662 * src/hildon-touch-selector-entry.c:
2663 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2664 of a GtkEntry to get proper theming.
2666 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2667 widget, not GtkEntry)
2669 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2671 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2672 no HildonWizardDialogPageFunc.
2674 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2676 Patch contributed by Iván Gómez (igomez@igalia.com)
2678 * src/hildon-app-menu.c:
2679 * src/hildon-button.c:
2680 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2681 * src/hildon-stackable-window.c:
2682 * src/hildon-time-selector.c:
2683 * src/hildon-touch-selector.c:
2684 * src/hildon-window.c:
2686 Add more "since" tags to the new API in hildon 2.2.
2688 2008-12-05 Tim Janik <timj@imendio.com>
2690 Patch contributed by Christian Dywan (christian@imendio.com)
2692 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2693 HildonSizeType, which are supplied by Gtk+ now.
2695 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2697 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2698 (with maemo changes) instead)
2700 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2702 Patch contributed by Iván Gómez (igomez@igalia.com)
2704 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2707 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2709 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2710 (some_page_func), (main): Update the example to use a
2711 HildonWizardDialogPageFunc function.
2713 * src/hildon-wizard-dialog-private.h: Add private data for
2714 the HildonWizardDialogPageFunc function usage.
2716 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2717 (destroy), (hildon_wizard_dialog_init), (response),
2718 (hildon_wizard_dialog_set_forward_page_func):
2719 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2720 that applications can use to stop a HildonWizardDialog to jump to
2723 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2726 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2728 * src/hildon-program.h
2729 * src/hildon-program-private.h
2730 * src/hildon-program.c (hildon_program_init)
2731 (hildon_program_set_common_app_menu)
2732 (hildon_program_get_common_app_menu):
2733 New API for setting a common HildonAppMenu for all
2734 HildonStackableWindows registered with the HildonProgram.
2736 * src/hildon-stackable-window.c
2737 (hildon_stackable_window_toggle_menu):
2738 Use the common HildonAppMenu if a window doesn't have a specific
2741 * src/hildon-app-menu-private.h
2742 * src/hildon-app-menu.c
2743 (hildon_app_menu_get_parent_window):
2744 Function to obtain the window a HildonAppMenu is attached to.
2745 (hildon_app_menu_set_parent_window):
2746 Hide the menu if the parent window is set to NULL.
2748 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2750 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2751 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2752 search widget to popup.
2754 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2756 * configure.ac: post release version bump
2757 * debian/changelog: version bump
2759 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2764 * configure.ac: bump version
2765 * debian/changelog: updates
2767 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2769 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2771 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2772 (hildon_window_stack_window_realized)
2773 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2774 Set the leader GdkWindow when a window is stacked and realized,
2775 unset it when it's unstacked.
2776 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2778 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2780 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-stackable-window.h
2783 * src/hildon-window-stack.h:
2784 Protect definition of HildonWindowStack using the preprocessor.
2786 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2788 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2789 Fix warning if all menu items are hidden.
2791 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2793 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2795 * src/hildon-controlbar.c:
2796 * src/hildon-hvolumebar.c:
2797 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2798 Multiple scale size defines updates.
2800 Fixes: NB#94322 (Scale Updates)
2802 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2804 * examples/hildon-app-menu-example.c (create_menu)
2805 Show items after adding them to the menu, as in the future the
2806 menu will no longer call gtk_widget_show() on the added items.
2808 * src/hildon-app-menu.c:
2809 Update example as explained above.
2811 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2813 * src/hildon-app-menu.c
2814 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2815 Make sure that all menu items have finger height.
2817 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2819 * src/hildon-picker-dialog.c:
2820 (_on_dialog_response), (_save_current_selection),
2821 (_restore_current_selection), (_clean_current_selection),
2822 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2823 Defined new functions in order to save the current internal selector
2824 selection previous open the dialog, in case that the use cancel the
2825 interaction, so the widget restores the previous selection.
2827 Fixes: NB#92032 (In calendar application, date values in 'new event'
2830 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2832 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-button.c: Add a reference to the button examples in
2835 hildon-button-example.c
2837 * examples/hildon-button-example.c: Added examples of the most
2838 common button layouts.
2840 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2842 * src/hildon-app-menu.c (hildon_app_menu_show)
2843 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2845 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2847 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2849 * src/hildon-picker-dialog.c:
2850 (hildon_picker_dialog_init): Initialize the signal id for
2851 HildonTouchSelector::columns-changed.
2852 (+on_selector_columns_changed): Set up the interaction mode everytime a
2853 column is added or removed from the HildonTouchSelector.
2854 (_hildon_picker_dialog_set_selector): Connect to
2855 HildonTouchSelector::columns-changed and keep track of it.
2857 Make sure to update the interaction mode of the dialog everytime a
2858 column is added or removed in the HildonTouchSelector.
2860 Fixes: NB#93228 (Done button is not shown always in listpicker)
2862 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2864 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2865 a new ::columns-changed signal.
2866 (hildon_touch_selector_append_column): Emit ::columns-changed.
2867 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2869 Add a ::columns-changed signal, emitted when the number of columns in a
2870 HildonTouchSelector changes.
2872 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2874 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2875 (_hildon_picker_dialog_set_selector): Factor out the code
2876 to set up the dialog interaction mode.
2878 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2881 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2882 to signal_changed_id.
2884 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2889 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2891 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2892 Updated the logical ids related to ampm format, as now it is required to
2893 show it correctly localized even on languages with no default
2894 abbreviations for am or pm
2895 (_check_am_pm_format): check correctly the 24h format gconf property
2897 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2899 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2901 * src/hildon-button.c: Documentation updates.
2903 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2905 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2906 * src/hildon-caption.c: (hildon_caption_class_init):
2907 * src/hildon-color-button.c: (hildon_color_button_class_init):
2908 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2909 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2910 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2911 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2913 Remove deprecated GTK+ marshalers and replace them with the ones
2914 provided by GLib, for those available, add a marshaler for
2915 BOOLEAN:VOID, which is not available in GLib, and use it.
2917 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2919 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2920 the text from the previous column if there is no
2921 HildonTouchSelectorColumn::text-property set.
2923 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2925 * src/hildon-button.h
2926 * src/hildon-button.c (hildon_button_set_property)
2927 (hildon_button_get_property, hildon_button_class_init)
2928 (hildon_button_set_style, hildon_button_get_style):
2929 New "style" property to change the visual appearance of the
2932 * src/hildon-picker-button.c (hildon_picker_button_new):
2933 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2935 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2936 HildonButton look like PickerButton)
2938 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2940 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2941 column while building the default string.
2943 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2945 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2946 scroll indicator by default.
2948 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2950 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2952 * src/hildon-main.c: Fix the documentation for hildon_init()
2954 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2956 * doc/hildon-docs.sgml
2960 * src/hildon-window-stack-private.h
2961 * src/hildon-window-stack.h
2962 * src/hildon-window-stack.c:
2963 New HildonWindowStack object, that adds support for multiple
2964 stacks of windows per process.
2966 * src/hildon-stackable-window-private.h
2967 * src/hildon-stackable-window.h
2968 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2969 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2970 (hildon_stackable_window_show, hildon_stackable_window_hide)
2971 (hildon_stackable_window_class_init)
2972 (hildon_stackable_window_init):
2973 Use HildonWindowStack for stack management.
2975 * src/hildon-program.c (hildon_program_pop_window_stack)
2976 (hildon_program_peek_window_stack)
2977 (hildon_program_go_to_root_window):
2978 Add a fallback implementation to the deprecated functions using
2981 * examples/hildon-stackable-window-example.c:
2982 Use the new HildonWindowStack API.
2984 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2986 * src/hildon-stackable-window-private.h
2987 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2988 (hildon_stackable_window_hide, hildon_stackable_window_init):
2989 Remove all window stack management.
2991 * src/hildon-program-private.h
2992 * src/hildon-program.h
2993 * src/hildon-program.c (hildon_program_init)
2994 (hildon_program_pop_window_stack)
2995 (hildon_program_peek_window_stack)
2996 (hildon_program_go_to_root_window):
2997 Remove all window stack management and mark functions as
3000 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-app-menu.c (hildon_app_menu_realize):
3003 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3005 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3007 * configure.ac: post release version bump
3008 * debian/changelog: version bump
3010 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3015 * configure.ac: bump version
3016 * debian/changelog: updates
3018 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3020 Based on initial code by Christian Dywan (christian@imendio.com)
3022 * doc/hildon-docs.sgml: Add section for hildon-main.
3023 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3024 * src/Makefile.am: Add new hildon-main.[ch]
3025 * src/hildon-defines.h: Update the icon sizes.
3026 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3027 new library initialization files and register icon sizes.
3028 * src/hildon-main.h: New declarations.
3029 * src/hildon.h: Include hildon-main.h
3031 Add new initialization functions to the library. These methods
3032 will register the hildon specific icon sizes and can be used in the
3033 future for other hildon specific bits.
3035 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3037 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3039 * src/hildon-window.c: (hildon_window_realize),
3040 (hildon_window_notify), (-hildon_window_update_title): Do not set
3041 the application name in the window title.
3043 Fixes: NB#89754 (Applications shouldn't display their names in the
3046 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3048 * src/hildon-note-private.h:
3049 * src/hildon-note.c: (hildon_note_set_property),
3050 (hildon_note_get_property), (hildon_note_class_init),
3051 (hildon_note_init), (hildon_note_finalize),
3052 (hildon_note_new_confirmation_with_icon_name),
3053 (hildon_note_new_information_with_icon_name):
3055 No need to mark as deprecated the actual code. Revert
3056 to avoid missing symbols in widgets using deprecated API.
3058 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3060 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3062 * src/hildon-volumebar.h
3063 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3064 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3066 * src/hildon-helper.h
3067 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3068 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3070 * examples/Makefile.am:
3071 Deprecate hildon-insensitive-example
3073 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3075 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3077 * examples/hildon-pannable-area-buttons-scroll-example.c:
3078 Make all buttons finger height
3080 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3082 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3084 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3085 update the day model only if it is really required, and to avoid the
3086 full-reconstruction aproach. Now it only add or remove the required days.
3088 The purpose of this is avoid superfluous HildonTouchSelector::changed
3091 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3092 with strange parameters)
3094 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3096 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3098 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3099 the WINDOW_TYPE property.
3101 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3103 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3106 Fix dependency to allow parallel compilation with make -jX
3108 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3110 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3111 color frame and some minor tweaks to make it more consistent with
3114 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3115 highlighted but not visible)
3117 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3119 * examples/Makefile.am: Fixed typo in the Makefile.am.
3121 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3123 Reviewed the use of MAEMO_GTK define, now we add the define in the
3124 compilation line, and we also add it to the pc file.
3126 * configure.ac: Added MAEMO_GTK define to the compilation command
3127 and removed it from the config.h.
3129 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3130 do not have to take care about this define if the library was
3134 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3136 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3138 * examples/Makefile.am,
3139 * examples/hildon-pannable-area-buttons-scroll-example.c,
3140 * examples/hildon-pannable-area-gesture-signals-example.c,
3141 * examples/hildon-pannable-area-scroll-jump-example.c,
3142 * examples/hildon-pannable-area-tree-view-example.c:
3143 Renamed the pannable area examples, now they have more meaningful
3146 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3148 * src/hildon-touch-selector.c:
3149 (hildon_touch_selector_set_column_selection_mode): Used of
3150 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3151 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3152 to avoid re-seting the same selection mode.
3154 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3155 breaks HildonPickerDialog)
3157 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3159 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3160 conditional in the Makefile.am
3162 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3164 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3165 Remove unused methods.
3167 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3169 * src/hildon-button.c (hildon_button_init):
3170 Make button images center-aligned by default
3172 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3175 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3176 activated, we have to think about how to deal with both defines
3177 MAEMO_GTK and MAEMO_CHANGES.
3179 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3181 * examples/hildon-app-menu-example.c (create_menu): Make all
3182 buttons finger size.
3184 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3186 Fixed the compilation without maemo gtk adding ifdefs with
3187 MAEMO_GTK define to the code, we have to check this version more
3190 * examples/Makefile.am: Added control to avoid some examples that
3191 just make sense with maemo gtk.
3194 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3195 hildon modes with the define.
3197 * examples/hildon-edit-toolbar-example.c,
3198 (create_icon_view): Create the icon view without hildon-gtk
3199 helpers if we are not using maemo gtk.
3201 * src/hildon-touch-selector.c,
3202 (_create_new_column): Create the treeview without hildon-gtk
3203 helpers if we are not using maemo gtk.
3205 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3207 * src/hildon-pnnable-area.c,
3208 (hildon_pannable_area_dispose),
3209 (hildon_pannable_area_button_press_cb),
3210 (hildon_pannable_area_child_mapped),
3211 (hildon_pannable_area_add),
3212 (hildon_pannable_area_remove): Added code to control the position
3213 of the event_window when adding and removing children from the
3214 pannable. We have to raise the event window when the child is
3217 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3218 selection mode using custom widget inside pannable)
3220 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3222 * configure.ac: post release version bump
3223 * debian/changelog: version bump
3225 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3230 * configure.ac: bump version
3231 * debian/changelog: updates
3233 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3235 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3236 search mode, in order to avoid lose the focus on the treeview when
3237 a hw key (like enter) is pressed.
3239 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3240 in HildonDateSelector dialog)
3242 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3244 * debian/rules: Added --enable-maintainer-mode
3245 * Makefile.am: Added ACLOCAL_AMFLAGS
3247 This allows to properly regenerate the Makefiles if you modify the
3248 configure.ac or any Makefile.am.
3250 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3252 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3253 properties, not needed at all.
3255 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3257 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3259 * src/hildon-note.c: (hildon_note_set_property),
3260 (hildon_note_get_property), (hildon_note_class_init),
3261 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3262 (hildon_note_new_confirmation_add_buttons): Remove icons.
3263 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3264 (hildon_note_new_information_with_icon_name): Deprecate.
3265 (hildon_note_new_confirmation): Act directly, without calling
3266 the deprecated constructor.
3267 (hildon_note_new_information): Act directly, without calling
3268 the deprecated constructor.
3269 * src/hildon-note.h: Mark deprecate methods as such.
3270 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3271 not run tests on the deprecated methods if built with deprecation
3274 Fixes: NB#91688 (Never show icons in information notes/confirmation
3277 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3279 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3280 (hildon_app_menu_key_press): Remove leftover usage of the
3281 private structure in HildonAppMenu struct.
3282 * src/hildon-app-menu.h: Remove leftover private structure
3283 from the HildonAppMenu struct.
3285 Fixes a crasher when using the HildonAppMenu.
3287 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3289 * src/hildon-picker-dialog.c: Use appropriate logical id
3290 for the default "Done" text.
3292 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3294 * configure.ac: post release version bump
3295 * debian/changelog: version bump
3297 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3299 Modified the way to scroll to the current selection just when the touch
3300 selector is shown on the screen, avoiding a g_idle. Added too a property
3301 to configure this behaviour. See hildon_pannable_area_jump_to_child
3302 documentation for more information.
3304 * src/hildon-touch-selector.c
3305 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3306 Added 'initial-scroll' property
3307 (hildon_touch_selector_set_property): Added
3308 (hildon_touch_selector_map): Removed as not required anymore
3309 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3310 only a concrete column, instead of iterate along all the columns
3312 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3317 * configure.ac: bump version
3318 * debian/changelog: updates
3320 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3322 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3323 compilation time warnings.
3325 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3327 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3328 the default value for HildonPannableArea::mov-mode to
3329 HILDON_PANNABLE_AREA_MODE_VERT.
3331 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3333 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3335 Reverting following commit:
3337 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3339 * src/hildon-app-menu-private.h
3340 * src/hildon-app-menu.[ch]
3341 * src/hildon-button.[ch]
3342 * src/hildon-check-button.[ch]
3343 * src/hildon-entry.[ch]
3344 * src/hildon-pannable-area.[ch]
3345 * src/hildon-text-view.[ch]:
3346 Added private field to the object's structure.
3348 because it causes an ABI breakage. We will need to introduce these
3349 changes later at some point. See NB#91636 for an extensive
3350 explanation and status.
3352 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3354 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3356 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3357 remove special cases that are no longer necessary.
3359 Fixes: NB#91016 (Change toolbar sizes, simplification)
3361 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3363 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3364 is shown in the cancel note.
3366 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3368 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3369 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3370 (hildon_seekbar_init): Remove steppers, remove expose event.
3371 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3373 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3375 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3378 label font to "SmallSystemFont" for vertically arranged buttons.
3380 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3383 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3385 * src/hildon-check-button.c
3386 (hildon_check_button_set_active, hildon_check_button_clicked):
3387 Don't access private parts directly, use getters instead.
3389 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3391 * src/hildon-check-button.c (hildon_check_button_new):
3392 Align the contents of the check button to the left.
3394 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3396 * src/hildon-pannable-area.c,
3397 (hildon_pannable_area_scroll_to),
3398 (hildon_pannable_area_jump_to),
3399 (hildon_pannable_area_scroll_to_child),
3400 (hildon_pannable_area_jump_to_child): Replace the mapped
3401 precondition of these functions with the realized, it is the
3402 correct state of the widget in this case. Changed the
3403 documentation according to this modification.
3405 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3407 Added a new EXTRA_CFLAGS option to add the deprecated define to
3408 the compilation command. This way we can avoid using the define in
3409 the documentation compilation.
3411 * configure.ac: Defined EXTRA_CFLAGS.
3413 * examples/Makefile.am:
3415 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3417 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3419 * src/hildon-picker-dialog.c:
3420 Defined a utility macro with the desired touch selector height
3421 Removed currently unused separator, and title_label variables from
3423 (hildon_picker_dialog_init): Removed code related to the creation
3424 of unused private variables title_label and separator.
3425 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3426 to ensure correct visualization of the touch selector inside the dialog.
3427 * src/hildon-touch-selector.c
3428 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3429 ensure a concrete height of the widget.
3431 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3434 * tests/Makefile.am:
3436 Remove spurious whitespaces.
3438 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3440 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3441 compilation warning after the cancel button removal.
3443 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3445 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3447 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3448 Makefile.am, that way we can choose not to compile some examples
3449 and tests of the deprecated widgets.
3451 * examples/Makefile.am: Divided the sources in deprecated and
3454 * src/Makefile.am: Added undef statement of the deprecated
3455 symbol to the enums file generation process.
3457 * src/hildon-color-chooser-dialog.c
3458 * src/hildon-color-chooser-dialog.h
3459 * src/hildon-color-button.c
3460 * src/hildon-color-button.h
3461 * src/hildon-color-chooser.c
3462 * src/hildon-color-chooser.h
3463 * src/hildon-controlbar.c
3464 * src/hildon-controlbar.h
3465 * src/hildon-date-editor.c
3466 * src/hildon-date-editor.h
3467 * src/hildon-hvolumebar.c
3468 * src/hildon-hvolumebar.h
3469 * src/hildon-private.c
3470 * src/hildon-private.h
3471 * src/hildon-range-editor.c
3472 * src/hildon-range-editor.h
3473 * src/hildon-seekbar.c
3474 * src/hildon-seekbar.h
3475 * src/hildon-time-editor.c
3476 * src/hildon-time-editor.h
3477 * src/hildon-time-picker.c
3478 * src/hildon-time-picker.h
3479 * src/hildon-volumebar.c
3480 * src/hildon-volumebar.h
3481 * src/hildon-vvolumebar.c
3482 * src/hildon-vvolumebar.h
3483 * src/hildon-bread-crumb-trail.h
3484 * src/hildon-bread-crumb-trail.c
3485 * src/hildon-calendar-popup.c
3486 * src/hildon-calendar-popup.h
3487 * src/hildon-weekday-picker.c:
3488 * src/hildon-weekday-picker.h:
3489 * src/hildon-bread-crumb-widget.c:
3490 * src/hildon-bread-crumb-widget.h:
3491 * src/hildon-bread-crumb.c:
3492 * src/hildon-bread-crumb.h:
3493 * src/hildon-calendar.c:
3494 * src/hildon-calendar.h:
3495 * src/hildon-caption.c:
3496 * src/hildon-code-dialog.c:
3497 * src/hildon-code-dialog.h:
3498 * src/hildon-font-selection-dialog.c:
3499 * src/hildon-font-selection-dialog.h:
3500 * src/hildon-get-password-dialog.c:
3501 * src/hildon-get-password-dialog.h:
3502 * src/hildon-login-dialog.c:
3503 * src/hildon-login-dialog.h:
3504 * src/hildon-number-editor.c:
3505 * src/hildon-number-editor.h:
3506 * src/hildon-set-password-dialog.c:
3507 * src/hildon-set-password-dialog.h:
3508 * src/hildon-sort-dialog.c:
3509 * src/hildon-sort-dialog.h: This is the list of deprecated
3512 * src/hildon-touch-selector.c:
3513 * src/hildon-window.c: Added undef statement to avoid compilation
3516 * tests/Makefile.am: Divided the sources in deprecated and
3519 * tests/check_test.c,
3520 (configure_tests): Marked the deprecated code that was adding
3521 suites with deprecated tests.
3523 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3525 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3527 * src/hildon-touch-selector.c: (_default_print_func): Do not
3528 duplicate a string returned by gtk_tree_model_get(), it is already
3531 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3534 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3536 * src/hildon-pannable-area.c
3537 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3538 method, it had problems when adding a widget with viewport the
3539 second time. Now checks if it already has a viewport and uses it.
3541 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3544 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3546 * src/hildon-pannable-area.c,
3547 (hildon_pannable_area_scroll_to),
3548 (hildon_pannable_area_jump_to),
3549 (hildon_pannable_area_scroll_to_child),
3550 (hildon_pannable_area_jump_to_child): Added a precondition to the
3551 scroll and jump to functions: the widget must be mapped before we
3552 can safely call these functions. We have also added documentation
3553 to the functions to explain how to use them in this situation.
3556 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3558 Reviewed the threading handling of the pannable widget, we have
3559 used the gdk_threads_add_timeout function instead of the usual
3560 glib handlers. This avoids some problems with the threads.
3562 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3563 (hildon_pannable_area_initial_effect),
3564 (hildon_pannable_area_scroll_indicator_fade),
3565 (hildon_pannable_area_button_press_cb),
3566 (hildon_pannable_area_timeout),
3567 (hildon_pannable_area_motion_notify_cb),
3568 (hildon_pannable_area_button_release_cb),
3569 (hildon_pannable_area_scroll_cb),
3570 (hildon_pannable_area_scroll_to): Removed the
3571 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3572 gdk_threads_add_timeout.
3574 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3576 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3581 * configure.ac: bump version
3582 * debian/changelog: updates
3584 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3586 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3587 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3588 * src/hildon-color-chooser-dialog.c:
3589 (hildon_color_chooser_dialog_init):
3590 * src/hildon-font-selection-dialog.c:
3591 (hildon_font_selection_dialog_init):
3592 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3594 Remove all cancel/close-like dialogs, as these are not going to be
3597 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3599 * src/hildon-note.c: (hildon_note_rebuild),
3600 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3603 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3605 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3607 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3608 sure all buttons are shown, even the Cancel/Close-like ones.
3610 Fixes: NB#90861 (Custom Confirmation dialogs should be
3611 protected from cancel button removal)
3613 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3615 * debian/control: Change libhildon1-examples dependency from libhildon1
3617 * debian/libhildon1-examples.install
3619 * Makefile.am: Modified the final install directory for the examples on
3620 package libhildon1-examples
3621 * Makefile.static: Update clean target in order to remove all the binary
3624 Changes suggested by Claudio after review new libhildon1-examples package
3626 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3629 * src/hildon-touch-selector.c: Ditto.
3631 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3633 * debian/control: Added new package libhildon1-examples, in order to pack
3634 the current hildon examples as documentation
3635 * debian/rules: Not to compress .c files, modify some includes on the
3636 examples (as normally are compiled locally, but when installed it will
3637 require to include the installed libhildon1 library), and rename
3639 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3640 install all the example files on the new example package
3641 * examples/Makefile.static: Added static makefile that can be used to
3642 compile the examples, once installed the new example package
3643 * examples: Most of the examples were modified in order to grant that
3644 all use only '#include "hildon.h"', in order to be easy to prepare
3645 it on the example package
3647 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3650 * debian/libhildon1-dev.install
3651 * debian/libhildon1-doc.install:
3652 Move all gtk-doc files to a separate libhildon1-doc package.
3654 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3656 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3658 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3660 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3662 * debian/rules: Fixed a error in order to avoid unnecessary calls
3663 to autogen.sh on package building
3665 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3667 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3669 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3671 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3674 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-picker-button.c
3677 (hildon_picker_button_finalize):
3678 Free priv->done_button_text
3680 * src/hildon-time-button.c
3681 (hildon_time_button_set_time)
3682 * src/hildon-picker-button.c
3683 (hildon_picker_button_clicked)
3684 (hildon_picker_button_selector_selection_changed)
3685 (hildon_picker_button_set_selector)
3686 * src/hildon-date-button.c
3687 (hildon_date_button_set_date):
3688 Free strings returned by hildon_touch_selector_get_current_text()
3690 * src/hildon-button.c (hildon_button_construct_child):
3691 Fix leaks in priv->image and priv->label_box
3693 Fixes: NB#90535 (Memory leak in picker button)
3695 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3697 * src/hildon-button.c: (hildon_button_get_property): Do not access
3698 private elements directly, use getters instead.
3700 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3702 * src/hildon-app-menu-private.h
3703 * src/hildon-app-menu.c
3704 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3705 Store the menu's parent window.
3707 * src/hildon-stackable-window.c
3708 (hildon_stackable_window_toggle_menu)
3709 (hildon_stackable_window_finalize):
3710 Set the menu's parent window when the menu is shown, unset it when
3713 * src/hildon-app-menu.c
3714 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3715 (hildon_app_menu_class_init):
3716 Send unhandled keyboard accelerators to the parent window.
3718 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3720 * src/hildon-stackable-window.c
3721 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3723 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3725 * configure.ac: post release version bump
3727 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3730 * configure.ac: Bump version
3731 * debian/changelog: Updates
3732 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3735 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3737 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3740 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3741 GtkMenu with Hildon style.
3743 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-picker-button.c:
3746 (hildon_picker_button_set_done_button_text): Set the dialog's
3747 done button text here as well.
3749 Fixes: NB#90232 (Picker button does not set the label on done button
3750 for the second time)
3752 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3754 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3757 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3759 * src/hildon-app-menu.c (hildon_app_menu_insert)
3760 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3761 the HildonAppMenu to be activatable using keyboard accelerators
3762 when the menu is not being shown.
3764 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3766 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3768 * src/hildon-stackable-window.c
3769 (hildon_stackable_window_show):
3770 Don't hide old windows automatically when new windows are shown:
3771 this is now a task for the window manager.
3772 (hildon_stackable_window_class_init)
3773 (hildon_stackable_window_hide):
3774 Remove windows from the stack everytime they're hidden.
3775 (hildon_stackable_window_realize):
3776 Don't change the _NET_WM_WINDOW_TYPE property. Use
3777 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3778 it as a stackable window.
3780 * src/hildon-program.c
3781 (hildon_program_pop_window_stack):
3782 Just hide the window to remove it from the stack.
3783 (hildon_program_go_to_root_window):
3784 Don't call gtk_widget_show(), this is now a task for the window
3787 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3789 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3791 * src/hildon-button.c
3792 (hildon_button_construct_child):
3793 Don't pack anything in the button until text or image are
3794 set. This allows adding a custom child after creating the button
3795 with hildon_button_new().
3796 (hildon_button_finalize, hildon_button_class_init)
3797 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3798 alignment and the label box even when they're not packed in the
3801 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3803 * src/hildon-touch-selector.h:
3804 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3805 currently the type definition was using GTK_TYPE_VBOX
3806 * src/hildon-touch-selector.c:
3807 Added some implementation notes in order to clarify that any other widget
3808 added without the column related API will not be included on the
3809 selection logic, and how the widget is freed, as some people ask about
3811 (hildon_touch_selector_remove): Reimplemented in order to free properly
3812 the column related data when you remove the private hbox.
3813 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3814 to get a proper HildonTouchSelectorColumn documentation
3816 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3818 * src/hildon-touch-selector-entry.c:
3819 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3820 text in the GtkEntry and there is no item selected. Fixes a
3823 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3825 * src/hildon-app-menu-private.h
3826 * src/hildon-app-menu.[ch]
3827 * src/hildon-button.[ch]
3828 * src/hildon-check-button.[ch]
3829 * src/hildon-entry.[ch]
3830 * src/hildon-pannable-area.[ch]
3831 * src/hildon-text-view.[ch]:
3832 Added private field to the object's structure.
3834 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3836 * configure.ac: post-release version bump
3838 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3842 * configure.ac: pre-release version bump
3844 * debian/changelog: updates.
3846 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3848 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3849 Disconnect the handler for HildonTouchSelector::changed.
3851 (hildon_picker_button_selector_selection_changed): Update the button
3852 value if the selection change was not triggered by the
3855 (hildon_picker_button_set_selector): connect to
3856 HildonTouchSelector::changed.
3858 Fixes: NB#89650 (Picker button is not updated, when selection in
3859 selector has changed)
3861 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3863 * src/hildon-picker-dialog.c
3864 (hildon_picker_dialog_realize): Removed as not required
3865 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3866 * src/hildon-picker-button.c
3867 (_current_selector_empty): New function, checks if the selector is empty
3868 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3869 if the current selector is empty, in order to avoid to show the dialog
3870 close the dialog in this case (and shows a g_warning).
3872 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3874 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3876 * src/hildon-pannable-area.c,
3877 (hildon_pannable_area_scroll): Added clause to stop movement when
3878 the child of pannable is smaller than one page.
3879 (hildon_pannable_area_scroll_to): Added conditions to avoid
3880 starting the scrolling movement if the child is smaller than one
3881 page, the complete child is in the screen, we do not have to move.
3883 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3885 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3887 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3888 this is managed automatically by the widget when the size of the
3891 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3893 * src/hildon-picker-button.c
3894 (hildon_picker_button_set_done_button_text): Make a copy of the
3895 text, and free the previous value.
3897 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3899 * src/hildon-touch-selector-entry.c:
3900 (hildon_touch_selector_entry_print_func): Return the selected row's
3901 text if the entry is empty.
3903 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3906 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3908 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3910 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3913 * src/hildon-check-button.h
3914 * src/hildon-check-button.c
3915 * examples/hildon-check-button-example.c:
3916 HildonCheckButton is now a new widget. 'toggled' signal added.
3918 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3920 * src/hildon-program-private.h
3921 * src/hildon-program.c (hildon_program_init)
3922 (hildon_program_finalize): Removed unused variables group_leader
3923 and name from HildonProgramPrivate.
3925 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3927 * src/hildon-check-button.c (hildon_check_button_set_active)
3928 (hildon_check_button_get_active, hildon_check_button_new): Use
3929 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3931 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3933 * src/hildon-touch-selector.h
3934 (hildon_touch_selector_set_column_attributes): added deprecation
3935 guard HILDON_DISABLE_DEPRECATED
3936 * src/hildon-time-selector.c
3937 (hildon_time_selector_set_time)
3938 (hildon_time_selector_get_time): Fixed a typo on documentation
3939 * src/hildon-touch-selector.c: update HildonTouchSelector and
3940 HildonTouchSelectorColumn documentation
3941 * src/hildon-touch-selector-entry.c: update "text-column" property
3943 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3944 to be added to the general documentation.
3946 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3948 * examples/hildon-pannable-area-example-4.c,
3950 * examples/hildon-pannable-area-example.c,
3951 (main): Modified the code in order to use the container add, with
3952 viewport treeviews could have problems if they are really big.
3954 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3956 * src/hildon-weekday-picker.c,
3957 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3958 the agreement regarding deprecation in the library.
3960 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3962 * examples/hildon-picker-button-multicolumn-example.c:
3963 (main): Use custom "done" button text.
3965 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3966 (hildon_picker_button_set_property),
3967 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3968 (hildon_picker_button_init),
3969 (+hildon_picker_button_get_done_button_text),
3970 (+hildon_picker_button_set_done_button_text): New methods to customize
3971 the "done" button label in the launched HildonPickerDialog. Also,
3974 * src/hildon-picker-button.h: add the public API.
3976 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3978 * src/hildon-date-selector.h:
3979 * src/hildon-picker-dialog.h:
3980 * src/hildon-time-selector.h:
3981 * src/hildon-touch-selector-column.h:
3982 * src/hildon-touch-selector.h:
3984 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3985 declarations. Fixes gtk-doc warnings.
3987 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3989 * src/hildon-picker-dialog.h
3990 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3991 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3993 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3994 long text is set as label for done button)
3996 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-dialog.c (hildon_dialog_add_button):
3999 Set fixed width to all buttons in the HildonDialog.
4001 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4003 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4005 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4006 Set widget name using class name plus "-finger" or "-thumb".
4008 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4010 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4011 'clicked' when the state of the button is manually changed.
4013 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4015 * src/hildon-app-menu.c (hildon_app_menu_realize)
4016 (hildon_app_menu_unrealize, hildon_app_menu_init)
4017 (hildon_app_menu_class_init, item_visibility_changed):
4018 Change the menu layout when the size of the screen changes.
4019 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4020 Show warning only when changing the number of colums using the
4023 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4025 * debian/compat: Set to 5
4026 * debian/control: Update dependencies.
4027 * debian/libhildon1-dbg.install: Remove.
4028 * debian/libhildon1-dev.install: Update according to cdbs paths.
4029 * debian/libhildon1.install: Update according to cdbs paths.
4030 * debian/rules: Switch to cdbs.
4032 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4034 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4035 'item' variable renamed to 'filter'
4037 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4039 * src/hildon-app-menu.c (hildon_app_menu_insert)
4040 (hildon_app_menu_add_filter, remove_item_from_list)
4041 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4042 Don't leak hidden items when the menu is destroyed.
4044 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4046 * src/hildon-app-menu.c (hildon_app_menu_insert)
4047 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4048 (hildon_app_menu_set_columns, item_visibility_changed)
4049 (filter_visibility_changed, hildon_app_menu_repack_filters)
4050 (hildon_app_menu_repack_items):
4051 Repack items and filters separately.
4053 Don't repack all items, change only the ones that are needed to
4056 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4058 * src/Makefile.am: added hildon-touch-selector-column.h
4060 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4062 * src/hildon-touch-selector.c: added the property "text-column" to the
4063 class HildonTouchSelectorColumn, and related get/set functions
4064 (_default_printf_func): updated to use "text-column" property
4065 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4066 "text-column" in his documentation, as this is now included on
4067 HildonTouchSelectorColumn. The get/set_property can still be used,
4068 working as a wrapper to the concrete column "text-column" property
4069 (_text_column_modified): callback added in order to handle the signal
4070 "notify::text-column" of the concrete HildonTouchSelectorColumn
4071 (hildon_touch_selector_entry_get_text_column)
4072 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4073 modified in order to use the HildonTouchSelectorColumn "text-column"
4075 * src/hildon-time-selector.c:
4076 * src/hildon-date-selector.c:
4077 * examples/hildon-touch-selector-example.c
4078 * examples/hildon-touch-selector-multi-cells-example.c
4079 * examples/hildon-picker-button-multicolumn-example.c
4080 Set the right value to "text-column" property on the creation of a new
4081 column using hildon_touch_selector_append_column()
4083 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4085 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4087 * src/hildon-app-menu.c
4088 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4089 updating the layout of the menu, don't create all widgets again,
4090 just repack the items in their new places.
4092 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4094 * src/hildon-time-selector.c
4095 (hildon_time_selector_get_time)
4096 (hildon_time_selector_set_time)
4097 Added documentation of these public methods
4099 * src/hildon-date-button.h
4100 * src/hildon-touch-selector-column.h
4101 * src/hildon-time-button.h
4102 * src/hildon-picker-dialog.h
4103 * src/hildon-time-selector.h
4104 * src/hildon-picker-button.h
4105 * src/hildon-touch-selector.h
4106 * src/hildon-time-picker.h
4107 * src/hildon-date-selector.h
4108 * src/hildon-touch-selector-entry.h
4109 Modified in order to use hildon-widgets code style
4111 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4113 Added deprecated support to the compilation process using
4114 HILDON_DISABLE_DEPRECATED
4116 * configure.ac: Added the --disable-deprecated to the configure
4119 * src/hildon-weekday-picker.c:
4120 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4121 to use the deprecated support. We will update the other deprecated
4122 widgets status in a new patch.
4124 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4126 * configure.ac: Fixed typo with fatal warnings support, the
4127 variable name was not correct
4129 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-app-menu.c
4132 * src/hildon-program.c: Update documentation.
4134 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4136 * configure.ac: Post-release version bump.
4138 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4143 * configure.ac: Pre-release version bump.
4144 * debian/changelog: Updates.
4146 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4148 * NEWS: Update news for previous releases.
4150 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4152 * examples/hildon-touch-selector-multi-cells-example.c:
4153 (create_selector): Update the example to use
4154 hildon_touch_selector_append_column() with a NULL renderer and set
4155 the renderers later.
4156 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4157 passed a NULL renderer. This is documented behavior now.
4159 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4160 This must be used if the developer wants full control on the layout of
4161 the renderers to be added to the column.
4163 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4165 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4167 * src/hildon-touch-selector.c: Documentation fixes.
4169 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4171 * src/hildon-wizard-dialog-private.h: Remove image and box.
4172 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4173 (hildon_wizard_dialog_set_property), (response): Completely remove
4174 image/icon support, and the containers required for the layout.
4176 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4178 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4180 * src/hildon-app-menu.c: Updated documentation.
4182 * src/hildon-stackable-window.c
4183 (hildon_stackable_window_set_main_menu): Unref the old menu after
4184 ref'ing the new one.
4186 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4188 * src/hildon-stackable-window.c
4189 (hildon_stackable_window_set_main_menu): Unref the previous menu
4190 instead of destroying it.
4192 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4193 floating reference and set has_user_ref_count to FALSE to make
4194 HildonAppMenu act like a normal ref-counted widget and not a
4197 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4200 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4202 * src/hildon-touch-selector-column.h: new file
4203 * src/hildon-touch-selector.h
4204 * src/hildon-touch-selector.c
4205 Implemented GtkCellLayout interface, in order to allow to configure
4206 the cell layout on each individual selector column
4207 (hildon_touch_selector_set_column_attributes): marked as deprecated
4208 * examples/hildon-touch-selector-multi-cells-example.c
4209 Example of how to use the GtkCellLayout interface on the selector
4211 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4213 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-app-menu.h
4216 * src/hildon-app-menu.c
4217 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4218 (hildon_app_menu_append, hildon_app_menu_prepend):
4219 New methods to prepend, insert and move items in the menu.
4221 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4223 * src/hildon-wizard-dialog.c:
4225 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4227 (create_title): Update logical IDs and related code.
4228 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4230 * src/hildon-wizard-dialog.h: Note that
4231 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4232 point, as it is not used anymore.
4234 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4236 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4238 * src/hildon-note.c:
4239 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4240 shown. Do not display an icon in confirmation notes nor information
4242 (hildon_note_set_button_text): Update logical ID for cancel button.
4244 Fixes: NB#88850 (Update HildonNote button strings + signals)
4246 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4248 * src/hildon-stackable-window.c
4249 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4251 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4253 * src/hildon-app-menu-private.h
4254 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4255 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4256 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4257 temporary property 'columns' to change the number of columns.
4259 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4261 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4263 * examples/hildon-note-example.c: (on_information_clicked),
4264 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4265 debugging information.
4266 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4268 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4269 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4270 in order to close: this will be handled by the WM from now on.
4272 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4274 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4276 * src/hildon-app-menu-private.h
4277 * src/hildon-app-menu.c
4278 (hildon_app_menu_append, hildon_app_menu_add_filter)
4279 (button_visibility_changed, hildon_app_menu_apply_style)
4280 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4281 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4282 layout everytime a button (item or filter) is shown or hidden.
4284 * src/hildon-stackable-window.c
4285 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4288 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4290 * src/hildon-touch-selector.c:
4291 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4292 that the treeview inside the touch selector is in fremantle hildon mode
4293 * examples/hildon-date-button-example.c
4294 * examples/hildon-picker-button-multicolumn-example.c
4295 * examples/hildon-touch-selector-entry-example.c
4296 * examples/hildon-touch-selector-example.c
4297 * examples/hildon-time-button-example.c
4298 * examples/hildon-picker-button-example.c:
4299 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4301 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4303 * examples/hildon-text-view-example.c: (main): Remove the
4304 gtkrc bits, now handled by the theme.
4306 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4308 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4311 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4313 * po/Makefile.am: Install properly the mo files.
4314 * po/en_GB.po: Update translation, to ease testing purposes.
4316 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4318 * examples/hildon-picker-button-example.c: (main): Select an item
4319 in the selector before setting it to the button.
4321 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4323 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4324 Update button's value if the selector has an item active.
4326 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4327 'value' with the selector)
4329 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4331 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4332 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4333 (hildon_picker_button_class_init): Plug the finalize method.
4334 (hildon_picker_button_set_selector): If there's a previously set
4335 selector, unref'it before setting a new one.
4337 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4338 HildonTouchSelector)
4340 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4342 * src/hildon-touch-selector-entry.c:
4343 (hildon_touch_selector_entry_changed): Check if there is no text
4344 selected before setting the entry text.
4347 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4349 * src/hildon-touch-selector.h
4350 * src/hildon-touch-selector.c
4351 (hildon_touch_selector_get_active)
4352 (hildon_touch_selector_set_active): New methods to set/get the
4353 index of the selected item.
4355 * src/hildon-picker-button.h
4356 * src/hildon-picker-button.c
4357 (hildon_picker_button_get_active)
4358 (hildon_picker_button_set_active): New methods to set/get the
4359 index of the selected item.
4361 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4363 * configure.ac: post-release version bump.
4365 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4369 * configure.ac: Pre-release version bump.
4370 * debian/changelog: Updates.
4371 * debian/control: Add myself as maintainer and depend on l10n
4374 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4376 * src/hildon-window.c
4377 (hildon_window_set_main_menu)
4378 * src/hildon-stackable-window.c
4379 (hildon_stackable_window_set_main_menu):
4380 Updated documentation.
4382 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4385 Don't free selector->priv manually.
4388 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4391 (hildon_gtk_window_set_progress_indicator):
4392 * src/hildon-gtk.h: Added the new API
4393 hildon_gtk_window_set_progress_indicator, it changes the state of
4394 the window progress hint.
4396 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4398 * src/hildon-button.c
4399 * src/hildon-stackable-window.c: Minor documentation updates.
4401 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4403 * src/hildon-stackable-window.c: Updated documentation.
4405 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4407 * src/hildon-defines.h: Update margins definitions
4408 to the Fremantle sizes.
4411 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4413 * src/hildon-touch-selector.c,
4414 (_hildon_touch_selector_set_model): Cleaning the code after
4415 review, removed g_print and #if 0 from the code.
4417 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4419 * src/hildon-edit-toolbar.c: Update documentation.
4421 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-check-button.h
4424 * src/hildon-check-button.c
4425 (hildon_check_button_set_label, hildon_check_button_get_label)
4426 * examples/hildon-check-button-example.c
4427 (button_clicked_cb):
4428 Removed deprecated methods.
4430 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4432 * src/hildon-text-view.c:
4433 Add sample code to the documentation.
4435 * src/hildon-entry.h
4436 * src/hildon-text-view.h:
4437 Minor cosmetic changes.
4439 * src/hildon-entry.c:
4440 Add sample code to the documentation.
4441 (hildon_entry_init, hildon_entry_refresh_contents):
4442 Don't allow NULL values in the placeholder.
4444 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4446 * doc/hildon-docs.sgml
4448 * examples/Makefile.am
4449 * examples/hildon-text-view-example.c
4451 * src/hildon-text-view.c
4452 * src/hildon-text-view.h
4454 New HildonTextView widget, with example.
4456 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4458 * po/POTFILES.in: Add missing files with translatable strings.
4459 Partially fixes NB#88287.
4461 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4463 * examples/hildon-pannable-area-example-2.c: (main): No need to
4464 set the cellrenderer height inside hildon touch lists, the theme does
4467 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4469 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4470 they are integrated in the theme.
4472 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4474 * examples/hildon-entry-example.c: Update the example adding
4475 widgets to modify the text and the placeholder of the HildonEntry.
4477 * src/hildon-entry.c: Show the placeholder everytime the widget
4478 is empty and loses the focus.
4480 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4482 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4484 * src/hildon-pannable-area.c,
4485 (hildon_pannable_area_size_request): Fixed bug in height
4486 requisition, avoid increasing size and add border twice.
4488 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4490 * configure.ac: postrelease version bump.
4492 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4496 * configure.ac: Prerelease version bump.
4497 * debian/changelog: update.
4498 * debian/rules: make -dbg package contain useful debugging symbols.
4500 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4502 * src/hildon-dialog.h
4503 * src/hildon-dialog.c
4504 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4505 New methods to add buttons with finger size.
4506 (hildon_dialog_new_with_buttons):
4507 Create buttons with finger size.
4509 * examples/hildon-dialog-example.c (main): Use HildonDialog
4510 methods to add buttons.
4512 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4514 * src/hildon-entry.c: Updated HildonButton documentation.
4516 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4518 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4519 button value label with (FALSE, FALSE) to prevent NB#88126 from
4522 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4524 * examples/hildon-pannable-area-example.c,
4525 (main): Removed examples panning a vbox inside a pannable
4526 area. Check bug NB#87965
4528 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4530 Patch contributed by Kris Rietveld (kris@imendio.com)
4532 * src/hildon-pannable-area.c,
4533 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4534 get_size and get_position, this saves an X server roundtrip.
4536 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4538 * doc/hildon-docs.sgml
4540 * examples/Makefile.am
4541 * examples/hildon-entry-example.c
4543 * src/hildon-entry.c
4544 * src/hildon-entry.h
4546 New HildonEntry widget, with example.
4548 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4550 * src/hildon-button.c (hildon_button_construct_child): Pack the
4551 image with expand == fill == FALSE. This is a workaround for a bug
4554 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4556 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4557 labels for the text column, to make it more look more dynamic.
4559 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4561 * src/hildon-time-selector.c
4562 Define gettext auxiliar macro N_
4563 (_create_minutes_model)
4564 (_create_hours_model)
4565 (_create_ampm_model): use of strftime in order to fill the model
4566 * src/hildon-date-selector.c
4567 (hildon_date_selector_finalize):
4568 (_locales_init): remove the logic related to get the name of the months
4569 using nl_langinfo, as it is not required anymore
4571 (_create_year_model)
4572 (_create_month_model)
4573 (_update_day_model): use of strftime in order to fill the model properly
4576 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4578 * src/hildon-button.h
4579 * src/hildon-button.c (hildon_button_get_image): New method to
4582 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4584 * src/hildon-touch-selector.c:
4585 (hildon_touch_selector_remove_column): Remove from the correct parent
4586 and also remove the list element and free it.
4589 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4591 * src/hildon-time-selector.c
4592 (_create_hours_model): change the range on 12h ampm format in order to use
4593 a 12-11 range instead of previous 01-12 range
4594 (hildon_time_selector_set_time): change the way to select the current time
4595 on 12h ampm format, due the change on the range
4596 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4599 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4601 * src/hildon-touch-selector.c
4602 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4603 in order to allow use this function on multiple row selection mode if
4604 the column is different that the first one
4607 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4609 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4610 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4612 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4614 * src/hildon-date-selector.h: clean some comments, now on the .c
4615 * src/hildon-date-selector.c
4616 (hildon_date_selector_select_month): first implementation
4617 (hildon_date_selector_select_day): added documentation, reimplemented
4618 using hildon_date_selector_select_current_date to avoid repeat code
4621 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4623 Reviewed interaction logic based on device experiences, refactored
4626 * src/hildon-pannable-area.c,
4627 (hildon_pannable_area_class_init): Updated default vmax speed.
4628 (hildon_pannable_area_calculate_velocity): Added this function, it
4629 avoids duplicate valocity calculation. Adjusted calculation to
4630 avoid problems with zero dist events.
4632 (hildon_pannable_area_motion_notify_cb): Now we use the
4633 calculate_velocity function.
4635 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4637 * src/hildon-date-selector.c
4638 (hildon_date_selector_select_current_date): fix the day range check
4639 as it failed using the last day of the current month
4642 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4644 * src/hildon-touch-selector.c
4645 (hildon_touch_selector_get_num_columns): added a parameter validation
4648 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4650 * examples/Makefile.am
4651 * examples/hildon-edit-toolbar-example.c: Example of the
4652 HildonEditToolbar widget.
4654 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4656 * configure.ac: postrelease version bump.
4658 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4662 * configure.ac: prerelease version bump.
4663 * debian/changelog: update.
4665 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4667 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4668 renderer to display stock icons in the touch list. Also, set the sizes
4669 to the recommended in the style guide.
4671 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4672 * src/hildon-touch-selector.h
4673 (hildon_touch_selector_set_active_iter): renamed, now is
4674 hildon_touch_selector_select_iter
4675 (hildon_touch_selector_get_active_iter): renamed, now is
4676 hildon_touch_selector_get_selected
4677 (hildon_touch_selector_unselect_iter): added
4678 * src/hildon-touch-selector.c
4679 Update after API modification (methods renamed)
4680 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4681 order to avoid problems selecting multiple elements on the column
4682 (hildon_touch_selector_unselect_iter): added the implementation
4683 * src/hildon-time-selector.c
4684 * src/hildon-date-selector.c
4685 * src/hildon-touch-selector-entry.c
4686 Update methods calls after hildon-touch-selector.h API modification (methods
4689 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4691 * src/hildon-stackable-window.c
4692 (hildon_stackable_window_finalize): Call the parent class's finalize.
4694 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4696 * examples/hildon-touch-selector-example.c: (create_selector): Use
4697 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4700 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4702 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4703 set a cell background color, to respect theming.
4705 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4707 * doc/hildon-docs.sgml
4710 * src/hildon-edit-toolbar.c
4711 * src/hildon-edit-toolbar.h
4712 * src/hildon.h: New HildonEditToolbar widget.
4714 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4716 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4719 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4720 * src/hildon-touch-selector.c
4721 (_create_new_column): use g_object_set instead of two g_object_set_property
4723 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4724 * src/hildon-touch-selector.c
4725 (_create_new_column): use of hildon_gtk_tree_view_new to create
4726 the treeview, instead of use directly g_object_new
4727 (_create_new_column): update the property name "vindicator-mode" for the
4728 new one "vscrollbar-policy"
4729 * examples/hildon-date-button-example.c
4730 * examples/hildon-picker-button-multicolumn-example.c
4731 * examples/hildon-touch-selector-entry-example.c
4732 * examples/hildon-touch-selector-example.c
4733 * examples/hildon-time-button-example.c
4734 * examples/hildon-picker-button-example.c
4735 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4736 to all the treeviews inside a pannable area.
4738 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-button.h
4741 * src/hildon-button.c (hildon_button_init)
4742 (hildon_button_set_arrangement, hildon_button_set_alignment)
4743 (hildon_button_set_title_alignment)
4744 (hildon_button_set_value_alignment)
4745 (hildon_button_set_image_alignment)
4746 (hildon_button_construct_child): New methods to set the alignment
4747 of the individual components of the button (title, value,
4748 image). Also, new method to alter the xscale and yscale properties
4749 of the GtkAlignment inside the button, so more complex layouts can
4752 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4754 * src/hildon-button.c (hildon_button_style_set)
4755 (hildon_button_class_init, hildon_button_set_arrangement)
4756 (hildon_button_construct_child): Apply style properties
4757 correctly. Use the 'image-spacing' style property too.
4759 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4761 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4762 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4765 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4767 * src/hildon-pannable-area.c,
4768 (hildon_pannable_area_size_request): Fixed problem with
4769 pannable-area size_request.
4771 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4773 Added management for the grab-focus to a child widget, like a
4774 range, we need to fade out the scrollbar when releasing.
4776 * src/hildon-pannable-area.c,
4777 (hildon_pannable_area_init): Connected the grab-focus signal to
4779 (hildon_pannable_area_grab_notify): Added this function in order
4780 to manage the situation when the grab-focus ends. We have to
4781 fade-out the scrollbar.
4783 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4785 * src/hildon-app-menu.c: Minor documentation update.
4787 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-app-menu.c
4790 * examples/hildon-app-menu-example.c (create_menu): Update
4791 examples and documentation to explain how to connect callbacks.
4793 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4795 * examples/hildon-button-example.c
4796 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4797 hildon_stackable_window_new instead of gtk_window_new
4799 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4801 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4802 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4803 (hildon_pannable_area_set_property),
4804 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4805 (hildon_pannable_area_unrealize),
4806 (hildon_pannable_area_size_request),
4807 (hildon_pannable_area_size_allocate),
4808 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4809 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4810 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4811 (hildon_pannable_area_initial_effect),
4812 (hildon_pannable_area_redraw),
4813 (hildon_pannable_area_scroll_indicator_fade),
4814 (hildon_pannable_area_expose_event),
4815 (hildon_pannable_area_get_topmost), (synth_crossing),
4816 (hildon_pannable_area_button_press_cb),
4817 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4818 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4819 (hildon_pannable_area_motion_notify_cb),
4820 (hildon_pannable_area_button_release_cb),
4821 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4822 (hildon_pannable_area_remove),
4823 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4824 chage the code layout to a more GtkWidget like. Review the use of
4827 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4829 * examples/hildon-pannable-area-example-4.c,
4830 (main): Modified the name of the hindicator_mode to
4833 * src/hildon-pannable-area.c,
4834 (hildon_pannable_area_class_init),
4835 (hildon_pannable_area_motion_notify_cb),
4836 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4837 we have reduced the amount of signals and managed reviewed its
4838 rationale. Changed the default decelerate value.
4840 (hildon_pannable_area_add),
4841 (hildon_pannable_area_redraw): Refactored functions.
4843 (hildon_pannable_area_init),
4844 (hildon_pannable_area_get_property),
4845 (hildon_pannable_area_set_property):
4846 (hildon_pannable_draw_vscroll),
4847 (hildon_pannable_draw_hscroll),
4848 (hildon_pannable_area_initial_effect),
4849 (hildon_pannable_area_expose_event),
4850 (hildon_pannable_area_scroll),
4851 (hildon_pannable_area_button_press_cb),
4852 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4853 and vindicator_mode with hscrollbar_policy and
4854 vscrollbar_policy. Replaced hscroll and vscroll with
4855 hscroll_visible and vscroll_visible.
4857 (hildon_pannable_area_refresh): Refactor the function, remove
4858 variables and check the calls to this function, added resize
4859 conditions in case the children change their layout.
4861 (hildon_pannable_area_size_request): Added more detailed
4862 size_request calculation.
4865 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4867 * src/hildon-color-chooser.c
4868 (init_borders): use the correct gtk_border_free instead of g_free, to
4869 avoid a crash when this widget is used (ie: the three color selection
4872 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4874 * src/hildon-check-button.c,
4875 (hildon_check_button_set_active): Fixed problem when setting the
4876 active value, the widget was not redrawn.
4878 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4880 * src/hildon-pannable-area.c,
4881 (hildon_pannable_area_refresh),
4882 (hildon_pannable_area_scroll),
4883 (hildon_pannable_area_motion_notify_cb): Small code style change.
4885 (hildon_pannable_area_class_init): Default initial_hint set to
4886 FALSE, it is not in the specs.
4888 (hildon_pannable_area_initial_effect),
4889 (hildon_pannable_area_expose_event),
4890 (hildon_pannable_area_map),
4891 (hildon_pannable_area_init): Moved the launching point of the
4892 initial effect, it was in map but the sizes where not correct in
4893 that method so we do not know if we have the reproduce it. Now it
4894 is placed in the expose_event method and uses a variable to
4895 reproduce it just once.
4897 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4899 * src/hildon-pannable-area.c,
4900 (hildon_pannable_draw_vscroll),
4901 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4902 position allowed for the scrollbars.
4904 (hildon_pannable_area_size_allocate): Small style change.
4906 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4908 * src/hildon-pannable-area.c,
4909 (hildon_pannable_area_scroll_indicator_fade),
4910 (hildon_pannable_area_button_press_cb),
4911 (hildon_pannable_area_button_release_cb),
4912 (hildon_pannable_area_scroll_cb),
4913 (hildon_pannable_area_expose_event),
4914 (hildon_pannable_area_init): Added the define parameter
4915 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4916 and refactor the fade variable.
4918 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4920 * src/hildon-pannable-area.c,
4921 (hildon_pannable_area_redraw),
4922 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4923 lines, we were reimplemeting the redraw code.
4925 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4927 * src/hildon-pannable-area.c,
4928 (hildon_pannable_area_scroll_cb),
4929 (hildon_pannable_area_realize),
4930 (hildon_pannable_area_class_init): Added scroll_event management
4931 for pannable area, now we can scroll the usual desktop method.
4933 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4934 initialization of the parameters should depend on idle_id.
4936 (hildon_pannable_area_init),
4937 (hildon_pannable_area_map): Small code style modifications
4939 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4941 * src/hildon-pannable-area.c
4942 (hildon_pannable_area_button_press_cb),
4943 (hildon_pannable_area_motion_notify_cb),
4944 (hildon_pannable_area_button_release_cb),
4945 (hildon_pannable_area_size_allocate),
4946 (hildon_pannable_area_scroll_to): Improved the timeouts
4947 management, we avoid creating them each time.
4949 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4951 * src/hildon-pannable-area.c:
4952 (hildon_pannable_area_refresh),
4953 (hildon_pannable_area_motion_notify_cb),
4954 (hildon_pannable_area_class_init):
4955 * src/hildon-pannable-area.h:
4956 * src/hildon-touch-selector.c
4957 (_create_new_column):
4958 * examples/hildon-pannable-area-example-4.c:
4959 (horizontal_movement),
4960 (vertical_movement),
4962 Replaced the names of enums in the HildonPannableArea:
4963 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4964 HILDON_MOVEMENT_MODE_*
4965 - HILDON_PANNABLE_AREA_MOV_* ->
4967 - Removed HildonPannableAreaIndicatorMode, now we
4970 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4972 * examples/hildon-pannable-area-touch-grid-example.c
4973 * examples/hildon-pannable-area-touch-list-example.c: Fix
4974 compilation warnings.
4976 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4978 * src/hildon-gtk.c (hildon_gtk_button_new)
4979 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4980 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4981 images overriding the value of the "gtk-button-images" setting.
4983 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4985 * src/hildon-check-button.c (hildon_check_button_new):
4986 Instead of using a custom container, display the label and the
4987 checkbox using the standard GtkButton API.
4989 * examples/hildon-check-button-example.c (main): Don't use
4990 hildon_check_button_set_label() anymore
4992 * src/hildon-check-button.h
4993 * src/hildon-check-button.c
4994 (hildon_check_button_set_label, hildon_check_button_get_label):
4995 Set as deprecated, now we're using gtk_button_{get,set}_label()
4997 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4999 * src/hildon-pannable-area.c,
5000 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5001 GtkTreeview first line we detected it after the inclusion of the
5002 GtkWindowImpl in gtk+. We now check if the window is visible, not
5003 just if the pointer is over the window.
5004 (hildon_pannable_axis_scroll),
5005 (hildon_pannable_area_expose_event): Small style changes.
5007 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5009 * src/hildon-button.c: Update documentation.
5011 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5013 * examples/hildon-button-example.c: Add a switch to show images in
5016 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5018 * doc/hildon-docs.sgml: Some docs reorganization.
5020 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5022 * examples/hildon-pannable-area-touch-list-example.c
5024 * examples/hildon-pannable-area-touch-grid-example.c
5025 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5026 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5027 Fix memory leak when setting the tree model.
5029 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5033 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5035 * doc/hildon.types: Remove duplicated hildon_window_get_type
5036 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5037 documentation comment.
5039 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5041 * doc/Makefile.am: Complete list of private headers.
5043 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5045 * doc/hildon-docs.sgml
5046 * src/hildon-app-menu.c
5047 * src/hildon-bread-crumb.c
5048 * src/hildon-button.c
5050 * src/hildon-program.c
5051 * src/hildon-stackable-window.c
5052 * src/hildon-window.c: Lots of documentation updates.
5054 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5056 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5058 * configure.ac: Require Gtk+ 2.12.9 at least
5060 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5062 * src/hildon-pannable-area.c
5063 (hildon_pannable_area_scroll_indicator_fade),
5064 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5065 to protect the return of this timeout callbacks, avoiding deadlocks.
5067 2008-08-12 Christian Dywan <christian@imendio.com>
5070 * src/hildon-*.h: Ensure a consistent include order,
5071 include <gtk/gtk.h> instead of particular files and
5072 only include the topmost header in the gtk stack. See NB #39857
5074 2008-08-12 Christian Dywan <christian@imendio.com>
5076 * src/hildon-picker-dialog.c
5077 * src/hildon-touch-selector.c: Fix warnings about unused and
5078 uninitialized variables.
5080 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5082 * examples/Makefile.am
5083 * examples/hildon-check-button-example.c: Example of the hildon
5086 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5088 * src/hildon-window.h
5089 * src/hildon-window.c (hildon_window_class_init)
5090 (hildon_window_unset_program): Don't make
5091 hildon_window_unset_program a virtual function anymore.
5093 * src/hildon-stackable-window.c: Update documentation
5095 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5098 * doc/hildon-docs.sgml
5099 * doc/visual_index.xml
5100 * src/hildon-defines.c
5102 * src/hildon-helper.c
5103 * src/hildon-range-editor.c: Lots of documentation fixes.
5105 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5107 * examples/hildon-picker-button-multicolumn-example.c
5108 (create_touch_selector): Fix compilation warning.
5110 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5112 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5113 (hildon_pannable_area_button_release_cb)
5114 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5116 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5118 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5121 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5123 * src/hildon-bread-crumb-trail.h
5124 * src/hildon-date-editor.c
5125 * src/hildon-date-selector.c
5126 * src/hildon-pannable-area.c
5127 * src/hildon-picker-dialog.c
5128 * src/hildon-time-selector.c
5129 * src/hildon-touch-selector-entry.c
5130 * src/hildon-touch-selector.c
5131 * src/hildon-touch-selector.h: Misc documentation fixes
5133 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5135 * examples/hildon-date-editor-example.c (main): Updated date
5138 * examples/hildon-note-example.c (on_confirmation_clicked):
5139 Updated confirmation note example.
5141 * src/hildon-date-editor.c
5142 * src/hildon-note.c: Updated sample programs in documentation.
5145 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5147 * src/hildon-date-button.h:
5148 * src/hildon-picker-button.h:
5149 * src/hildon-time-button.c:
5150 * src/hildon-time-button.h:
5152 Some declarations changes to allow gtk-doc to document the widgets
5155 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5157 * src/hildon-date-button.c: Document the widget.
5158 * src/hildon-time-button.c: Document the widget.
5160 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5162 * src/hildon-picker-button.c: Document the widget.
5163 * src/hildon-touch-selector-entry.c: Document the widget.
5165 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5167 * doc/hildon-docs.sgml
5170 * src/hildon-check-button.h
5171 * src/hildon-check-button.c: New functions to create the Hildon
5175 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5177 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5179 * src/hildon-button.h
5180 * src/hildon-button.c
5181 (hildon_button_add_title_size_group)
5182 (hildon_button_add_value_size_group)
5183 (hildon_button_add_image_size_group)
5184 (hildon_button_add_size_groups): New functions to set size groups
5185 for the button labels and image.
5186 (hildon_button_new_full): Removed
5188 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5190 * src/hildon-time-selector.c
5191 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5192 in order to avoid a crash if gconf is not available
5194 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5196 * src/hildon-button.c (hildon_button_set_arrangement)
5197 (hildon_button_construct_child): Don't construct the button child
5198 before setting the arrangement.
5200 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5202 * src/hildon-program-private.h
5203 * src/hildon-program.c
5204 * src/hildon-program.h
5205 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5206 (hildon_program_peek_window_stack)
5207 (hildon_program_pop_window_stack)
5208 (hildon_program_go_to_root_window): HildonProgram now has a
5209 separate list for stackable windows. Functions are provided to
5210 manage that list with a stack-like API.
5212 * src/hildon-stackable-window.c: Stackable window management is
5213 now much simpler with the new HildonProgram API. Windows no
5214 longer need to be manually added to the program, they're
5215 automatically pushed to the top of the stack when shown.
5217 * examples/hildon-stackable-window-example.c: Updated example to
5218 reflect the API changes.
5220 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5222 * src/hildon-touch-selector.c: Comment out unimplemented
5223 hildon_touch_selector_insert_column() to avoid a compile warning.
5225 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5227 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5228 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5229 (hildon_touch_selector_set_column_selection_mode),
5230 (_hildon_touch_selector_set_model),
5231 (hildon_touch_selector_set_model):
5233 Complete review of HildonTouchSelector documentation.
5235 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5237 * doc/hildon-docs.sgml
5241 * src/hildon-gtk.c: Convenience functions for standard Gtk
5242 widgets, used to easily perform frequent operations.
5244 * src/hildon-button-helpers.h
5245 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5247 * src/hildon-helper.h
5248 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5249 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5251 * src/hildon-button.h
5252 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5254 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5256 * src/hildon-button.c (hildon_button_init)
5257 (hildon_button_set_arrangement, hildon_button_construct_child):
5258 Pack the image and the labels inside the same GtkAlignment so
5259 gtk_button_set_alignment() can be used
5261 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5263 * src/hildon-button.h
5264 * src/hildon-button.c
5265 (hildon_button_init, hildon_button_set_image)
5266 (hildon_button_set_image_position)
5267 (hildon_button_construct_child): New functions to add an image to
5270 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5272 * src/hildon-date-button.c
5273 * src/hildon-picker-button.c
5274 * src/hildon-time-button.c
5275 * src/hildon-button.c:
5276 (hildon_button_class_init): "size-flags" renamed to "size"
5277 (hildon_button_set_title): Hide the title label if set to NULL.
5279 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5281 HildonButtonFlags split into HildonButtonArrangement (to set the
5282 button layout) and HildonSizeType (which can be used for any
5285 * src/hildon-button.h
5286 * src/hildon-button.c
5287 (hildon_button_class_init)
5288 (hildon_button_set_arrangement)
5289 (hildon_button_set_property): New "size-flags"
5290 property. "arrangement-flags" renamed to "arrangement".
5291 (hildon_button_new, hildon_button_new_with_text)
5292 (hildon_button_new_full): Constructors updated to reflect type changes.
5294 * src/hildon-helper.h
5295 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5296 to set the size of a widget.
5300 * src/hildon-button-helpers.c
5301 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5303 * src/hildon-date-button.c
5304 * src/hildon-date-button.h
5305 * src/hildon-picker-button.c
5306 * src/hildon-picker-button.h
5307 * src/hildon-time-button.c
5308 * src/hildon-time-button.h: Updated widgets to reflect
5309 HildonButton API changes.
5311 * examples/hildon-button-example.c
5312 * examples/hildon-date-button-example.c
5313 * examples/hildon-picker-button-example.c
5314 * examples/hildon-picker-button-multicolumn-example.c
5315 * examples/hildon-time-button-example.c
5316 * examples/hildon-touch-selector-entry-example.c
5317 * examples/hildon-touch-selector-example.c: Updated examples to
5318 reflect HildonButton API changes.
5320 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5322 * doc/hildon-docs.sgml:
5324 * examples/Makefile.am:
5325 * examples/hildon-touch-selector-entry-example.c:
5327 * src/hildon-touch-selector-entry.c:
5328 * src/hildon-touch-selector-entry.h:
5331 Moved HildonTouchSelectorEntry from sandbox. Added its
5332 documentation and examples.
5334 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5336 * src/hildon-touch-selector.h:
5337 * examples/hildon-picker-button-multicolumn-example.c:
5338 (hildon_touch_selector_append_text_column): Add a gboolean
5339 parameter to determine if text must be centered in the column.
5341 * src/hildon-date-selector.c: (hildon_date_selector_init):
5342 * src/hildon-time-selector.c: (hildon_time_selector_init):
5343 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5344 (create_touch_selector): Update widgets and example to reflect
5347 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5349 * src/hildon-touch-selector.c:
5350 (hildon_touch_selector_set_active_iter): Set also the cursor in
5353 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5355 * doc/hildon-docs.sgml
5358 * src/hildon-toggle-button.c
5359 * src/hildon-toggle-button.h
5360 * src/hildon.h: Removed HildonToggleButton widget, a derived
5361 class is not necessary for this.
5363 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5365 * src/hildon-pannable-area.c,
5366 (hildon_pannable_area_realize),
5367 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5370 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5372 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5373 "done" button the default widget for the dialog.
5375 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5377 * src/hildon-touch-selector.c:
5378 (hildon_touch_selector_class_init),
5379 (hildon_touch_selector_get_property),
5380 (_hildon_touch_selector_set_model),
5381 (_hildon_touch_selector_has_multiple_selection),
5382 (hildon_touch_selector_has_multiple_selection):
5383 Add a "has-multiple-selection" property with a virtual
5384 has_multiple_selection() method to allow derived classes to
5385 override the default value for it. See the method and property
5386 documentation for details.
5388 * src/hildon-touch-selector.h: Add the new API.
5390 * src/hildon-picker-dialog.c: (requires_done_button): Call
5391 hildon_touch_selector_has_multiple_selection() instead of
5392 determining the need for a button itself.
5394 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5396 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5397 (_hildon_touch_selector_set_model),
5398 (hildon_touch_selector_set_model): Move working code to
5399 _hildon_touch_selector_set_mode(). Call the class method instead.
5401 * src/hildon-touch-selector.h: Add (*set_model) to
5402 HildonTouchSelectorClass.
5404 Make hildon_touch_selector_set_model() a virtual method, so that
5405 derived classes can extend it and do fancy stuff with the model.
5407 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5409 * configure.ac: Set back the tarname in AC_INIT to hildon.
5411 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5415 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5416 instead of libesd (NB#86876). Volume handling is still an open issue.
5418 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5421 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5423 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5424 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5425 derived class to ease placement of an entry widget in
5426 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5427 end, where the selector columns are packed now.
5429 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5431 * src/hildon-picker-button.c: Removed the simple _text() API.
5432 * src/hildon-picker-button.h: Likewise.
5434 * src/hildon-touch-selector.h:
5435 * src/hildon-touch-selector.c:
5436 (hildon_touch_selector_new_text),
5437 (hildon_touch_selector_append_text),
5438 (hildon_touch_selector_prepend_text),
5439 (hildon_touch_selector_insert_text):
5441 Moved the simple _text() API from HildonPickerButton to
5442 HildonTouchPicker, to provide better escalability and not to tie
5443 that API to HildonPickerButton.
5445 * examples/hildon-picker-button-example.c: (main): Example updated.
5447 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5449 * src/hildon-button.c: Updated documentation.
5451 * examples/hildon-button-example.c: Add the posibility to create
5452 the buttons using horizontal layout for title and value.
5454 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5456 * src/hildon-app-menu-private.h
5457 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5458 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5459 GtkSizeGroup for the filters, use the 'homogeneous' property of
5462 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5464 * examples/hildon-button-example.c: Updated example.
5466 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5468 * doc/hildon-docs.sgml:
5471 Update documentation.
5473 * examples/Makefile.am: Update renamed examples.
5475 * examples/hildon-picker-button-multicolumn-example.c:
5476 (create_touch_selector), (main): Update after the rename.
5478 * examples/hildon-touch-picker-example.c: Removed.
5479 * examples/hildon-touch-selector-example.c: (value_changed),
5480 (create_selector), (get_visible_content), (main): Renamed from
5481 hildon-touch-picker-example.c
5483 * src/Makefile.am: Updated renamed files.
5485 * src/hildon-date-button.c: (hildon_date_button_init),
5486 (hildon_date_button_get_date), (hildon_date_button_set_date):
5487 * src/hildon-date-selector.c: (hildon_date_selector_init),
5488 (_custom_print_func), (_update_day_model),
5489 (_manage_selector_change_cb),
5490 (hildon_date_selector_select_current_date),
5491 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5492 * src/hildon-date-selector.h:
5493 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5494 (hildon_picker_button_set_property),
5495 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5496 (hildon_picker_button_init), (hildon_picker_button_new_text),
5497 (hildon_picker_button_append_text),
5498 (hildon_picker_button_prepend_text),
5499 (hildon_picker_button_insert_text),
5500 (hildon_picker_button_set_selector),
5501 (hildon_picker_button_get_selector):
5502 * src/hildon-picker-button.h:
5503 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5504 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5505 (_update_title_on_selector_changed_cb), (requires_done_button),
5506 (_hildon_picker_dialog_set_selector),
5507 (hildon_picker_dialog_set_selector),
5508 (hildon_picker_dialog_get_selector):
5509 * src/hildon-picker-dialog.h:
5510 * src/hildon-time-button.c: (hildon_time_button_init),
5511 (hildon_time_button_get_time), (hildon_time_button_set_time):
5512 * src/hildon-time-selector.c: (hildon_time_selector_init),
5513 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5514 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5515 * src/hildon-time-selector.h:
5518 Massive code updates after the rename.
5520 * src/hildon-touch-picker.c: Removed.
5521 * src/hildon-touch-picker.h: Removed.
5523 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5524 (hildon_touch_selector_init), (hildon_touch_selector_map),
5525 (hildon_touch_selector_remove), (_default_print_func),
5526 (_selection_changed_cb), (_create_new_column),
5527 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5528 (hildon_touch_selector_append_text_column),
5529 (hildon_touch_selector_remove_column),
5530 (hildon_touch_selector_set_column_attributes),
5531 (hildon_touch_selector_insert_column),
5532 (hildon_touch_selector_get_num_columns),
5533 (hildon_touch_selector_get_column_selection_mode),
5534 (hildon_touch_selector_set_column_selection_mode),
5535 (hildon_touch_selector_set_print_func),
5536 (hildon_touch_selector_get_print_func),
5537 (hildon_touch_selector_get_active_iter),
5538 (hildon_touch_selector_set_active_iter),
5539 (hildon_touch_selector_get_selected_rows),
5540 (hildon_touch_selector_get_model),
5541 (hildon_touch_selector_set_model),
5542 (hildon_touch_selector_get_current_text),
5543 (_hildon_touch_selector_center_on_selected_items):
5544 * src/hildon-touch-selector.h: Renamed from
5545 hildon-touch-picker.[ch]
5547 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5548 references, code examples, and related documentation.
5550 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5552 * doc/hildon-docs.sgml
5555 * src/hildon-toggle-button.c
5556 * src/hildon-toggle-button.h
5557 * src/hildon.h: New HildonToggleButton widget.
5559 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5561 * src/hildon-button.c: Add API documentation.
5562 (hildon_button_set_size_groups): Check input parameters
5564 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5566 * src/hildon-pannable-area.c
5567 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5568 effect after reaching the movement thredshold. This way we start
5569 using the distance after passing the thredshold.
5571 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5573 * src/hildon-button.c: (hildon_button_set_property): Use the
5574 appropriate g_value_get_flags() method.
5576 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5578 * doc/hildon-docs.sgml:
5581 Add the touch pickers, picker dialogs, and picker button widgets
5582 to the documentation.
5584 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5586 * src/hildon-button.c: (hildon_button_set_property),
5587 (hildon_button_class_init): Make "arrangement-flags" a proper
5588 G_TYPE_FLAGS derived property.
5590 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5592 * examples/Makefile.am: Add below examples.
5593 * examples/hildon-date-button-example.c:
5594 * examples/hildon-picker-button-example.c:
5595 * examples/hildon-picker-button-multicolumn-example.c:
5596 * examples/hildon-time-button-example.c:
5597 * examples/hildon-touch-picker-example.c:
5599 Add examples for the recently added touch pickers,
5600 picker dialogs, and picker button widgets.
5602 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5604 * src/hildon-button.c: Add some API documentation
5606 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5608 * src/hildon-button.h
5609 * src/hildon-button.c
5611 (hildon_button_new_with_text): New constructor to create a button
5612 with no text at all.
5613 (hildon_button_init, hildon_button_set_arrangement)
5614 (hildon_button_set_title, hildon_button_set_value)
5615 (hildon_button_set_text)
5616 (hildon_button_construct_child): Hide the value when it's not used
5617 so the rest of the text is properly aligned.
5618 Allow creating buttons with arbitrary widgets inside (not just
5619 title/value labels).
5621 * examples/hildon-button-example.c (vertical_buttons_window)
5622 (horizontal_buttons_window): Update example to use new API.
5624 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5626 * src/Makefile.am: Added HildonTimeButton.
5627 * src/hildon-time-button.c: Added missing LGPL header.
5628 * src/hildon-time-button.h: Added missing LGPL header.
5629 * src/hildon.h: Add hildon-time-button.h
5631 Copied HildonTimeButton from sandbox to trunk. Future work on this
5632 widget must take place in trunk.
5634 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5636 * src/Makefile.am: Added HildonDateButton.
5637 * src/hildon-date-button.c: Update includes.
5638 * src/hildon.h: Add hildon-date-button.h
5640 Copied HildonDateButton from sandbox to trunk. Future work on this
5641 widget must take place in trunk.
5643 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5645 * src/Makefile.am: Added HildonPickerButton.
5646 * src/hildon-picker-button.h: Update includes.
5647 * src/hildon.h: Add hildon-picker-button.h
5649 Copied HildonPickerButton from sandbox to trunk. Future work on
5650 this widget must take place in trunk.
5652 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5654 * src/Makefile.am: Added HildonPickerDialog.
5655 * src/hildon-picker-dialog.c: Update includes.
5656 * src/hildon.h: Add hildon-picker-dialog.h
5658 Copied HildonPickerDialog from sandbox to trunk. Future work
5659 on this widget must take place in trunk.
5661 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5663 * src/Makefile.am: Added HildonTimeSelector.
5664 * src/hildon.h: Add hildon-time-selector.h
5666 Copied HildonTimeSelector widget from sandbox to trunk. Future
5667 work on this widget must happen in trunk.
5669 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5671 * src/Makefile.am: Added HildonDateSelector.
5672 * src/hildon.h: Add hildon-date-selector.h
5674 Copied HildonDateSelector widget from sandbox to trunk. Future
5675 work on this widget must happen in trunk.
5677 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5679 * src/Makefile.am: Added HildonTouchPicker.
5680 * src/hildon-touch-picker.c: Update includes.
5681 * src/hildon.h: Add hildon-touch-picker.h
5683 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5684 on this widget must happen in trunk.
5686 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5688 * src/hildon-pannable-area.c:
5689 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5691 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5693 * examples/hildon-app-menu-example.c (main): Let the window
5696 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5698 * src/hildon-pannable-area.c
5699 (hildon_pannable_area_class_init): Set the min value of the
5700 overshoot properties to zero, which points out that not
5701 overshooting allowed.
5703 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5705 Modified the procedure to get the widget at a point inside the
5706 pannable area when using the movement type signals. Now the user
5707 has to call a function to get the child, that way we just
5708 calculate the child in case the user really want to use it and not
5711 * src/hildon-marshalers.list: Modified the marshallers, now we do
5712 not have the widget as a parameter.
5714 * src/hildon-pannable-area.c
5715 (hildon_pannable_area_motion_notify_cb),
5716 (hildon_pannable_area_class_init),
5717 (hildon_pannable_get_child_widget_at): Removed the widget
5718 parameter from the signal callback. We have also refactored the
5719 emission of the signals.
5721 * src/hildon-pannable-area.h: Added a new method to the API to
5722 calculate a widget at a point inside the pannable area,
5723 hildon_pannable_get_child_widget_at.
5725 * examples/hildon-pannable-area-example-4.c
5726 (horizontal_movement): Modified the example to use the new API,
5727 added condition to control which widget is under the event. This
5728 way we can avoid scrolling laterally over other widgets.
5730 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5732 * src/hildon-pannable-area.c
5733 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5734 modes, we stop getting the pointer events due to returning the
5735 callback without properly calling the get pointer again. Fixed
5736 also an error using the hscroll and vscroll.
5738 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5740 * src/hildon-app-menu-private.h
5741 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5742 (hildon_app_menu_button_release, hildon_app_menu_init)
5743 (hildon_app_menu_class_init): Don't hide the menu on button
5744 release if the user didn't press outside first.
5746 * src/hildon-window.h
5747 * src/hildon-window.c (hildon_window_toggle_menu)
5748 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5749 hildon_window_toggle_menu a virtual function for the stackable
5750 window to override it.
5752 * src/hildon-stackable-window.h
5753 * src/hildon-stackable-window-private.h
5754 * src/hildon-stackable-window.c
5755 (hildon_stackable_window_realize)
5756 (hildon_stackable_window_finalize)
5757 (hildon_stackable_window_class_init)
5758 (hildon_stackable_window_init)
5759 (hildon_stackable_window_set_main_menu): New function to set the
5760 app menu of a HildonStackableWindow.
5762 * examples/hildon-app-menu-example.c: Remove the button to show
5763 the app menu, now it'll be shown when clicking on the title bar
5766 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5768 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5769 set the widget name if the arrangement flags do not specify
5772 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5774 * src/hildon-button.c: (hildon_button_set_property),
5775 (hildon_button_class_init), (hildon_button_new_full),
5776 (hildon_button_set_arrangement): Added "arrangement-flags"
5779 Make the HildonButtonFlags a construction-only property, to allow
5780 subclasses to set them properly.
5782 2008-07-21 Tim Janik <timj@imendio.com>
5784 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5785 insertion position after backspace, so additional digits are appended,
5788 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5790 * src/hildon-pannable-area.c,
5791 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5792 TODO list, it was complete and removed the g_debug and g_print
5795 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5797 Added the movement modes to the hildon-pannable-area, with this
5798 modes the developers can control in which directions the widget
5799 can scroll. They can also connect to signals in order to do
5800 something when that happens, allowing applications scroll. There
5801 is an example uploaded showing how to use it.
5803 * examples/Makefile.am:
5804 * examples/hildon-pannable-area-example-4.c: Added this example of
5805 an application using the modes.
5807 * src/hildon-marshalers.list: Added a new marshaller for the new
5810 * src/hildon-pannable-area.h: Added new enumerations and flags in
5811 order to control the movement modes and the new signals to warn
5812 about the movements in the area.
5814 * src/hildon-pannable-area.c:
5815 (hildon_pannable_axis_scroll),
5816 (hildon_pannable_area_scroll),
5817 (hildon_pannable_area_motion_notify_cb),
5818 (hildon_pannable_area_get_property),
5819 (hildon_pannable_area_set_property),
5820 (hildon_pannable_area_map),
5821 (hildon_pannable_area_class_init),
5822 (hildon_pannable_area_init),
5823 (hildon_pannable_area_jump_to): Added the modes to control the
5824 movement in the widget. We have added properties to control it,
5825 signals to warn about the movements and refactored some code.
5827 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5829 Changes required in order to allow vfast_factor set to zero to
5832 * src/hildon-pannable-area.c:
5833 (hildon_pannable_area_button_press_cb): Changed the condition, it
5834 is required for not allowing click when vfast_factor is zero.
5835 (hildon_pannable_area_timeout): Initialized velocity variables
5836 when we stop moving, it was less than 1 but not zero and we need
5837 to check zero in some situations.
5838 (hildon_pannable_area_class_init): Changed the default value of
5839 the speed factor, now the button_press is just sent in case the
5840 speed is 2 per cent of the max speed.
5841 (hildon_pannable_area_init): Initialization with 0.
5843 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5845 * src/hildon-pannable-area.c,
5846 (hildon_pannable_area_get_topmost): replaced
5847 gdk_window_get_children with gdk_window_peek_children, this way we
5848 do not have to free the list because it is not a copy.
5850 (hildon_pannable_axis_scroll),
5851 (hildon_pannable_area_scroll),
5852 (hildon_pannable_area_timeout),
5853 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5854 two parameters that were only used inside the
5855 hildon_pannable_area_scroll function.
5857 * examples/hildon-pannable-area-example.c,
5858 (get_sawtooth_label): Fixed small memory leak.
5860 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5862 More checks for the case where the overshoot is bigger than the
5865 * src/hildon-pannable-area.c:
5866 (hildon_pannable_draw_vscroll),
5867 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5868 to draw the slider of the scrollbar under the other scrollbar.
5869 (hildon_pannable_area_expose_event): added new checks to control
5870 the drawing of the overshooting area rectangle, in case it is too
5871 big for the area of the widget.
5872 (hildon_pannable_area_size_allocate): add more checks to avoid
5873 setting a position to the child widget outside the area.
5875 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5877 * src/hildon-pannable-area.c
5878 (hildon_pannable_area_size_allocate): Added conditions to control
5879 when overshooting is bigger than the allocated space for the
5880 children, this avoids negative allocations.
5882 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5884 * doc/hildon-docs.sgml
5886 * examples/Makefile.am
5887 * examples/hildon-button-example.c
5889 * src/hildon-button.c
5890 * src/hildon-button.h
5891 * src/hildon.h: Initial version of the new HildonButton widget,
5894 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/hildon-pannable-area.c:
5897 (hildon_pannable_area_button_press_cb),
5898 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5899 (hildon_pannable_area_motion_notify_cb),
5900 (hildon_pannable_area_button_release_cb),
5901 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5902 (hildon_pannable_area_jump_to_child):
5904 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5906 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5908 * examples/Makefile.am
5909 * examples/hildon-pannable-area-touch-grid-example.c
5910 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5911 the Hildon Touch List and Hildon Touch Grid using the
5912 HildonPannableArea widget.
5914 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5916 * src/hildon-pannable-area.c,
5917 (hildon_pannable_area_button_press_cb),
5918 (hildon_pannable_area_refresh),
5919 (hildon_pannable_area_scroll),
5920 (hildon_pannable_area_motion_notify_cb),
5921 (hildon_pannable_area_button_release_cb),
5922 (hildon_pannable_area_expose_event),
5923 (hildon_pannable_area_add),
5924 (hildon_pannable_area_remove),
5925 (hildon_pannable_area_realize),
5926 (hildon_pannable_area_size_allocate),
5927 (hildon_pannable_area_class_init),
5928 (hildon_pannable_area_init),
5929 (hildon_pannable_area_scroll_to_child),
5930 (hildon_pannable_area_jump_to_child): Fixed the problem of
5931 removing the child from the GtkBin, we have rearranged the widget
5932 hierarchy, now there is no GtkAlignment which was not doing
5933 anything interesting but breaking some of the assumptions of
5934 GtkContainer. Now developers if they want to add a GtkAlignment
5935 they could, but it is not inside the area.
5937 We had to review the whole allocation/expose process, now it is
5938 improved and we save at least three signals which would be saving
5939 some time when rendering the widget. The allocation of the
5940 scrollbars is now made in the allocate method as usual.
5942 We have also added some conditions in order to control when there
5943 is no child of the pannable area. Maybe we will need more work
5946 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5948 * src/hildon-pannable-area.c,
5949 (hildon_pannable_area_dispose): Released the fade-out timeout when
5950 disposing the widget.
5952 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5954 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5955 zero, we are going to use that property in order to deactivate the
5957 (hildon_pannable_axis_scroll),
5958 (hildon_pannable_area_size_allocate): Added conditions to control
5959 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5960 call, now it is called in all situations and we can remove calls
5961 in the allocate method.
5962 (hildon_pannable_area_map): Control the situation when
5963 overshoot_max is zero, we do not need the timeout.
5964 (hildon_pannable_area_class_init): Added documentation in order to
5965 point out that setting zero to overshoot_max means deactivate
5968 NOTE: removed trailing whitespaces from my previous comments of
5971 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5973 * src/hildon-pannable-area.c
5974 (hildon_pannable_area_get_property),
5975 (hildon_pannable_area_set_property),
5976 (hildon_pannable_area_map),
5977 (hildon_pannable_area_class_init),
5978 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5979 to cause the widget give a hint about its panning abilities upon
5982 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5984 * src/hildon-pannable-area.c: Several documentation improvements.
5986 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5988 * src/hildon-program.c
5989 * src/hildon-stackable-window.c: Update documentation.
5991 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-stackable-window.c (get_previous_window_if_last):
5994 Renamed get_last_window()
5995 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5996 (hildon_stackable_window_unset_program):
5998 (get_previous_window_if_last):
5999 Detect if the window hasn't been added to a HildonProgram.
6001 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6003 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6005 * src/hildon-pannable-area.c
6006 (hildon_pannable_area_button_press_cb),
6007 (hildon_pannable_axis_scroll),
6008 (hildon_pannable_area_scroll),
6009 (hildon_pannable_area_timeout),
6010 (hildon_pannable_calculate_vel_factor),
6011 (hildon_pannable_area_get_property),
6012 (hildon_pannable_area_set_property),
6013 (hildon_pannable_area_class_init),
6014 (hildon_pannable_area_init),
6015 (hildon_pannable_area_scroll_to),
6016 (hildon_pannable_area_jump_to),
6017 (hildon_pannable_area_scroll_to_child),
6018 (hildon_pannable_area_jump_to_child):
6019 * src/hildon-pannable-area.h: Added the new API functions:
6020 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6021 hildon_pannable_area_scroll_to_child,
6022 hildon_pannable_area_jump_to_child
6025 * examples/Makefile.am
6026 * examples/hildon-pannable-area-example-2.c
6027 * examples/hildon-pannable-area-example-3.c: Added these two new
6028 examples in order to test and show how the new APIs work.
6030 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6032 * examples/hildon-stackable-window-example.c (new_window):
6033 * src/Makefile.am (noinst_HEADERS):
6034 * src/hildon-program.c (hildon_program_go_to_root_window):
6035 * src/hildon-program.h:
6036 * src/hildon-stackable-window-private.h:
6037 * src/hildon-stackable-window.c:
6038 * src/hildon-stackable-window.h:
6039 Create hildon-stackable-window-private.h
6040 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6042 * examples/hildon-app-menu-example.c (create_menu):
6043 * examples/hildon-hvolumebar-insensitive-example.c (main):
6044 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6045 * examples/hildon-toolbar-seekbar-example.c (main):
6046 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6047 * src/hildon-banner.c (hildon_banner_set_property):
6048 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6049 Fix compilation warnings
6051 * src/hildon-window.c:
6054 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6056 * src/hildon-stackable-window.c
6057 (hildon_stackable_window_unset_program):
6058 Calculate correctly whether to show the previous window if the
6059 last one is removed from the stack.
6060 (hildon_stackable_window_go_to_root_window):
6061 Send delete events starting from the topmost window.
6062 Stop if one of the windows is not destroyed.
6064 (hildon_stackable_window_delete_event)
6065 (hildon_stackable_window_class_init):
6066 Ignore the delete event if the window is not the topmost one.
6068 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6070 * src/hildon-pannable-area.c
6071 (hildon_pannable_area_expose_event): Fixed a problem when
6072 selecting the background color of the scrollbars.
6074 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6076 * examples/hildon-stackable-window-example.c
6077 * src/hildon-stackable-window.c
6078 * src/hildon-stackable-window.h
6079 hildon_stackable_window_go_home() renamed to
6080 hildon_stackable_window_go_to_root_window()
6081 Send delete events to windows rather than closing them with
6082 gtk_widget_destroy()
6084 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6086 * src/hildon-pannable-area.c
6087 (hildon_pannable_area_button_release_cb): Fix overshooting in
6090 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6092 * src/hildon-pannable-area.c
6093 (hildon_pannable_area_init): Initially show the scroll indicators.
6094 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6096 Add initial effect showing the widget is pannable.
6098 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6100 * src/hildon-pannable-area.c
6101 (hildon_pannable_area_class_init)
6102 (hildon_pannable_area_set_property)
6103 (hildon_pannable_area_get_property)
6104 (hildon_pannable_area_button_press_cb):
6105 New 'velocity_fast_factor' property to decide which velocity is
6108 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6110 * src/hildon-pannable-area.c
6111 (hildon_pannable_draw_hscroll)
6112 (hildon_pannable_draw_vscroll):
6113 Use float variables to calculate the size of the scrollbars to
6114 avoid error propagation and resizing during scrolling.
6116 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6118 * src/hildon-pannable-area.c
6119 (hildon_pannable_draw_vscroll)
6120 (hildon_pannable_draw_hscroll):
6121 Define a minimum size for the scroll bars
6123 * src/hildon-stackable-window.c
6124 (hildon_stackable_window_go_home): Fix compilation warning
6125 (get_last_window): Minor optimizations
6126 (hildon_stackable_window_class_init): Fix initialization of
6129 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6131 * src/hildon-stackable-window.c: Fixed typos in doc
6133 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6135 * src/hildon-pannable-area.c
6136 (hildon_pannable_area_scroll):
6137 Calculate here whether we need to scroll instead of using the booleans
6138 that tell us whether to /draw/ the scrolling bars.
6140 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6142 * src/hildon-app-menu.h
6144 * src/hildon-app-menu.c
6145 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6146 multiple filter groups related code and API. Now we support only
6148 * examples/hildon-app-menu-example.c:
6150 Update to reflect API changes.
6152 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6154 * src/hildon-stackable-window.c
6155 (hildon_stackable_window_class_init):
6156 Add hildon_stackable_window_realize.
6157 (hildon_stackable_window_realize):
6158 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6159 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6160 to apply theming and behavior specific to HildonStackableWindow
6163 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6165 * src/hildon-note.c (hildon_note_button_release):
6166 Close information notes also when tapping on them
6168 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6170 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6171 ELASTICITY, refactor and review, fix some issues with drawing
6174 * src/hildon-pannable-area.c:
6175 (hildon_pannable_area_button_press_cb): removed the conditions to
6176 avoid clicks when overshooting. It is not required
6178 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6179 define. Refatored and reviewed the code, now we do not need to
6180 manage velocity in motion_notify.
6182 (hildon_pannable_area_motion_notify_cb): We have moved the code
6183 that controls the area_scroll to the axis_scroll function and get
6184 rid of duplicated code.
6186 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6188 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6190 (hildon_pannable_draw_vscroll),
6191 (hildon_pannable_draw_hscroll): Fixed the problems with the
6192 scrollbar drawing, now we do not use two surfaces, it is easier
6193 and saves resources.
6195 (hildon_pannable_area_get_property): Style modification.
6197 (hildon_pannable_area_class_init): Changed some default values.
6199 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6201 * src/hildon-stackable-window.c: Fix some typos in the
6204 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6206 * src/hildon-dialog.c:
6207 Change indentation style
6210 (hildon_note_button_release):
6211 Use root coordinates to check if the release event happened
6214 * src/hildon-app-menu.c
6215 (hildon_app_menu_button_release):
6216 Remove unnecessary check
6218 * examples/hildon-app-menu-example.c
6220 Add cast to fix warning
6222 * src/hildon-app-menu.c
6223 (hildon_app_menu_class_init):
6224 New inner-border style property.
6225 Set all default spacings to 16
6226 (hildon_app_menu_init):
6227 Use vertical-spacing to set the space between filter buttons and
6228 regular menu buttons.
6229 Set the default container border using the inner-border value.
6231 * examples/hildon-app-menu-example.c
6233 Don't set the menu border explicitly, now we have the inner-border
6234 style property for that.
6236 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-app-menu.c (hildon_app_menu_init):
6239 Make the window modal
6241 * src/hildon-note.c (hildon_note_map)
6242 * src/hildon-app-menu.c (hildon_app_menu_map):
6243 Destroy the grab window if we're unable to grab the pointer
6245 * src/hildon-app-menu-private.h
6246 * src/hildon-app-menu.c
6247 (hildon_app_menu_init, hildon_app_menu_finalize)
6248 (hildon_app_menu_map, hildon_app_menu_unmap)
6249 (hildon_app_menu_button_release)
6250 (grab_transfer_window_get):
6251 Bring back the grab window
6252 (hildon_app_menu_realize):
6253 Decorate the window, set WM hint for Matchbox
6255 * src/hildon-note.c (hildon_note_realize):
6256 * src/hildon-banner.c (hildon_banner_realize):
6257 Add WM hints for Matchbox
6259 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6261 * src/hildon-app-menu-private.h
6262 * src/hildon-app-menu.c
6263 (hildon_app_menu_init, hildon_app_menu_finalize)
6264 (hildon_app_menu_map, hildon_app_menu_unmap)
6265 (hildon_app_menu_button_release):
6266 Remove the grab window, it's not needed anymore
6268 * src/hildon-program.c
6269 Fixed typo in documentation
6271 * src/hildon-app-menu.h
6272 * src/hildon-app-menu.c
6273 * examples/hildon-app-menu-example.c
6274 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6276 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6279 Added new transfer_window and close_if_pressed_outside private
6281 (hildon_note_rebuild):
6282 Don't add a cancel button to the information note. It will be
6283 closed when tapping outside
6284 Remove the comment about the OK button in the documentation
6285 (hildon_note_realize):
6286 Set the notification type hint
6287 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6288 Grab/ungrab pointer and keyboard if the note has to be closed when
6290 (hildon_note_button_release):
6291 Close the note when tapping outside (if applicable)
6293 * src/hildon-app-menu.c
6294 Grab/ungrab pointer and keyboard on map/unmap
6295 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6296 Close the menu on button release, not button press
6298 * src/hildon-banner.c
6299 (hildon_banner_set_property)
6300 (hildon_banner_check_position):
6301 Make the banner use the full width of the screen
6302 (hildon_banner_show_information)
6303 (hildon_banner_show_information_with_markup):
6304 Don't display an icon by default
6306 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6308 Added fading scrollbars and adapted all the overshooting code to
6309 horizontal scrolling. We have also fixed bugs with overshooting
6310 and current fading implementation.
6312 * src/hildon-pannable-area.c
6313 (hildon_pannable_area_scroll_indicator_fade): Time out function
6314 used to change the transparency of the scrollbars.
6316 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6317 control and fixed a problem with fading, we now remove the fade
6318 timeout before adding a new one.
6320 (hildon_pannable_axis_scroll):
6321 (hildon_pannable_area_scroll):
6322 (hildon_pannable_area_timeout): Added this functions so we can use
6323 the scroll code both for vertical and horizontal.
6325 (hildon_pannable_area_motion_notify_cb):
6326 (hildon_pannable_area_button_release_cb): Added the horizontal
6327 scrolling control, fixed a problem with the overshooting timeout.
6329 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6330 painting of the scrolls.
6332 (hildon_pannable_draw_vscroll):
6333 (hildon_pannable_draw_hscroll):
6334 (hildon_pannable_area_expose_event):
6335 Draw both scrollbars and rectangles in the overshooting area.
6337 (hildon_pannable_area_get_property):
6338 (hildon_pannable_area_set_property):
6339 Modified the overshoot property to overshoot_max
6341 (hildon_pannable_area_map):
6342 Replaced the comments symbols.
6344 (hildon_pannable_area_size_allocate):
6345 (hildon_pannable_area_class_init):
6346 (hildon_pannable_area_init): Added horizontal scroll, fading
6347 effect properties, fixed a problem when overshooting in the bottom
6350 * examples/hildon-pannable-area-example.c:
6351 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6352 looks better in the example.
6354 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6356 * src/hildon-window.c
6357 * src/hildon-window.h
6358 (hildon_window_class_init)
6359 (hildon_window_unset_program)
6360 (hildon_window_unset_program_real):
6361 Make unset_program a virtual function
6363 * src/hildon-stackable-window.c
6364 * src/hildon-stackable-window.h
6365 Added hildon_stackable_window_go_home()
6367 * examples/Makefile.am
6368 * examples/hildon-stackable-window-example.c
6369 HildonStackableWindow example
6371 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6373 * hildon-pannable-area.c: Added the overshoot property and removed
6374 the OVERSHOOT define. Fixed an indent style error.
6375 (hildon_pannable_area_motion_notify_cb):
6376 (hildon_pannable_area_get_property):
6377 (hildon_pannable_area_set_property): Add overshoot property.
6379 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6382 (hildon_pannable_area_class_init): Installed the new property.
6384 * hildon-pannable-area-example.c: Added a sawtooth function, this
6385 way it is easier to check the movement in the pannable.
6386 (get_sawtooth_label): Added this function.
6387 (main): Now we get the labels from the new get_sawtooth_label
6390 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6392 * src/hildon-app-menu.h
6393 * src/hildon-app-menu.c
6394 Renamed API variables for consistency
6396 (hildon_app_menu_popup): Use also the default window size to
6397 decide where to place the menu
6399 (hildon_app_menu_init, hildon_app_menu_class_init): New
6400 external-border style property
6402 2008-05-26 Michael Natterer <mitch@imendio.com>
6404 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6405 widget_class->tap_and_hold_setup signal slot doesn't exist any
6406 longer, stop overriding it.
6408 (hildon_time_editor_init): g_signal_connect() to the
6409 tap-and-hold-setup signal instead.
6411 (hildon_time_editor_entry_keypress): add cast to fix warning.
6413 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6415 * doc/hildon-docs.sgml
6417 * examples/Makefile.am
6418 * examples/hildon-app-menu-example.c
6420 * src/hildon-app-menu-private.h
6421 * src/hildon-app-menu.c
6422 * src/hildon-app-menu.h
6424 New HildonAppMenu widget
6426 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6428 Rearranged the inheritance of the pannable area, now it inherits
6429 from GtkBin. This will allow us to control the event_window and
6430 the allocation process of the widget, required for some effects.
6432 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6433 GtkBin structures. * src/hildon-pannable-area.c: Added the
6434 event_window variable.
6435 (hildon_pannable_area_button_press_cb):
6436 (hildon_pannable_area_button_release_cb):
6437 (hildon_pannable_area_motion_notify_cb):
6438 Changed the signature of the method, now we override the event
6439 callback instead of connecting to the signal.
6441 (hildon_pannable_area_realize):
6442 (hildon_pannable_area_unrealize):
6443 (hildon_pannable_area_map):
6444 (hildon_pannable_area_unmap):
6445 (hildon_pannable_area_size_allocate):
6446 Added functions to control the widget construction. We add a
6447 INPUT_ONLY window and we put it over the widgets inside the
6448 container, this event_window handles the events.
6450 (hildon_pannable_area_class_init):
6451 Replaced the signal connections with overrides of the event
6454 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6456 Bouncing effect added when touching the borders, you can change
6457 the elasticity of the border changing the ELASTICITY define.
6459 * src/hildon-pannable-area.c: Added ELASTICITY define.
6460 (hildon_pannable_area_timeout): Added inverse velocity when
6461 touching the border of the child widget, that causes a bounce.
6463 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6465 Improved performance, we now do not go to the X server in order to
6466 get the list of window children. Apparently the effect is the
6467 same, we have to be careful and check if this breaks something in
6470 * src/hildon-pannable-area.c:
6471 (get_ordered_children): Removed this function.
6472 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6473 the children windows function with gdk_window_get_children.
6475 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6477 * src/hildon-pannable-area.c:
6478 (hildon_pannable_area_dispose): Fixed a crash when closing the
6479 window and kinetics is activated.
6481 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6483 * src/hildon-pannable-area.h
6484 * src/hildon-pannable-area.c
6485 Changed indentation style to meet the one used in Hildon
6487 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6489 Reviewed the interaction of the AUTO mode, now we use the time
6490 attribute of the events and calculate the velocity in the motion,
6491 doing a gimp like calculation. The velocity is calculated in each
6492 motion event using the last velocity and the current one, the
6493 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6495 * src/hildon-pannable-area.c: Replaced the time based algorithm
6497 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6498 timeout for the AUTO mode when we are still moving the cursor. We
6499 added also the velocity calculation in this function.
6500 (hildon_pannable_area_button_release_cb): launch the timeout in
6501 case we are in AUTO mode. There are still some constants here that
6502 come from the old implementation that should be reviewed and
6505 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6507 * doc/hildon-docs.sgml
6510 * src/hildon-stackable-window.c
6511 * src/hildon-stackable-window.h
6513 New HildonStackableWindow widget
6515 * examples/hildon-dialog-example.c
6516 * examples/hildon-pannable-area-example.c
6519 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6521 * src/hildon-dialog.c
6522 (hildon_dialog_new_with_buttons): New constructor.
6524 * examples/hildon-dialog-example.c
6525 (main): Update the example to use the new
6526 hildon_dialog_new_with_buttons().
6528 * examples/hildon-pannable-area-example.c
6529 (main): Update example.
6531 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6533 * doc/hildon-docs.sgml
6535 Added HildonPannableArea to the documentation.
6537 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6539 * doc/visual_index.xml
6540 Fix reference to HildonLoginDialog in documentation
6542 * doc/hildon-docs.sgml
6544 * examples/Makefile.am
6545 * examples/hildon-dialog-example.c
6547 * src/hildon-dialog.c
6548 * src/hildon-dialog.h
6550 New HildonDialog widget.
6552 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6554 * src/hildon-pannable-area.c
6555 Merge latest changes (r4318, r4342) from libmokoui trunk
6557 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6559 * examples/Makefile.am
6560 * examples/hildon-pannable-area-example.c
6562 * src/hildon-pannable-area.c
6563 * src/hildon-pannable-area.h
6565 New HildonPannableArea widget.
6567 2008-04-15 18:05:19 <timj@imendio.com>
6569 * src/hildon-banner.c: revert the recent change, that introduced
6570 gtk_window_present() calls. this reopens:
6571 Bug 78481 - [freetest] information banners are hidden under browser menu
6572 But resolves another variant of:
6573 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6575 2008-04-15 13:21:13 <timj@imendio.com>
6577 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6578 recreated its layout, spotted by Kris. this fixes all remaining
6579 artefacts and stability issues with the banner code. in particular:
6580 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6582 2008-04-14 16:52:59 <timj@imendio.com>
6584 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6585 operating on unrealized widgets, fixes:
6586 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6588 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6590 2008-04-09 Kristian Rietveld <kris@imendio.com>
6592 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6593 makes banner disappear.
6594 Fixes: NB#79182: info banner flickering with certain message lengts.
6596 * src/hildon-banner.c (hildon_banner_constructor),
6597 (hildon_banner_init), (hildon_banner_set_text),
6598 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6599 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6600 FALSE, reset size requests of label and banner,
6601 (force_to_wrap_truncated): when the text is too wide, always enforce
6602 the maximum possible width instead of recalculating it from the
6603 layout; enforce the maximum banner height of 3 lines,
6604 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6605 nicer wrapping and no truncated chars if space gets tight.
6607 * src/hildon-banner-private.h: add has_been_wrapped and
6608 has_been_truncated fields.
6610 2008-04-07 Sven Herzberg <sven@imendio.com>
6612 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6613 local values in hildon_date_editor_size_allocate
6615 * src/hildon-date-editor.c: moved the real allocation code into the
6618 2008-04-07 Sven Herzberg <sven@imendio.com>
6620 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6621 local values in hildon_date_editor_size_allocate
6623 * src/hildon-date-editor.c: merged the two if() branches together
6625 2008-04-07 Sven Herzberg <sven@imendio.com>
6627 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6628 local values in hildon_date_editor_size_allocate
6630 * src/hildon-date-editor.c: changed the arguments of the if()
6633 2008-04-07 Sven Herzberg <sven@imendio.com>
6635 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6636 local values in hildon_date_editor_size_allocate
6638 * src/hildon-date-editor.c: split the calculation of the allocation
6639 from the real allocation
6641 2008-03-27 Michael Natterer <mitch@imendio.com>
6643 Fixes: NB#81696: The passcode is not overwritten even after
6646 * src/hildon-code-dialog.c
6647 (hildon_code_dialog_button_clicked)
6648 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6649 because that doesn't overwrite selected text. Instead, emit the
6650 "commit" signal on the entry's im_context so the entry's normal
6651 insert logic is triggered. Set the cursor to the end of the entry
6652 after each insert operation so that we *only* insert in the middle
6653 of the text if something was selected.
6655 2008-03-27 Michael Natterer <mitch@imendio.com>
6657 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6658 selector cannot be opened
6660 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6661 when the popup color selector is created. Please connect to this
6662 signal in order to set the dialog's help ID.
6664 2008-03-25 Sven Herzberg <sven@imendio.com>
6666 Fixes: MB#1212: Hide info banners (infoprints) on click
6668 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6669 extracted the close event simulation into an extra function
6670 (hildon_banner_button_press_event): simulate a close event and destroy
6671 the widget if the event wasn't handled
6672 (hildon_banner_class_init): added the button_press_event handler
6673 (hildon_banner_init): added button-press events to the widget
6675 2008-03-25 Sven Herzberg <sven@imendio.com>
6677 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6678 Patch from: Mohammad Anwari <mdamt@maemo.org>
6680 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6681 instead of the right in RTL mode
6682 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6683 breadcrumb button list in RTL mode
6684 * src/hildon-caption.c: mirror the appearance of the caption widget in
6686 * src/hildon-date-editor.c: mirror appearance of the date editor in
6688 * src/hildon-time-editor.c: mirror appearance of the time editor in
6690 * src/hildon-window.c: fix the position of the popup in RTL mode
6692 2008-03-25 Sven Herzberg <sven@imendio.com>
6694 Amendment to the fix of NB#22072. Fix compilation.
6696 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6698 2008-03-19 Sven Herzberg <sven@imendio.com>
6700 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6703 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6704 timeout id properly when the timeout will disappear this leaves no
6705 artifacts around in the destroy(); there will only be the timeout
6706 created by hildon_banner_ensure_timeout() and adding a new timeout
6707 will also work if the timeout gets removed because the timeout_handler
6710 2008-03-19 Michael Natterer <mitch@imendio.com>
6712 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6714 * src/hildon-volumebar.c
6715 * src/hildon-vvolumebar.c
6716 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6717 the widget becomes focussable at all.
6719 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6720 set the focus to wither the mute button or the volumebar.
6722 Remove own "can-focus" property and instead listen to
6723 notify::can-focus in order to update the widget's state.
6725 Implement GtkWidget::focus() and make sure we can also *leave* the
6726 widget, not only enter it, depending on volumebar orientation and
6727 requested focus direction.
6729 Clean up set_mute() to cooperate nicely with all the above.
6731 2008-03-04 Michael Natterer <mitch@imendio.com>
6733 Fixes: NB#78481: information banners are hidden under browser menu
6735 * src/hildon-banner.c: call gtk_window_present() on the banners so
6736 they are risen if they are already visible.
6738 2008-03-03 Sven Herzberg <sven@imendio.com>
6740 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6742 * examples/hildon-window-menu-example.c: (main): extended the window
6743 menu example to serve as a testcase for automatically added
6744 accelerator groups, too
6745 * src/hildon-window.c: (hildon_window_add_accel_group),
6746 (hildon_window_set_menu): added patch by Tommi Komulainen
6748 2008-03-03 Sven Herzberg <sven@imendio.com>
6750 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6752 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6753 knowledge about the border allocators used within GTK+
6755 2008-02-26 Sven Herzberg <sven@imendio.com>
6757 Fixes: MB#2981: Build with asserts broken
6759 * src/hildon-date-editor.c,
6760 * src/hildon-number-editor.c,
6761 * src/hildon-time-editor.c,
6762 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6763 the proper GType instance check
6765 2008-02-25 Sven Herzberg <sven@imendio.com>
6767 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6769 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6770 * examples/hildon-window-menu-example.c: (main): explicitly show
6772 * src/hildon-window.c:
6773 (hildon_window_set_main_menu): moved most of the code from set_menu()
6774 to this place; skipped the call to gtk_widget_show_all(); also didn't
6775 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6776 (hildon_window_set_menu): removed most of the code, just keep the
6777 questionable gtk_widget_show_all()
6778 * src/hildon-window.h: added the new function and deprecate the old
6781 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6787 * debian/changelog: Updating.
6789 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6792 * pkgconfig/Makefile.am:
6793 * pkgconfig/hildon.pc.in:
6796 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6797 use newly created API_MAJOR_VERSION.
6799 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6805 * debian/changelog: Updating.
6807 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6809 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6811 Add outer_border style property, we use it but don't define it (!).
6815 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6817 * examples/hildon-bread-crumb-trail-example.c (main):
6821 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6823 Fix logic for the bread crumb trail node removal.
6827 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6833 * debian/changelog: Updating.
6835 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6837 Patch by Alejandro to get/set passwords dialogs accesibility.
6839 * hildon-1/src/hildon-get-password-dialog.c:
6840 * hildon-1/src/hildon-set-password-dialog.c:
6841 Set atk_set_name to the passwd entries in order to allow
6842 accessibility by name on this entries.
6844 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6849 * debian/control: Updating gtk dep.
6851 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6853 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6854 USE_MAEMO_GTK is enabled.
6856 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6858 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6859 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6861 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6867 * debian/changelog: Updating.
6869 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6871 * examples/Makefile.am:
6872 * examples/hildon-logical-color-example.c:
6873 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6874 applied + adding a test case. Fixes: NB#71660.
6876 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6878 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6879 to be visible, fixes warning on map for windows without toolbars.
6881 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6883 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6884 2.11.0, add a check for that besides the MAEMO_GTK check.
6886 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6892 * debian/changelog: Updating.
6894 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6896 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6897 visibility. Fixes: NB#70842 and MB#615.
6899 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6901 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6902 set the separator as no-show-all so it doesn't unintentionally appear when
6903 someone does a show_all.
6905 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6907 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6908 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6909 toplevel item. Fixes: NB#62031
6911 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6913 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6914 fix the name of the function in the docs.
6916 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6922 * debian/changelog: Updating.
6924 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6926 * examples/hildon-banner-long-example.c: Adding a test-case for long
6929 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6931 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6933 * src/hildon-color-chooser-dialog.c:
6934 * src/hildon-color-chooser.c:
6935 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6936 memory leaks in font selector and color selector. Fixes: NB#70499 and
6939 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6941 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6943 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6945 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6946 little bit bigger. Fixes: #NB63694.
6948 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6954 * debian/changelog: Updating.
6956 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6959 * doc/hildon-docs.sgml:
6960 * doc/images/bread-crumb-trail.png:
6961 * doc/images/calendar-popup.png:
6962 * doc/images/caption.png:
6963 * doc/images/code-dialog.png:
6964 * doc/images/color-button.png:
6965 * doc/images/color-chooser-dialog.png:
6966 * doc/images/color-chooser.png:
6967 * doc/images/controlbar.png:
6968 * doc/images/date-editor.png:
6969 * doc/images/font-selection-dialog.png:
6970 * doc/images/get-password-dialog.png:
6971 * doc/images/hvolumebar.png:
6972 * doc/images/login-dialog.png:
6973 * doc/images/note.png:
6974 * doc/images/number-editor.png:
6975 * doc/images/range-editor.png:
6976 * doc/images/seekbar.png:
6977 * doc/images/set-password-dialog.png:
6978 * doc/images/sort-dialog.png:
6979 * doc/images/time-editor.png:
6980 * doc/images/time-picker.png:
6981 * doc/images/vvolumebar.png:
6982 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6983 Adding the bread-crumb-trial and helpers to the documentation.
6985 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6987 * examples/hildon-find-toolbar-example.c:
6988 * src/hildon-find-toolbar.c:
6989 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6990 actually continue firing the other handlers if connected. Adding a new
6992 hildon_find_toolbar_get_last_index that gets the index of the most
6993 recently added (last) item. Fixes: NB#52301.
6995 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6997 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6998 behaviour. Fixes: NB#68610.
7000 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7002 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7005 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7007 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7008 when realizing the banner. Should make the infonbanner effect a bit more
7011 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7013 * src/hildon-volumebar.c:
7014 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7015 hildon_volumebar_set_range_insensitive_message and
7016 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7018 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7020 * src/hildon-window.c: Fixing the border freeing on destroy.
7022 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7024 * src/hildon-code-dialog-private.h:
7025 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7026 kw keyboard support in HildonCodeDialog.
7028 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7034 * debian/changelog: Updating.
7036 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7038 * src/hildon-date-editor.c:
7039 * src/hildon-number-editor.c:
7040 * src/hildon-private.c:
7041 * src/hildon-private.h:
7042 * src/hildon-time-editor.c:
7043 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7044 handling in subclassed composite widgets. Fixes: NB#66628.
7046 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7048 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7049 from destroy_ callback as it introduces problems in async dbus signal
7050 handlers. Fixes NB#66673.
7052 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7054 * examples/hildon-hvolumebar-example.c:
7055 * src/hildon-volumebar.c: Improving the focus handling in the
7056 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7057 set_property accessor so that "mute" property can be actually set. I'm
7058 scared that nobody noticed it's totally broken.
7060 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7062 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7065 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7067 * src/hildon-calendar.c:
7068 * src/hildon-number-editor.c:
7069 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7070 matches the spec of 6 chars per second. Fixes: NB#60489.
7072 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7074 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7075 gtk_style_lookup_color sometime returns FALSE even though color was
7076 found and values were filled properly. Weird. Removing the warning for the
7079 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7081 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7082 expand vertically. Adding some extra space to the find toolbar buttons to
7083 make them thumbable. Fixes NB#66060.
7085 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7087 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7088 popup with "Ok" and "Cancel". Fixes NB#59299.
7090 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7092 * src/hildon-calendar.c: Process all window updates before executing next
7093 timeout. Fixes: NB#54146.
7095 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7101 * debian/changelog: Updating.
7103 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7105 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7106 the client event and ignore it, since we use the delete event to close
7109 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7111 * src/hildon-helper.c: Remove the bogus warning about color not being
7112 found. Fixes NB#58352.
7114 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7116 * examples/Makefile.am:
7117 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7118 HildonSeekbar widget inside a toolbar.
7120 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7122 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7123 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7124 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7125 don't want to be closed by non-temporary windows on map.
7127 Also use G_DEFINE_TYPE instead of manually typed code.
7129 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7136 * debian/rules: Updating.
7138 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7140 * examples/Makefile.am:
7141 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7142 bug NB#61128. Strangely it works.
7144 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7146 * src/hildon-date-editor.c: When the date editor entry has been changed
7147 but the numbers of characters < max, turn off the skip validation flag.
7148 Prevents a situation when we enter first a valid year and later re-write
7149 it with an invalid one. Fixes NB#60154.
7151 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7153 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7154 code dialog. Fixes NB#64355.
7156 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7158 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7159 switching the page. Fixes NB#49374.
7161 * examples/Makefile.am:
7162 * examples/hildon-wizard-dialog-example.c: Adding an example for
7163 HildonWizardDialog that shows how to handle manual sensitivity setting on
7166 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7170 * src/hildon-version.h.in:
7171 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7173 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7175 * src/hildon-volumebar.c: Updating the docs.
7177 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7183 * debian/changelog: Updating.
7185 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7187 * src/hildon-find-toolbar.c:
7188 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7189 selected item: hildon_find_toolbar_set_active,
7190 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7191 hildon_find_toolbar_get_active_iter . They correspond to respective
7192 GtkComboBox functions.
7194 * examples/Makefile.am:
7195 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7198 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7200 * examples/Makefile.am:
7201 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7204 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7205 when font size > 32 and we pack a focusable widget inside. Actually using
7206 the default response would work too, but since we don't show default
7207 response state in any way (no theming) it would not be visible to the
7208 user. Fixes NB#63430.
7210 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7212 * src/hildon-date-editor.c: Adding the missing variable setter in the
7213 set_property handler. Fixes NB#54182.
7215 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7217 * src/hildon-window.h: Changing the long key press time from 1500ms to
7218 800ms as requested in NB#63700. I have a bad feeling about this, let's
7219 see... Fixes NB#63700.
7221 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7223 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7224 hildon_time_picker_map, hildon_time_picker_realize,
7225 hildon_time_picker_style_set): Split the contents of map to more
7226 appropriate functions; set window decorations on realize and update
7227 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7229 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7234 * debian/changelog: Updating.
7236 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7238 * src/Makefile.am: fixed installation of the header files
7240 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7246 * debian/changelog: Updating.
7248 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7250 * configure.ac: Removing some remaining of --enable-xan.
7252 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7254 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7255 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7257 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7258 2.10.12-osso6 because the move-focus signal needs to be available in
7261 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7263 * examples/Makefile.am:
7264 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7265 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7266 fine. Prolly NB#61128 is fixed now.
7268 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7270 * src/hildon-volumebar.c:
7271 * src/hildon-volumebar.h: Adding the
7272 hildon_volumebar_set_range_insensitive_message and
7273 hildon_volumebar_set_range_insensitive_messagef functions to set
7274 insensitive message on the slider of the volumebar. Fixes NB#61129.
7276 * examples/Makefile.am:
7277 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7278 test the new insensitive messsage functionality on HildonVolumebar.
7280 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7282 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7285 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7287 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7288 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7289 button on after clearing the trail.
7291 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7293 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7295 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7297 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7298 by splitting the installed headers in generated and non-generated groups. Use
7299 only the non-generated headers to create the hildon-enum-types.h file.
7301 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7303 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7305 * src/hildon-window.c: Hide the window before performing the destroy.
7306 Should make the app closing a little tiny bit more snappy.
7308 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7310 * src/hildon-seekbar.c: add gtkrange.h header
7311 * src/hildon-caption.c: remove unused variable
7313 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7315 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7318 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7324 * debian/changelog: Updating.
7326 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7328 * src/hildon-window.c (hildon_window_window_state_event,
7329 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7330 escape timeout on focus-out-event rather than notify::is-topmost; the
7331 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7333 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7335 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7336 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7338 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7340 * src/hildon-window: actually, you need to use the macro always, there's
7341 no private pointer in the instance structure. We should have cleaned this up
7342 when we had the chance...
7344 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7346 * src/hildon-window.c: do not get the private date from HildonWindow before
7347 it passes the g_return_if_fail check. Once it's passed the test, there's no
7348 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7349 if you are only going to access the data once. Whitespace cleanups.
7351 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7353 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7354 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7356 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * debian/changelog: Updating.
7364 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7366 * src/hildon-window.c: When destroying the window, remove (if exists) the
7367 escape timeout handler. Fixes #NB59276.
7369 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7371 * src/hildon-banner.c: When realizing the widget, set the window
7372 transiency. Setting the transiency in the gobject constructor is not
7373 good, as the widget is not realized at that point. Fixes: #NB56624.
7375 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7377 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7378 Add padding for future expansions.
7380 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7382 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7383 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7384 will fake an activation on the previous to the last item of the trail, so
7385 the effect can be overrided by the developer as usual.
7386 Also change the callback for the back button to do the same thing, so its
7387 effect can be overrided too. Fixes: NB#58982
7389 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7391 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7392 HildonCaption. Fixes NB#52379.
7394 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7396 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7397 the internal state of the trail after the user has had the chance of executing
7398 his handler for the signal. Specifically, it may happen that the activated button
7399 is removed and the user still lets the default handler run. This would segfault
7402 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7404 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7405 scrollbar to the preview dialog. Fixes NB#54147.
7407 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7410 max/min year properties can be altered, so the client can modify it
7411 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7413 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7415 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7416 hildonlike by default. Fixing a problem with disappearing arrows when
7417 scrolling through months and years. Fixes NB#54127.
7419 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7421 * examples/hildon-date-editor-example.c: Adding error callback to the date
7424 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7430 * configure.ac: Updating.
7432 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7434 * configure.ac: Adding a special '--enable-xan' configure option that
7435 turns off the -Werror compilation setting. Usefull for development.
7437 * src/hildon-calendar.c:
7438 * src/hildon-number-editor.c:
7439 * src/hildon-time-picker.c: Adding the 5* multiplier to
7442 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7444 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7445 instead of g_object_ref + gtk_object_sink.
7447 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7453 * debian/changelog: Updating.
7455 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7457 * src/hildon-color-chooser-dialog.c:
7458 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7459 straight from Tommi labs.
7461 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7463 * examples/hildon-finger-example.c: Correcting the header file path.
7465 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7466 the changed signal. Fixes a small memory leak.
7468 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7472 * src/hildon-banner.c: Importing several usefull fixes from the
7473 ubuntu-mobile branch.
7475 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7477 * examples/Makefile.am:
7478 * examples/hildon-finger-example.c: Adding a finger-checking code
7481 * src/hildon-font-selection-dialog.c: Do not allocate the color
7482 structure using the g_new. Fixes NB#54061.
7484 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7486 * src/hildon-helper.c: Correcting tabs in file.
7488 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7490 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7491 control the visibility of the children.
7493 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7495 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7501 * debian/changelog: Updating.
7503 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7505 * src/hildon-bread-crumb-trail.c:
7506 (hildon_bread_crumb_trail_size_allocate):
7508 Make the back button always a square.
7510 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7512 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7513 from the .c file as it's a private file.
7515 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7517 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7518 uses slightly bigger height.
7520 * src/hildon-font-selection-dialog.c: Adding some checks before
7521 freeing memory in the font selection dialog.
7523 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7525 * src/hildon-font-selection-dialog.c: Adding a small check when
7528 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7529 buttons sensitivity on page switching.
7531 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7533 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7534 internal details of adding a bread crumb to the trail.
7536 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7542 * debian/changelog: Updating.
7544 * src/hildon-bread-crumb-trail.h:
7545 * src/hildon-bread-crumb.h: Changing the API guard to
7546 HILDON_ENABLE_UNSTABLE_API.
7548 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7556 * src/hildon-helper.h: Updating.
7558 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7566 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7570 * src/hildon-helper.h: Small fix to make the package actually compile.
7572 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7574 * src/hildon-bread-crumb-trail.h:
7575 * src/hildon-bread-crumb.h:
7577 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7578 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7580 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7582 * examples/hildon-bread-crumb-trail-example.c:
7584 * src/hildon-bread-crumb-trail.c:
7585 * src/hildon-bread-crumb-trail.h:
7586 * src/hildon-bread-crumb.c:
7587 * src/hildon-bread-crumb.h:
7588 * src/hildon-marshalers.list:
7589 * src/hildon-bread-crumb-widget.c:
7590 * src/hildon-bread-crumb-widget.h:
7592 Slight change in the widget design. The bread crumb trail API is
7593 unchanged, but HildonBreadCrumb is now an interface. A *private*
7594 implementation, hildon-bread-crumb-widget, is provided and used
7595 internally by the trail for the push_text/push_icon functions.
7597 The generic push API is still available, so anyone can implement
7598 and use its own bread crumb widget.
7600 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7602 * debian/rules: Fixing the shlibs.
7604 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7606 * src/hildon-banner.c: Fixing a problem with timed banners having
7607 their parrent destroyed before they are.
7609 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7611 * src/hildon-bread-crumb.c:
7612 * src/hildon-bread-crumb.h:
7614 Make the get_natural_size function a vfunc.
7616 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7618 * src/hildon-bread-crumb.c:
7619 * src/hildon-bread-crumb-trail.c:
7623 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * debian/changelog: Updating for release.
7632 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7634 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7635 don't leak the pango layout.
7637 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7640 * examples/hildon-bread-crumb-trail-example.c:
7644 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7646 * debian/changelog: Removing the bug-fixed entries that were actually
7647 resolved as WONTFIX.
7649 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7652 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7654 * src/hildon-bread-crumb-trail.c:
7655 * src/hildon-bread-crumb-trail.h:
7656 * src/hildon-bread-crumb.c:
7657 * src/hildon-bread-crumb.h:
7661 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7663 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7664 until it's passed the type check.
7666 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7668 * examples/hildon-bread-crumb-trail-example.c
7672 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7674 * examples/Makefile.am
7675 * examples/hildon-bread-crumb-trail-example.c
7677 * src/hildon-bread-crumb-trail.c
7678 * src/hildon-bread-crumb-trail.h
7679 * src/hildon-bread-crumb.c
7680 * src/hildon-bread-crumb.h
7682 New HildonBreadCrumbTrail widget.
7684 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7686 * src/hildon-range-editor.c (hildon_range_editor_init),
7687 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7688 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7689 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7690 hildon_time_editor_class_init, hildon_time_editor_init),
7691 src/hildon-get-password-dialog.c (invalid_input,
7692 hildon_get_password_set_property, hildon_get_password_get_property,
7693 create_contents, hildon_get_password_dialog_set_max_characters),
7694 src/hildon-set-password-dialog.c (create_contents),
7695 src/hildon-date-editor.c (hildon_date_editor_init),
7696 src/hildon-login-dialog.c (hildon_login_dialog_init),
7697 src/hildon-number-editor.c (hildon_number_editor_init),
7698 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7699 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7700 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7701 configure option and adding the respective checks in the code.
7702 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7703 hildon_calendar_drag_data_received): fixed some build warnings.
7705 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7707 * debian/changelog: A 1.0.0 release notes.