1 2009-04-20 Alberto Garcia <agarcia@igalia.com>
3 Patch by Mox Soini (ext-mox.soini@nokia.com)
5 * src/hildon-banner.c (hildon_banner_create_animation):
6 Use stylus-sized icons in animation banner.
8 Fixes: NB#111206 (stylus sized icon for animation banner)
10 2009-04-20 Alberto Garcia <agarcia@igalia.com>
14 (+hildon_gtk_window_set_do_not_disturb):
15 New API to set the do-not-disturb flag.
17 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
19 2009-04-20 Alberto Garcia <agarcia@igalia.com>
21 * examples/hildon-progress-indicator-example.c: Fix example
23 * src/hildon-gtk.c (set_clear_window_flag)
24 (hildon_gtk_window_set_progress_indicator):
25 Create a generic function for setting flags to a window.
26 Use GDK instead of direct Xlib calls.
28 2009-04-14 Alberto Garcia <agarcia@igalia.com>
30 * src/hildon-button.c (hildon_button_set_arrangement):
31 Due to NB#88126, if one of the labels is too long it will be
32 painted outside the button. The 'value' label is more likely to be
33 the longest one, so we change its packing options in order to
34 truncate it if necessary. As a side effect, the 'title' label will
35 no longer be truncated.
37 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
39 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
44 * configure.ac: Bump version.
45 * debian/changelog: Updates.
47 2009-04-13 Alejandro G. Castro <alex@igalia.com>
49 Deprecation of the hildon_pannable_area_set_size_request_policy
50 API, the only policy properly supported in gtk+ nowadays is the
53 * src/hildon-pannable-area.c,
54 (hildon_pannable_area_size_request): Added a workaround for the
55 size_request to avoid the problems of huge pixmaps in case someone
56 is still using the function.
57 * src/hildon-pannable-area.h: Deprecated the enum with the
60 Fixes: NB#110244 (Problems with the
61 hildon_pannable_area_set_size_request_policy API)
63 2009-04-08 Alejandro G. Castro <alex@igalia.com>
65 * src/hildon-pannable-area.c,
66 (hildon_pannable_area_init),
67 (hildon_pannable_area_size_request),
68 (hildon_pannable_area_style_set),
69 (hildon_pannable_draw_vscroll),
70 (hildon_pannable_draw_hscroll),
71 (hildon_pannable_area_check_scrollbars): Replaced area_width with
72 indicator_width to clarify the use of the attribute.
74 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
79 * configure.ac: Bump version.
80 * debian/changelog: Updates.
82 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
84 * src/hildon-picker-dialog.c
85 * src/hildon-touch-selector.c
86 Reverting the change that tried to avoid the hardcoded height on
87 the picker dialog, as causes problems on the hildon-touch-selector
90 Fixes: NB#110029 (selectors not scrolling to selected value)
92 2009-04-07 Alberto Garcia <agarcia@igalia.com>
94 * src/hildon-touch-selector.c: Fix typos
96 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
98 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
99 Use the event coordinates instead of gdk_window_get_pointer(). Also,
100 request more motions after using it.
102 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
104 * src/hildon-calendar.c (hildon_calendar_expose),
105 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
106 Remove unused variables.
108 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
110 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
113 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
115 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
116 Check the return value of gtk_tree_selection_get_selected()
119 2009-04-06 Alberto Garcia <agarcia@igalia.com>
121 * src/hildon-animation-actor.c
122 * src/hildon-button.c
124 * src/hildon-pannable-area.c
125 * src/hildon-picker-button.c
126 * src/hildon-program.c
127 * src/hildon-remote-texture.c
128 * src/hildon-text-view.c
129 * src/hildon-touch-selector.c
130 * src/hildon-window-stack.c
131 * src/hildon-window.c:
132 Add missing 'Since: 2.2' tags.
134 * doc/hildon-sections.txt:
135 Add some missing symbols.
137 * doc/hildon-docs.sgml:
138 New 'Other' section for HildonAnimationActor and
141 2009-04-06 Alberto Garcia <agarcia@igalia.com>
143 Patch by Iván Gómez (igomez@igalia.com)
147 * doc/hildon-docs.sgml
148 * doc/hildon-sections.txt
152 New chapters on using the Hildon library.
153 Updated the general structure of the reference manual.
154 Other minor documentation fixes.
156 * src/hildon-calendar-popup.c
157 * src/hildon-calendar.c
158 * src/hildon-controlbar.c
159 * src/hildon-date-editor.c
160 * src/hildon-dialog.c
161 * src/hildon-hvolumebar.c
162 * src/hildon-number-editor.c
163 * src/hildon-range-editor.c
164 * src/hildon-sort-dialog.c
165 * src/hildon-time-editor.c
166 * src/hildon-time-picker.c
167 * src/hildon-volumebar-range.c
168 * src/hildon-volumebar.c
169 * src/hildon-vvolumebar.c
170 * src/hildon-weekday-picker.c:
171 Add deprecation notes
173 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
174 Document 'horizontal-movement' and 'vertical-movement' signals.
176 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
181 * configure.ac: Bump version.
182 * debian/changelog: Updates.
184 2009-04-06 Alejandro G. Castro <alex@igalia.com>
186 * src/hildon-pannable-area.c,
187 (hildon_pannable_area_class_init): increased the minimum velocity.
188 (hildon_pannable_area_button_release_cb): Updated the
189 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
190 setup. Review the code to control that last event.
192 Fixes: NB#109790 (Releasing finger in pannable area easily causes
195 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
197 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
199 * src/hildon-get-password-dialog.c
200 (hildon_get_password_set_property),
201 (hildon_get_password_get_property), (create_contents):
202 * src/hildon-login-dialog-private.h:
203 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
204 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
205 (hildon_login_dialog_get_password):
206 * src/hildon-set-password-dialog-private.h:
207 * src/hildon-set-password-dialog.c
208 (hildon_set_password_set_property),
209 (hildon_set_password_get_property), (create_contents),
210 (hildon_set_password_response_change),
211 (hildon_set_password_response_set), (hildon_checkbox_toggled):
213 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
214 instead and look more Fremantle style.
216 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
218 2009-04-03 Alberto Garcia <agarcia@igalia.com>
220 * doc/hildon-sections.txt
221 * src/hildon-window-stack.h
222 * src/hildon-window-stack.c
223 (+hildon_window_stack_get_windows):
224 New API to obtain the list of windows on a stack.
226 2009-04-02 Alberto Garcia <agarcia@igalia.com>
228 * src/hildon-app-menu.c (hildon_app_menu_popup)
229 (hildon_app_menu_class_init, -hildon_app_menu_show):
230 Remove hildon_app_menu_show() and move all its checks to
231 hildon_app_menu_popup()
233 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
235 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
236 (_hildon_picker_dialog_set_selector): removed call to
237 gtk_widget_set_size_request
238 * src/hildon-touch-selector.c
239 (_create_new_column): change the pannable size request policy
241 Avoid to use a hardcoded height for the hildon picker dialog. In order
242 to get that, we needed to change the hildon pannable size request
244 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
246 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
248 * src/hildon-window.c (hildon_window_map): Check for vbox to be
249 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
252 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
254 * debian/control: Depend on osso-system-lock localization package.
255 * src/hildon-code-dialog.c: Obtain the secu_application_title
256 translation from osso-system-lock.
257 * src/hildon-get-password-dialog.c (create_contents): Do not mark
258 for translation the atk related strings, that's not necessary.
259 * src/hildon-set-password-dialog.c (create_contents): Ditto.
260 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
261 cancel button, it is not required.
263 2009-04-02 Alejandro G. Castro <alex@igalia.com>
265 * src/hildon-pannable-area.c,
266 (hildon_pannable_area_class_init): Modified the default value of
267 the overshooting max speed, we have reduced it.
269 2009-04-02 Alberto Garcia <agarcia@igalia.com>
271 * doc/hildon-sections.txt
272 * src/hildon-window-private.h
273 * src/hildon-window.h
274 * src/hildon-window.c (hildon_window_class_init)
275 (hildon_window_init, hildon_window_finalize)
276 (hildon_window_realize, hildon_window_get_property)
277 (hildon_window_set_property, hildon_window_update_markup)
278 (hildon_window_get_markup, hildon_window_set_markup):
279 New "markup" property and hildon_window_{get,set}_markup() methods.
281 * examples/hildon-stackable-window-example.c (new_window):
282 Update example to use hildon_window_set_markup()
284 Fixes: NB#106375 (Need API to retitle a window with a title
287 2009-04-01 Alejandro G. Castro <alex@igalia.com>
289 * src/hildon-pannable-area.c,
290 (hildon_pannable_area_class_init): Changed the default value of
291 the initial_hint to TRUE.
292 (hildon_pannable_area_initial_effect): Changed the initial effect,
293 not the effect is just the fade-out of the scrollbars.
295 Fixes: NB#107775 (No scrollbars can be seen when several items are
296 available in a dialog)
298 2009-04-01 Alberto Garcia <agarcia@igalia.com>
300 * src/hildon-program.c (hildon_program_update_top_most):
303 Fixes: NB#109179 (Memory leak in Hildon program)
305 2009-04-01 Alberto Garcia <agarcia@igalia.com>
307 * src/hildon-banner.c (-get_current_app_window):
308 Remove unused function.
310 2009-04-01 Alejandro G. Castro <alex@igalia.com>
312 * src/hildon-pannable-area.c: Modified the documentation of the
313 get adjustments functions to explain the problem of using the
315 (hildon_pannable_area_class_init): Improved the explanation about
318 2009-04-01 Alberto Garcia <agarcia@igalia.com>
320 * src/hildon-app-menu-private.h
321 * src/hildon-app-menu.c
322 (hildon_app_menu_class_init):
323 Bring back the 'external-border' style property
324 (hildon_app_menu_class_init, hildon_app_menu_init)
325 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
326 Set a fixed width-request for the menu, independent of the number
329 Fixes: NB#94957 (Smoothly opened application menu)
331 2009-03-30 Alberto Garcia <agarcia@igalia.com>
333 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
335 * src/hildon-banner.c
336 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
338 Make sure that the banner is correctly placed the first time it's
340 (hildon_banner_check_position, -check_fullscreen_state):
341 Show the banner in the same place no matter if the window is in
342 fullscreen mode or not.
344 Fixes: NB#107386 (Odd stacking behaviour for information banners)
346 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
348 * src/hildon-touch-selector.c (_default_print_func): reorder
349 concatenation for clarity.
351 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
353 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
354 for multicolumn selectors.
356 Fixes: NB#109099 (Memory leak in Hildon touch selector)
358 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
363 * configure.ac: Bump version.
364 * debian/changelog: Updates.
366 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
368 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
371 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
373 * configure.ac: removed libcangerra-gtk dependency
374 * debian/control: removed libcanberra-gtk dependency
375 * src/Makefile.am: removed libcanberra gtk related flags
376 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
377 context, and manage a global canberra context instead
379 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
381 2009-03-26 Alberto Garcia <agarcia@igalia.com>
383 Patch by Daniel Borgmann (danielb@openismus.com)
385 * src/hildon-edit-toolbar.c:
386 Adjust the left padding.
387 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
388 Paint background of the edit toolbar.
390 Fixes: NB#107897 (Patch to make editmodetoolbar background
391 themeable and adjust margin)
393 2009-03-25 Alberto Garcia <agarcia@igalia.com>
395 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
397 * src/hildon-program.c (hildon_program_update_top_most):
398 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
400 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
401 change when the user tasks in/out of an application)
403 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
405 * configure.ac: added libcangerra-gtk dependency
406 * debian/control: added libcanberra-gtk dependency
407 * src/Makefile.am: added libcanberra gtk related flags
408 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
411 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
413 2009-03-25 Alberto Garcia <agarcia@igalia.com>
415 * src/hildon-program.c (hildon_program_remove_window)
416 (hildon_program_add_window): Add checks for the window
417 parameter. Don't decrease the window counter if the window is not
420 2009-03-24 Alejandro G. Castro <alex@igalia.com>
422 * src/hildon-pannable-area.c,
423 (hildon_pannable_area_realize): Fixed position of the event_window
424 in the realize method.
426 2009-03-24 Alberto Garcia <agarcia@igalia.com>
428 * src/hildon-app-menu-private.h
429 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
430 (hildon_app_menu_map, hildon_app_menu_hide_idle)
431 (hildon_app_menu_key_press, hildon_app_menu_init)
432 (hildon_app_menu_finalize):
433 Make sure that all idle functions are removed when the widget is
436 Fixes: NB#107583 (Hildon app menu crashes in various applications)
438 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
443 * configure.ac: Bump version.
444 * debian/changelog: Updates.
446 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
449 (+hildon_entry_show_placeholder),
450 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
451 that replace hildon_entry_update_contents().
452 (hildon_entry_set_text),
453 (hildon_entry_set_placeholder),
454 (hildon_entry_focus_in_event),
455 (hildon_entry_focus_out_event): Determine when it is needed
456 either to show or hide the placeholder and call the above methods.
458 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
459 when the placeholder text is already set)
461 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
463 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
464 simple GdkPixbufAnim using the new icons for the banner.
465 (hildon_banner_show_animation): Use the above mentioned method to
466 create the animation widget.
468 Fixes: NB#103564 (Make hildon animation banner use individual
469 image files as the animation)
471 2009-03-24 Alejandro G. Castro <alex@igalia.com>
473 * src/hildon-pannable-area.c,
474 (hildon_pannable_leave_notify_event): Check if the child is NULL
475 to avoid sending the leave.
477 2009-03-24 Alejandro G. Castro <alex@igalia.com>
479 * src/hildon-pannable-area.c,
480 (hildon_pannable_area_class_init),
481 (hildon_pannable_leave_notify_event): Added a handler of the
482 leave-notify-signal to consider when no motion notify before
485 Fixes: NB#107494 (Items stay selected when clicking and moving
486 away when inside pannable area)
488 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
493 * configure.ac: Bump version.
494 * debian/changelog: Updates.
496 2009-03-19 Alejandro G. Castro <alex@igalia.com>
498 Patch by Alberto Garcia (agarcia@igalia.com)
500 * src/hildon-date-button.c,
501 (hildon_date_button_class_init),
502 (hildon_date_button_init): Removed the construct property handling
503 and created a default selector in the init method.
504 * src/hildon-picker-button.c,
505 (hildon_picker_button_class_init): Removed the construct flag of the
508 2009-03-18 Alberto Garcia <agarcia@igalia.com>
510 * src/hildon-main.c (hildon_init):
511 Don't allow hildon_init() to be called more than once.
513 Fixes: NB#106607 (hildon_init should issue error message upon
516 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
518 * examples/hildon-pannable-area-touch-list-example.c
519 * examples/hildon-pannagle-area-touch-grid-example.c
520 * examples/hildon-edit-toolbar-example.c
521 * examples/hildon-touch-selector-multi-cells-example.c
522 Removed the call to gtk_rc_parse_string, as it is not required since
525 2009-03-17 Alejandro G. Castro <alex@igalia.com>
527 * src/hildon-pannable-area.c,
528 (hildon_pannable_area_class_init): Modified the default panning
529 threshold of the widget to 6px.
531 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
532 than the threshold value ) within the button is not sending the
535 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
537 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
538 for the treeview in the new column. This way, the touch list will never
541 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
542 be selected manually for the HW keys to work)
544 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
546 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
547 comparison instead of using strcmp(). Fixes a compiler warning as well.
549 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
551 * doc/hildon-docs.sgml: Do not set the library version in the
552 document title, use the releaseinfo tag for that purpose instead.
554 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
556 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
557 Do not jump to the first item if the text in the entry is removed.
559 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
564 * configure.ac: Bump version.
565 * debian/changelog: Updates.
567 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
569 * src/hildon-entry.c (hildon_entry_refresh_contents):
570 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
571 Use "ReversedSecondaryTextColor" for the placeholder text.
573 2009-03-12 Alberto Garcia <agarcia@igalia.com>
575 * src/hildon-text-view.c: Fix compilation warning.
577 2009-03-12 Alberto Garcia <agarcia@igalia.com>
579 * src/hildon-button.c (hildon_button_class_init): Don't make
580 "title" and "value" construction properties, to prevent them from
581 overwriting labels set from derived classes.
583 * src/hildon-picker-button.c
584 (hildon_picker_button_set_selector): Allow setting a NULL selector.
585 (hildon_picker_button_class_init): Make touch-selector a
586 construction property.
588 * src/hildon-date-button.c (hildon_date_button_class_init)
589 (+hildon_date_button_constructed): Add a default date selector if
592 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
594 * src/hildon-touch-selector.c: Small documentation fixes.
596 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
598 Based on a patch by Daniel Borgmann (danielb@openismus.com)
600 * src/hildon-entry.c (hildon_entry_refresh_contents),
601 (hildon_entry_get_text), (hildon_entry_init): Do not use the
602 widget name, set the logical color directly instead and a boolean
603 showing_placeholder instead.
604 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
605 use the widget name here either.
607 Fixes: NB#105678 (HildonTextView should use logical colours
608 instead of setting widget name)
610 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
612 Patch by Daniel Elster (danielk@openismus.com)
614 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
615 Add user_data parameter.
616 (hildon_touch_selector_set_print_func_full): New function akin
617 hildon_touch_selector_set_print_func() but with support for user
618 data and a destroy callback.
619 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
620 to clean up the print function user data.
621 (hildon_touch_selector_class_init): Install dispose function.
622 (HildonTouchSelectorPrivate::print_user_data),
623 (HildonTouchSelectorPrivate::print_destroy_func): New private
625 (hildon_touch_selector_init): Initialize new private members.
626 (hildon_touch_selector_get_current_text): Pass along user data
627 to the print function.
628 (_default_print_func): Add dummy user_data to parameter list.
629 * hildon-date-selector.c (_custom_print_func): ditto,
630 * hildon-time-selector.c (_custom_print_func): ditto,
631 * hildon-touch-selector-entry.c
632 (hildon_touch_selector_entry_print_func): ditto.
634 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
636 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
638 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
640 2009-03-12 Alejandro G. Castro <alex@igalia.com>
642 * src/hildon-pannable-area.c,
643 (hildon_pannable_area_init),
644 (hildon_pannable_area_button_press_cb),
645 (hildon_pannable_area_motion_notify_cb): We have added code to
646 handle the leave and enter events when using the motion events.
648 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
650 2009-03-11 Alberto Garcia <agarcia@igalia.com>
652 * src/hildon-date-button.c (hildon_date_button_get_date)
653 (hildon_date_button_set_date): Make sure that the button has a
656 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
658 2009-03-11 Alejandro G. Castro <alex@igalia.com>
660 * src/hildon-pannable-area.c,
661 (hildon_pannable_area_class_init),
662 (hildon_pannable_area_calculate_velocity): Modify the use of the
663 force and adapt the value.
665 2009-03-10 Alberto Garcia <agarcia@igalia.com>
667 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
668 (hildon_app_menu_class_init): Hide the menu if it receives a
669 delete-event, but don't destroy it
671 Fixes: NB#104485 (Not able to address the call when application
672 menu is opened at background)
674 2009-03-10 Alberto Garcia <agarcia@igalia.com>
676 * src/hildon-app-menu.c
677 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
678 Remove the "external-border" style property, let the menu take its
679 natural size (or the one set by the window manager)
680 (hildon_app_menu_repack_items):
681 Don't reshow the menu, avoid flickers.
683 Partially fixes NB#94957 (Smoothly opened application menu)
685 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
690 * configure.ac: Bump version.
691 * debian/changelog: Updates.
693 2009-03-10 Alejandro G. Castro <alex@igalia.com>
695 * src/hildon-pannable-area.c,
696 (hildon_pannable_area_motion_notify_cb): We control that the
697 direction error margin is used just in case the movement is
698 allowed in the other direction.
700 Fixes: NB#105012 (buttons inside a pannable area not getting
701 release event when dragging/releasing)
703 2009-03-10 Alejandro G. Castro <alex@igalia.com>
705 * src/hildon-pannable-area.c,
706 (hildon_pannable_area_class_init),
707 (hildon_pannable_area_get_property),
708 (hildon_pannable_area_set_property),
709 (hildon_pannable_area_initial_effect),
710 (hildon_pannable_axis_scroll),
711 (hildon_pannable_area_button_release_cb): Reviewed the
712 overshooting effect, now it has its own max
713 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
716 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
721 * configure.ac: Bump version.
722 * debian/changelog: Updates.
724 2009-03-09 Alejandro G. Castro <alex@igalia.com>
726 * src/hildon-pannable-area.c,
727 (hildon_pannable_area_class_init): Changed the max speed, now
728 users can launch the widget very fast. Reduced the default force,
729 that way it is easier to control the launch speed.
731 2009-03-09 Alejandro G. Castro <alex@igalia.com>
733 * src/hildon-pannable-area.c,
734 (hildon_pannable_area_button_release_cb): Removed this check
735 because it causes problems when the device is overloaded.
737 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
739 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
740 add a current_text field to store the text entered in the
741 touch selector entry.
742 (_clean_current_selection): clean up the current text as well.
743 (_save_current_selection), (_restore_current_selection):
744 Save/restore the text in the entry if the selector is a
745 HildonTouchSelectorEntry.
747 Fixes: NB#102541 (value entered in the touch selector entry is not
748 shown when opened for second time)
750 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
752 * doc/hildon-sections.txt:
753 * src/hildon-touch-selector-entry.c
754 (+hildon_touch_selector_entry_get_entry):
755 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
757 Fixes: NB#104815 (I need accessor to the entry inside
758 HildonTouchSelectorEntry)
760 2009-03-06 Alberto Garcia <agarcia@igalia.com>
762 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
763 (hildon_app_menu_class_init):
764 New "filter-vertical-spacing" style property.
766 2009-03-06 Alberto Garcia <agarcia@igalia.com>
768 * src/hildon-find-toolbar.c
769 (hildon_find_toolbar_emit_close)
770 (hildon_find_toolbar_emit_invalid_input)
771 (hildon_find_toolbar_entry_activate):
772 Use g_signal_emit() instead of g_signal_emit_by_name()
774 2009-03-06 Alberto Garcia <agarcia@igalia.com>
776 Patch by Mox Soini (ext-mox.soini@nokia.com)
778 * tests/TEST-CASES.txt
779 * tests/check-hildon-banner.c
780 * tests/check-hildon-note.c
781 * src/hildon-banner.c
782 * src/hildon-code-dialog.c
783 * src/hildon-date-editor.c (real_set_calendar_icon_state)
784 * src/hildon-time-editor.c
785 * examples/hildon-lookup-example.c (main):
786 Replace obsolete icon names with new ones.
788 * src/hildon-find-toolbar-private.h:
789 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
790 (-hildon_find_toolbar_emit_search):
791 Remove find button and change icon of close button.
793 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
795 2009-03-05 Alberto Garcia <agarcia@igalia.com>
797 * src/hildon-time-button.c (hildon_time_button_new_step):
798 Use the "touch-selector" property to set the selector directly
799 when creating the object.
801 2009-03-05 Alejandro G. Castro <alex@igalia.com>
803 Added a new example application that allows tuning the pannable
804 area and replaced defines with properties in order to simplify the
805 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
806 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
807 PROP_DIRECTION_ERROR_MARGIN.
809 * examples/hildon-pannable-area-tuning-example.c: New example
811 * src/hildon-pannable-area.c,
812 (hildon_pannable_area_class_init),
813 (hildon_pannable_area_init),
814 (hildon_pannable_area_get_property),
815 (hildon_pannable_area_set_property),
816 (hildon_pannable_area_launch_fade_timeout),
817 (hildon_pannable_area_adjust_value_changed),
818 (hildon_pannable_axis_scroll),
819 (hildon_pannable_area_motion_notify_cb),
820 (hildon_pannable_area_scroll_cb),
821 (hildon_pannable_area_button_release_cb): We have converted some
822 of the defines that control the widget to properties to simplify
825 2009-03-05 Alberto Garcia <agarcia@igalia.com>
827 * src/hildon-app-menu.c (hildon_app_menu_map)
828 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
829 so it's closed if a new window appears.
831 Fixes: NB#104485 (Not able to address the call when application
832 menu is opened at background)
834 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
836 * src/hildon-color-button.c (hildon_color_button_get_property):Add
837 missing 'break' statement in in 'case' construct to avoid
840 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
842 * src/hildon-touch-selector-entry.c
843 (hildon_touch_selector_entry_get_property),
844 (hildon_touch_selector_entry_set_property): Add missing 'break'
845 statements in in 'case' constructs to avoid incorrect warnings.
847 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
849 * src/hildon-time-editor.c
850 (hildon_time_editor_get_time_separators): Do not crash if
851 the first label is NULL.
853 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
855 * src/hildon-date-selector.c (_month_days): Check for month to be
856 strictly less than 12, since otherwise we may overrun the array.
858 2009-03-04 Alberto Garcia <agarcia@igalia.com>
860 * src/hildon-date-button.c (+hildon_date_button_new_full)
861 (hildon_date_button_new, hildon_date_button_new_with_year_range)
862 (hildon_date_button_init): Set the date selector using a
863 construction property, to make it happen after HildonButton's
864 "value" property is set.
866 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
867 current date by default)
869 2009-03-04 Alberto Garcia <agarcia@igalia.com>
871 * doc/hildon-sections.txt
872 * src/hildon-program.c
873 * src/hildon-stackable-window.c
874 * src/hildon-window.c:
875 Documentation updates
877 2009-03-04 Alberto Garcia <agarcia@igalia.com>
879 * src/hildon-window-stack.c (hildon_window_stack_get_default)
880 (hildon_window_stack_new, +hildon_window_stack_set_property)
881 (+hildon_window_stack_get_property)
882 (hildon_window_stack_class_init)
883 (+hildon_window_stack_set_window_group)
884 (+hildon_window_stack_get_window_group):
885 Make the window group a construction property.
887 2009-03-04 Alberto Garcia <agarcia@igalia.com>
889 * doc/hildon-sections.txt
890 * src/hildon-stackable-window-private.h
891 * src/hildon-stackable-window.h
892 * src/hildon-stackable-window.c
893 (-hildon_stackable_window_set_app_menu)
894 (-hildon_stackable_window_get_app_menu)
895 (-hildon_stackable_window_toggle_menu)
896 (-hildon_stackable_window_finalize)
897 (hildon_stackable_window_class_init)
898 (hildon_stackable_window_init)
899 * src/hildon-window-private.h
900 * src/hildon-window.h
901 * src/hildon-window.c (hildon_window_init)
902 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
903 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
904 (hildon_window_get_main_menu, hildon_window_set_main_menu)
905 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
906 Moved all HildonAppMenu code to HildonWindow. The menu does not
907 require a HildonStackableWindow anymore.
909 * src/hildon-app-menu.c
910 * src/hildon-program.c
911 * examples/hildon-app-menu-example.c (main):
912 Update examples and documentation to reflect HildonAppMenu
915 2009-03-04 Alberto Garcia <agarcia@igalia.com>
917 * src/hildon-remote-texture.c
918 * src/hildon-animation-actor.c:
919 Don't include unused private headers.
921 2009-03-04 Alberto Garcia <agarcia@igalia.com>
923 * src/hildon-program-private.h
924 * src/hildon-program.c
925 (hildon_program_set_common_menu)
926 (hildon_program_get_common_menu)
927 (hildon_program_set_common_app_menu)
928 (hildon_program_get_common_app_menu):
929 Change common menu pointers from GtkWidget* to GtkMenu* and
930 HildonAppMenu* to avoid unnecessary casts.
932 2009-03-03 Alberto Garcia <agarcia@igalia.com>
934 * src/hildon-window.c (hildon_window_set_main_menu):
935 Removed incorrect 'Since:' tag
937 2009-03-03 Alejandro G. Castro <alex@igalia.com>
939 * src/hildon-pannable-area.c,
940 (hildon_pannable_area_calculate_velocity): We use now the
941 RATIO_TOLERANCE here to check the distance, fixed typo in the
943 (hildon_pannable_area_motion_notify_cb): We have to set the type
944 and time even if we are not sending the motion.
946 2009-03-02 Alberto Garcia <agarcia@igalia.com>
948 * doc/hildon-sections.txt
949 * src/hildon-app-menu.h
950 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
951 (+hildon_app_menu_get_filters): New methods to get the contents of
954 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
957 2009-03-02 Alberto Garcia <agarcia@igalia.com>
959 * src/hildon-app-menu.c (hildon_app_menu_popup):
962 2009-03-02 Alberto Garcia <agarcia@igalia.com>
964 * src/hildon-window.h
965 * src/hildon-window.c (+hildon_window_get_main_menu)
966 (hildon_window_get_menu): Created hildon_window_get_main_menu()
967 and deprecated hildon_window_get_menu().
969 * src/hildon-stackable-window.h
970 * src/hildon-stackable-window.c
971 (+hildon_stackable_window_set_app_menu)
972 (+hildon_stackable_window_get_app_menu)
973 (hildon_stackable_window_set_main_menu): Created
974 hildon_stackable_window_{get,set}_app_menu() and deprecated
975 hildon_stackable_window_set_main_menu().
977 * doc/hildon-sections.txt
978 * examples/hildon-app-menu-example.c (main)
979 * src/hildon-app-menu.c
980 * src/hildon-program.c:
981 Updated examples and documentation.
983 Fixes: NB#103758 (No way to obtain a menu from a
984 HildonStackableWindow)
986 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
991 * configure.ac: Bump version.
992 * debian/changelog: Updates.
994 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
996 * examples/hildon-remote-texture-example.c: Include
997 hildon-remote-texture.h explicitely.
998 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
999 applications not defining _XOPEN_SOURCE which don't require this header.
1001 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1003 * doc/hildon-sections.txt
1004 * src/hildon-app-menu.h
1005 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1006 New function to pop up a HildonAppMenu
1008 * src/hildon-stackable-window.c
1009 (hildon_stackable_window_toggle_menu):
1010 Use hildon_app_menu_popup() to show the menu.
1012 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1014 * src/hildon-app-menu.c (hildon_app_menu_show)
1015 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1016 menu if there's another window between it and its parent window.
1018 Fixes: NB#100468 (Application menu window is launched even when a
1019 new secondary-window/dialog is pending to be shown/realized)
1021 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1023 * src/hildon-window-stack.c (hildon_window_stack_push)
1024 (hildon_window_stack_pop_and_push):
1025 Don't forget to push/pop the first window.
1026 Reverse the window list before calling _push_list()
1028 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1030 * src/hildon-picker-button.h
1031 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1032 Remove "value_changed" slot to avoid ABI breakage
1034 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1036 * src/hildon-pannable-area.c,
1037 (hildon_pannable_area_realize),
1038 (hildon_pannable_area_unrealize),
1039 (hildon_pannable_draw_vscroll),
1040 (hildon_pannable_draw_hscroll): Changed the method to handle the
1041 GC used to draw the transparent scrollbar, this way we avoid
1042 creating the GC all the time when drawing the scrollbars.
1044 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1046 * src/hildon-pannable-area.c,
1047 (hildon_pannable_area_init),
1048 (hildon_pannable_area_remove): Removed some unnecessary casts.
1049 (hildon_pannable_area_dispose): Disconnected some signals before
1050 releasing the adjustments.
1052 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1054 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1055 Make sure that all widgets contained in the toolbar are shown.
1057 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1059 * doc/hildon-sections.txt
1060 * src/hildon-picker-button.h
1061 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1062 (_selection_changed, hildon_picker_button_on_dialog_response)
1063 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1064 New hildon_picker_button_value_changed() method.
1067 * src/hildon-picker-button-private.h
1068 * src/hildon-picker-button.c (hildon_picker_button_init)
1069 (+hildon_picker_button_disable_value_changed): Add protected
1070 function for disabling the "value-changed" signal.
1072 * src/hildon-date-button.c (hildon_date_button_set_date):
1073 Don't emit "value-changed" for each one of the three columns.
1075 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1076 before actual change of values)
1078 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1080 * src/hildon-pannable-area.c,
1081 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1082 for the treeview overshooting.
1084 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1086 * src/hildon-banner.c (+hildon_banner_bind_style):
1087 Renamed from hildon_banner_bind_label_style(), now naming the
1088 banner itself as well.
1089 (hildon_banner_show_information),
1090 (hildon_banner_show_information_with_markup),
1091 (hildon_banner_show_animation), (hildon_banner_show_progress):
1092 Name the widgets and labels, based on their type.
1094 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1097 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1099 * src/hildon-note.c (hildon_note_set_property): call
1100 hildon_note_rename() on HildonNote:note-type set.
1101 (hildon_note_rename): Name the note and its label, based on the
1102 HildonNote:note-type property.
1104 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1107 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1109 * src/hildon-pannable-area.c,
1110 (hildon_pannable_area_class_init),
1111 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1112 panning parameters, increased SPS and deceleration factor. Added
1113 also a margin to control fake directions.
1115 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1117 Patch by Sven Herzberg (sven@imendio.com)
1119 * configure.ac: Add missing AM_PROG_CC_C_0
1120 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1122 See NB#101420 (Update unit tests and fix make check)
1124 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1126 This patch was applied before but reverted because it caused
1127 problems, we have changed the main condition and tested the
1128 regressions we detected before and they work ok. We have done a
1129 complete review of the topmost algorithm in order to get a more
1132 * src/hildon-pannable-area.c,
1133 (hildon_pannable_area_get_topmost): Added a new parameter to
1134 filter the the windows that do not include those events.
1135 (hildon_pannable_area_button_press_cb),
1136 (hildon_pannable_area_button_release_cb),
1137 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1138 topmost function, we have added the new parameter.
1140 Fixes: NB#97458 (Pannable area prevents propagation of button
1143 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1145 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1146 if all columns in the selector have an item selected.
1147 (_on_dialog_response): Stop "response" signal emission if there is
1148 any selector column without selected items.
1150 Fixes: NB#101889 (Picker dialog should not close when nothing is
1151 selected in multiple selection list)
1153 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1155 * src/hildon-font-selection-dialog.c
1156 (hildon_font_selection_dialog_class_init),
1157 (hildon_font_selection_dialog_init): Remove the preview
1158 button and dialog, since previewing with default theming is likely
1159 to be overcomplicated. The :preview property has now no effect.
1160 Update documentation blurbs to inform about this.
1162 Fixes: NB#92297 (Preview content is not clearly visible for
1163 default colour text)
1165 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1167 Reviewed the geometry that handles the children size and
1168 scrollbar, now it tries a size and reviews the results depending
1169 on the scrollbars visibility.
1171 * src/hildon-pannable-area.c,
1172 (hildon_pannable_area_realize): Fixed a typo.
1173 (hildon_pannable_area_child_allocate_calculate): Added this
1174 function to calculate the child allocation.
1175 (hildon_pannable_area_size_allocate): Reviewed the allocation
1177 (hildon_pannable_area_check_scrollbars),
1178 (hildon_pannable_area_refresh): Refactored refresh function, this
1179 way we can call the code handling the scrollbars without causing a
1180 size_request, it is interesting in the allocate.
1181 (hildon_pannable_area_init): Replace the callbacks of the
1182 value_changed and changed signals to propertly deal with the
1184 (hildon_pannable_area_grab_notify),
1185 (hildon_pannable_area_initial_effect),
1186 (hildon_pannable_area_launch_fade_timeout),
1187 (hildon_pannable_area_adjust_changed),
1188 (hildon_pannable_area_adjust_value_changed),
1189 (hildon_pannable_area_redraw),
1190 (hildon_pannable_area_button_press_cb),
1191 (hildon_pannable_area_button_release_cb),
1192 (hildon_pannable_area_scroll_cb),
1193 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1194 code and use the new functions adjust_changed and
1195 adjust_value_changed.
1197 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1198 Contact editor dialog)
1200 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1205 * configure.ac: Bump version.
1206 * debian/changelog: Updates.
1208 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1210 * src/hildon-pannable-area.c,
1211 (hildon_pannable_area_get_topmost),
1212 (hildon_pannable_area_button_press_cb),
1213 (hildon_pannable_area_button_release_cb),
1214 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1215 topmost function adding the event mask. We have to try a
1216 differente approach because it is still causing problems (NB#9745,
1219 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1221 * src/hildon-banner.c:
1222 Update the maximum width of timed banners.
1223 (force_to_wrap_truncated): Enforce the maximum text width if the
1226 Fixes: NB#102413 (The text margins (wrapping) in information
1227 banner should be HILDON_MARGIN_TRIPLE)
1229 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1231 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1233 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1234 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1235 bound when calculating the scroll indicator position.
1237 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1238 treat ->lower correctly)
1240 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1242 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1243 expose event handling, since it is not necessary to draw the focus
1246 Fixes: NB#102467 (Do not show highlight on the text in
1249 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1251 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1252 full height of the toolbar for the button and the label.
1254 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1257 padding before the label and after the button.
1259 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1261 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1263 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1264 Add a GtkVSeparator between the button and the back arrow.
1265 Let the button have automatic size.
1266 Set a name to the widget for theming handling.
1268 Fixes: NB#101793 (Make edit toolbar the same height as window
1269 title bar (use title area theming))
1271 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1273 * src/hildon-helper.c (attach_new_color_element): Fix memory
1276 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1278 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1280 * examples/hildon-button-example.c (common_buttons_window): Don't
1283 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1285 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1286 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1288 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1290 * src/hildon-gtk.c: Check that the window is realized.
1292 Fixes: NB#102225 (Crash setting the progress indicator to a non
1295 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1297 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1298 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1299 instead of modifying the one in the widget style.
1301 Fixes: NB#101043 (Second row of all the command button are
1302 displayed in transparent mode.)
1304 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1306 * src/hildon-date-button.c
1307 * src/hildon-time-button.c: Add gettext macros
1309 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1311 * src/hildon-date-button.c (hildon_date_button_new):
1312 * src/hildon-time-button.c (hildon_time_button_new_step):
1313 Use new logical strings to set the button default title.
1315 Fixes: NB#99915 (Date and Time options are not localised in Date
1318 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1320 * src/hildon-pannable-area.c
1321 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1322 the PANNING_THRESHOLD.
1324 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1326 * src/hildon-pannable-area.c,
1327 (hildon_pannable_area_class_init): Increased the maximum speed.
1328 (hildon_pannable_area_get_property),
1329 (hildon_pannable_area_set_property),
1330 (hildon_pannable_area_timeout): Added a new low friction mode, it
1331 allows the user avoid friction when launching the widget fast
1332 enough. It is interesting to traverse long lists.
1334 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1336 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1337 (+hildon_stackable_window_delete_event): Ignore delete events if
1338 the window is not the topmost one.
1340 Fixes: NB#101698 (Back button long press and delete-event handling)
1342 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1344 * src/hildon-pannable-area.c,
1345 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1346 gtk-dnd-drag-threshold, it was too big. We have defined our own
1347 dnd define and set a smaller value: PANNIG_THRESHOLD.
1349 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1351 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1352 user-defined icons, use always the default one.
1354 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1356 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1358 This patch was applied before but reverted because it caused
1359 problems, we have changed the main condition and tested the
1360 regressions we detected before and they work ok.
1362 * src/hildon-pannable-area.c,
1363 (hildon_pannable_area_get_topmost): Added a new parameter to
1364 filter the the windows that do not include those events. Added
1365 also a condition when finding the window to filter windows that do
1366 not ask for those events.
1367 (hildon_pannable_area_button_press_cb),
1368 (hildon_pannable_area_button_release_cb),
1369 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1370 topmost function, we have added the new parameter.
1372 Fixes: NB#97458 (Pannable area prevents propagation of button
1375 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1377 * tests/check-hildon-color-button.c (START_TEST): do not leak
1380 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1382 * src/hildon-font-selection-dialog.c
1383 (hildon_font_selection_dialog_get_preview_text): Return NULL
1384 instead of FALSE on the g_return_val_if_fail().
1386 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1388 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1389 * src/hildon-date-selector.c
1390 (hildon_date_selector_select_current_date):
1391 Do not compare unsigned integers to be greater than or equal 0,
1392 because it's always TRUE.
1394 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1396 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1397 (hildon_date_selector_constructor): Do not select the current
1398 date until we are handle the "changed" signal, to avoid having bogus
1399 elements in the days model.
1401 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1403 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1404 for num_days, since _month_days() can return a negative value.
1406 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1408 * src/hildon-caption.c (hildon_caption_size_allocate):
1409 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1410 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1412 Initialize allocation variables to 0, to avoid eventually using
1413 unitialized variables.
1415 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-bread-crumb-trail.c
1418 (hildon_bread_crumb_trail_size_allocate):
1419 * src/hildon-calendar.c (hildon_calendar_set_background):
1420 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1421 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1422 * src/hildon-seekbar.c (hildon_seekbar_init):
1423 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1424 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1425 * src/hildon-touch-selector-entry.c
1426 (hildon_touch_selector_get_text_from_model):
1427 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1428 * src/hildon-window.c (hildon_window_finalize):
1430 Remove many unused variables.
1432 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1434 * src/hildon-seekbar.c: (hildon_seekbar_init),
1435 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1437 Remove unnecessary g_assert() calls.
1439 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1441 * src/hildon-caption.c: (hildon_caption_expose),
1442 (hildon_caption_set_property), (hildon_caption_init),
1443 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1444 (hildon_caption_size_request), (hildon_caption_size_allocate),
1445 (hildon_caption_forall), (hildon_caption_set_separator),
1446 (hildon_caption_activate), (hildon_caption_set_child_expand),
1447 (hildon_caption_set_label_text),
1448 (hildon_caption_get_label_alignment):
1450 Remove unnecessary g_assert() calls.
1452 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-banner.c
1455 (hildon_banner_map, hildon_banner_init): Make banner temporary
1456 before mapping it to avoid closing other temporary windows, but
1457 make it non-temporary afterwards to avoid being closed by other
1458 non-temporary windows.
1459 (-hildon_banner_client_event, hildon_banner_init):
1460 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1462 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1465 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1467 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1470 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1472 * src/hildon-remote-texture.c
1473 * src/hildon-remote-texture.h
1474 * src/hildon-remote-texture-private.h
1475 * examples/hildon-remote-texture-example.c:
1476 Updates/fixes to remote-texture and its example.
1478 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1480 Patch by Mox Soini (ext-mox.soini@nokia.com)
1482 * src/hildon-code-dialog.c: Update logical id.
1483 * src/hildon-set-password-dialog.c: Update logical id.
1485 Fixes: NB#100646 (Logical strings is shown for ok in set
1486 password,Password needed dialogs)
1488 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1491 * src/hildon-remote-texture.c
1492 * src/hildon-remote-texture.h
1493 * src/hildon-remote-texture-private.h
1495 Added remote texture widget (for Clutter shared memory textures)
1497 * examples/hildon-remote-texture-example.c
1498 * examples/Makefile.am
1499 Added example file for remote texture usage
1501 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1503 * configure.ac: post release version bump.
1504 * debian/changelog: version bump.
1506 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1511 * configure.ac: Bump version.
1512 * debian/changelog: Updates.
1514 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1516 * src/hildon-date-selector.c (hildon_date_selector_init)
1517 (hildon_date_selector_constructor): Don't connect to the "changed"
1518 signal until the selector is completely constructed.
1520 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1522 * src/hildon-touch-selector.c: (_create_new_column),
1523 (hildon_touch_selector_append_column),
1524 (hildon_touch_selector_set_column_selection_mode),
1525 (hildon_touch_selector_set_active),
1526 (hildon_touch_selector_select_iter):
1527 Emit the HildonTouchSelector::changed signal every time selection
1528 is changed in any of the methods above. This behavior was already
1529 documented but not fully functional.
1531 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1532 selection is programmatically changed)
1534 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1536 * doc/hildon-sections.txt: Remove obsolete icon
1537 sizes from here as well.
1539 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1541 * examples/hildon-stackable-window-example.c (add_window): Remove
1544 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1546 * src/hildon-app-menu.c
1547 (hildon_app_menu_show): Check whether the parent window of a menu
1548 is topmost before popping it up.
1550 Fixes: NB#100468 (Application menu window is launched even when a
1551 new secondary-window/dialog is pending to be shown/realized.)
1553 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1555 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1558 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1560 Patch by Mox Soini (ext-mox.soini@nokia.com)
1562 * src/hildon-banner.c: (hildon_banner_show_animation):
1563 use stylus size instead of obsolete note size.
1564 * src/hildon-defines.h: Update icon sizes.
1566 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1568 * src/hildon-touch-selector-entry.c:
1569 (hildon_touch_selector_entry_init): Disable unsupported
1571 (hildon_touch_selector_entry_get_text_column): Emit a warning
1572 if an unsupported input modes is used and explicitile state
1573 these modes in the documentation.
1575 Fixes: NB#99802 (Hildon touch selector entry not working properly
1576 for some of the input modes)
1578 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1580 * src/hildon-pannable-area.c,
1581 (hildon_pannable_area_init): Added the changed signal handlers of
1584 Fixes: NB#100320 (HildonPannableArea does not listen to
1585 GtkAdjustment "change" signals)
1587 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1589 * doc/hildon-sections.txt
1590 * src/hildon-window-private.h
1591 * src/hildon-window.h
1592 * src/hildon-window.c (hildon_window_init)
1593 (hildon_window_realize, hildon_window_unrealize)
1594 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1595 (hildon_window_size_request, hildon_window_size_allocate)
1596 (hildon_window_forall, hildon_window_show_all)
1597 (hildon_window_destroy, +paint_edit_toolbar)
1598 (+hildon_window_set_edit_toolbar):
1599 New hildon_window_set_edit_toolbar() method, to add a
1600 HildonEditToolbar to a window without having to pack it manually.
1602 Reorganize hildon_window_size_allocate()
1604 * src/hildon-edit-toolbar.c: Update documentation.
1606 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1607 example to use the new API.
1609 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1611 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1613 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1614 Remove from stack before calling parent's hide.
1616 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1618 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1619 window is removed from the middle of the stack, update the
1620 transiency of the previous one.
1622 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1625 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1627 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1628 block/unblock the signal handler if it's not actually being used.
1629 Fixes some critical warnings.
1631 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1633 Based on a patch by Iván Gómez (igomez@igalia.com)
1635 * src/hildon-banner.c
1639 * src/hildon-pannable-area.c
1640 * src/hildon-picker-dialog.c
1641 * src/hildon-wizard-dialog.h
1642 * src/hildon-wizard-dialog.c: Documentation updates.
1644 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1645 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1647 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1649 * configure.ac: post release version bump.
1650 * debian/changelog: version bump.
1652 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1657 * configure.ac: Bump version.
1658 * debian/changelog: Updates.
1660 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1662 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1663 a stock icon nor change the relief of the back arrow.
1665 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1666 graphics from theme)
1668 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1670 * src/hildon-button.c (hildon_button_set_alignment): Use
1671 priv->alignment if the button has no child yet.
1673 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1675 * src/hildon-button.c: (hildon_button_init): Set the
1676 button style during initialization to give it the proper
1679 Fixes: NB#99713 (HildonButton value label color is wrong)
1681 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-touch-selector.c: Document
1684 hildon_touch_selector_center_on_selected()
1686 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1689 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1690 all menu items, but not the menu itself.
1691 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1692 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1693 items after adding them to the menu so keyboard accelerators work.
1694 (hildon_app_menu_show): Don't show the menu if it contains items
1695 but none of them are visible.
1697 * examples/hildon-app-menu-example.c (create_menu): Use
1698 gtk_widget_show_all() to show all menu items.
1700 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1702 * src/hildon-picker-dialog.c:
1703 (-_update_title_on_selector_changed_cb),
1704 (-_dialog_update_title): Removed.
1705 (_select_on_selector_changed_cb), (_on_dialog_response),
1706 (on_selector_columns_changed): Do not update the dialog title.
1707 (setup_interaction_mode): Do not connect to
1708 HildonTouchSelector::changed signal if there's a "done" button, as
1709 the dialog title doesn't need to be updated.
1711 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1714 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1716 Patch by Kristian Rietveld (kris@imendio.com)
1718 * src/hildon-touch-selector.c: (_create_new_column): Use new
1719 GtkTreeView::hildon-row-tapped signal to react to user interactions
1720 instead of ::changed.
1722 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1723 with some dynamic tree model)
1725 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1727 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1728 (+screen_size_changed, +label_size_request)
1729 (hildon_note_class_init): Make the Hildon information note have a
1730 minimum height, and make its text hvae a maximum width.
1732 Fixes: NB#98614 (Hildon information note (background) should have
1733 minimum height and maximum text width)
1735 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1737 * src/hildon-banner.h
1738 * src/hildon-banner.c (hildon_banner_show_information)
1739 (hildon_banner_show_informationf)
1740 (hildon_banner_show_information_with_markup): Update documentation
1741 to reflect that the icon_name parameter is not used anymore.
1742 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1743 Remove all code from these functions and mark them as deprecated.
1744 (hildon_banner_show_progress): Mark as deprecated.
1746 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1748 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1750 * src/hildon-pannable-area.c,
1751 (hildon_pannable_area_class_init),
1752 (tranparency_color),
1753 (hildon_pannable_draw_vscroll),
1754 (hildon_pannable_draw_hscroll),
1755 (hildon_pannable_area_expose_event): Added a new way to render the
1756 scrollbars of the pannable area avoiding using cairo at all. This
1757 way we improve the performance of the pannable area rendering. The
1758 cairo rendering procedure is still in the code, we can control
1759 which one to use changing the value of the define
1760 USE_CAIRO_SCROLLBARS.
1762 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1764 * configure.ac: post release version bump.
1765 * debian/changelog: version bump.
1767 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1772 * configure.ac: Bump version.
1773 * debian/changelog: Updates.
1775 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1777 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1778 banners instead of destroying them when they receive a button
1781 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1783 Reverted commit 34028, it was causing regressions, probably the
1784 topmost condition is not correct, we have to check it in more
1785 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1786 propagation of button press events)
1788 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1790 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1791 that the selection is not empty before attempting to retrieve the
1792 current ampm selection.
1794 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1796 * src/hildon-picker-button.c:
1797 (hildon_picker_button_on_dialog_response): Directly update the
1798 button contents when required instead of calling _selection_changed.
1800 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1802 * src/hildon-program.c (hildon_program_update_top_most): Update
1803 'is-topmost' property also when wm_hints is not set.
1805 Fixes: NB#98383 (is-topmost signal is not emitted when task
1806 switcher is clicked.)
1808 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1810 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1814 * src/hildon-animation-actor.c,
1815 * src/hildon-animation-actor.h: Added the animation actor class,
1816 this widget represents an animation actor for WM-assisted
1817 animation effects in the Hildon framework.
1819 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1821 * src/hildon-window-stack-private.h
1822 * src/hildon-window-stack.c
1823 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1824 Avoid calling gtk_widget_show() again indirectly from
1825 hildon_stackable_window_show()
1827 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1829 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1832 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1834 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1835 (hildon_time_selector_init): Move the construction of the hours and
1836 ampm columns to the constructor to preserve the order the columns
1839 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-picker-dialog.c:
1842 (hildon_picker_dialog_class_init): Connect a realize method.
1843 (+hildon_picker_dialog_realize): Setup the interaction mode here
1845 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1846 yet, do it during the realize instead.
1847 (_on_dialog_response):
1848 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1849 if the widget is not realized, to avoid the dialog response before it
1852 Avoid premature responses in the HildonPickerDialog that can cause it
1853 to be hidden before it's even shown.
1855 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1858 (on_selector_columns_changed), (requires_done_button),
1859 (+prepare_action_area), (setup_interaction_mode),
1860 (_hildon_picker_dialog_set_selector):
1862 Split the interaction mode setup into preparation of the
1863 action area (prepare_action_area()) and the connection of
1864 the signals in setup_interaction_mode() and update the code to
1867 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1869 * src/hildon-pannable-area.c,
1870 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1871 per second to 15, we will check if this is ok regarding
1874 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1876 * src/hildon-pannable-area.c,
1877 (hildon_pannable_axis_scroll): Avoid resize if we already have
1878 reached overshoot_max.
1880 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1882 * src/hildon-pannable-area.c,
1883 (hildon_pannable_area_init),
1884 (hildon_pannable_area_realize),
1885 (hildon_pannable_area_size_allocate),
1886 (hildon_pannable_area_map),
1887 (hildon_pannable_area_unmap),
1888 (hildon_pannable_draw_vscroll),
1889 (hildon_pannable_draw_hscroll),
1890 (hildon_pannable_area_expose_event),
1891 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1892 pannable are to avoid the expose events go to the window and
1893 redraw the window. We save this way that part of the stack and the
1894 paint_boxes. We had to change the positions of the elements when
1897 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1899 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1900 * src/hildon-color-chooser-dialog.c:
1901 (hildon_color_chooser_dialog_init):
1902 * src/hildon-font-selection-dialog.c:
1903 (hildon_font_selection_dialog_init),
1904 (hildon_font_selection_dialog_show_preview):
1905 * src/hildon-get-password-dialog.c:
1906 * src/hildon-login-dialog.c:
1907 * src/hildon-set-password-dialog.c:
1908 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1909 * src/hildon-time-picker.c: (hildon_time_picker_init):
1911 Remove obsolete logical string IDs and update to the appropriate ones.
1913 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1915 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1917 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1918 that happens if the window hasn't been realized yet.
1920 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1921 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1923 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1925 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1926 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1929 Fixes: NB#98537 (Device hangs in account settings dialog)
1931 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1933 * configure.ac: post release version bump.
1934 * debian/changelog: version bump
1936 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1941 * configure.ac: Bump version.
1942 * debian/changelog: Updates.
1944 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1946 Added a new function to the HildonTimeButton widget that allows to
1947 change the step of the minutes in the selector associated with the
1948 button: hildon_time_button_new_step
1950 * src/hildon-time-button.c,
1951 (hildon_time_button_init),
1952 (hildon_time_button_new),
1953 (hildon_time_button_new_step):
1954 * src/hildon-time-button.h: Added the new function and refactored
1956 * examples/hildon-time-button-example.c,
1957 (main): We have replaced the function without parameters with the
1958 function with the steps set to 5
1960 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1962 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1964 * src/hildon-time-selector.c,
1965 (hildon_time_selector_class_init),
1966 (hildon_time_selector_constructor),
1967 (hildon_time_selector_get_property),
1968 (hildon_time_selector_set_property),
1969 (_create_minutes_model),
1970 (hildon_time_selector_new_step),
1971 (hildon_time_selector_set_time),
1972 * src/hildon-time-selector.h: Added a new property to the
1973 HildonTimeSelector (minutes-step), we use that property to control
1974 the steps between the minutes in the list of the selector. We have
1975 added a new function to the API to create a widget changing the
1976 step: hildon_time_selector_new_step.
1978 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1980 * src/hildon-time-selector.c,
1981 (hildon_time_selector_class_init),
1982 (hildon_time_selector_constructor),
1983 (hildon_time_selector_init): Overrided the construct function when
1984 creating the time selector object. We have moved the minutes model
1985 handling code from the init to the new construction function:
1986 hildon_time_selector_constructor.
1988 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1990 * examples/hildon-date-button-example.c: (main): Use the new
1991 hildon_date_button_new_with_year_range() method in the example.
1992 * src/hildon-date-button.c:
1993 (+hildon_date_button_new_with_year_range): New public method
1994 to conveniently create a HildonDateButton with a custom year range
1995 in its HildonDateSelector.
1996 * src/hildon-date-button.h: Add the new public method definition.
1998 Fixes: NB#97908 (Not possible to change the year range in
1999 HildonDateSelector/HildonDateButton)
2001 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2003 * src/hildon-date-selector.c:
2004 (+hildon_date_selector_set_property),
2005 (+hildon_date_selector_get_property),
2006 (hildon_date_selector_class_init): Install new properties "min-year"
2007 and "max-year" to define boundaries for the year column.
2008 (_create_year_model): Use the boundary properties to populate the model.
2009 (+hildon_date_selector_new_with_year_range): New public method to
2010 create a HildonDateSelector with a user defined year range.
2011 (hildon_date_selector_select_current_date): Use the new boundaries to
2012 calculate the iterator of current year.
2013 * src/hildon-date-selector.h: Add the new public method definition.
2015 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2018 Install a constructor method.
2019 (+hildon_date_selector_construct_ui): construct the widget.
2020 (+hildon_date_selector_constructor): new constructor.
2021 (+hildon_date_selector_init): move out widget construction code to
2022 the new constructor.
2024 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2026 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2027 that there's actually a month or year selected before obtaining them.
2028 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2029 of the HildonTouchSelector::changed signal, as it was emitted on every
2030 single item selection.
2032 Fix some warnings and possible crashers due to the selection restoring.
2034 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2036 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2037 the signal handlers only after creating the dialog instead of on every
2040 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-button.c (hildon_button_init)
2043 * src/hildon-check-button.c (hildon_check_button_init)
2044 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2045 focus when clicked by default.
2047 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2049 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2052 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2054 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2055 Alejandro G. Castro (alex@igalia.com)
2057 * src/hildon-picker-dialog.c:
2058 (hildon_picker_dialog_class_init): install new "center-on-show"
2060 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2061 (hildon_picker_dialog_set_property): add setter code for the new
2063 (hildon_picker_dialog_get_property): add getter code for the new
2065 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2066 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2069 Fixes: NB#92849 (Selected item is not always visible when
2070 HildonTouchSelector is shown)
2072 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2074 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2075 Alejandro G. Castro (alex@igalia.com)
2077 * src/hildon-touch-selector.c:
2078 (_create_new_column): Do not connect to the "realize" signal of the
2080 (hildon_touch_selector_append_column): center on the selected items
2081 when a new column is appended.
2082 (hildon_touch_selector_select_iter): Factor out the code to select a
2083 column to hildon_touch_selector_scroll_to().
2084 (+search_nearest_element): Method to retrieve the nearest selected
2085 element to the visible area of the pannable area in a column.
2086 (+on_realize_cb): scroll to the initially selected item.
2087 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2088 the pannable area is realized, otherwise delay this until it is.
2089 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2090 selected items of a given column.
2091 (+hildon_touch_selector_center_on_selected): Public method to center
2092 all columns on the nearest selected item.
2093 * src/hildon-touch-selector.h: Add definition for
2094 hildon_touch_selector_center_on_selected().
2096 Implement public API to ensure visibility of all selected items in
2097 a HildonTouchSelector.
2099 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2101 Fixed a problem in the fading when calling the scroll_to API, and
2102 improve scrollbar fading handling.
2104 * src/hildon-pannable-area.c,
2105 (hildon_pannable_area_grab_notify): avoid the timeout when the
2107 (hildon_pannable_area_button_press_cb),
2108 (hildon_pannable_area_motion_notify_cb): Code style changes.
2109 (hildon_pannable_area_button_release_cb): Review the conditions
2110 when releasing the mouse button to avoid unrequired fading
2112 (hildon_pannable_area_scroll_to): Do not calculate and set the
2113 velocity if the scroll is not required.
2115 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2118 Don't check whether the new selector is NULL: it cannot be.
2119 Hold a reference to the selector while doing the replacement.
2121 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2123 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2124 unnecessary size_request in a removed widget.
2126 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2128 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2129 an unnecessary reference tracking that was leaking.
2131 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2133 Added delayed motion notify event handling, this way we can
2134 discard redrawing if more than 25 events arrive per second.
2136 * src/hildon-pannable-area.c,
2137 (hildon_pannable_area_init): Initialized the new private atributes
2138 controlling this timeout
2139 (hildon_pannable_area_dispose): Remove the timeout that controls
2140 the motion notify events.
2141 (hildon_pannable_area_scroll): Added a condition to control the
2142 use of the acceleration.
2143 (hildon_pannable_area_motion_event_scroll_timeout),
2144 (hildon_pannable_area_motion_event_scroll): Added this two
2145 functions, they handle the motion notify events inside the
2147 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2148 to the scroll method with the new function.
2149 (hildon_pannable_area_button_release_cb): We have to remove the
2150 timeout handler and move to the last position if the last motion
2151 events were not handled.
2153 Fixes: NB#97028 (Pannable area updates on every motion event)
2155 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2157 * src/hildon-pannable-area.c,
2158 (hildon_pannable_area_get_topmost): Added a new parameter to
2159 filter the the windows that do not include those events. Added
2160 also a condition when finding the window to filter windows that do
2161 not ask for those events.
2162 (hildon_pannable_area_button_press_cb),
2163 (hildon_pannable_area_button_release_cb),
2164 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2165 topmost function, we have added the new parameter.
2167 Fixes: NB#97458 (Pannable area prevents propagation of button
2170 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2172 * src/hildon-pannable-area.c,
2173 (hildon_pannable_area_initial_effect): Added controls before
2174 launching the timeout and the idle functions.
2175 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2176 of the method, in some situations it can return with TRUE and 0 in
2178 (hildon_pannable_area_button_press_cb): We do not need to set
2179 DELAY for fading out here.
2181 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2183 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2185 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2186 post-cleaning if the selection is not NULL.
2188 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2191 all items before restoring the selection.
2193 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2195 * src/hildon-touch-selector.c:
2196 (+hildon_touch_selector_unselect_all):
2197 * src/hildon-touch-selector.h: New API to unselect all items in a
2198 column of the touch selector.
2200 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2202 * src/hildon-pannable-area.c,
2203 (hildon_pannable_area_redraw): Added a call to the refresh
2204 function inside the redraw because apparently in some cases the
2205 change in the adjustment does not imply a size allocate.
2207 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2208 despite the view not being scrollable)
2210 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2212 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2213 leak. Check for NULL before attempting to set the window title.
2215 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2217 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2218 whether to show or not the 'Done' button each time the dialog is
2219 shown, as it depends on the HildonTouchSelector selection mode.
2221 Fixes: NB#96226 (In multiple selection mode Done button is shown
2222 sometimes in listpicker)
2224 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2226 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2227 for the number of columns in the HildonTouchSelector more than once.
2229 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2231 * src/hildon-touch-selector.c: Minor documentation fixes.
2233 * src/hildon-picker-dialog.c (+_dialog_update_title)
2234 (_select_on_selector_changed_cb)
2235 (_update_title_on_selector_changed_cb)
2236 (on_selector_columns_changed): Update dialog title when there's no
2237 'Done' button and also when the number of columns in the selector
2241 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2242 (+_selection_changed, hildon_picker_button_on_dialog_response)
2243 (hildon_picker_button_selector_selection_changed)
2244 (+hildon_picker_button_selector_columns_changed)
2245 (hildon_picker_button_set_selector): Update button value and emit
2246 'value-changed' when the number of columns in the selector
2250 Fixes: NB#96225 (Dialog titles are not shown according to the
2251 values selected in the list picker)
2253 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2255 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2256 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2257 New "arrow-width" and "arrow-height" style properties to set the
2258 size of the arrow button.
2259 Set name of arrow button ("hildon-edit-toolbar-arrow").
2261 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2262 graphics from theme)
2264 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2266 * src/hildon-picker-button.c:
2267 (hildon_picker_button_selector_selection_changed): Use
2268 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2269 the dialog is present.
2271 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2272 the selection is accepted in the dialog)
2274 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2276 * src/hildon-color-chooser.h
2277 * src/hildon-color-chooser-dialog.h:
2278 Added G_BEGIN_DECLS and G_END_DECLS
2280 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2282 (_clean_current_selection): plug a leak in the list.
2284 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2286 * src/hildon-picker-dialog.c:
2287 (+free_path_list): Method to free a GList of GtkTreePaths.
2288 (_clean_current_selection), (_save_current_selection),
2289 (_restore_current_selection): Save the current selection in
2290 as a list of lists, to support multiple selection properly.
2292 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2294 patch by Claudio Saavedra (csaavedra@igalia.com)
2296 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2297 Store the press position.
2298 (+hildon_text_view_button_release_event): If the release position is
2299 close enough to the press position, move the cursor here. Otherwise,
2301 (hildon_text_view_class_init): Override GtkTextView press, release, and
2302 motion event handlers, disabling this way text selection through
2303 pointer interaction, and allowing the container widget to handle the
2306 Fixes: NB#95828 (HildonTextView functionality)
2308 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2310 Based on a patch by Iván Gómez (igomez@igalia.com)
2312 * src/hildon-button.[ch]
2313 * src/hildon-calendar.c
2314 * src/hildon-check-button.c
2315 * src/hildon-date-editor.c
2316 * src/hildon-date-selector.c
2317 * src/hildon-picker-button.c
2318 * src/hildon-time-editor.c
2319 * src/hildon-time-selector.c
2320 * src/hildon-touch-selector.[ch]:
2321 Documentation updates
2323 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2325 * src/hildon-pannable-area.c,
2326 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2327 threshold, it was required due to X events handling.
2329 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2331 * src/hildon-pannable-area.c,
2332 (hildon_pannable_area_grab_notify),
2333 (hildon_pannable_area_initial_effect),
2334 (hildon_pannable_area_button_press_cb),
2335 (hildon_pannable_area_button_release_cb),
2336 (hildon_pannable_area_scroll_cb),
2337 (hildon_pannable_area_scroll_to): Review the timeout management of
2338 the scrollbar, the frecuency was incorrectly set.
2340 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2342 * src/hildon-picker-button.c:
2343 (+hildon_picker_button_on_dialog_response),
2344 (hildon_picker_button_clicked): Present the dialog instead of
2345 running it with gtk_dialog_run().
2347 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2350 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2352 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2353 (hildon_app_menu_finalize): When a window is hidden it doesn't
2354 emit notify::is-topmost, so make sure than the menu also
2355 disappears in that case.
2356 (parent_window_topmost_notify): Renamed from parent_window_hidden
2358 Fixes: NB#94460 (stackable window's menu is not closed when its
2361 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2363 * src/hildon-touch-selector-entry.c:
2364 (+hildon_touch_selector_entry_set_input_mode),
2365 (+hildon_touch_selector_entry_get_input_mode):
2366 * src/hildon-touch-selector-entry.h: New methods to access the input
2367 mode in the selector's entry.
2369 Fixes: NB#93410 (API required for setting IM mode in
2370 HildonTouchSelectorEntry)
2372 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2374 * configure.ac: post release version bump.
2375 * debian/changelog: version bump
2377 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2382 * configure.ac: Bump version.
2383 * debian/changelog: Updates.
2385 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-touch-selector.c:
2388 (_hildon_touch_selector_has_multiple_selection): No need
2389 to initialize the variables here.
2391 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2393 * src/hildon-note-private.h
2394 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2395 (hildon_note_finalize, hildon_note_rebuild): Close information
2396 notes when they receive a button press.
2398 Fixes: NB#89890 (Information notes does not get disappeared after
2401 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2404 mark from the wizard title, as it's not really necessary. Also,
2405 do not display the page title if not set.
2407 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2409 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2410 (parent_window_hidden): Use the window's "is-topmost" property to
2411 detect when to hide the menu.
2413 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2415 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2416 (hildon_app_menu_finalize): If the parent window of the menu is
2417 hidden, hide the menu too.
2419 Fixes: NB#94460 (stackable window's menu is not closed when its
2422 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2425 * debian/libhildon1-examples.install
2427 * examples/Makefile.am:
2428 Use dh_install to install all examples.
2429 Use DEB_SRCDIR instead of defining SOURCE_DIR
2431 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2433 * configure.ac: post release version bump.
2434 * debian/changelog: version bump
2436 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2441 * configure.ac: bump version
2442 * debian/changelog: updates
2443 * debian/control: bump gtk+ dependency
2445 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2447 patch by Christian Dywan (christian@imendio.com)
2449 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2450 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2452 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-check-button.c (hildon_check_button_init)
2455 (hildon_check_button_class_init, hildon_check_button_style_set)
2456 (hildon_check_button_apply_style):
2457 New "checkbox-size" style property.
2459 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2460 larger / configurable size)
2462 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2464 * configure.ac: post release version bump.
2465 * debian/changelog: version bump
2467 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2472 * configure.ac: bump version
2473 * debian/changelog: updates
2475 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2477 * doc/hildon-sections.txt
2478 * src/hildon-pannable-area.c
2479 * src/hildon-program.c
2480 * src/hildon-time-editor.c
2481 * src/hildon-touch-selector-entry.c:
2483 More documentation updates.
2485 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2487 * doc/hildon-sections.txt
2488 * src/hildon-caption.c
2489 * src/hildon-code-dialog.c
2490 * src/hildon-color-button.c
2491 * src/hildon-controlbar.c
2492 * src/hildon-date-editor.c
2493 * src/hildon-date-selector.c
2494 * src/hildon-edit-toolbar.c
2495 * src/hildon-find-toolbar.c
2496 * src/hildon-font-selection-dialog.c
2498 * src/hildon-program.c
2499 * src/hildon-range-editor.c
2500 * src/hildon-seekbar.c
2501 * src/hildon-time-editor.c
2502 * src/hildon-time-selector.c
2503 * src/hildon-volumebar-range.c
2504 * src/hildon-volumebar.c
2505 * src/hildon-vvolumebar.c
2506 * src/hildon-weekday-picker.c
2507 * src/hildon-window.c
2508 * src/hildon-wizard-dialog.c:
2510 Lots of documentation fixes.
2512 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2514 Patch contributed by Iván Gómez (igomez@igalia.com)
2516 * src/hildon-check-button.c:
2517 * src/hildon-date-button.c:
2518 * src/hildon-date-selector.c:
2519 * src/hildon-dialog.c:
2520 * src/hildon-edit-toolbar.c:
2521 * src/hildon-entry.c:
2522 * src/hildon-picker-button.c:
2523 * src/hildon-program.c:
2524 * src/hildon-text-view.c:
2525 * src/hildon-time-button.c:
2526 * src/hildon-touch-selector-entry.c:
2527 * src/hildon-window-stack.c:
2529 Add more "since" tags to the new API.
2531 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2533 * doc/hildon-sections.txt: Add below method.
2534 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2535 version for the hildonized scale.
2536 * src/hildon-gtk.h: Add the definition.
2538 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2540 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2542 * doc/hildon-sections.txt: Add missing entries for new methods.
2544 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2546 Added API to pannable are in order to get its adjustments. We
2547 added two properties to manage the values we had in the private
2550 * src/hildon-pannable-area.c:
2551 (hildon_pannable_area_class_init): Added hadjustment and
2552 vadjustment properties in order to expose horizontal and vertical
2554 (hildon_pannable_area_get_property),
2555 (hildon_pannable_area_set_property): Added code to handle the new
2557 (hildon_pannable_area_get_hadjustment),
2558 (hildon_pannable_area_get_vadjustment): API functions to get the
2560 * src/hildon-pannable-area.h:
2561 (hildon_pannable_area_get_hadjustment),
2562 (hildon_pannable_area_get_vadjustment): API functions to get the
2565 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2567 Fixed some leaks, after valgrinding.
2569 * src/hildon-touch-selector.c:
2570 (_default_print_func): Fixed a leak.
2571 (hildon_touch_selector_append_column): Fixed a leak.
2572 * src/hildon-date-button.c:
2573 (hildon_date_button_init): Fixed a leak.
2574 * src/hildon-date-selector.c
2575 (hildon_date_selector_finalize): Fixed a leak.
2577 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2579 Based on a patch by Christian Dywan (christian@imendio.com)
2581 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2583 * src/hildon-gtk.h: Add definition.
2585 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2587 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2589 * src/hildon-picker-button.c: (hildon_picker_button_init),
2590 (hildon_picker_button_new): Set the HildonButton::style property
2591 in the init method, to propagate the value to the derived classes.
2593 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2595 * src/hildon-button.c: (hildon_button_class_init): Do not make
2596 the "style" property a construct property.
2598 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-wizard-dialog.h
2601 * src/hildon-wizard-dialog.c
2602 (hildon_wizard_dialog_set_forward_page_func)
2603 * src/hildon-pannable-area.h
2604 * src/hildon-pannable-area.c
2605 (hildon_pannable_area_set_size_request_policy):
2606 Documentation fixes.
2608 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2610 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2612 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2614 * doc/hildon-sections.txt: Added sections file.
2616 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/*.[ch]: Updates.
2621 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2623 * examples/hildon-progress-indicator-example.c: new file
2624 * examples/Makefile.am: include the new example program
2626 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2628 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2630 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2632 * configure.ac: post release version bump
2633 * debian/changelog: version bump
2635 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2640 * configure.ac: bump version
2641 * debian/changelog: updates
2642 * debian/control: bump gtk+ dependency
2644 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2646 * src/hildon-dialog.c: Mark as deprecated.
2647 * src/hildon-dialog.h: Mark as deprecated.
2648 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2649 from HildonDialog and still work, even if
2650 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2651 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2653 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2654 maemo changes) instead)
2656 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2658 * src/hildon-pannable_area.h:
2659 * src/hildon-pannable_area.c:
2660 (hildon_pannable_area_class_init),
2661 (hildon_pannable_area_set_property),
2662 (hildon_pannable_area_get_property),
2663 (hildon_pannable_area_size_request),
2664 (hildon_pannable_area_get_size_request_policy),
2665 (hildon_pannable_area_set_size_request_policy): Added new API
2666 allowing applications to control the request policy. Now they can
2667 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2668 children allocation (HILDON_MOVEMENT_CHILDREN).
2670 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2674 (hildon_gtk_tree_view_set_ui_mode)
2675 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2676 mode of treeviews and iconviews.
2678 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-touch-selector-entry.c:
2681 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2682 of a GtkEntry to get proper theming.
2684 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2685 widget, not GtkEntry)
2687 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2689 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2690 no HildonWizardDialogPageFunc.
2692 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2694 Patch contributed by Iván Gómez (igomez@igalia.com)
2696 * src/hildon-app-menu.c:
2697 * src/hildon-button.c:
2698 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2699 * src/hildon-stackable-window.c:
2700 * src/hildon-time-selector.c:
2701 * src/hildon-touch-selector.c:
2702 * src/hildon-window.c:
2704 Add more "since" tags to the new API in hildon 2.2.
2706 2008-12-05 Tim Janik <timj@imendio.com>
2708 Patch contributed by Christian Dywan (christian@imendio.com)
2710 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2711 HildonSizeType, which are supplied by Gtk+ now.
2713 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2715 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2716 (with maemo changes) instead)
2718 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2720 Patch contributed by Iván Gómez (igomez@igalia.com)
2722 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2725 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2727 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2728 (some_page_func), (main): Update the example to use a
2729 HildonWizardDialogPageFunc function.
2731 * src/hildon-wizard-dialog-private.h: Add private data for
2732 the HildonWizardDialogPageFunc function usage.
2734 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2735 (destroy), (hildon_wizard_dialog_init), (response),
2736 (hildon_wizard_dialog_set_forward_page_func):
2737 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2738 that applications can use to stop a HildonWizardDialog to jump to
2741 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2744 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-program.h
2747 * src/hildon-program-private.h
2748 * src/hildon-program.c (hildon_program_init)
2749 (hildon_program_set_common_app_menu)
2750 (hildon_program_get_common_app_menu):
2751 New API for setting a common HildonAppMenu for all
2752 HildonStackableWindows registered with the HildonProgram.
2754 * src/hildon-stackable-window.c
2755 (hildon_stackable_window_toggle_menu):
2756 Use the common HildonAppMenu if a window doesn't have a specific
2759 * src/hildon-app-menu-private.h
2760 * src/hildon-app-menu.c
2761 (hildon_app_menu_get_parent_window):
2762 Function to obtain the window a HildonAppMenu is attached to.
2763 (hildon_app_menu_set_parent_window):
2764 Hide the menu if the parent window is set to NULL.
2766 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2768 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2769 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2770 search widget to popup.
2772 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2774 * configure.ac: post release version bump
2775 * debian/changelog: version bump
2777 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2782 * configure.ac: bump version
2783 * debian/changelog: updates
2785 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2787 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2789 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2790 (hildon_window_stack_window_realized)
2791 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2792 Set the leader GdkWindow when a window is stacked and realized,
2793 unset it when it's unstacked.
2794 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2796 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2798 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2800 * src/hildon-stackable-window.h
2801 * src/hildon-window-stack.h:
2802 Protect definition of HildonWindowStack using the preprocessor.
2804 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2806 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2807 Fix warning if all menu items are hidden.
2809 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2811 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2813 * src/hildon-controlbar.c:
2814 * src/hildon-hvolumebar.c:
2815 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2816 Multiple scale size defines updates.
2818 Fixes: NB#94322 (Scale Updates)
2820 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2822 * examples/hildon-app-menu-example.c (create_menu)
2823 Show items after adding them to the menu, as in the future the
2824 menu will no longer call gtk_widget_show() on the added items.
2826 * src/hildon-app-menu.c:
2827 Update example as explained above.
2829 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2831 * src/hildon-app-menu.c
2832 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2833 Make sure that all menu items have finger height.
2835 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2837 * src/hildon-picker-dialog.c:
2838 (_on_dialog_response), (_save_current_selection),
2839 (_restore_current_selection), (_clean_current_selection),
2840 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2841 Defined new functions in order to save the current internal selector
2842 selection previous open the dialog, in case that the use cancel the
2843 interaction, so the widget restores the previous selection.
2845 Fixes: NB#92032 (In calendar application, date values in 'new event'
2848 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2850 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-button.c: Add a reference to the button examples in
2853 hildon-button-example.c
2855 * examples/hildon-button-example.c: Added examples of the most
2856 common button layouts.
2858 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2860 * src/hildon-app-menu.c (hildon_app_menu_show)
2861 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2863 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2865 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2867 * src/hildon-picker-dialog.c:
2868 (hildon_picker_dialog_init): Initialize the signal id for
2869 HildonTouchSelector::columns-changed.
2870 (+on_selector_columns_changed): Set up the interaction mode everytime a
2871 column is added or removed from the HildonTouchSelector.
2872 (_hildon_picker_dialog_set_selector): Connect to
2873 HildonTouchSelector::columns-changed and keep track of it.
2875 Make sure to update the interaction mode of the dialog everytime a
2876 column is added or removed in the HildonTouchSelector.
2878 Fixes: NB#93228 (Done button is not shown always in listpicker)
2880 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2882 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2883 a new ::columns-changed signal.
2884 (hildon_touch_selector_append_column): Emit ::columns-changed.
2885 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2887 Add a ::columns-changed signal, emitted when the number of columns in a
2888 HildonTouchSelector changes.
2890 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2892 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2893 (_hildon_picker_dialog_set_selector): Factor out the code
2894 to set up the dialog interaction mode.
2896 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2898 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2899 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2900 to signal_changed_id.
2902 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2904 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2907 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2909 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2910 Updated the logical ids related to ampm format, as now it is required to
2911 show it correctly localized even on languages with no default
2912 abbreviations for am or pm
2913 (_check_am_pm_format): check correctly the 24h format gconf property
2915 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2917 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2919 * src/hildon-button.c: Documentation updates.
2921 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2923 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2924 * src/hildon-caption.c: (hildon_caption_class_init):
2925 * src/hildon-color-button.c: (hildon_color_button_class_init):
2926 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2927 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2928 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2929 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2931 Remove deprecated GTK+ marshalers and replace them with the ones
2932 provided by GLib, for those available, add a marshaler for
2933 BOOLEAN:VOID, which is not available in GLib, and use it.
2935 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2938 the text from the previous column if there is no
2939 HildonTouchSelectorColumn::text-property set.
2941 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-button.h
2944 * src/hildon-button.c (hildon_button_set_property)
2945 (hildon_button_get_property, hildon_button_class_init)
2946 (hildon_button_set_style, hildon_button_get_style):
2947 New "style" property to change the visual appearance of the
2950 * src/hildon-picker-button.c (hildon_picker_button_new):
2951 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2953 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2954 HildonButton look like PickerButton)
2956 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2959 column while building the default string.
2961 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2963 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2964 scroll indicator by default.
2966 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2968 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2970 * src/hildon-main.c: Fix the documentation for hildon_init()
2972 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2974 * doc/hildon-docs.sgml
2978 * src/hildon-window-stack-private.h
2979 * src/hildon-window-stack.h
2980 * src/hildon-window-stack.c:
2981 New HildonWindowStack object, that adds support for multiple
2982 stacks of windows per process.
2984 * src/hildon-stackable-window-private.h
2985 * src/hildon-stackable-window.h
2986 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2987 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2988 (hildon_stackable_window_show, hildon_stackable_window_hide)
2989 (hildon_stackable_window_class_init)
2990 (hildon_stackable_window_init):
2991 Use HildonWindowStack for stack management.
2993 * src/hildon-program.c (hildon_program_pop_window_stack)
2994 (hildon_program_peek_window_stack)
2995 (hildon_program_go_to_root_window):
2996 Add a fallback implementation to the deprecated functions using
2999 * examples/hildon-stackable-window-example.c:
3000 Use the new HildonWindowStack API.
3002 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3004 * src/hildon-stackable-window-private.h
3005 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3006 (hildon_stackable_window_hide, hildon_stackable_window_init):
3007 Remove all window stack management.
3009 * src/hildon-program-private.h
3010 * src/hildon-program.h
3011 * src/hildon-program.c (hildon_program_init)
3012 (hildon_program_pop_window_stack)
3013 (hildon_program_peek_window_stack)
3014 (hildon_program_go_to_root_window):
3015 Remove all window stack management and mark functions as
3018 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3020 * src/hildon-app-menu.c (hildon_app_menu_realize):
3021 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3023 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3025 * configure.ac: post release version bump
3026 * debian/changelog: version bump
3028 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3033 * configure.ac: bump version
3034 * debian/changelog: updates
3036 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3038 Based on initial code by Christian Dywan (christian@imendio.com)
3040 * doc/hildon-docs.sgml: Add section for hildon-main.
3041 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3042 * src/Makefile.am: Add new hildon-main.[ch]
3043 * src/hildon-defines.h: Update the icon sizes.
3044 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3045 new library initialization files and register icon sizes.
3046 * src/hildon-main.h: New declarations.
3047 * src/hildon.h: Include hildon-main.h
3049 Add new initialization functions to the library. These methods
3050 will register the hildon specific icon sizes and can be used in the
3051 future for other hildon specific bits.
3053 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3055 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3057 * src/hildon-window.c: (hildon_window_realize),
3058 (hildon_window_notify), (-hildon_window_update_title): Do not set
3059 the application name in the window title.
3061 Fixes: NB#89754 (Applications shouldn't display their names in the
3064 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3066 * src/hildon-note-private.h:
3067 * src/hildon-note.c: (hildon_note_set_property),
3068 (hildon_note_get_property), (hildon_note_class_init),
3069 (hildon_note_init), (hildon_note_finalize),
3070 (hildon_note_new_confirmation_with_icon_name),
3071 (hildon_note_new_information_with_icon_name):
3073 No need to mark as deprecated the actual code. Revert
3074 to avoid missing symbols in widgets using deprecated API.
3076 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3078 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3080 * src/hildon-volumebar.h
3081 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3082 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3084 * src/hildon-helper.h
3085 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3086 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3088 * examples/Makefile.am:
3089 Deprecate hildon-insensitive-example
3091 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3093 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3095 * examples/hildon-pannable-area-buttons-scroll-example.c:
3096 Make all buttons finger height
3098 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3100 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3102 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3103 update the day model only if it is really required, and to avoid the
3104 full-reconstruction aproach. Now it only add or remove the required days.
3106 The purpose of this is avoid superfluous HildonTouchSelector::changed
3109 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3110 with strange parameters)
3112 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3114 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3116 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3117 the WINDOW_TYPE property.
3119 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3121 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3124 Fix dependency to allow parallel compilation with make -jX
3126 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3128 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3129 color frame and some minor tweaks to make it more consistent with
3132 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3133 highlighted but not visible)
3135 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3137 * examples/Makefile.am: Fixed typo in the Makefile.am.
3139 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3141 Reviewed the use of MAEMO_GTK define, now we add the define in the
3142 compilation line, and we also add it to the pc file.
3144 * configure.ac: Added MAEMO_GTK define to the compilation command
3145 and removed it from the config.h.
3147 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3148 do not have to take care about this define if the library was
3152 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3154 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3156 * examples/Makefile.am,
3157 * examples/hildon-pannable-area-buttons-scroll-example.c,
3158 * examples/hildon-pannable-area-gesture-signals-example.c,
3159 * examples/hildon-pannable-area-scroll-jump-example.c,
3160 * examples/hildon-pannable-area-tree-view-example.c:
3161 Renamed the pannable area examples, now they have more meaningful
3164 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3166 * src/hildon-touch-selector.c:
3167 (hildon_touch_selector_set_column_selection_mode): Used of
3168 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3169 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3170 to avoid re-seting the same selection mode.
3172 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3173 breaks HildonPickerDialog)
3175 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3177 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3178 conditional in the Makefile.am
3180 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3183 Remove unused methods.
3185 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-button.c (hildon_button_init):
3188 Make button images center-aligned by default
3190 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3193 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3194 activated, we have to think about how to deal with both defines
3195 MAEMO_GTK and MAEMO_CHANGES.
3197 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3199 * examples/hildon-app-menu-example.c (create_menu): Make all
3200 buttons finger size.
3202 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3204 Fixed the compilation without maemo gtk adding ifdefs with
3205 MAEMO_GTK define to the code, we have to check this version more
3208 * examples/Makefile.am: Added control to avoid some examples that
3209 just make sense with maemo gtk.
3212 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3213 hildon modes with the define.
3215 * examples/hildon-edit-toolbar-example.c,
3216 (create_icon_view): Create the icon view without hildon-gtk
3217 helpers if we are not using maemo gtk.
3219 * src/hildon-touch-selector.c,
3220 (_create_new_column): Create the treeview without hildon-gtk
3221 helpers if we are not using maemo gtk.
3223 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3225 * src/hildon-pnnable-area.c,
3226 (hildon_pannable_area_dispose),
3227 (hildon_pannable_area_button_press_cb),
3228 (hildon_pannable_area_child_mapped),
3229 (hildon_pannable_area_add),
3230 (hildon_pannable_area_remove): Added code to control the position
3231 of the event_window when adding and removing children from the
3232 pannable. We have to raise the event window when the child is
3235 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3236 selection mode using custom widget inside pannable)
3238 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3240 * configure.ac: post release version bump
3241 * debian/changelog: version bump
3243 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3248 * configure.ac: bump version
3249 * debian/changelog: updates
3251 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3253 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3254 search mode, in order to avoid lose the focus on the treeview when
3255 a hw key (like enter) is pressed.
3257 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3258 in HildonDateSelector dialog)
3260 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3262 * debian/rules: Added --enable-maintainer-mode
3263 * Makefile.am: Added ACLOCAL_AMFLAGS
3265 This allows to properly regenerate the Makefiles if you modify the
3266 configure.ac or any Makefile.am.
3268 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3270 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3271 properties, not needed at all.
3273 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3275 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3277 * src/hildon-note.c: (hildon_note_set_property),
3278 (hildon_note_get_property), (hildon_note_class_init),
3279 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3280 (hildon_note_new_confirmation_add_buttons): Remove icons.
3281 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3282 (hildon_note_new_information_with_icon_name): Deprecate.
3283 (hildon_note_new_confirmation): Act directly, without calling
3284 the deprecated constructor.
3285 (hildon_note_new_information): Act directly, without calling
3286 the deprecated constructor.
3287 * src/hildon-note.h: Mark deprecate methods as such.
3288 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3289 not run tests on the deprecated methods if built with deprecation
3292 Fixes: NB#91688 (Never show icons in information notes/confirmation
3295 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3297 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3298 (hildon_app_menu_key_press): Remove leftover usage of the
3299 private structure in HildonAppMenu struct.
3300 * src/hildon-app-menu.h: Remove leftover private structure
3301 from the HildonAppMenu struct.
3303 Fixes a crasher when using the HildonAppMenu.
3305 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3307 * src/hildon-picker-dialog.c: Use appropriate logical id
3308 for the default "Done" text.
3310 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3312 * configure.ac: post release version bump
3313 * debian/changelog: version bump
3315 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3317 Modified the way to scroll to the current selection just when the touch
3318 selector is shown on the screen, avoiding a g_idle. Added too a property
3319 to configure this behaviour. See hildon_pannable_area_jump_to_child
3320 documentation for more information.
3322 * src/hildon-touch-selector.c
3323 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3324 Added 'initial-scroll' property
3325 (hildon_touch_selector_set_property): Added
3326 (hildon_touch_selector_map): Removed as not required anymore
3327 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3328 only a concrete column, instead of iterate along all the columns
3330 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3335 * configure.ac: bump version
3336 * debian/changelog: updates
3338 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3341 compilation time warnings.
3343 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3345 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3346 the default value for HildonPannableArea::mov-mode to
3347 HILDON_PANNABLE_AREA_MODE_VERT.
3349 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3351 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3353 Reverting following commit:
3355 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3357 * src/hildon-app-menu-private.h
3358 * src/hildon-app-menu.[ch]
3359 * src/hildon-button.[ch]
3360 * src/hildon-check-button.[ch]
3361 * src/hildon-entry.[ch]
3362 * src/hildon-pannable-area.[ch]
3363 * src/hildon-text-view.[ch]:
3364 Added private field to the object's structure.
3366 because it causes an ABI breakage. We will need to introduce these
3367 changes later at some point. See NB#91636 for an extensive
3368 explanation and status.
3370 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3372 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3374 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3375 remove special cases that are no longer necessary.
3377 Fixes: NB#91016 (Change toolbar sizes, simplification)
3379 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3381 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3382 is shown in the cancel note.
3384 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3386 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3387 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3388 (hildon_seekbar_init): Remove steppers, remove expose event.
3389 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3391 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3393 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3395 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3396 label font to "SmallSystemFont" for vertically arranged buttons.
3398 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3401 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-check-button.c
3404 (hildon_check_button_set_active, hildon_check_button_clicked):
3405 Don't access private parts directly, use getters instead.
3407 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-check-button.c (hildon_check_button_new):
3410 Align the contents of the check button to the left.
3412 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3414 * src/hildon-pannable-area.c,
3415 (hildon_pannable_area_scroll_to),
3416 (hildon_pannable_area_jump_to),
3417 (hildon_pannable_area_scroll_to_child),
3418 (hildon_pannable_area_jump_to_child): Replace the mapped
3419 precondition of these functions with the realized, it is the
3420 correct state of the widget in this case. Changed the
3421 documentation according to this modification.
3423 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3425 Added a new EXTRA_CFLAGS option to add the deprecated define to
3426 the compilation command. This way we can avoid using the define in
3427 the documentation compilation.
3429 * configure.ac: Defined EXTRA_CFLAGS.
3431 * examples/Makefile.am:
3433 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3435 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3437 * src/hildon-picker-dialog.c:
3438 Defined a utility macro with the desired touch selector height
3439 Removed currently unused separator, and title_label variables from
3441 (hildon_picker_dialog_init): Removed code related to the creation
3442 of unused private variables title_label and separator.
3443 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3444 to ensure correct visualization of the touch selector inside the dialog.
3445 * src/hildon-touch-selector.c
3446 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3447 ensure a concrete height of the widget.
3449 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3452 * tests/Makefile.am:
3454 Remove spurious whitespaces.
3456 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3458 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3459 compilation warning after the cancel button removal.
3461 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3463 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3465 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3466 Makefile.am, that way we can choose not to compile some examples
3467 and tests of the deprecated widgets.
3469 * examples/Makefile.am: Divided the sources in deprecated and
3472 * src/Makefile.am: Added undef statement of the deprecated
3473 symbol to the enums file generation process.
3475 * src/hildon-color-chooser-dialog.c
3476 * src/hildon-color-chooser-dialog.h
3477 * src/hildon-color-button.c
3478 * src/hildon-color-button.h
3479 * src/hildon-color-chooser.c
3480 * src/hildon-color-chooser.h
3481 * src/hildon-controlbar.c
3482 * src/hildon-controlbar.h
3483 * src/hildon-date-editor.c
3484 * src/hildon-date-editor.h
3485 * src/hildon-hvolumebar.c
3486 * src/hildon-hvolumebar.h
3487 * src/hildon-private.c
3488 * src/hildon-private.h
3489 * src/hildon-range-editor.c
3490 * src/hildon-range-editor.h
3491 * src/hildon-seekbar.c
3492 * src/hildon-seekbar.h
3493 * src/hildon-time-editor.c
3494 * src/hildon-time-editor.h
3495 * src/hildon-time-picker.c
3496 * src/hildon-time-picker.h
3497 * src/hildon-volumebar.c
3498 * src/hildon-volumebar.h
3499 * src/hildon-vvolumebar.c
3500 * src/hildon-vvolumebar.h
3501 * src/hildon-bread-crumb-trail.h
3502 * src/hildon-bread-crumb-trail.c
3503 * src/hildon-calendar-popup.c
3504 * src/hildon-calendar-popup.h
3505 * src/hildon-weekday-picker.c:
3506 * src/hildon-weekday-picker.h:
3507 * src/hildon-bread-crumb-widget.c:
3508 * src/hildon-bread-crumb-widget.h:
3509 * src/hildon-bread-crumb.c:
3510 * src/hildon-bread-crumb.h:
3511 * src/hildon-calendar.c:
3512 * src/hildon-calendar.h:
3513 * src/hildon-caption.c:
3514 * src/hildon-code-dialog.c:
3515 * src/hildon-code-dialog.h:
3516 * src/hildon-font-selection-dialog.c:
3517 * src/hildon-font-selection-dialog.h:
3518 * src/hildon-get-password-dialog.c:
3519 * src/hildon-get-password-dialog.h:
3520 * src/hildon-login-dialog.c:
3521 * src/hildon-login-dialog.h:
3522 * src/hildon-number-editor.c:
3523 * src/hildon-number-editor.h:
3524 * src/hildon-set-password-dialog.c:
3525 * src/hildon-set-password-dialog.h:
3526 * src/hildon-sort-dialog.c:
3527 * src/hildon-sort-dialog.h: This is the list of deprecated
3530 * src/hildon-touch-selector.c:
3531 * src/hildon-window.c: Added undef statement to avoid compilation
3534 * tests/Makefile.am: Divided the sources in deprecated and
3537 * tests/check_test.c,
3538 (configure_tests): Marked the deprecated code that was adding
3539 suites with deprecated tests.
3541 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3543 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3545 * src/hildon-touch-selector.c: (_default_print_func): Do not
3546 duplicate a string returned by gtk_tree_model_get(), it is already
3549 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3552 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3554 * src/hildon-pannable-area.c
3555 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3556 method, it had problems when adding a widget with viewport the
3557 second time. Now checks if it already has a viewport and uses it.
3559 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3562 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3564 * src/hildon-pannable-area.c,
3565 (hildon_pannable_area_scroll_to),
3566 (hildon_pannable_area_jump_to),
3567 (hildon_pannable_area_scroll_to_child),
3568 (hildon_pannable_area_jump_to_child): Added a precondition to the
3569 scroll and jump to functions: the widget must be mapped before we
3570 can safely call these functions. We have also added documentation
3571 to the functions to explain how to use them in this situation.
3574 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3576 Reviewed the threading handling of the pannable widget, we have
3577 used the gdk_threads_add_timeout function instead of the usual
3578 glib handlers. This avoids some problems with the threads.
3580 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3581 (hildon_pannable_area_initial_effect),
3582 (hildon_pannable_area_scroll_indicator_fade),
3583 (hildon_pannable_area_button_press_cb),
3584 (hildon_pannable_area_timeout),
3585 (hildon_pannable_area_motion_notify_cb),
3586 (hildon_pannable_area_button_release_cb),
3587 (hildon_pannable_area_scroll_cb),
3588 (hildon_pannable_area_scroll_to): Removed the
3589 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3590 gdk_threads_add_timeout.
3592 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3594 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3599 * configure.ac: bump version
3600 * debian/changelog: updates
3602 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3604 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3605 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3606 * src/hildon-color-chooser-dialog.c:
3607 (hildon_color_chooser_dialog_init):
3608 * src/hildon-font-selection-dialog.c:
3609 (hildon_font_selection_dialog_init):
3610 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3612 Remove all cancel/close-like dialogs, as these are not going to be
3615 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3617 * src/hildon-note.c: (hildon_note_rebuild),
3618 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3621 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3623 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3625 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3626 sure all buttons are shown, even the Cancel/Close-like ones.
3628 Fixes: NB#90861 (Custom Confirmation dialogs should be
3629 protected from cancel button removal)
3631 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3633 * debian/control: Change libhildon1-examples dependency from libhildon1
3635 * debian/libhildon1-examples.install
3637 * Makefile.am: Modified the final install directory for the examples on
3638 package libhildon1-examples
3639 * Makefile.static: Update clean target in order to remove all the binary
3642 Changes suggested by Claudio after review new libhildon1-examples package
3644 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3646 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3647 * src/hildon-touch-selector.c: Ditto.
3649 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3651 * debian/control: Added new package libhildon1-examples, in order to pack
3652 the current hildon examples as documentation
3653 * debian/rules: Not to compress .c files, modify some includes on the
3654 examples (as normally are compiled locally, but when installed it will
3655 require to include the installed libhildon1 library), and rename
3657 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3658 install all the example files on the new example package
3659 * examples/Makefile.static: Added static makefile that can be used to
3660 compile the examples, once installed the new example package
3661 * examples: Most of the examples were modified in order to grant that
3662 all use only '#include "hildon.h"', in order to be easy to prepare
3663 it on the example package
3665 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3668 * debian/libhildon1-dev.install
3669 * debian/libhildon1-doc.install:
3670 Move all gtk-doc files to a separate libhildon1-doc package.
3672 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3674 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3676 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3678 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3680 * debian/rules: Fixed a error in order to avoid unnecessary calls
3681 to autogen.sh on package building
3683 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3685 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3687 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3692 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3694 * src/hildon-picker-button.c
3695 (hildon_picker_button_finalize):
3696 Free priv->done_button_text
3698 * src/hildon-time-button.c
3699 (hildon_time_button_set_time)
3700 * src/hildon-picker-button.c
3701 (hildon_picker_button_clicked)
3702 (hildon_picker_button_selector_selection_changed)
3703 (hildon_picker_button_set_selector)
3704 * src/hildon-date-button.c
3705 (hildon_date_button_set_date):
3706 Free strings returned by hildon_touch_selector_get_current_text()
3708 * src/hildon-button.c (hildon_button_construct_child):
3709 Fix leaks in priv->image and priv->label_box
3711 Fixes: NB#90535 (Memory leak in picker button)
3713 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3715 * src/hildon-button.c: (hildon_button_get_property): Do not access
3716 private elements directly, use getters instead.
3718 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3720 * src/hildon-app-menu-private.h
3721 * src/hildon-app-menu.c
3722 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3723 Store the menu's parent window.
3725 * src/hildon-stackable-window.c
3726 (hildon_stackable_window_toggle_menu)
3727 (hildon_stackable_window_finalize):
3728 Set the menu's parent window when the menu is shown, unset it when
3731 * src/hildon-app-menu.c
3732 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3733 (hildon_app_menu_class_init):
3734 Send unhandled keyboard accelerators to the parent window.
3736 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3738 * src/hildon-stackable-window.c
3739 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3741 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3743 * configure.ac: post release version bump
3745 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3748 * configure.ac: Bump version
3749 * debian/changelog: Updates
3750 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3753 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3755 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3758 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3759 GtkMenu with Hildon style.
3761 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3763 * src/hildon-picker-button.c:
3764 (hildon_picker_button_set_done_button_text): Set the dialog's
3765 done button text here as well.
3767 Fixes: NB#90232 (Picker button does not set the label on done button
3768 for the second time)
3770 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3772 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3775 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3777 * src/hildon-app-menu.c (hildon_app_menu_insert)
3778 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3779 the HildonAppMenu to be activatable using keyboard accelerators
3780 when the menu is not being shown.
3782 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3784 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3786 * src/hildon-stackable-window.c
3787 (hildon_stackable_window_show):
3788 Don't hide old windows automatically when new windows are shown:
3789 this is now a task for the window manager.
3790 (hildon_stackable_window_class_init)
3791 (hildon_stackable_window_hide):
3792 Remove windows from the stack everytime they're hidden.
3793 (hildon_stackable_window_realize):
3794 Don't change the _NET_WM_WINDOW_TYPE property. Use
3795 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3796 it as a stackable window.
3798 * src/hildon-program.c
3799 (hildon_program_pop_window_stack):
3800 Just hide the window to remove it from the stack.
3801 (hildon_program_go_to_root_window):
3802 Don't call gtk_widget_show(), this is now a task for the window
3805 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3807 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3809 * src/hildon-button.c
3810 (hildon_button_construct_child):
3811 Don't pack anything in the button until text or image are
3812 set. This allows adding a custom child after creating the button
3813 with hildon_button_new().
3814 (hildon_button_finalize, hildon_button_class_init)
3815 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3816 alignment and the label box even when they're not packed in the
3819 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3821 * src/hildon-touch-selector.h:
3822 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3823 currently the type definition was using GTK_TYPE_VBOX
3824 * src/hildon-touch-selector.c:
3825 Added some implementation notes in order to clarify that any other widget
3826 added without the column related API will not be included on the
3827 selection logic, and how the widget is freed, as some people ask about
3829 (hildon_touch_selector_remove): Reimplemented in order to free properly
3830 the column related data when you remove the private hbox.
3831 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3832 to get a proper HildonTouchSelectorColumn documentation
3834 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3836 * src/hildon-touch-selector-entry.c:
3837 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3838 text in the GtkEntry and there is no item selected. Fixes a
3841 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3843 * src/hildon-app-menu-private.h
3844 * src/hildon-app-menu.[ch]
3845 * src/hildon-button.[ch]
3846 * src/hildon-check-button.[ch]
3847 * src/hildon-entry.[ch]
3848 * src/hildon-pannable-area.[ch]
3849 * src/hildon-text-view.[ch]:
3850 Added private field to the object's structure.
3852 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3854 * configure.ac: post-release version bump
3856 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3860 * configure.ac: pre-release version bump
3862 * debian/changelog: updates.
3864 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3866 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3867 Disconnect the handler for HildonTouchSelector::changed.
3869 (hildon_picker_button_selector_selection_changed): Update the button
3870 value if the selection change was not triggered by the
3873 (hildon_picker_button_set_selector): connect to
3874 HildonTouchSelector::changed.
3876 Fixes: NB#89650 (Picker button is not updated, when selection in
3877 selector has changed)
3879 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3881 * src/hildon-picker-dialog.c
3882 (hildon_picker_dialog_realize): Removed as not required
3883 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3884 * src/hildon-picker-button.c
3885 (_current_selector_empty): New function, checks if the selector is empty
3886 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3887 if the current selector is empty, in order to avoid to show the dialog
3888 close the dialog in this case (and shows a g_warning).
3890 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3892 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3894 * src/hildon-pannable-area.c,
3895 (hildon_pannable_area_scroll): Added clause to stop movement when
3896 the child of pannable is smaller than one page.
3897 (hildon_pannable_area_scroll_to): Added conditions to avoid
3898 starting the scrolling movement if the child is smaller than one
3899 page, the complete child is in the screen, we do not have to move.
3901 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3903 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3905 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3906 this is managed automatically by the widget when the size of the
3909 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3911 * src/hildon-picker-button.c
3912 (hildon_picker_button_set_done_button_text): Make a copy of the
3913 text, and free the previous value.
3915 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-touch-selector-entry.c:
3918 (hildon_touch_selector_entry_print_func): Return the selected row's
3919 text if the entry is empty.
3921 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3924 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3926 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3928 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3931 * src/hildon-check-button.h
3932 * src/hildon-check-button.c
3933 * examples/hildon-check-button-example.c:
3934 HildonCheckButton is now a new widget. 'toggled' signal added.
3936 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3938 * src/hildon-program-private.h
3939 * src/hildon-program.c (hildon_program_init)
3940 (hildon_program_finalize): Removed unused variables group_leader
3941 and name from HildonProgramPrivate.
3943 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3945 * src/hildon-check-button.c (hildon_check_button_set_active)
3946 (hildon_check_button_get_active, hildon_check_button_new): Use
3947 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3949 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3951 * src/hildon-touch-selector.h
3952 (hildon_touch_selector_set_column_attributes): added deprecation
3953 guard HILDON_DISABLE_DEPRECATED
3954 * src/hildon-time-selector.c
3955 (hildon_time_selector_set_time)
3956 (hildon_time_selector_get_time): Fixed a typo on documentation
3957 * src/hildon-touch-selector.c: update HildonTouchSelector and
3958 HildonTouchSelectorColumn documentation
3959 * src/hildon-touch-selector-entry.c: update "text-column" property
3961 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3962 to be added to the general documentation.
3964 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3966 * examples/hildon-pannable-area-example-4.c,
3968 * examples/hildon-pannable-area-example.c,
3969 (main): Modified the code in order to use the container add, with
3970 viewport treeviews could have problems if they are really big.
3972 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3974 * src/hildon-weekday-picker.c,
3975 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3976 the agreement regarding deprecation in the library.
3978 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3980 * examples/hildon-picker-button-multicolumn-example.c:
3981 (main): Use custom "done" button text.
3983 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3984 (hildon_picker_button_set_property),
3985 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3986 (hildon_picker_button_init),
3987 (+hildon_picker_button_get_done_button_text),
3988 (+hildon_picker_button_set_done_button_text): New methods to customize
3989 the "done" button label in the launched HildonPickerDialog. Also,
3992 * src/hildon-picker-button.h: add the public API.
3994 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3996 * src/hildon-date-selector.h:
3997 * src/hildon-picker-dialog.h:
3998 * src/hildon-time-selector.h:
3999 * src/hildon-touch-selector-column.h:
4000 * src/hildon-touch-selector.h:
4002 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4003 declarations. Fixes gtk-doc warnings.
4005 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4007 * src/hildon-picker-dialog.h
4008 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4009 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4011 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4012 long text is set as label for done button)
4014 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4016 * src/hildon-dialog.c (hildon_dialog_add_button):
4017 Set fixed width to all buttons in the HildonDialog.
4019 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4021 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4023 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4024 Set widget name using class name plus "-finger" or "-thumb".
4026 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4028 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4029 'clicked' when the state of the button is manually changed.
4031 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4033 * src/hildon-app-menu.c (hildon_app_menu_realize)
4034 (hildon_app_menu_unrealize, hildon_app_menu_init)
4035 (hildon_app_menu_class_init, item_visibility_changed):
4036 Change the menu layout when the size of the screen changes.
4037 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4038 Show warning only when changing the number of colums using the
4041 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4043 * debian/compat: Set to 5
4044 * debian/control: Update dependencies.
4045 * debian/libhildon1-dbg.install: Remove.
4046 * debian/libhildon1-dev.install: Update according to cdbs paths.
4047 * debian/libhildon1.install: Update according to cdbs paths.
4048 * debian/rules: Switch to cdbs.
4050 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4052 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4053 'item' variable renamed to 'filter'
4055 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4057 * src/hildon-app-menu.c (hildon_app_menu_insert)
4058 (hildon_app_menu_add_filter, remove_item_from_list)
4059 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4060 Don't leak hidden items when the menu is destroyed.
4062 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4064 * src/hildon-app-menu.c (hildon_app_menu_insert)
4065 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4066 (hildon_app_menu_set_columns, item_visibility_changed)
4067 (filter_visibility_changed, hildon_app_menu_repack_filters)
4068 (hildon_app_menu_repack_items):
4069 Repack items and filters separately.
4071 Don't repack all items, change only the ones that are needed to
4074 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4076 * src/Makefile.am: added hildon-touch-selector-column.h
4078 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4080 * src/hildon-touch-selector.c: added the property "text-column" to the
4081 class HildonTouchSelectorColumn, and related get/set functions
4082 (_default_printf_func): updated to use "text-column" property
4083 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4084 "text-column" in his documentation, as this is now included on
4085 HildonTouchSelectorColumn. The get/set_property can still be used,
4086 working as a wrapper to the concrete column "text-column" property
4087 (_text_column_modified): callback added in order to handle the signal
4088 "notify::text-column" of the concrete HildonTouchSelectorColumn
4089 (hildon_touch_selector_entry_get_text_column)
4090 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4091 modified in order to use the HildonTouchSelectorColumn "text-column"
4093 * src/hildon-time-selector.c:
4094 * src/hildon-date-selector.c:
4095 * examples/hildon-touch-selector-example.c
4096 * examples/hildon-touch-selector-multi-cells-example.c
4097 * examples/hildon-picker-button-multicolumn-example.c
4098 Set the right value to "text-column" property on the creation of a new
4099 column using hildon_touch_selector_append_column()
4101 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4103 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4105 * src/hildon-app-menu.c
4106 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4107 updating the layout of the menu, don't create all widgets again,
4108 just repack the items in their new places.
4110 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4112 * src/hildon-time-selector.c
4113 (hildon_time_selector_get_time)
4114 (hildon_time_selector_set_time)
4115 Added documentation of these public methods
4117 * src/hildon-date-button.h
4118 * src/hildon-touch-selector-column.h
4119 * src/hildon-time-button.h
4120 * src/hildon-picker-dialog.h
4121 * src/hildon-time-selector.h
4122 * src/hildon-picker-button.h
4123 * src/hildon-touch-selector.h
4124 * src/hildon-time-picker.h
4125 * src/hildon-date-selector.h
4126 * src/hildon-touch-selector-entry.h
4127 Modified in order to use hildon-widgets code style
4129 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4131 Added deprecated support to the compilation process using
4132 HILDON_DISABLE_DEPRECATED
4134 * configure.ac: Added the --disable-deprecated to the configure
4137 * src/hildon-weekday-picker.c:
4138 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4139 to use the deprecated support. We will update the other deprecated
4140 widgets status in a new patch.
4142 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4144 * configure.ac: Fixed typo with fatal warnings support, the
4145 variable name was not correct
4147 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4149 * src/hildon-app-menu.c
4150 * src/hildon-program.c: Update documentation.
4152 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4154 * configure.ac: Post-release version bump.
4156 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4161 * configure.ac: Pre-release version bump.
4162 * debian/changelog: Updates.
4164 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4166 * NEWS: Update news for previous releases.
4168 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4170 * examples/hildon-touch-selector-multi-cells-example.c:
4171 (create_selector): Update the example to use
4172 hildon_touch_selector_append_column() with a NULL renderer and set
4173 the renderers later.
4174 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4175 passed a NULL renderer. This is documented behavior now.
4177 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4178 This must be used if the developer wants full control on the layout of
4179 the renderers to be added to the column.
4181 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4183 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4185 * src/hildon-touch-selector.c: Documentation fixes.
4187 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4189 * src/hildon-wizard-dialog-private.h: Remove image and box.
4190 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4191 (hildon_wizard_dialog_set_property), (response): Completely remove
4192 image/icon support, and the containers required for the layout.
4194 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4196 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4198 * src/hildon-app-menu.c: Updated documentation.
4200 * src/hildon-stackable-window.c
4201 (hildon_stackable_window_set_main_menu): Unref the old menu after
4202 ref'ing the new one.
4204 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4206 * src/hildon-stackable-window.c
4207 (hildon_stackable_window_set_main_menu): Unref the previous menu
4208 instead of destroying it.
4210 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4211 floating reference and set has_user_ref_count to FALSE to make
4212 HildonAppMenu act like a normal ref-counted widget and not a
4215 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4218 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4220 * src/hildon-touch-selector-column.h: new file
4221 * src/hildon-touch-selector.h
4222 * src/hildon-touch-selector.c
4223 Implemented GtkCellLayout interface, in order to allow to configure
4224 the cell layout on each individual selector column
4225 (hildon_touch_selector_set_column_attributes): marked as deprecated
4226 * examples/hildon-touch-selector-multi-cells-example.c
4227 Example of how to use the GtkCellLayout interface on the selector
4229 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4231 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4233 * src/hildon-app-menu.h
4234 * src/hildon-app-menu.c
4235 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4236 (hildon_app_menu_append, hildon_app_menu_prepend):
4237 New methods to prepend, insert and move items in the menu.
4239 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-wizard-dialog.c:
4243 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4245 (create_title): Update logical IDs and related code.
4246 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4248 * src/hildon-wizard-dialog.h: Note that
4249 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4250 point, as it is not used anymore.
4252 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4254 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4256 * src/hildon-note.c:
4257 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4258 shown. Do not display an icon in confirmation notes nor information
4260 (hildon_note_set_button_text): Update logical ID for cancel button.
4262 Fixes: NB#88850 (Update HildonNote button strings + signals)
4264 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4266 * src/hildon-stackable-window.c
4267 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4269 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4271 * src/hildon-app-menu-private.h
4272 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4273 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4274 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4275 temporary property 'columns' to change the number of columns.
4277 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4279 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4281 * examples/hildon-note-example.c: (on_information_clicked),
4282 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4283 debugging information.
4284 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4286 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4287 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4288 in order to close: this will be handled by the WM from now on.
4290 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4292 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4294 * src/hildon-app-menu-private.h
4295 * src/hildon-app-menu.c
4296 (hildon_app_menu_append, hildon_app_menu_add_filter)
4297 (button_visibility_changed, hildon_app_menu_apply_style)
4298 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4299 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4300 layout everytime a button (item or filter) is shown or hidden.
4302 * src/hildon-stackable-window.c
4303 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4306 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4308 * src/hildon-touch-selector.c:
4309 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4310 that the treeview inside the touch selector is in fremantle hildon mode
4311 * examples/hildon-date-button-example.c
4312 * examples/hildon-picker-button-multicolumn-example.c
4313 * examples/hildon-touch-selector-entry-example.c
4314 * examples/hildon-touch-selector-example.c
4315 * examples/hildon-time-button-example.c
4316 * examples/hildon-picker-button-example.c:
4317 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4319 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4321 * examples/hildon-text-view-example.c: (main): Remove the
4322 gtkrc bits, now handled by the theme.
4324 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4326 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4329 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4331 * po/Makefile.am: Install properly the mo files.
4332 * po/en_GB.po: Update translation, to ease testing purposes.
4334 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4336 * examples/hildon-picker-button-example.c: (main): Select an item
4337 in the selector before setting it to the button.
4339 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4341 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4342 Update button's value if the selector has an item active.
4344 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4345 'value' with the selector)
4347 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4349 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4350 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4351 (hildon_picker_button_class_init): Plug the finalize method.
4352 (hildon_picker_button_set_selector): If there's a previously set
4353 selector, unref'it before setting a new one.
4355 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4356 HildonTouchSelector)
4358 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4360 * src/hildon-touch-selector-entry.c:
4361 (hildon_touch_selector_entry_changed): Check if there is no text
4362 selected before setting the entry text.
4365 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4367 * src/hildon-touch-selector.h
4368 * src/hildon-touch-selector.c
4369 (hildon_touch_selector_get_active)
4370 (hildon_touch_selector_set_active): New methods to set/get the
4371 index of the selected item.
4373 * src/hildon-picker-button.h
4374 * src/hildon-picker-button.c
4375 (hildon_picker_button_get_active)
4376 (hildon_picker_button_set_active): New methods to set/get the
4377 index of the selected item.
4379 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4381 * configure.ac: post-release version bump.
4383 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4387 * configure.ac: Pre-release version bump.
4388 * debian/changelog: Updates.
4389 * debian/control: Add myself as maintainer and depend on l10n
4392 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4394 * src/hildon-window.c
4395 (hildon_window_set_main_menu)
4396 * src/hildon-stackable-window.c
4397 (hildon_stackable_window_set_main_menu):
4398 Updated documentation.
4400 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4402 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4403 Don't free selector->priv manually.
4406 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4409 (hildon_gtk_window_set_progress_indicator):
4410 * src/hildon-gtk.h: Added the new API
4411 hildon_gtk_window_set_progress_indicator, it changes the state of
4412 the window progress hint.
4414 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4416 * src/hildon-button.c
4417 * src/hildon-stackable-window.c: Minor documentation updates.
4419 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4421 * src/hildon-stackable-window.c: Updated documentation.
4423 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4425 * src/hildon-defines.h: Update margins definitions
4426 to the Fremantle sizes.
4429 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4431 * src/hildon-touch-selector.c,
4432 (_hildon_touch_selector_set_model): Cleaning the code after
4433 review, removed g_print and #if 0 from the code.
4435 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4437 * src/hildon-edit-toolbar.c: Update documentation.
4439 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4441 * src/hildon-check-button.h
4442 * src/hildon-check-button.c
4443 (hildon_check_button_set_label, hildon_check_button_get_label)
4444 * examples/hildon-check-button-example.c
4445 (button_clicked_cb):
4446 Removed deprecated methods.
4448 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4450 * src/hildon-text-view.c:
4451 Add sample code to the documentation.
4453 * src/hildon-entry.h
4454 * src/hildon-text-view.h:
4455 Minor cosmetic changes.
4457 * src/hildon-entry.c:
4458 Add sample code to the documentation.
4459 (hildon_entry_init, hildon_entry_refresh_contents):
4460 Don't allow NULL values in the placeholder.
4462 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4464 * doc/hildon-docs.sgml
4466 * examples/Makefile.am
4467 * examples/hildon-text-view-example.c
4469 * src/hildon-text-view.c
4470 * src/hildon-text-view.h
4472 New HildonTextView widget, with example.
4474 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4476 * po/POTFILES.in: Add missing files with translatable strings.
4477 Partially fixes NB#88287.
4479 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4481 * examples/hildon-pannable-area-example-2.c: (main): No need to
4482 set the cellrenderer height inside hildon touch lists, the theme does
4485 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4487 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4488 they are integrated in the theme.
4490 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4492 * examples/hildon-entry-example.c: Update the example adding
4493 widgets to modify the text and the placeholder of the HildonEntry.
4495 * src/hildon-entry.c: Show the placeholder everytime the widget
4496 is empty and loses the focus.
4498 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4500 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4502 * src/hildon-pannable-area.c,
4503 (hildon_pannable_area_size_request): Fixed bug in height
4504 requisition, avoid increasing size and add border twice.
4506 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4508 * configure.ac: postrelease version bump.
4510 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4514 * configure.ac: Prerelease version bump.
4515 * debian/changelog: update.
4516 * debian/rules: make -dbg package contain useful debugging symbols.
4518 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-dialog.h
4521 * src/hildon-dialog.c
4522 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4523 New methods to add buttons with finger size.
4524 (hildon_dialog_new_with_buttons):
4525 Create buttons with finger size.
4527 * examples/hildon-dialog-example.c (main): Use HildonDialog
4528 methods to add buttons.
4530 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4532 * src/hildon-entry.c: Updated HildonButton documentation.
4534 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4536 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4537 button value label with (FALSE, FALSE) to prevent NB#88126 from
4540 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4542 * examples/hildon-pannable-area-example.c,
4543 (main): Removed examples panning a vbox inside a pannable
4544 area. Check bug NB#87965
4546 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4548 Patch contributed by Kris Rietveld (kris@imendio.com)
4550 * src/hildon-pannable-area.c,
4551 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4552 get_size and get_position, this saves an X server roundtrip.
4554 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4556 * doc/hildon-docs.sgml
4558 * examples/Makefile.am
4559 * examples/hildon-entry-example.c
4561 * src/hildon-entry.c
4562 * src/hildon-entry.h
4564 New HildonEntry widget, with example.
4566 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4568 * src/hildon-button.c (hildon_button_construct_child): Pack the
4569 image with expand == fill == FALSE. This is a workaround for a bug
4572 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4574 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4575 labels for the text column, to make it more look more dynamic.
4577 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4579 * src/hildon-time-selector.c
4580 Define gettext auxiliar macro N_
4581 (_create_minutes_model)
4582 (_create_hours_model)
4583 (_create_ampm_model): use of strftime in order to fill the model
4584 * src/hildon-date-selector.c
4585 (hildon_date_selector_finalize):
4586 (_locales_init): remove the logic related to get the name of the months
4587 using nl_langinfo, as it is not required anymore
4589 (_create_year_model)
4590 (_create_month_model)
4591 (_update_day_model): use of strftime in order to fill the model properly
4594 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4596 * src/hildon-button.h
4597 * src/hildon-button.c (hildon_button_get_image): New method to
4600 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4602 * src/hildon-touch-selector.c:
4603 (hildon_touch_selector_remove_column): Remove from the correct parent
4604 and also remove the list element and free it.
4607 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4609 * src/hildon-time-selector.c
4610 (_create_hours_model): change the range on 12h ampm format in order to use
4611 a 12-11 range instead of previous 01-12 range
4612 (hildon_time_selector_set_time): change the way to select the current time
4613 on 12h ampm format, due the change on the range
4614 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4617 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4619 * src/hildon-touch-selector.c
4620 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4621 in order to allow use this function on multiple row selection mode if
4622 the column is different that the first one
4625 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4627 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4628 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4630 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4632 * src/hildon-date-selector.h: clean some comments, now on the .c
4633 * src/hildon-date-selector.c
4634 (hildon_date_selector_select_month): first implementation
4635 (hildon_date_selector_select_day): added documentation, reimplemented
4636 using hildon_date_selector_select_current_date to avoid repeat code
4639 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4641 Reviewed interaction logic based on device experiences, refactored
4644 * src/hildon-pannable-area.c,
4645 (hildon_pannable_area_class_init): Updated default vmax speed.
4646 (hildon_pannable_area_calculate_velocity): Added this function, it
4647 avoids duplicate valocity calculation. Adjusted calculation to
4648 avoid problems with zero dist events.
4650 (hildon_pannable_area_motion_notify_cb): Now we use the
4651 calculate_velocity function.
4653 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4655 * src/hildon-date-selector.c
4656 (hildon_date_selector_select_current_date): fix the day range check
4657 as it failed using the last day of the current month
4660 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4662 * src/hildon-touch-selector.c
4663 (hildon_touch_selector_get_num_columns): added a parameter validation
4666 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4668 * examples/Makefile.am
4669 * examples/hildon-edit-toolbar-example.c: Example of the
4670 HildonEditToolbar widget.
4672 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4674 * configure.ac: postrelease version bump.
4676 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4680 * configure.ac: prerelease version bump.
4681 * debian/changelog: update.
4683 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4685 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4686 renderer to display stock icons in the touch list. Also, set the sizes
4687 to the recommended in the style guide.
4689 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4690 * src/hildon-touch-selector.h
4691 (hildon_touch_selector_set_active_iter): renamed, now is
4692 hildon_touch_selector_select_iter
4693 (hildon_touch_selector_get_active_iter): renamed, now is
4694 hildon_touch_selector_get_selected
4695 (hildon_touch_selector_unselect_iter): added
4696 * src/hildon-touch-selector.c
4697 Update after API modification (methods renamed)
4698 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4699 order to avoid problems selecting multiple elements on the column
4700 (hildon_touch_selector_unselect_iter): added the implementation
4701 * src/hildon-time-selector.c
4702 * src/hildon-date-selector.c
4703 * src/hildon-touch-selector-entry.c
4704 Update methods calls after hildon-touch-selector.h API modification (methods
4707 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4709 * src/hildon-stackable-window.c
4710 (hildon_stackable_window_finalize): Call the parent class's finalize.
4712 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4714 * examples/hildon-touch-selector-example.c: (create_selector): Use
4715 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4718 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4720 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4721 set a cell background color, to respect theming.
4723 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4725 * doc/hildon-docs.sgml
4728 * src/hildon-edit-toolbar.c
4729 * src/hildon-edit-toolbar.h
4730 * src/hildon.h: New HildonEditToolbar widget.
4732 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4734 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4737 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4738 * src/hildon-touch-selector.c
4739 (_create_new_column): use g_object_set instead of two g_object_set_property
4741 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4742 * src/hildon-touch-selector.c
4743 (_create_new_column): use of hildon_gtk_tree_view_new to create
4744 the treeview, instead of use directly g_object_new
4745 (_create_new_column): update the property name "vindicator-mode" for the
4746 new one "vscrollbar-policy"
4747 * examples/hildon-date-button-example.c
4748 * examples/hildon-picker-button-multicolumn-example.c
4749 * examples/hildon-touch-selector-entry-example.c
4750 * examples/hildon-touch-selector-example.c
4751 * examples/hildon-time-button-example.c
4752 * examples/hildon-picker-button-example.c
4753 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4754 to all the treeviews inside a pannable area.
4756 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4758 * src/hildon-button.h
4759 * src/hildon-button.c (hildon_button_init)
4760 (hildon_button_set_arrangement, hildon_button_set_alignment)
4761 (hildon_button_set_title_alignment)
4762 (hildon_button_set_value_alignment)
4763 (hildon_button_set_image_alignment)
4764 (hildon_button_construct_child): New methods to set the alignment
4765 of the individual components of the button (title, value,
4766 image). Also, new method to alter the xscale and yscale properties
4767 of the GtkAlignment inside the button, so more complex layouts can
4770 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4772 * src/hildon-button.c (hildon_button_style_set)
4773 (hildon_button_class_init, hildon_button_set_arrangement)
4774 (hildon_button_construct_child): Apply style properties
4775 correctly. Use the 'image-spacing' style property too.
4777 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4779 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4780 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4783 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4785 * src/hildon-pannable-area.c,
4786 (hildon_pannable_area_size_request): Fixed problem with
4787 pannable-area size_request.
4789 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4791 Added management for the grab-focus to a child widget, like a
4792 range, we need to fade out the scrollbar when releasing.
4794 * src/hildon-pannable-area.c,
4795 (hildon_pannable_area_init): Connected the grab-focus signal to
4797 (hildon_pannable_area_grab_notify): Added this function in order
4798 to manage the situation when the grab-focus ends. We have to
4799 fade-out the scrollbar.
4801 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4803 * src/hildon-app-menu.c: Minor documentation update.
4805 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4807 * src/hildon-app-menu.c
4808 * examples/hildon-app-menu-example.c (create_menu): Update
4809 examples and documentation to explain how to connect callbacks.
4811 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4813 * examples/hildon-button-example.c
4814 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4815 hildon_stackable_window_new instead of gtk_window_new
4817 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4819 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4820 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4821 (hildon_pannable_area_set_property),
4822 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4823 (hildon_pannable_area_unrealize),
4824 (hildon_pannable_area_size_request),
4825 (hildon_pannable_area_size_allocate),
4826 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4827 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4828 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4829 (hildon_pannable_area_initial_effect),
4830 (hildon_pannable_area_redraw),
4831 (hildon_pannable_area_scroll_indicator_fade),
4832 (hildon_pannable_area_expose_event),
4833 (hildon_pannable_area_get_topmost), (synth_crossing),
4834 (hildon_pannable_area_button_press_cb),
4835 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4836 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4837 (hildon_pannable_area_motion_notify_cb),
4838 (hildon_pannable_area_button_release_cb),
4839 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4840 (hildon_pannable_area_remove),
4841 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4842 chage the code layout to a more GtkWidget like. Review the use of
4845 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4847 * examples/hildon-pannable-area-example-4.c,
4848 (main): Modified the name of the hindicator_mode to
4851 * src/hildon-pannable-area.c,
4852 (hildon_pannable_area_class_init),
4853 (hildon_pannable_area_motion_notify_cb),
4854 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4855 we have reduced the amount of signals and managed reviewed its
4856 rationale. Changed the default decelerate value.
4858 (hildon_pannable_area_add),
4859 (hildon_pannable_area_redraw): Refactored functions.
4861 (hildon_pannable_area_init),
4862 (hildon_pannable_area_get_property),
4863 (hildon_pannable_area_set_property):
4864 (hildon_pannable_draw_vscroll),
4865 (hildon_pannable_draw_hscroll),
4866 (hildon_pannable_area_initial_effect),
4867 (hildon_pannable_area_expose_event),
4868 (hildon_pannable_area_scroll),
4869 (hildon_pannable_area_button_press_cb),
4870 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4871 and vindicator_mode with hscrollbar_policy and
4872 vscrollbar_policy. Replaced hscroll and vscroll with
4873 hscroll_visible and vscroll_visible.
4875 (hildon_pannable_area_refresh): Refactor the function, remove
4876 variables and check the calls to this function, added resize
4877 conditions in case the children change their layout.
4879 (hildon_pannable_area_size_request): Added more detailed
4880 size_request calculation.
4883 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4885 * src/hildon-color-chooser.c
4886 (init_borders): use the correct gtk_border_free instead of g_free, to
4887 avoid a crash when this widget is used (ie: the three color selection
4890 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4892 * src/hildon-check-button.c,
4893 (hildon_check_button_set_active): Fixed problem when setting the
4894 active value, the widget was not redrawn.
4896 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4898 * src/hildon-pannable-area.c,
4899 (hildon_pannable_area_refresh),
4900 (hildon_pannable_area_scroll),
4901 (hildon_pannable_area_motion_notify_cb): Small code style change.
4903 (hildon_pannable_area_class_init): Default initial_hint set to
4904 FALSE, it is not in the specs.
4906 (hildon_pannable_area_initial_effect),
4907 (hildon_pannable_area_expose_event),
4908 (hildon_pannable_area_map),
4909 (hildon_pannable_area_init): Moved the launching point of the
4910 initial effect, it was in map but the sizes where not correct in
4911 that method so we do not know if we have the reproduce it. Now it
4912 is placed in the expose_event method and uses a variable to
4913 reproduce it just once.
4915 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4917 * src/hildon-pannable-area.c,
4918 (hildon_pannable_draw_vscroll),
4919 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4920 position allowed for the scrollbars.
4922 (hildon_pannable_area_size_allocate): Small style change.
4924 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4926 * src/hildon-pannable-area.c,
4927 (hildon_pannable_area_scroll_indicator_fade),
4928 (hildon_pannable_area_button_press_cb),
4929 (hildon_pannable_area_button_release_cb),
4930 (hildon_pannable_area_scroll_cb),
4931 (hildon_pannable_area_expose_event),
4932 (hildon_pannable_area_init): Added the define parameter
4933 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4934 and refactor the fade variable.
4936 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4938 * src/hildon-pannable-area.c,
4939 (hildon_pannable_area_redraw),
4940 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4941 lines, we were reimplemeting the redraw code.
4943 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4945 * src/hildon-pannable-area.c,
4946 (hildon_pannable_area_scroll_cb),
4947 (hildon_pannable_area_realize),
4948 (hildon_pannable_area_class_init): Added scroll_event management
4949 for pannable area, now we can scroll the usual desktop method.
4951 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4952 initialization of the parameters should depend on idle_id.
4954 (hildon_pannable_area_init),
4955 (hildon_pannable_area_map): Small code style modifications
4957 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4959 * src/hildon-pannable-area.c
4960 (hildon_pannable_area_button_press_cb),
4961 (hildon_pannable_area_motion_notify_cb),
4962 (hildon_pannable_area_button_release_cb),
4963 (hildon_pannable_area_size_allocate),
4964 (hildon_pannable_area_scroll_to): Improved the timeouts
4965 management, we avoid creating them each time.
4967 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4969 * src/hildon-pannable-area.c:
4970 (hildon_pannable_area_refresh),
4971 (hildon_pannable_area_motion_notify_cb),
4972 (hildon_pannable_area_class_init):
4973 * src/hildon-pannable-area.h:
4974 * src/hildon-touch-selector.c
4975 (_create_new_column):
4976 * examples/hildon-pannable-area-example-4.c:
4977 (horizontal_movement),
4978 (vertical_movement),
4980 Replaced the names of enums in the HildonPannableArea:
4981 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4982 HILDON_MOVEMENT_MODE_*
4983 - HILDON_PANNABLE_AREA_MOV_* ->
4985 - Removed HildonPannableAreaIndicatorMode, now we
4988 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4990 * examples/hildon-pannable-area-touch-grid-example.c
4991 * examples/hildon-pannable-area-touch-list-example.c: Fix
4992 compilation warnings.
4994 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4996 * src/hildon-gtk.c (hildon_gtk_button_new)
4997 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4998 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4999 images overriding the value of the "gtk-button-images" setting.
5001 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5003 * src/hildon-check-button.c (hildon_check_button_new):
5004 Instead of using a custom container, display the label and the
5005 checkbox using the standard GtkButton API.
5007 * examples/hildon-check-button-example.c (main): Don't use
5008 hildon_check_button_set_label() anymore
5010 * src/hildon-check-button.h
5011 * src/hildon-check-button.c
5012 (hildon_check_button_set_label, hildon_check_button_get_label):
5013 Set as deprecated, now we're using gtk_button_{get,set}_label()
5015 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5017 * src/hildon-pannable-area.c,
5018 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5019 GtkTreeview first line we detected it after the inclusion of the
5020 GtkWindowImpl in gtk+. We now check if the window is visible, not
5021 just if the pointer is over the window.
5022 (hildon_pannable_axis_scroll),
5023 (hildon_pannable_area_expose_event): Small style changes.
5025 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5027 * src/hildon-button.c: Update documentation.
5029 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5031 * examples/hildon-button-example.c: Add a switch to show images in
5034 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5036 * doc/hildon-docs.sgml: Some docs reorganization.
5038 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5040 * examples/hildon-pannable-area-touch-list-example.c
5042 * examples/hildon-pannable-area-touch-grid-example.c
5043 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5044 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5045 Fix memory leak when setting the tree model.
5047 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5051 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5053 * doc/hildon.types: Remove duplicated hildon_window_get_type
5054 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5055 documentation comment.
5057 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5059 * doc/Makefile.am: Complete list of private headers.
5061 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5063 * doc/hildon-docs.sgml
5064 * src/hildon-app-menu.c
5065 * src/hildon-bread-crumb.c
5066 * src/hildon-button.c
5068 * src/hildon-program.c
5069 * src/hildon-stackable-window.c
5070 * src/hildon-window.c: Lots of documentation updates.
5072 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5074 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5076 * configure.ac: Require Gtk+ 2.12.9 at least
5078 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5080 * src/hildon-pannable-area.c
5081 (hildon_pannable_area_scroll_indicator_fade),
5082 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5083 to protect the return of this timeout callbacks, avoiding deadlocks.
5085 2008-08-12 Christian Dywan <christian@imendio.com>
5088 * src/hildon-*.h: Ensure a consistent include order,
5089 include <gtk/gtk.h> instead of particular files and
5090 only include the topmost header in the gtk stack. See NB #39857
5092 2008-08-12 Christian Dywan <christian@imendio.com>
5094 * src/hildon-picker-dialog.c
5095 * src/hildon-touch-selector.c: Fix warnings about unused and
5096 uninitialized variables.
5098 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5100 * examples/Makefile.am
5101 * examples/hildon-check-button-example.c: Example of the hildon
5104 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5106 * src/hildon-window.h
5107 * src/hildon-window.c (hildon_window_class_init)
5108 (hildon_window_unset_program): Don't make
5109 hildon_window_unset_program a virtual function anymore.
5111 * src/hildon-stackable-window.c: Update documentation
5113 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5116 * doc/hildon-docs.sgml
5117 * doc/visual_index.xml
5118 * src/hildon-defines.c
5120 * src/hildon-helper.c
5121 * src/hildon-range-editor.c: Lots of documentation fixes.
5123 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5125 * examples/hildon-picker-button-multicolumn-example.c
5126 (create_touch_selector): Fix compilation warning.
5128 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5130 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5131 (hildon_pannable_area_button_release_cb)
5132 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5134 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5136 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5139 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5141 * src/hildon-bread-crumb-trail.h
5142 * src/hildon-date-editor.c
5143 * src/hildon-date-selector.c
5144 * src/hildon-pannable-area.c
5145 * src/hildon-picker-dialog.c
5146 * src/hildon-time-selector.c
5147 * src/hildon-touch-selector-entry.c
5148 * src/hildon-touch-selector.c
5149 * src/hildon-touch-selector.h: Misc documentation fixes
5151 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5153 * examples/hildon-date-editor-example.c (main): Updated date
5156 * examples/hildon-note-example.c (on_confirmation_clicked):
5157 Updated confirmation note example.
5159 * src/hildon-date-editor.c
5160 * src/hildon-note.c: Updated sample programs in documentation.
5163 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5165 * src/hildon-date-button.h:
5166 * src/hildon-picker-button.h:
5167 * src/hildon-time-button.c:
5168 * src/hildon-time-button.h:
5170 Some declarations changes to allow gtk-doc to document the widgets
5173 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5175 * src/hildon-date-button.c: Document the widget.
5176 * src/hildon-time-button.c: Document the widget.
5178 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5180 * src/hildon-picker-button.c: Document the widget.
5181 * src/hildon-touch-selector-entry.c: Document the widget.
5183 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5185 * doc/hildon-docs.sgml
5188 * src/hildon-check-button.h
5189 * src/hildon-check-button.c: New functions to create the Hildon
5193 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5195 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5197 * src/hildon-button.h
5198 * src/hildon-button.c
5199 (hildon_button_add_title_size_group)
5200 (hildon_button_add_value_size_group)
5201 (hildon_button_add_image_size_group)
5202 (hildon_button_add_size_groups): New functions to set size groups
5203 for the button labels and image.
5204 (hildon_button_new_full): Removed
5206 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5208 * src/hildon-time-selector.c
5209 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5210 in order to avoid a crash if gconf is not available
5212 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5214 * src/hildon-button.c (hildon_button_set_arrangement)
5215 (hildon_button_construct_child): Don't construct the button child
5216 before setting the arrangement.
5218 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5220 * src/hildon-program-private.h
5221 * src/hildon-program.c
5222 * src/hildon-program.h
5223 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5224 (hildon_program_peek_window_stack)
5225 (hildon_program_pop_window_stack)
5226 (hildon_program_go_to_root_window): HildonProgram now has a
5227 separate list for stackable windows. Functions are provided to
5228 manage that list with a stack-like API.
5230 * src/hildon-stackable-window.c: Stackable window management is
5231 now much simpler with the new HildonProgram API. Windows no
5232 longer need to be manually added to the program, they're
5233 automatically pushed to the top of the stack when shown.
5235 * examples/hildon-stackable-window-example.c: Updated example to
5236 reflect the API changes.
5238 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5240 * src/hildon-touch-selector.c: Comment out unimplemented
5241 hildon_touch_selector_insert_column() to avoid a compile warning.
5243 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5245 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5246 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5247 (hildon_touch_selector_set_column_selection_mode),
5248 (_hildon_touch_selector_set_model),
5249 (hildon_touch_selector_set_model):
5251 Complete review of HildonTouchSelector documentation.
5253 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5255 * doc/hildon-docs.sgml
5259 * src/hildon-gtk.c: Convenience functions for standard Gtk
5260 widgets, used to easily perform frequent operations.
5262 * src/hildon-button-helpers.h
5263 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5265 * src/hildon-helper.h
5266 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5267 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5269 * src/hildon-button.h
5270 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5272 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5274 * src/hildon-button.c (hildon_button_init)
5275 (hildon_button_set_arrangement, hildon_button_construct_child):
5276 Pack the image and the labels inside the same GtkAlignment so
5277 gtk_button_set_alignment() can be used
5279 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5281 * src/hildon-button.h
5282 * src/hildon-button.c
5283 (hildon_button_init, hildon_button_set_image)
5284 (hildon_button_set_image_position)
5285 (hildon_button_construct_child): New functions to add an image to
5288 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5290 * src/hildon-date-button.c
5291 * src/hildon-picker-button.c
5292 * src/hildon-time-button.c
5293 * src/hildon-button.c:
5294 (hildon_button_class_init): "size-flags" renamed to "size"
5295 (hildon_button_set_title): Hide the title label if set to NULL.
5297 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5299 HildonButtonFlags split into HildonButtonArrangement (to set the
5300 button layout) and HildonSizeType (which can be used for any
5303 * src/hildon-button.h
5304 * src/hildon-button.c
5305 (hildon_button_class_init)
5306 (hildon_button_set_arrangement)
5307 (hildon_button_set_property): New "size-flags"
5308 property. "arrangement-flags" renamed to "arrangement".
5309 (hildon_button_new, hildon_button_new_with_text)
5310 (hildon_button_new_full): Constructors updated to reflect type changes.
5312 * src/hildon-helper.h
5313 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5314 to set the size of a widget.
5318 * src/hildon-button-helpers.c
5319 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5321 * src/hildon-date-button.c
5322 * src/hildon-date-button.h
5323 * src/hildon-picker-button.c
5324 * src/hildon-picker-button.h
5325 * src/hildon-time-button.c
5326 * src/hildon-time-button.h: Updated widgets to reflect
5327 HildonButton API changes.
5329 * examples/hildon-button-example.c
5330 * examples/hildon-date-button-example.c
5331 * examples/hildon-picker-button-example.c
5332 * examples/hildon-picker-button-multicolumn-example.c
5333 * examples/hildon-time-button-example.c
5334 * examples/hildon-touch-selector-entry-example.c
5335 * examples/hildon-touch-selector-example.c: Updated examples to
5336 reflect HildonButton API changes.
5338 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5340 * doc/hildon-docs.sgml:
5342 * examples/Makefile.am:
5343 * examples/hildon-touch-selector-entry-example.c:
5345 * src/hildon-touch-selector-entry.c:
5346 * src/hildon-touch-selector-entry.h:
5349 Moved HildonTouchSelectorEntry from sandbox. Added its
5350 documentation and examples.
5352 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5354 * src/hildon-touch-selector.h:
5355 * examples/hildon-picker-button-multicolumn-example.c:
5356 (hildon_touch_selector_append_text_column): Add a gboolean
5357 parameter to determine if text must be centered in the column.
5359 * src/hildon-date-selector.c: (hildon_date_selector_init):
5360 * src/hildon-time-selector.c: (hildon_time_selector_init):
5361 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5362 (create_touch_selector): Update widgets and example to reflect
5365 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5367 * src/hildon-touch-selector.c:
5368 (hildon_touch_selector_set_active_iter): Set also the cursor in
5371 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5373 * doc/hildon-docs.sgml
5376 * src/hildon-toggle-button.c
5377 * src/hildon-toggle-button.h
5378 * src/hildon.h: Removed HildonToggleButton widget, a derived
5379 class is not necessary for this.
5381 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5383 * src/hildon-pannable-area.c,
5384 (hildon_pannable_area_realize),
5385 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5388 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5390 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5391 "done" button the default widget for the dialog.
5393 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5395 * src/hildon-touch-selector.c:
5396 (hildon_touch_selector_class_init),
5397 (hildon_touch_selector_get_property),
5398 (_hildon_touch_selector_set_model),
5399 (_hildon_touch_selector_has_multiple_selection),
5400 (hildon_touch_selector_has_multiple_selection):
5401 Add a "has-multiple-selection" property with a virtual
5402 has_multiple_selection() method to allow derived classes to
5403 override the default value for it. See the method and property
5404 documentation for details.
5406 * src/hildon-touch-selector.h: Add the new API.
5408 * src/hildon-picker-dialog.c: (requires_done_button): Call
5409 hildon_touch_selector_has_multiple_selection() instead of
5410 determining the need for a button itself.
5412 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5414 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5415 (_hildon_touch_selector_set_model),
5416 (hildon_touch_selector_set_model): Move working code to
5417 _hildon_touch_selector_set_mode(). Call the class method instead.
5419 * src/hildon-touch-selector.h: Add (*set_model) to
5420 HildonTouchSelectorClass.
5422 Make hildon_touch_selector_set_model() a virtual method, so that
5423 derived classes can extend it and do fancy stuff with the model.
5425 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5427 * configure.ac: Set back the tarname in AC_INIT to hildon.
5429 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5433 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5434 instead of libesd (NB#86876). Volume handling is still an open issue.
5436 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5439 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5441 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5442 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5443 derived class to ease placement of an entry widget in
5444 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5445 end, where the selector columns are packed now.
5447 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5449 * src/hildon-picker-button.c: Removed the simple _text() API.
5450 * src/hildon-picker-button.h: Likewise.
5452 * src/hildon-touch-selector.h:
5453 * src/hildon-touch-selector.c:
5454 (hildon_touch_selector_new_text),
5455 (hildon_touch_selector_append_text),
5456 (hildon_touch_selector_prepend_text),
5457 (hildon_touch_selector_insert_text):
5459 Moved the simple _text() API from HildonPickerButton to
5460 HildonTouchPicker, to provide better escalability and not to tie
5461 that API to HildonPickerButton.
5463 * examples/hildon-picker-button-example.c: (main): Example updated.
5465 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5467 * src/hildon-button.c: Updated documentation.
5469 * examples/hildon-button-example.c: Add the posibility to create
5470 the buttons using horizontal layout for title and value.
5472 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5474 * src/hildon-app-menu-private.h
5475 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5476 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5477 GtkSizeGroup for the filters, use the 'homogeneous' property of
5480 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5482 * examples/hildon-button-example.c: Updated example.
5484 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5486 * doc/hildon-docs.sgml:
5489 Update documentation.
5491 * examples/Makefile.am: Update renamed examples.
5493 * examples/hildon-picker-button-multicolumn-example.c:
5494 (create_touch_selector), (main): Update after the rename.
5496 * examples/hildon-touch-picker-example.c: Removed.
5497 * examples/hildon-touch-selector-example.c: (value_changed),
5498 (create_selector), (get_visible_content), (main): Renamed from
5499 hildon-touch-picker-example.c
5501 * src/Makefile.am: Updated renamed files.
5503 * src/hildon-date-button.c: (hildon_date_button_init),
5504 (hildon_date_button_get_date), (hildon_date_button_set_date):
5505 * src/hildon-date-selector.c: (hildon_date_selector_init),
5506 (_custom_print_func), (_update_day_model),
5507 (_manage_selector_change_cb),
5508 (hildon_date_selector_select_current_date),
5509 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5510 * src/hildon-date-selector.h:
5511 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5512 (hildon_picker_button_set_property),
5513 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5514 (hildon_picker_button_init), (hildon_picker_button_new_text),
5515 (hildon_picker_button_append_text),
5516 (hildon_picker_button_prepend_text),
5517 (hildon_picker_button_insert_text),
5518 (hildon_picker_button_set_selector),
5519 (hildon_picker_button_get_selector):
5520 * src/hildon-picker-button.h:
5521 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5522 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5523 (_update_title_on_selector_changed_cb), (requires_done_button),
5524 (_hildon_picker_dialog_set_selector),
5525 (hildon_picker_dialog_set_selector),
5526 (hildon_picker_dialog_get_selector):
5527 * src/hildon-picker-dialog.h:
5528 * src/hildon-time-button.c: (hildon_time_button_init),
5529 (hildon_time_button_get_time), (hildon_time_button_set_time):
5530 * src/hildon-time-selector.c: (hildon_time_selector_init),
5531 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5532 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5533 * src/hildon-time-selector.h:
5536 Massive code updates after the rename.
5538 * src/hildon-touch-picker.c: Removed.
5539 * src/hildon-touch-picker.h: Removed.
5541 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5542 (hildon_touch_selector_init), (hildon_touch_selector_map),
5543 (hildon_touch_selector_remove), (_default_print_func),
5544 (_selection_changed_cb), (_create_new_column),
5545 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5546 (hildon_touch_selector_append_text_column),
5547 (hildon_touch_selector_remove_column),
5548 (hildon_touch_selector_set_column_attributes),
5549 (hildon_touch_selector_insert_column),
5550 (hildon_touch_selector_get_num_columns),
5551 (hildon_touch_selector_get_column_selection_mode),
5552 (hildon_touch_selector_set_column_selection_mode),
5553 (hildon_touch_selector_set_print_func),
5554 (hildon_touch_selector_get_print_func),
5555 (hildon_touch_selector_get_active_iter),
5556 (hildon_touch_selector_set_active_iter),
5557 (hildon_touch_selector_get_selected_rows),
5558 (hildon_touch_selector_get_model),
5559 (hildon_touch_selector_set_model),
5560 (hildon_touch_selector_get_current_text),
5561 (_hildon_touch_selector_center_on_selected_items):
5562 * src/hildon-touch-selector.h: Renamed from
5563 hildon-touch-picker.[ch]
5565 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5566 references, code examples, and related documentation.
5568 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5570 * doc/hildon-docs.sgml
5573 * src/hildon-toggle-button.c
5574 * src/hildon-toggle-button.h
5575 * src/hildon.h: New HildonToggleButton widget.
5577 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5579 * src/hildon-button.c: Add API documentation.
5580 (hildon_button_set_size_groups): Check input parameters
5582 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5584 * src/hildon-pannable-area.c
5585 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5586 effect after reaching the movement thredshold. This way we start
5587 using the distance after passing the thredshold.
5589 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5591 * src/hildon-button.c: (hildon_button_set_property): Use the
5592 appropriate g_value_get_flags() method.
5594 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5596 * doc/hildon-docs.sgml:
5599 Add the touch pickers, picker dialogs, and picker button widgets
5600 to the documentation.
5602 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5604 * src/hildon-button.c: (hildon_button_set_property),
5605 (hildon_button_class_init): Make "arrangement-flags" a proper
5606 G_TYPE_FLAGS derived property.
5608 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5610 * examples/Makefile.am: Add below examples.
5611 * examples/hildon-date-button-example.c:
5612 * examples/hildon-picker-button-example.c:
5613 * examples/hildon-picker-button-multicolumn-example.c:
5614 * examples/hildon-time-button-example.c:
5615 * examples/hildon-touch-picker-example.c:
5617 Add examples for the recently added touch pickers,
5618 picker dialogs, and picker button widgets.
5620 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5622 * src/hildon-button.c: Add some API documentation
5624 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5626 * src/hildon-button.h
5627 * src/hildon-button.c
5629 (hildon_button_new_with_text): New constructor to create a button
5630 with no text at all.
5631 (hildon_button_init, hildon_button_set_arrangement)
5632 (hildon_button_set_title, hildon_button_set_value)
5633 (hildon_button_set_text)
5634 (hildon_button_construct_child): Hide the value when it's not used
5635 so the rest of the text is properly aligned.
5636 Allow creating buttons with arbitrary widgets inside (not just
5637 title/value labels).
5639 * examples/hildon-button-example.c (vertical_buttons_window)
5640 (horizontal_buttons_window): Update example to use new API.
5642 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5644 * src/Makefile.am: Added HildonTimeButton.
5645 * src/hildon-time-button.c: Added missing LGPL header.
5646 * src/hildon-time-button.h: Added missing LGPL header.
5647 * src/hildon.h: Add hildon-time-button.h
5649 Copied HildonTimeButton from sandbox to trunk. Future work on this
5650 widget must take place in trunk.
5652 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5654 * src/Makefile.am: Added HildonDateButton.
5655 * src/hildon-date-button.c: Update includes.
5656 * src/hildon.h: Add hildon-date-button.h
5658 Copied HildonDateButton from sandbox to trunk. Future work on this
5659 widget must take place in trunk.
5661 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5663 * src/Makefile.am: Added HildonPickerButton.
5664 * src/hildon-picker-button.h: Update includes.
5665 * src/hildon.h: Add hildon-picker-button.h
5667 Copied HildonPickerButton from sandbox to trunk. Future work on
5668 this widget must take place in trunk.
5670 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5672 * src/Makefile.am: Added HildonPickerDialog.
5673 * src/hildon-picker-dialog.c: Update includes.
5674 * src/hildon.h: Add hildon-picker-dialog.h
5676 Copied HildonPickerDialog from sandbox to trunk. Future work
5677 on this widget must take place in trunk.
5679 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5681 * src/Makefile.am: Added HildonTimeSelector.
5682 * src/hildon.h: Add hildon-time-selector.h
5684 Copied HildonTimeSelector widget from sandbox to trunk. Future
5685 work on this widget must happen in trunk.
5687 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5689 * src/Makefile.am: Added HildonDateSelector.
5690 * src/hildon.h: Add hildon-date-selector.h
5692 Copied HildonDateSelector widget from sandbox to trunk. Future
5693 work on this widget must happen in trunk.
5695 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5697 * src/Makefile.am: Added HildonTouchPicker.
5698 * src/hildon-touch-picker.c: Update includes.
5699 * src/hildon.h: Add hildon-touch-picker.h
5701 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5702 on this widget must happen in trunk.
5704 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5706 * src/hildon-pannable-area.c:
5707 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5709 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5711 * examples/hildon-app-menu-example.c (main): Let the window
5714 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5716 * src/hildon-pannable-area.c
5717 (hildon_pannable_area_class_init): Set the min value of the
5718 overshoot properties to zero, which points out that not
5719 overshooting allowed.
5721 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5723 Modified the procedure to get the widget at a point inside the
5724 pannable area when using the movement type signals. Now the user
5725 has to call a function to get the child, that way we just
5726 calculate the child in case the user really want to use it and not
5729 * src/hildon-marshalers.list: Modified the marshallers, now we do
5730 not have the widget as a parameter.
5732 * src/hildon-pannable-area.c
5733 (hildon_pannable_area_motion_notify_cb),
5734 (hildon_pannable_area_class_init),
5735 (hildon_pannable_get_child_widget_at): Removed the widget
5736 parameter from the signal callback. We have also refactored the
5737 emission of the signals.
5739 * src/hildon-pannable-area.h: Added a new method to the API to
5740 calculate a widget at a point inside the pannable area,
5741 hildon_pannable_get_child_widget_at.
5743 * examples/hildon-pannable-area-example-4.c
5744 (horizontal_movement): Modified the example to use the new API,
5745 added condition to control which widget is under the event. This
5746 way we can avoid scrolling laterally over other widgets.
5748 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5750 * src/hildon-pannable-area.c
5751 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5752 modes, we stop getting the pointer events due to returning the
5753 callback without properly calling the get pointer again. Fixed
5754 also an error using the hscroll and vscroll.
5756 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5758 * src/hildon-app-menu-private.h
5759 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5760 (hildon_app_menu_button_release, hildon_app_menu_init)
5761 (hildon_app_menu_class_init): Don't hide the menu on button
5762 release if the user didn't press outside first.
5764 * src/hildon-window.h
5765 * src/hildon-window.c (hildon_window_toggle_menu)
5766 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5767 hildon_window_toggle_menu a virtual function for the stackable
5768 window to override it.
5770 * src/hildon-stackable-window.h
5771 * src/hildon-stackable-window-private.h
5772 * src/hildon-stackable-window.c
5773 (hildon_stackable_window_realize)
5774 (hildon_stackable_window_finalize)
5775 (hildon_stackable_window_class_init)
5776 (hildon_stackable_window_init)
5777 (hildon_stackable_window_set_main_menu): New function to set the
5778 app menu of a HildonStackableWindow.
5780 * examples/hildon-app-menu-example.c: Remove the button to show
5781 the app menu, now it'll be shown when clicking on the title bar
5784 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5786 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5787 set the widget name if the arrangement flags do not specify
5790 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5792 * src/hildon-button.c: (hildon_button_set_property),
5793 (hildon_button_class_init), (hildon_button_new_full),
5794 (hildon_button_set_arrangement): Added "arrangement-flags"
5797 Make the HildonButtonFlags a construction-only property, to allow
5798 subclasses to set them properly.
5800 2008-07-21 Tim Janik <timj@imendio.com>
5802 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5803 insertion position after backspace, so additional digits are appended,
5806 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5808 * src/hildon-pannable-area.c,
5809 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5810 TODO list, it was complete and removed the g_debug and g_print
5813 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5815 Added the movement modes to the hildon-pannable-area, with this
5816 modes the developers can control in which directions the widget
5817 can scroll. They can also connect to signals in order to do
5818 something when that happens, allowing applications scroll. There
5819 is an example uploaded showing how to use it.
5821 * examples/Makefile.am:
5822 * examples/hildon-pannable-area-example-4.c: Added this example of
5823 an application using the modes.
5825 * src/hildon-marshalers.list: Added a new marshaller for the new
5828 * src/hildon-pannable-area.h: Added new enumerations and flags in
5829 order to control the movement modes and the new signals to warn
5830 about the movements in the area.
5832 * src/hildon-pannable-area.c:
5833 (hildon_pannable_axis_scroll),
5834 (hildon_pannable_area_scroll),
5835 (hildon_pannable_area_motion_notify_cb),
5836 (hildon_pannable_area_get_property),
5837 (hildon_pannable_area_set_property),
5838 (hildon_pannable_area_map),
5839 (hildon_pannable_area_class_init),
5840 (hildon_pannable_area_init),
5841 (hildon_pannable_area_jump_to): Added the modes to control the
5842 movement in the widget. We have added properties to control it,
5843 signals to warn about the movements and refactored some code.
5845 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5847 Changes required in order to allow vfast_factor set to zero to
5850 * src/hildon-pannable-area.c:
5851 (hildon_pannable_area_button_press_cb): Changed the condition, it
5852 is required for not allowing click when vfast_factor is zero.
5853 (hildon_pannable_area_timeout): Initialized velocity variables
5854 when we stop moving, it was less than 1 but not zero and we need
5855 to check zero in some situations.
5856 (hildon_pannable_area_class_init): Changed the default value of
5857 the speed factor, now the button_press is just sent in case the
5858 speed is 2 per cent of the max speed.
5859 (hildon_pannable_area_init): Initialization with 0.
5861 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5863 * src/hildon-pannable-area.c,
5864 (hildon_pannable_area_get_topmost): replaced
5865 gdk_window_get_children with gdk_window_peek_children, this way we
5866 do not have to free the list because it is not a copy.
5868 (hildon_pannable_axis_scroll),
5869 (hildon_pannable_area_scroll),
5870 (hildon_pannable_area_timeout),
5871 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5872 two parameters that were only used inside the
5873 hildon_pannable_area_scroll function.
5875 * examples/hildon-pannable-area-example.c,
5876 (get_sawtooth_label): Fixed small memory leak.
5878 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5880 More checks for the case where the overshoot is bigger than the
5883 * src/hildon-pannable-area.c:
5884 (hildon_pannable_draw_vscroll),
5885 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5886 to draw the slider of the scrollbar under the other scrollbar.
5887 (hildon_pannable_area_expose_event): added new checks to control
5888 the drawing of the overshooting area rectangle, in case it is too
5889 big for the area of the widget.
5890 (hildon_pannable_area_size_allocate): add more checks to avoid
5891 setting a position to the child widget outside the area.
5893 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5895 * src/hildon-pannable-area.c
5896 (hildon_pannable_area_size_allocate): Added conditions to control
5897 when overshooting is bigger than the allocated space for the
5898 children, this avoids negative allocations.
5900 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5902 * doc/hildon-docs.sgml
5904 * examples/Makefile.am
5905 * examples/hildon-button-example.c
5907 * src/hildon-button.c
5908 * src/hildon-button.h
5909 * src/hildon.h: Initial version of the new HildonButton widget,
5912 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5914 * src/hildon-pannable-area.c:
5915 (hildon_pannable_area_button_press_cb),
5916 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5917 (hildon_pannable_area_motion_notify_cb),
5918 (hildon_pannable_area_button_release_cb),
5919 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5920 (hildon_pannable_area_jump_to_child):
5922 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5924 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5926 * examples/Makefile.am
5927 * examples/hildon-pannable-area-touch-grid-example.c
5928 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5929 the Hildon Touch List and Hildon Touch Grid using the
5930 HildonPannableArea widget.
5932 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5934 * src/hildon-pannable-area.c,
5935 (hildon_pannable_area_button_press_cb),
5936 (hildon_pannable_area_refresh),
5937 (hildon_pannable_area_scroll),
5938 (hildon_pannable_area_motion_notify_cb),
5939 (hildon_pannable_area_button_release_cb),
5940 (hildon_pannable_area_expose_event),
5941 (hildon_pannable_area_add),
5942 (hildon_pannable_area_remove),
5943 (hildon_pannable_area_realize),
5944 (hildon_pannable_area_size_allocate),
5945 (hildon_pannable_area_class_init),
5946 (hildon_pannable_area_init),
5947 (hildon_pannable_area_scroll_to_child),
5948 (hildon_pannable_area_jump_to_child): Fixed the problem of
5949 removing the child from the GtkBin, we have rearranged the widget
5950 hierarchy, now there is no GtkAlignment which was not doing
5951 anything interesting but breaking some of the assumptions of
5952 GtkContainer. Now developers if they want to add a GtkAlignment
5953 they could, but it is not inside the area.
5955 We had to review the whole allocation/expose process, now it is
5956 improved and we save at least three signals which would be saving
5957 some time when rendering the widget. The allocation of the
5958 scrollbars is now made in the allocate method as usual.
5960 We have also added some conditions in order to control when there
5961 is no child of the pannable area. Maybe we will need more work
5964 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5966 * src/hildon-pannable-area.c,
5967 (hildon_pannable_area_dispose): Released the fade-out timeout when
5968 disposing the widget.
5970 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5972 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5973 zero, we are going to use that property in order to deactivate the
5975 (hildon_pannable_axis_scroll),
5976 (hildon_pannable_area_size_allocate): Added conditions to control
5977 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5978 call, now it is called in all situations and we can remove calls
5979 in the allocate method.
5980 (hildon_pannable_area_map): Control the situation when
5981 overshoot_max is zero, we do not need the timeout.
5982 (hildon_pannable_area_class_init): Added documentation in order to
5983 point out that setting zero to overshoot_max means deactivate
5986 NOTE: removed trailing whitespaces from my previous comments of
5989 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5991 * src/hildon-pannable-area.c
5992 (hildon_pannable_area_get_property),
5993 (hildon_pannable_area_set_property),
5994 (hildon_pannable_area_map),
5995 (hildon_pannable_area_class_init),
5996 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5997 to cause the widget give a hint about its panning abilities upon
6000 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6002 * src/hildon-pannable-area.c: Several documentation improvements.
6004 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6006 * src/hildon-program.c
6007 * src/hildon-stackable-window.c: Update documentation.
6009 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6011 * src/hildon-stackable-window.c (get_previous_window_if_last):
6012 Renamed get_last_window()
6013 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6014 (hildon_stackable_window_unset_program):
6016 (get_previous_window_if_last):
6017 Detect if the window hasn't been added to a HildonProgram.
6019 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6021 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6023 * src/hildon-pannable-area.c
6024 (hildon_pannable_area_button_press_cb),
6025 (hildon_pannable_axis_scroll),
6026 (hildon_pannable_area_scroll),
6027 (hildon_pannable_area_timeout),
6028 (hildon_pannable_calculate_vel_factor),
6029 (hildon_pannable_area_get_property),
6030 (hildon_pannable_area_set_property),
6031 (hildon_pannable_area_class_init),
6032 (hildon_pannable_area_init),
6033 (hildon_pannable_area_scroll_to),
6034 (hildon_pannable_area_jump_to),
6035 (hildon_pannable_area_scroll_to_child),
6036 (hildon_pannable_area_jump_to_child):
6037 * src/hildon-pannable-area.h: Added the new API functions:
6038 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6039 hildon_pannable_area_scroll_to_child,
6040 hildon_pannable_area_jump_to_child
6043 * examples/Makefile.am
6044 * examples/hildon-pannable-area-example-2.c
6045 * examples/hildon-pannable-area-example-3.c: Added these two new
6046 examples in order to test and show how the new APIs work.
6048 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6050 * examples/hildon-stackable-window-example.c (new_window):
6051 * src/Makefile.am (noinst_HEADERS):
6052 * src/hildon-program.c (hildon_program_go_to_root_window):
6053 * src/hildon-program.h:
6054 * src/hildon-stackable-window-private.h:
6055 * src/hildon-stackable-window.c:
6056 * src/hildon-stackable-window.h:
6057 Create hildon-stackable-window-private.h
6058 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6060 * examples/hildon-app-menu-example.c (create_menu):
6061 * examples/hildon-hvolumebar-insensitive-example.c (main):
6062 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6063 * examples/hildon-toolbar-seekbar-example.c (main):
6064 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6065 * src/hildon-banner.c (hildon_banner_set_property):
6066 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6067 Fix compilation warnings
6069 * src/hildon-window.c:
6072 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6074 * src/hildon-stackable-window.c
6075 (hildon_stackable_window_unset_program):
6076 Calculate correctly whether to show the previous window if the
6077 last one is removed from the stack.
6078 (hildon_stackable_window_go_to_root_window):
6079 Send delete events starting from the topmost window.
6080 Stop if one of the windows is not destroyed.
6082 (hildon_stackable_window_delete_event)
6083 (hildon_stackable_window_class_init):
6084 Ignore the delete event if the window is not the topmost one.
6086 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6088 * src/hildon-pannable-area.c
6089 (hildon_pannable_area_expose_event): Fixed a problem when
6090 selecting the background color of the scrollbars.
6092 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6094 * examples/hildon-stackable-window-example.c
6095 * src/hildon-stackable-window.c
6096 * src/hildon-stackable-window.h
6097 hildon_stackable_window_go_home() renamed to
6098 hildon_stackable_window_go_to_root_window()
6099 Send delete events to windows rather than closing them with
6100 gtk_widget_destroy()
6102 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6104 * src/hildon-pannable-area.c
6105 (hildon_pannable_area_button_release_cb): Fix overshooting in
6108 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6110 * src/hildon-pannable-area.c
6111 (hildon_pannable_area_init): Initially show the scroll indicators.
6112 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6114 Add initial effect showing the widget is pannable.
6116 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6118 * src/hildon-pannable-area.c
6119 (hildon_pannable_area_class_init)
6120 (hildon_pannable_area_set_property)
6121 (hildon_pannable_area_get_property)
6122 (hildon_pannable_area_button_press_cb):
6123 New 'velocity_fast_factor' property to decide which velocity is
6126 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6128 * src/hildon-pannable-area.c
6129 (hildon_pannable_draw_hscroll)
6130 (hildon_pannable_draw_vscroll):
6131 Use float variables to calculate the size of the scrollbars to
6132 avoid error propagation and resizing during scrolling.
6134 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6136 * src/hildon-pannable-area.c
6137 (hildon_pannable_draw_vscroll)
6138 (hildon_pannable_draw_hscroll):
6139 Define a minimum size for the scroll bars
6141 * src/hildon-stackable-window.c
6142 (hildon_stackable_window_go_home): Fix compilation warning
6143 (get_last_window): Minor optimizations
6144 (hildon_stackable_window_class_init): Fix initialization of
6147 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6149 * src/hildon-stackable-window.c: Fixed typos in doc
6151 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6153 * src/hildon-pannable-area.c
6154 (hildon_pannable_area_scroll):
6155 Calculate here whether we need to scroll instead of using the booleans
6156 that tell us whether to /draw/ the scrolling bars.
6158 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6160 * src/hildon-app-menu.h
6162 * src/hildon-app-menu.c
6163 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6164 multiple filter groups related code and API. Now we support only
6166 * examples/hildon-app-menu-example.c:
6168 Update to reflect API changes.
6170 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6172 * src/hildon-stackable-window.c
6173 (hildon_stackable_window_class_init):
6174 Add hildon_stackable_window_realize.
6175 (hildon_stackable_window_realize):
6176 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6177 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6178 to apply theming and behavior specific to HildonStackableWindow
6181 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6183 * src/hildon-note.c (hildon_note_button_release):
6184 Close information notes also when tapping on them
6186 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6188 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6189 ELASTICITY, refactor and review, fix some issues with drawing
6192 * src/hildon-pannable-area.c:
6193 (hildon_pannable_area_button_press_cb): removed the conditions to
6194 avoid clicks when overshooting. It is not required
6196 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6197 define. Refatored and reviewed the code, now we do not need to
6198 manage velocity in motion_notify.
6200 (hildon_pannable_area_motion_notify_cb): We have moved the code
6201 that controls the area_scroll to the axis_scroll function and get
6202 rid of duplicated code.
6204 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6206 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6208 (hildon_pannable_draw_vscroll),
6209 (hildon_pannable_draw_hscroll): Fixed the problems with the
6210 scrollbar drawing, now we do not use two surfaces, it is easier
6211 and saves resources.
6213 (hildon_pannable_area_get_property): Style modification.
6215 (hildon_pannable_area_class_init): Changed some default values.
6217 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6219 * src/hildon-stackable-window.c: Fix some typos in the
6222 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6224 * src/hildon-dialog.c:
6225 Change indentation style
6228 (hildon_note_button_release):
6229 Use root coordinates to check if the release event happened
6232 * src/hildon-app-menu.c
6233 (hildon_app_menu_button_release):
6234 Remove unnecessary check
6236 * examples/hildon-app-menu-example.c
6238 Add cast to fix warning
6240 * src/hildon-app-menu.c
6241 (hildon_app_menu_class_init):
6242 New inner-border style property.
6243 Set all default spacings to 16
6244 (hildon_app_menu_init):
6245 Use vertical-spacing to set the space between filter buttons and
6246 regular menu buttons.
6247 Set the default container border using the inner-border value.
6249 * examples/hildon-app-menu-example.c
6251 Don't set the menu border explicitly, now we have the inner-border
6252 style property for that.
6254 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6256 * src/hildon-app-menu.c (hildon_app_menu_init):
6257 Make the window modal
6259 * src/hildon-note.c (hildon_note_map)
6260 * src/hildon-app-menu.c (hildon_app_menu_map):
6261 Destroy the grab window if we're unable to grab the pointer
6263 * src/hildon-app-menu-private.h
6264 * src/hildon-app-menu.c
6265 (hildon_app_menu_init, hildon_app_menu_finalize)
6266 (hildon_app_menu_map, hildon_app_menu_unmap)
6267 (hildon_app_menu_button_release)
6268 (grab_transfer_window_get):
6269 Bring back the grab window
6270 (hildon_app_menu_realize):
6271 Decorate the window, set WM hint for Matchbox
6273 * src/hildon-note.c (hildon_note_realize):
6274 * src/hildon-banner.c (hildon_banner_realize):
6275 Add WM hints for Matchbox
6277 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6279 * src/hildon-app-menu-private.h
6280 * src/hildon-app-menu.c
6281 (hildon_app_menu_init, hildon_app_menu_finalize)
6282 (hildon_app_menu_map, hildon_app_menu_unmap)
6283 (hildon_app_menu_button_release):
6284 Remove the grab window, it's not needed anymore
6286 * src/hildon-program.c
6287 Fixed typo in documentation
6289 * src/hildon-app-menu.h
6290 * src/hildon-app-menu.c
6291 * examples/hildon-app-menu-example.c
6292 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6294 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6297 Added new transfer_window and close_if_pressed_outside private
6299 (hildon_note_rebuild):
6300 Don't add a cancel button to the information note. It will be
6301 closed when tapping outside
6302 Remove the comment about the OK button in the documentation
6303 (hildon_note_realize):
6304 Set the notification type hint
6305 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6306 Grab/ungrab pointer and keyboard if the note has to be closed when
6308 (hildon_note_button_release):
6309 Close the note when tapping outside (if applicable)
6311 * src/hildon-app-menu.c
6312 Grab/ungrab pointer and keyboard on map/unmap
6313 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6314 Close the menu on button release, not button press
6316 * src/hildon-banner.c
6317 (hildon_banner_set_property)
6318 (hildon_banner_check_position):
6319 Make the banner use the full width of the screen
6320 (hildon_banner_show_information)
6321 (hildon_banner_show_information_with_markup):
6322 Don't display an icon by default
6324 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6326 Added fading scrollbars and adapted all the overshooting code to
6327 horizontal scrolling. We have also fixed bugs with overshooting
6328 and current fading implementation.
6330 * src/hildon-pannable-area.c
6331 (hildon_pannable_area_scroll_indicator_fade): Time out function
6332 used to change the transparency of the scrollbars.
6334 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6335 control and fixed a problem with fading, we now remove the fade
6336 timeout before adding a new one.
6338 (hildon_pannable_axis_scroll):
6339 (hildon_pannable_area_scroll):
6340 (hildon_pannable_area_timeout): Added this functions so we can use
6341 the scroll code both for vertical and horizontal.
6343 (hildon_pannable_area_motion_notify_cb):
6344 (hildon_pannable_area_button_release_cb): Added the horizontal
6345 scrolling control, fixed a problem with the overshooting timeout.
6347 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6348 painting of the scrolls.
6350 (hildon_pannable_draw_vscroll):
6351 (hildon_pannable_draw_hscroll):
6352 (hildon_pannable_area_expose_event):
6353 Draw both scrollbars and rectangles in the overshooting area.
6355 (hildon_pannable_area_get_property):
6356 (hildon_pannable_area_set_property):
6357 Modified the overshoot property to overshoot_max
6359 (hildon_pannable_area_map):
6360 Replaced the comments symbols.
6362 (hildon_pannable_area_size_allocate):
6363 (hildon_pannable_area_class_init):
6364 (hildon_pannable_area_init): Added horizontal scroll, fading
6365 effect properties, fixed a problem when overshooting in the bottom
6368 * examples/hildon-pannable-area-example.c:
6369 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6370 looks better in the example.
6372 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6374 * src/hildon-window.c
6375 * src/hildon-window.h
6376 (hildon_window_class_init)
6377 (hildon_window_unset_program)
6378 (hildon_window_unset_program_real):
6379 Make unset_program a virtual function
6381 * src/hildon-stackable-window.c
6382 * src/hildon-stackable-window.h
6383 Added hildon_stackable_window_go_home()
6385 * examples/Makefile.am
6386 * examples/hildon-stackable-window-example.c
6387 HildonStackableWindow example
6389 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6391 * hildon-pannable-area.c: Added the overshoot property and removed
6392 the OVERSHOOT define. Fixed an indent style error.
6393 (hildon_pannable_area_motion_notify_cb):
6394 (hildon_pannable_area_get_property):
6395 (hildon_pannable_area_set_property): Add overshoot property.
6397 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6400 (hildon_pannable_area_class_init): Installed the new property.
6402 * hildon-pannable-area-example.c: Added a sawtooth function, this
6403 way it is easier to check the movement in the pannable.
6404 (get_sawtooth_label): Added this function.
6405 (main): Now we get the labels from the new get_sawtooth_label
6408 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6410 * src/hildon-app-menu.h
6411 * src/hildon-app-menu.c
6412 Renamed API variables for consistency
6414 (hildon_app_menu_popup): Use also the default window size to
6415 decide where to place the menu
6417 (hildon_app_menu_init, hildon_app_menu_class_init): New
6418 external-border style property
6420 2008-05-26 Michael Natterer <mitch@imendio.com>
6422 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6423 widget_class->tap_and_hold_setup signal slot doesn't exist any
6424 longer, stop overriding it.
6426 (hildon_time_editor_init): g_signal_connect() to the
6427 tap-and-hold-setup signal instead.
6429 (hildon_time_editor_entry_keypress): add cast to fix warning.
6431 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6433 * doc/hildon-docs.sgml
6435 * examples/Makefile.am
6436 * examples/hildon-app-menu-example.c
6438 * src/hildon-app-menu-private.h
6439 * src/hildon-app-menu.c
6440 * src/hildon-app-menu.h
6442 New HildonAppMenu widget
6444 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6446 Rearranged the inheritance of the pannable area, now it inherits
6447 from GtkBin. This will allow us to control the event_window and
6448 the allocation process of the widget, required for some effects.
6450 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6451 GtkBin structures. * src/hildon-pannable-area.c: Added the
6452 event_window variable.
6453 (hildon_pannable_area_button_press_cb):
6454 (hildon_pannable_area_button_release_cb):
6455 (hildon_pannable_area_motion_notify_cb):
6456 Changed the signature of the method, now we override the event
6457 callback instead of connecting to the signal.
6459 (hildon_pannable_area_realize):
6460 (hildon_pannable_area_unrealize):
6461 (hildon_pannable_area_map):
6462 (hildon_pannable_area_unmap):
6463 (hildon_pannable_area_size_allocate):
6464 Added functions to control the widget construction. We add a
6465 INPUT_ONLY window and we put it over the widgets inside the
6466 container, this event_window handles the events.
6468 (hildon_pannable_area_class_init):
6469 Replaced the signal connections with overrides of the event
6472 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6474 Bouncing effect added when touching the borders, you can change
6475 the elasticity of the border changing the ELASTICITY define.
6477 * src/hildon-pannable-area.c: Added ELASTICITY define.
6478 (hildon_pannable_area_timeout): Added inverse velocity when
6479 touching the border of the child widget, that causes a bounce.
6481 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6483 Improved performance, we now do not go to the X server in order to
6484 get the list of window children. Apparently the effect is the
6485 same, we have to be careful and check if this breaks something in
6488 * src/hildon-pannable-area.c:
6489 (get_ordered_children): Removed this function.
6490 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6491 the children windows function with gdk_window_get_children.
6493 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6495 * src/hildon-pannable-area.c:
6496 (hildon_pannable_area_dispose): Fixed a crash when closing the
6497 window and kinetics is activated.
6499 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6501 * src/hildon-pannable-area.h
6502 * src/hildon-pannable-area.c
6503 Changed indentation style to meet the one used in Hildon
6505 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6507 Reviewed the interaction of the AUTO mode, now we use the time
6508 attribute of the events and calculate the velocity in the motion,
6509 doing a gimp like calculation. The velocity is calculated in each
6510 motion event using the last velocity and the current one, the
6511 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6513 * src/hildon-pannable-area.c: Replaced the time based algorithm
6515 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6516 timeout for the AUTO mode when we are still moving the cursor. We
6517 added also the velocity calculation in this function.
6518 (hildon_pannable_area_button_release_cb): launch the timeout in
6519 case we are in AUTO mode. There are still some constants here that
6520 come from the old implementation that should be reviewed and
6523 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6525 * doc/hildon-docs.sgml
6528 * src/hildon-stackable-window.c
6529 * src/hildon-stackable-window.h
6531 New HildonStackableWindow widget
6533 * examples/hildon-dialog-example.c
6534 * examples/hildon-pannable-area-example.c
6537 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6539 * src/hildon-dialog.c
6540 (hildon_dialog_new_with_buttons): New constructor.
6542 * examples/hildon-dialog-example.c
6543 (main): Update the example to use the new
6544 hildon_dialog_new_with_buttons().
6546 * examples/hildon-pannable-area-example.c
6547 (main): Update example.
6549 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6551 * doc/hildon-docs.sgml
6553 Added HildonPannableArea to the documentation.
6555 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6557 * doc/visual_index.xml
6558 Fix reference to HildonLoginDialog in documentation
6560 * doc/hildon-docs.sgml
6562 * examples/Makefile.am
6563 * examples/hildon-dialog-example.c
6565 * src/hildon-dialog.c
6566 * src/hildon-dialog.h
6568 New HildonDialog widget.
6570 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6572 * src/hildon-pannable-area.c
6573 Merge latest changes (r4318, r4342) from libmokoui trunk
6575 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6577 * examples/Makefile.am
6578 * examples/hildon-pannable-area-example.c
6580 * src/hildon-pannable-area.c
6581 * src/hildon-pannable-area.h
6583 New HildonPannableArea widget.
6585 2008-04-15 18:05:19 <timj@imendio.com>
6587 * src/hildon-banner.c: revert the recent change, that introduced
6588 gtk_window_present() calls. this reopens:
6589 Bug 78481 - [freetest] information banners are hidden under browser menu
6590 But resolves another variant of:
6591 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6593 2008-04-15 13:21:13 <timj@imendio.com>
6595 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6596 recreated its layout, spotted by Kris. this fixes all remaining
6597 artefacts and stability issues with the banner code. in particular:
6598 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6600 2008-04-14 16:52:59 <timj@imendio.com>
6602 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6603 operating on unrealized widgets, fixes:
6604 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6606 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6608 2008-04-09 Kristian Rietveld <kris@imendio.com>
6610 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6611 makes banner disappear.
6612 Fixes: NB#79182: info banner flickering with certain message lengts.
6614 * src/hildon-banner.c (hildon_banner_constructor),
6615 (hildon_banner_init), (hildon_banner_set_text),
6616 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6617 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6618 FALSE, reset size requests of label and banner,
6619 (force_to_wrap_truncated): when the text is too wide, always enforce
6620 the maximum possible width instead of recalculating it from the
6621 layout; enforce the maximum banner height of 3 lines,
6622 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6623 nicer wrapping and no truncated chars if space gets tight.
6625 * src/hildon-banner-private.h: add has_been_wrapped and
6626 has_been_truncated fields.
6628 2008-04-07 Sven Herzberg <sven@imendio.com>
6630 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6631 local values in hildon_date_editor_size_allocate
6633 * src/hildon-date-editor.c: moved the real allocation code into the
6636 2008-04-07 Sven Herzberg <sven@imendio.com>
6638 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6639 local values in hildon_date_editor_size_allocate
6641 * src/hildon-date-editor.c: merged the two if() branches together
6643 2008-04-07 Sven Herzberg <sven@imendio.com>
6645 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6646 local values in hildon_date_editor_size_allocate
6648 * src/hildon-date-editor.c: changed the arguments of the if()
6651 2008-04-07 Sven Herzberg <sven@imendio.com>
6653 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6654 local values in hildon_date_editor_size_allocate
6656 * src/hildon-date-editor.c: split the calculation of the allocation
6657 from the real allocation
6659 2008-03-27 Michael Natterer <mitch@imendio.com>
6661 Fixes: NB#81696: The passcode is not overwritten even after
6664 * src/hildon-code-dialog.c
6665 (hildon_code_dialog_button_clicked)
6666 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6667 because that doesn't overwrite selected text. Instead, emit the
6668 "commit" signal on the entry's im_context so the entry's normal
6669 insert logic is triggered. Set the cursor to the end of the entry
6670 after each insert operation so that we *only* insert in the middle
6671 of the text if something was selected.
6673 2008-03-27 Michael Natterer <mitch@imendio.com>
6675 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6676 selector cannot be opened
6678 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6679 when the popup color selector is created. Please connect to this
6680 signal in order to set the dialog's help ID.
6682 2008-03-25 Sven Herzberg <sven@imendio.com>
6684 Fixes: MB#1212: Hide info banners (infoprints) on click
6686 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6687 extracted the close event simulation into an extra function
6688 (hildon_banner_button_press_event): simulate a close event and destroy
6689 the widget if the event wasn't handled
6690 (hildon_banner_class_init): added the button_press_event handler
6691 (hildon_banner_init): added button-press events to the widget
6693 2008-03-25 Sven Herzberg <sven@imendio.com>
6695 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6696 Patch from: Mohammad Anwari <mdamt@maemo.org>
6698 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6699 instead of the right in RTL mode
6700 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6701 breadcrumb button list in RTL mode
6702 * src/hildon-caption.c: mirror the appearance of the caption widget in
6704 * src/hildon-date-editor.c: mirror appearance of the date editor in
6706 * src/hildon-time-editor.c: mirror appearance of the time editor in
6708 * src/hildon-window.c: fix the position of the popup in RTL mode
6710 2008-03-25 Sven Herzberg <sven@imendio.com>
6712 Amendment to the fix of NB#22072. Fix compilation.
6714 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6716 2008-03-19 Sven Herzberg <sven@imendio.com>
6718 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6721 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6722 timeout id properly when the timeout will disappear this leaves no
6723 artifacts around in the destroy(); there will only be the timeout
6724 created by hildon_banner_ensure_timeout() and adding a new timeout
6725 will also work if the timeout gets removed because the timeout_handler
6728 2008-03-19 Michael Natterer <mitch@imendio.com>
6730 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6732 * src/hildon-volumebar.c
6733 * src/hildon-vvolumebar.c
6734 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6735 the widget becomes focussable at all.
6737 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6738 set the focus to wither the mute button or the volumebar.
6740 Remove own "can-focus" property and instead listen to
6741 notify::can-focus in order to update the widget's state.
6743 Implement GtkWidget::focus() and make sure we can also *leave* the
6744 widget, not only enter it, depending on volumebar orientation and
6745 requested focus direction.
6747 Clean up set_mute() to cooperate nicely with all the above.
6749 2008-03-04 Michael Natterer <mitch@imendio.com>
6751 Fixes: NB#78481: information banners are hidden under browser menu
6753 * src/hildon-banner.c: call gtk_window_present() on the banners so
6754 they are risen if they are already visible.
6756 2008-03-03 Sven Herzberg <sven@imendio.com>
6758 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6760 * examples/hildon-window-menu-example.c: (main): extended the window
6761 menu example to serve as a testcase for automatically added
6762 accelerator groups, too
6763 * src/hildon-window.c: (hildon_window_add_accel_group),
6764 (hildon_window_set_menu): added patch by Tommi Komulainen
6766 2008-03-03 Sven Herzberg <sven@imendio.com>
6768 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6770 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6771 knowledge about the border allocators used within GTK+
6773 2008-02-26 Sven Herzberg <sven@imendio.com>
6775 Fixes: MB#2981: Build with asserts broken
6777 * src/hildon-date-editor.c,
6778 * src/hildon-number-editor.c,
6779 * src/hildon-time-editor.c,
6780 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6781 the proper GType instance check
6783 2008-02-25 Sven Herzberg <sven@imendio.com>
6785 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6787 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6788 * examples/hildon-window-menu-example.c: (main): explicitly show
6790 * src/hildon-window.c:
6791 (hildon_window_set_main_menu): moved most of the code from set_menu()
6792 to this place; skipped the call to gtk_widget_show_all(); also didn't
6793 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6794 (hildon_window_set_menu): removed most of the code, just keep the
6795 questionable gtk_widget_show_all()
6796 * src/hildon-window.h: added the new function and deprecate the old
6799 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6805 * debian/changelog: Updating.
6807 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6810 * pkgconfig/Makefile.am:
6811 * pkgconfig/hildon.pc.in:
6814 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6815 use newly created API_MAJOR_VERSION.
6817 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6823 * debian/changelog: Updating.
6825 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6827 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6829 Add outer_border style property, we use it but don't define it (!).
6833 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6835 * examples/hildon-bread-crumb-trail-example.c (main):
6839 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6841 Fix logic for the bread crumb trail node removal.
6845 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6851 * debian/changelog: Updating.
6853 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6855 Patch by Alejandro to get/set passwords dialogs accesibility.
6857 * hildon-1/src/hildon-get-password-dialog.c:
6858 * hildon-1/src/hildon-set-password-dialog.c:
6859 Set atk_set_name to the passwd entries in order to allow
6860 accessibility by name on this entries.
6862 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6867 * debian/control: Updating gtk dep.
6869 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6871 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6872 USE_MAEMO_GTK is enabled.
6874 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6876 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6877 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6879 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6885 * debian/changelog: Updating.
6887 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6889 * examples/Makefile.am:
6890 * examples/hildon-logical-color-example.c:
6891 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6892 applied + adding a test case. Fixes: NB#71660.
6894 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6896 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6897 to be visible, fixes warning on map for windows without toolbars.
6899 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6901 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6902 2.11.0, add a check for that besides the MAEMO_GTK check.
6904 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6910 * debian/changelog: Updating.
6912 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6914 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6915 visibility. Fixes: NB#70842 and MB#615.
6917 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6919 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6920 set the separator as no-show-all so it doesn't unintentionally appear when
6921 someone does a show_all.
6923 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6925 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6926 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6927 toplevel item. Fixes: NB#62031
6929 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6931 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6932 fix the name of the function in the docs.
6934 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6940 * debian/changelog: Updating.
6942 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6944 * examples/hildon-banner-long-example.c: Adding a test-case for long
6947 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6949 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6951 * src/hildon-color-chooser-dialog.c:
6952 * src/hildon-color-chooser.c:
6953 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6954 memory leaks in font selector and color selector. Fixes: NB#70499 and
6957 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6959 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6961 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6963 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6964 little bit bigger. Fixes: #NB63694.
6966 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6972 * debian/changelog: Updating.
6974 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6977 * doc/hildon-docs.sgml:
6978 * doc/images/bread-crumb-trail.png:
6979 * doc/images/calendar-popup.png:
6980 * doc/images/caption.png:
6981 * doc/images/code-dialog.png:
6982 * doc/images/color-button.png:
6983 * doc/images/color-chooser-dialog.png:
6984 * doc/images/color-chooser.png:
6985 * doc/images/controlbar.png:
6986 * doc/images/date-editor.png:
6987 * doc/images/font-selection-dialog.png:
6988 * doc/images/get-password-dialog.png:
6989 * doc/images/hvolumebar.png:
6990 * doc/images/login-dialog.png:
6991 * doc/images/note.png:
6992 * doc/images/number-editor.png:
6993 * doc/images/range-editor.png:
6994 * doc/images/seekbar.png:
6995 * doc/images/set-password-dialog.png:
6996 * doc/images/sort-dialog.png:
6997 * doc/images/time-editor.png:
6998 * doc/images/time-picker.png:
6999 * doc/images/vvolumebar.png:
7000 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7001 Adding the bread-crumb-trial and helpers to the documentation.
7003 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7005 * examples/hildon-find-toolbar-example.c:
7006 * src/hildon-find-toolbar.c:
7007 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7008 actually continue firing the other handlers if connected. Adding a new
7010 hildon_find_toolbar_get_last_index that gets the index of the most
7011 recently added (last) item. Fixes: NB#52301.
7013 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7015 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7016 behaviour. Fixes: NB#68610.
7018 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7020 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7023 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7025 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7026 when realizing the banner. Should make the infonbanner effect a bit more
7029 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7031 * src/hildon-volumebar.c:
7032 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7033 hildon_volumebar_set_range_insensitive_message and
7034 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7036 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7038 * src/hildon-window.c: Fixing the border freeing on destroy.
7040 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7042 * src/hildon-code-dialog-private.h:
7043 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7044 kw keyboard support in HildonCodeDialog.
7046 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7052 * debian/changelog: Updating.
7054 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7056 * src/hildon-date-editor.c:
7057 * src/hildon-number-editor.c:
7058 * src/hildon-private.c:
7059 * src/hildon-private.h:
7060 * src/hildon-time-editor.c:
7061 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7062 handling in subclassed composite widgets. Fixes: NB#66628.
7064 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7066 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7067 from destroy_ callback as it introduces problems in async dbus signal
7068 handlers. Fixes NB#66673.
7070 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7072 * examples/hildon-hvolumebar-example.c:
7073 * src/hildon-volumebar.c: Improving the focus handling in the
7074 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7075 set_property accessor so that "mute" property can be actually set. I'm
7076 scared that nobody noticed it's totally broken.
7078 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7080 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7083 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7085 * src/hildon-calendar.c:
7086 * src/hildon-number-editor.c:
7087 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7088 matches the spec of 6 chars per second. Fixes: NB#60489.
7090 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7092 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7093 gtk_style_lookup_color sometime returns FALSE even though color was
7094 found and values were filled properly. Weird. Removing the warning for the
7097 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7099 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7100 expand vertically. Adding some extra space to the find toolbar buttons to
7101 make them thumbable. Fixes NB#66060.
7103 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7105 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7106 popup with "Ok" and "Cancel". Fixes NB#59299.
7108 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7110 * src/hildon-calendar.c: Process all window updates before executing next
7111 timeout. Fixes: NB#54146.
7113 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7119 * debian/changelog: Updating.
7121 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7123 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7124 the client event and ignore it, since we use the delete event to close
7127 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7129 * src/hildon-helper.c: Remove the bogus warning about color not being
7130 found. Fixes NB#58352.
7132 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7134 * examples/Makefile.am:
7135 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7136 HildonSeekbar widget inside a toolbar.
7138 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7140 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7141 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7142 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7143 don't want to be closed by non-temporary windows on map.
7145 Also use G_DEFINE_TYPE instead of manually typed code.
7147 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7154 * debian/rules: Updating.
7156 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7158 * examples/Makefile.am:
7159 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7160 bug NB#61128. Strangely it works.
7162 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7164 * src/hildon-date-editor.c: When the date editor entry has been changed
7165 but the numbers of characters < max, turn off the skip validation flag.
7166 Prevents a situation when we enter first a valid year and later re-write
7167 it with an invalid one. Fixes NB#60154.
7169 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7171 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7172 code dialog. Fixes NB#64355.
7174 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7176 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7177 switching the page. Fixes NB#49374.
7179 * examples/Makefile.am:
7180 * examples/hildon-wizard-dialog-example.c: Adding an example for
7181 HildonWizardDialog that shows how to handle manual sensitivity setting on
7184 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7188 * src/hildon-version.h.in:
7189 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7191 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7193 * src/hildon-volumebar.c: Updating the docs.
7195 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7201 * debian/changelog: Updating.
7203 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7205 * src/hildon-find-toolbar.c:
7206 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7207 selected item: hildon_find_toolbar_set_active,
7208 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7209 hildon_find_toolbar_get_active_iter . They correspond to respective
7210 GtkComboBox functions.
7212 * examples/Makefile.am:
7213 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7216 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7218 * examples/Makefile.am:
7219 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7222 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7223 when font size > 32 and we pack a focusable widget inside. Actually using
7224 the default response would work too, but since we don't show default
7225 response state in any way (no theming) it would not be visible to the
7226 user. Fixes NB#63430.
7228 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7230 * src/hildon-date-editor.c: Adding the missing variable setter in the
7231 set_property handler. Fixes NB#54182.
7233 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7235 * src/hildon-window.h: Changing the long key press time from 1500ms to
7236 800ms as requested in NB#63700. I have a bad feeling about this, let's
7237 see... Fixes NB#63700.
7239 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7241 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7242 hildon_time_picker_map, hildon_time_picker_realize,
7243 hildon_time_picker_style_set): Split the contents of map to more
7244 appropriate functions; set window decorations on realize and update
7245 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7247 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7252 * debian/changelog: Updating.
7254 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7256 * src/Makefile.am: fixed installation of the header files
7258 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7264 * debian/changelog: Updating.
7266 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7268 * configure.ac: Removing some remaining of --enable-xan.
7270 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7272 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7273 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7275 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7276 2.10.12-osso6 because the move-focus signal needs to be available in
7279 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7281 * examples/Makefile.am:
7282 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7283 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7284 fine. Prolly NB#61128 is fixed now.
7286 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7288 * src/hildon-volumebar.c:
7289 * src/hildon-volumebar.h: Adding the
7290 hildon_volumebar_set_range_insensitive_message and
7291 hildon_volumebar_set_range_insensitive_messagef functions to set
7292 insensitive message on the slider of the volumebar. Fixes NB#61129.
7294 * examples/Makefile.am:
7295 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7296 test the new insensitive messsage functionality on HildonVolumebar.
7298 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7300 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7303 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7305 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7306 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7307 button on after clearing the trail.
7309 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7311 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7313 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7315 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7316 by splitting the installed headers in generated and non-generated groups. Use
7317 only the non-generated headers to create the hildon-enum-types.h file.
7319 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7321 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7323 * src/hildon-window.c: Hide the window before performing the destroy.
7324 Should make the app closing a little tiny bit more snappy.
7326 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7328 * src/hildon-seekbar.c: add gtkrange.h header
7329 * src/hildon-caption.c: remove unused variable
7331 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7333 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7336 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7342 * debian/changelog: Updating.
7344 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7346 * src/hildon-window.c (hildon_window_window_state_event,
7347 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7348 escape timeout on focus-out-event rather than notify::is-topmost; the
7349 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7351 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7353 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7354 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7356 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7358 * src/hildon-window: actually, you need to use the macro always, there's
7359 no private pointer in the instance structure. We should have cleaned this up
7360 when we had the chance...
7362 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7364 * src/hildon-window.c: do not get the private date from HildonWindow before
7365 it passes the g_return_if_fail check. Once it's passed the test, there's no
7366 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7367 if you are only going to access the data once. Whitespace cleanups.
7369 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7371 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7372 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7374 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7380 * debian/changelog: Updating.
7382 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7384 * src/hildon-window.c: When destroying the window, remove (if exists) the
7385 escape timeout handler. Fixes #NB59276.
7387 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7389 * src/hildon-banner.c: When realizing the widget, set the window
7390 transiency. Setting the transiency in the gobject constructor is not
7391 good, as the widget is not realized at that point. Fixes: #NB56624.
7393 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7395 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7396 Add padding for future expansions.
7398 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7400 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7401 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7402 will fake an activation on the previous to the last item of the trail, so
7403 the effect can be overrided by the developer as usual.
7404 Also change the callback for the back button to do the same thing, so its
7405 effect can be overrided too. Fixes: NB#58982
7407 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7410 HildonCaption. Fixes NB#52379.
7412 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7414 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7415 the internal state of the trail after the user has had the chance of executing
7416 his handler for the signal. Specifically, it may happen that the activated button
7417 is removed and the user still lets the default handler run. This would segfault
7420 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7422 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7423 scrollbar to the preview dialog. Fixes NB#54147.
7425 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7427 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7428 max/min year properties can be altered, so the client can modify it
7429 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7431 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7433 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7434 hildonlike by default. Fixing a problem with disappearing arrows when
7435 scrolling through months and years. Fixes NB#54127.
7437 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7439 * examples/hildon-date-editor-example.c: Adding error callback to the date
7442 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7448 * configure.ac: Updating.
7450 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7452 * configure.ac: Adding a special '--enable-xan' configure option that
7453 turns off the -Werror compilation setting. Usefull for development.
7455 * src/hildon-calendar.c:
7456 * src/hildon-number-editor.c:
7457 * src/hildon-time-picker.c: Adding the 5* multiplier to
7460 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7462 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7463 instead of g_object_ref + gtk_object_sink.
7465 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7471 * debian/changelog: Updating.
7473 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7475 * src/hildon-color-chooser-dialog.c:
7476 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7477 straight from Tommi labs.
7479 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7481 * examples/hildon-finger-example.c: Correcting the header file path.
7483 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7484 the changed signal. Fixes a small memory leak.
7486 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7490 * src/hildon-banner.c: Importing several usefull fixes from the
7491 ubuntu-mobile branch.
7493 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7495 * examples/Makefile.am:
7496 * examples/hildon-finger-example.c: Adding a finger-checking code
7499 * src/hildon-font-selection-dialog.c: Do not allocate the color
7500 structure using the g_new. Fixes NB#54061.
7502 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7504 * src/hildon-helper.c: Correcting tabs in file.
7506 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7508 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7509 control the visibility of the children.
7511 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7513 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7519 * debian/changelog: Updating.
7521 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7523 * src/hildon-bread-crumb-trail.c:
7524 (hildon_bread_crumb_trail_size_allocate):
7526 Make the back button always a square.
7528 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7530 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7531 from the .c file as it's a private file.
7533 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7535 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7536 uses slightly bigger height.
7538 * src/hildon-font-selection-dialog.c: Adding some checks before
7539 freeing memory in the font selection dialog.
7541 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7543 * src/hildon-font-selection-dialog.c: Adding a small check when
7546 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7547 buttons sensitivity on page switching.
7549 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7551 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7552 internal details of adding a bread crumb to the trail.
7554 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7560 * debian/changelog: Updating.
7562 * src/hildon-bread-crumb-trail.h:
7563 * src/hildon-bread-crumb.h: Changing the API guard to
7564 HILDON_ENABLE_UNSTABLE_API.
7566 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7574 * src/hildon-helper.h: Updating.
7576 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7584 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7588 * src/hildon-helper.h: Small fix to make the package actually compile.
7590 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7592 * src/hildon-bread-crumb-trail.h:
7593 * src/hildon-bread-crumb.h:
7595 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7596 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7598 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7600 * examples/hildon-bread-crumb-trail-example.c:
7602 * src/hildon-bread-crumb-trail.c:
7603 * src/hildon-bread-crumb-trail.h:
7604 * src/hildon-bread-crumb.c:
7605 * src/hildon-bread-crumb.h:
7606 * src/hildon-marshalers.list:
7607 * src/hildon-bread-crumb-widget.c:
7608 * src/hildon-bread-crumb-widget.h:
7610 Slight change in the widget design. The bread crumb trail API is
7611 unchanged, but HildonBreadCrumb is now an interface. A *private*
7612 implementation, hildon-bread-crumb-widget, is provided and used
7613 internally by the trail for the push_text/push_icon functions.
7615 The generic push API is still available, so anyone can implement
7616 and use its own bread crumb widget.
7618 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7620 * debian/rules: Fixing the shlibs.
7622 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * src/hildon-banner.c: Fixing a problem with timed banners having
7625 their parrent destroyed before they are.
7627 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7629 * src/hildon-bread-crumb.c:
7630 * src/hildon-bread-crumb.h:
7632 Make the get_natural_size function a vfunc.
7634 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7636 * src/hildon-bread-crumb.c:
7637 * src/hildon-bread-crumb-trail.c:
7641 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7648 * debian/changelog: Updating for release.
7650 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7652 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7653 don't leak the pango layout.
7655 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7658 * examples/hildon-bread-crumb-trail-example.c:
7662 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7664 * debian/changelog: Removing the bug-fixed entries that were actually
7665 resolved as WONTFIX.
7667 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7670 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7672 * src/hildon-bread-crumb-trail.c:
7673 * src/hildon-bread-crumb-trail.h:
7674 * src/hildon-bread-crumb.c:
7675 * src/hildon-bread-crumb.h:
7679 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7681 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7682 until it's passed the type check.
7684 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7686 * examples/hildon-bread-crumb-trail-example.c
7690 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7692 * examples/Makefile.am
7693 * examples/hildon-bread-crumb-trail-example.c
7695 * src/hildon-bread-crumb-trail.c
7696 * src/hildon-bread-crumb-trail.h
7697 * src/hildon-bread-crumb.c
7698 * src/hildon-bread-crumb.h
7700 New HildonBreadCrumbTrail widget.
7702 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7704 * src/hildon-range-editor.c (hildon_range_editor_init),
7705 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7706 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7707 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7708 hildon_time_editor_class_init, hildon_time_editor_init),
7709 src/hildon-get-password-dialog.c (invalid_input,
7710 hildon_get_password_set_property, hildon_get_password_get_property,
7711 create_contents, hildon_get_password_dialog_set_max_characters),
7712 src/hildon-set-password-dialog.c (create_contents),
7713 src/hildon-date-editor.c (hildon_date_editor_init),
7714 src/hildon-login-dialog.c (hildon_login_dialog_init),
7715 src/hildon-number-editor.c (hildon_number_editor_init),
7716 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7717 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7718 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7719 configure option and adding the respective checks in the code.
7720 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7721 hildon_calendar_drag_data_received): fixed some build warnings.
7723 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7725 * debian/changelog: A 1.0.0 release notes.