1 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
4 Use g_strdup_printf() instead of a fixed size buffer.
6 2009-04-21 Alberto Garcia <agarcia@igalia.com>
8 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
9 Close banners when a HildonAppMenu is popped up.
11 Fixes: NB#111027 (Title menu closed immediately if activated when
12 "Invalid e-mail address" banner is shown)
14 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
19 * configure.ac: Bump version.
20 * debian/changelog: Updates.
22 2009-04-20 Alberto Garcia <agarcia@igalia.com>
24 * src/hildon-banner.c (hildon_banner_realize):
25 Mark HildonBanner as supporting portrait mode.
26 Use GDK to set window properties insetad of direct Xlib calls.
28 Fixes: NB#111830 (HildonBanner should be marked as supporting
31 2009-04-20 Alberto Garcia <agarcia@igalia.com>
33 * src/hildon-note.c (hildon_note_rebuild):
34 Hide action area in information notes. Prevents text from being
35 slightly aligned to the left.
37 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
40 2009-04-20 Alberto Garcia <agarcia@igalia.com>
42 Patch by Mox Soini (ext-mox.soini@nokia.com)
44 * src/hildon-banner.c (hildon_banner_create_animation):
45 Use stylus-sized icons in animation banner.
47 Fixes: NB#111206 (stylus sized icon for animation banner)
49 2009-04-20 Alberto Garcia <agarcia@igalia.com>
53 (+hildon_gtk_window_set_do_not_disturb):
54 New API to set the do-not-disturb flag.
56 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
58 2009-04-20 Alberto Garcia <agarcia@igalia.com>
60 * examples/hildon-progress-indicator-example.c: Fix example
62 * src/hildon-gtk.c (set_clear_window_flag)
63 (hildon_gtk_window_set_progress_indicator):
64 Create a generic function for setting flags to a window.
65 Use GDK instead of direct Xlib calls.
67 2009-04-14 Alberto Garcia <agarcia@igalia.com>
69 * src/hildon-button.c (hildon_button_set_arrangement):
70 Due to NB#88126, if one of the labels is too long it will be
71 painted outside the button. The 'value' label is more likely to be
72 the longest one, so we change its packing options in order to
73 truncate it if necessary. As a side effect, the 'title' label will
74 no longer be truncated.
76 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
78 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
83 * configure.ac: Bump version.
84 * debian/changelog: Updates.
86 2009-04-13 Alejandro G. Castro <alex@igalia.com>
88 Deprecation of the hildon_pannable_area_set_size_request_policy
89 API, the only policy properly supported in gtk+ nowadays is the
92 * src/hildon-pannable-area.c,
93 (hildon_pannable_area_size_request): Added a workaround for the
94 size_request to avoid the problems of huge pixmaps in case someone
95 is still using the function.
96 * src/hildon-pannable-area.h: Deprecated the enum with the
99 Fixes: NB#110244 (Problems with the
100 hildon_pannable_area_set_size_request_policy API)
102 2009-04-08 Alejandro G. Castro <alex@igalia.com>
104 * src/hildon-pannable-area.c,
105 (hildon_pannable_area_init),
106 (hildon_pannable_area_size_request),
107 (hildon_pannable_area_style_set),
108 (hildon_pannable_draw_vscroll),
109 (hildon_pannable_draw_hscroll),
110 (hildon_pannable_area_check_scrollbars): Replaced area_width with
111 indicator_width to clarify the use of the attribute.
113 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
118 * configure.ac: Bump version.
119 * debian/changelog: Updates.
121 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
123 * src/hildon-picker-dialog.c
124 * src/hildon-touch-selector.c
125 Reverting the change that tried to avoid the hardcoded height on
126 the picker dialog, as causes problems on the hildon-touch-selector
129 Fixes: NB#110029 (selectors not scrolling to selected value)
131 2009-04-07 Alberto Garcia <agarcia@igalia.com>
133 * src/hildon-touch-selector.c: Fix typos
135 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
137 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
138 Use the event coordinates instead of gdk_window_get_pointer(). Also,
139 request more motions after using it.
141 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
143 * src/hildon-calendar.c (hildon_calendar_expose),
144 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
145 Remove unused variables.
147 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
149 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
152 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
154 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
155 Check the return value of gtk_tree_selection_get_selected()
158 2009-04-06 Alberto Garcia <agarcia@igalia.com>
160 * src/hildon-animation-actor.c
161 * src/hildon-button.c
163 * src/hildon-pannable-area.c
164 * src/hildon-picker-button.c
165 * src/hildon-program.c
166 * src/hildon-remote-texture.c
167 * src/hildon-text-view.c
168 * src/hildon-touch-selector.c
169 * src/hildon-window-stack.c
170 * src/hildon-window.c:
171 Add missing 'Since: 2.2' tags.
173 * doc/hildon-sections.txt:
174 Add some missing symbols.
176 * doc/hildon-docs.sgml:
177 New 'Other' section for HildonAnimationActor and
180 2009-04-06 Alberto Garcia <agarcia@igalia.com>
182 Patch by Iván Gómez (igomez@igalia.com)
186 * doc/hildon-docs.sgml
187 * doc/hildon-sections.txt
191 New chapters on using the Hildon library.
192 Updated the general structure of the reference manual.
193 Other minor documentation fixes.
195 * src/hildon-calendar-popup.c
196 * src/hildon-calendar.c
197 * src/hildon-controlbar.c
198 * src/hildon-date-editor.c
199 * src/hildon-dialog.c
200 * src/hildon-hvolumebar.c
201 * src/hildon-number-editor.c
202 * src/hildon-range-editor.c
203 * src/hildon-sort-dialog.c
204 * src/hildon-time-editor.c
205 * src/hildon-time-picker.c
206 * src/hildon-volumebar-range.c
207 * src/hildon-volumebar.c
208 * src/hildon-vvolumebar.c
209 * src/hildon-weekday-picker.c:
210 Add deprecation notes
212 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
213 Document 'horizontal-movement' and 'vertical-movement' signals.
215 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
220 * configure.ac: Bump version.
221 * debian/changelog: Updates.
223 2009-04-06 Alejandro G. Castro <alex@igalia.com>
225 * src/hildon-pannable-area.c,
226 (hildon_pannable_area_class_init): increased the minimum velocity.
227 (hildon_pannable_area_button_release_cb): Updated the
228 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
229 setup. Review the code to control that last event.
231 Fixes: NB#109790 (Releasing finger in pannable area easily causes
234 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
236 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
238 * src/hildon-get-password-dialog.c
239 (hildon_get_password_set_property),
240 (hildon_get_password_get_property), (create_contents):
241 * src/hildon-login-dialog-private.h:
242 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
243 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
244 (hildon_login_dialog_get_password):
245 * src/hildon-set-password-dialog-private.h:
246 * src/hildon-set-password-dialog.c
247 (hildon_set_password_set_property),
248 (hildon_set_password_get_property), (create_contents),
249 (hildon_set_password_response_change),
250 (hildon_set_password_response_set), (hildon_checkbox_toggled):
252 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
253 instead and look more Fremantle style.
255 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
257 2009-04-03 Alberto Garcia <agarcia@igalia.com>
259 * doc/hildon-sections.txt
260 * src/hildon-window-stack.h
261 * src/hildon-window-stack.c
262 (+hildon_window_stack_get_windows):
263 New API to obtain the list of windows on a stack.
265 2009-04-02 Alberto Garcia <agarcia@igalia.com>
267 * src/hildon-app-menu.c (hildon_app_menu_popup)
268 (hildon_app_menu_class_init, -hildon_app_menu_show):
269 Remove hildon_app_menu_show() and move all its checks to
270 hildon_app_menu_popup()
272 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
274 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
275 (_hildon_picker_dialog_set_selector): removed call to
276 gtk_widget_set_size_request
277 * src/hildon-touch-selector.c
278 (_create_new_column): change the pannable size request policy
280 Avoid to use a hardcoded height for the hildon picker dialog. In order
281 to get that, we needed to change the hildon pannable size request
283 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
285 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
287 * src/hildon-window.c (hildon_window_map): Check for vbox to be
288 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
291 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
293 * debian/control: Depend on osso-system-lock localization package.
294 * src/hildon-code-dialog.c: Obtain the secu_application_title
295 translation from osso-system-lock.
296 * src/hildon-get-password-dialog.c (create_contents): Do not mark
297 for translation the atk related strings, that's not necessary.
298 * src/hildon-set-password-dialog.c (create_contents): Ditto.
299 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
300 cancel button, it is not required.
302 2009-04-02 Alejandro G. Castro <alex@igalia.com>
304 * src/hildon-pannable-area.c,
305 (hildon_pannable_area_class_init): Modified the default value of
306 the overshooting max speed, we have reduced it.
308 2009-04-02 Alberto Garcia <agarcia@igalia.com>
310 * doc/hildon-sections.txt
311 * src/hildon-window-private.h
312 * src/hildon-window.h
313 * src/hildon-window.c (hildon_window_class_init)
314 (hildon_window_init, hildon_window_finalize)
315 (hildon_window_realize, hildon_window_get_property)
316 (hildon_window_set_property, hildon_window_update_markup)
317 (hildon_window_get_markup, hildon_window_set_markup):
318 New "markup" property and hildon_window_{get,set}_markup() methods.
320 * examples/hildon-stackable-window-example.c (new_window):
321 Update example to use hildon_window_set_markup()
323 Fixes: NB#106375 (Need API to retitle a window with a title
326 2009-04-01 Alejandro G. Castro <alex@igalia.com>
328 * src/hildon-pannable-area.c,
329 (hildon_pannable_area_class_init): Changed the default value of
330 the initial_hint to TRUE.
331 (hildon_pannable_area_initial_effect): Changed the initial effect,
332 not the effect is just the fade-out of the scrollbars.
334 Fixes: NB#107775 (No scrollbars can be seen when several items are
335 available in a dialog)
337 2009-04-01 Alberto Garcia <agarcia@igalia.com>
339 * src/hildon-program.c (hildon_program_update_top_most):
342 Fixes: NB#109179 (Memory leak in Hildon program)
344 2009-04-01 Alberto Garcia <agarcia@igalia.com>
346 * src/hildon-banner.c (-get_current_app_window):
347 Remove unused function.
349 2009-04-01 Alejandro G. Castro <alex@igalia.com>
351 * src/hildon-pannable-area.c: Modified the documentation of the
352 get adjustments functions to explain the problem of using the
354 (hildon_pannable_area_class_init): Improved the explanation about
357 2009-04-01 Alberto Garcia <agarcia@igalia.com>
359 * src/hildon-app-menu-private.h
360 * src/hildon-app-menu.c
361 (hildon_app_menu_class_init):
362 Bring back the 'external-border' style property
363 (hildon_app_menu_class_init, hildon_app_menu_init)
364 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
365 Set a fixed width-request for the menu, independent of the number
368 Fixes: NB#94957 (Smoothly opened application menu)
370 2009-03-30 Alberto Garcia <agarcia@igalia.com>
372 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
374 * src/hildon-banner.c
375 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
377 Make sure that the banner is correctly placed the first time it's
379 (hildon_banner_check_position, -check_fullscreen_state):
380 Show the banner in the same place no matter if the window is in
381 fullscreen mode or not.
383 Fixes: NB#107386 (Odd stacking behaviour for information banners)
385 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
387 * src/hildon-touch-selector.c (_default_print_func): reorder
388 concatenation for clarity.
390 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
392 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
393 for multicolumn selectors.
395 Fixes: NB#109099 (Memory leak in Hildon touch selector)
397 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
402 * configure.ac: Bump version.
403 * debian/changelog: Updates.
405 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
407 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
410 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
412 * configure.ac: removed libcangerra-gtk dependency
413 * debian/control: removed libcanberra-gtk dependency
414 * src/Makefile.am: removed libcanberra gtk related flags
415 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
416 context, and manage a global canberra context instead
418 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
420 2009-03-26 Alberto Garcia <agarcia@igalia.com>
422 Patch by Daniel Borgmann (danielb@openismus.com)
424 * src/hildon-edit-toolbar.c:
425 Adjust the left padding.
426 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
427 Paint background of the edit toolbar.
429 Fixes: NB#107897 (Patch to make editmodetoolbar background
430 themeable and adjust margin)
432 2009-03-25 Alberto Garcia <agarcia@igalia.com>
434 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
436 * src/hildon-program.c (hildon_program_update_top_most):
437 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
439 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
440 change when the user tasks in/out of an application)
442 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
444 * configure.ac: added libcangerra-gtk dependency
445 * debian/control: added libcanberra-gtk dependency
446 * src/Makefile.am: added libcanberra gtk related flags
447 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
450 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
452 2009-03-25 Alberto Garcia <agarcia@igalia.com>
454 * src/hildon-program.c (hildon_program_remove_window)
455 (hildon_program_add_window): Add checks for the window
456 parameter. Don't decrease the window counter if the window is not
459 2009-03-24 Alejandro G. Castro <alex@igalia.com>
461 * src/hildon-pannable-area.c,
462 (hildon_pannable_area_realize): Fixed position of the event_window
463 in the realize method.
465 2009-03-24 Alberto Garcia <agarcia@igalia.com>
467 * src/hildon-app-menu-private.h
468 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
469 (hildon_app_menu_map, hildon_app_menu_hide_idle)
470 (hildon_app_menu_key_press, hildon_app_menu_init)
471 (hildon_app_menu_finalize):
472 Make sure that all idle functions are removed when the widget is
475 Fixes: NB#107583 (Hildon app menu crashes in various applications)
477 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
482 * configure.ac: Bump version.
483 * debian/changelog: Updates.
485 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
488 (+hildon_entry_show_placeholder),
489 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
490 that replace hildon_entry_update_contents().
491 (hildon_entry_set_text),
492 (hildon_entry_set_placeholder),
493 (hildon_entry_focus_in_event),
494 (hildon_entry_focus_out_event): Determine when it is needed
495 either to show or hide the placeholder and call the above methods.
497 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
498 when the placeholder text is already set)
500 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
502 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
503 simple GdkPixbufAnim using the new icons for the banner.
504 (hildon_banner_show_animation): Use the above mentioned method to
505 create the animation widget.
507 Fixes: NB#103564 (Make hildon animation banner use individual
508 image files as the animation)
510 2009-03-24 Alejandro G. Castro <alex@igalia.com>
512 * src/hildon-pannable-area.c,
513 (hildon_pannable_leave_notify_event): Check if the child is NULL
514 to avoid sending the leave.
516 2009-03-24 Alejandro G. Castro <alex@igalia.com>
518 * src/hildon-pannable-area.c,
519 (hildon_pannable_area_class_init),
520 (hildon_pannable_leave_notify_event): Added a handler of the
521 leave-notify-signal to consider when no motion notify before
524 Fixes: NB#107494 (Items stay selected when clicking and moving
525 away when inside pannable area)
527 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
532 * configure.ac: Bump version.
533 * debian/changelog: Updates.
535 2009-03-19 Alejandro G. Castro <alex@igalia.com>
537 Patch by Alberto Garcia (agarcia@igalia.com)
539 * src/hildon-date-button.c,
540 (hildon_date_button_class_init),
541 (hildon_date_button_init): Removed the construct property handling
542 and created a default selector in the init method.
543 * src/hildon-picker-button.c,
544 (hildon_picker_button_class_init): Removed the construct flag of the
547 2009-03-18 Alberto Garcia <agarcia@igalia.com>
549 * src/hildon-main.c (hildon_init):
550 Don't allow hildon_init() to be called more than once.
552 Fixes: NB#106607 (hildon_init should issue error message upon
555 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
557 * examples/hildon-pannable-area-touch-list-example.c
558 * examples/hildon-pannagle-area-touch-grid-example.c
559 * examples/hildon-edit-toolbar-example.c
560 * examples/hildon-touch-selector-multi-cells-example.c
561 Removed the call to gtk_rc_parse_string, as it is not required since
564 2009-03-17 Alejandro G. Castro <alex@igalia.com>
566 * src/hildon-pannable-area.c,
567 (hildon_pannable_area_class_init): Modified the default panning
568 threshold of the widget to 6px.
570 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
571 than the threshold value ) within the button is not sending the
574 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
576 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
577 for the treeview in the new column. This way, the touch list will never
580 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
581 be selected manually for the HW keys to work)
583 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
585 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
586 comparison instead of using strcmp(). Fixes a compiler warning as well.
588 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
590 * doc/hildon-docs.sgml: Do not set the library version in the
591 document title, use the releaseinfo tag for that purpose instead.
593 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
595 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
596 Do not jump to the first item if the text in the entry is removed.
598 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
603 * configure.ac: Bump version.
604 * debian/changelog: Updates.
606 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
608 * src/hildon-entry.c (hildon_entry_refresh_contents):
609 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
610 Use "ReversedSecondaryTextColor" for the placeholder text.
612 2009-03-12 Alberto Garcia <agarcia@igalia.com>
614 * src/hildon-text-view.c: Fix compilation warning.
616 2009-03-12 Alberto Garcia <agarcia@igalia.com>
618 * src/hildon-button.c (hildon_button_class_init): Don't make
619 "title" and "value" construction properties, to prevent them from
620 overwriting labels set from derived classes.
622 * src/hildon-picker-button.c
623 (hildon_picker_button_set_selector): Allow setting a NULL selector.
624 (hildon_picker_button_class_init): Make touch-selector a
625 construction property.
627 * src/hildon-date-button.c (hildon_date_button_class_init)
628 (+hildon_date_button_constructed): Add a default date selector if
631 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
633 * src/hildon-touch-selector.c: Small documentation fixes.
635 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
637 Based on a patch by Daniel Borgmann (danielb@openismus.com)
639 * src/hildon-entry.c (hildon_entry_refresh_contents),
640 (hildon_entry_get_text), (hildon_entry_init): Do not use the
641 widget name, set the logical color directly instead and a boolean
642 showing_placeholder instead.
643 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
644 use the widget name here either.
646 Fixes: NB#105678 (HildonTextView should use logical colours
647 instead of setting widget name)
649 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
651 Patch by Daniel Elster (danielk@openismus.com)
653 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
654 Add user_data parameter.
655 (hildon_touch_selector_set_print_func_full): New function akin
656 hildon_touch_selector_set_print_func() but with support for user
657 data and a destroy callback.
658 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
659 to clean up the print function user data.
660 (hildon_touch_selector_class_init): Install dispose function.
661 (HildonTouchSelectorPrivate::print_user_data),
662 (HildonTouchSelectorPrivate::print_destroy_func): New private
664 (hildon_touch_selector_init): Initialize new private members.
665 (hildon_touch_selector_get_current_text): Pass along user data
666 to the print function.
667 (_default_print_func): Add dummy user_data to parameter list.
668 * hildon-date-selector.c (_custom_print_func): ditto,
669 * hildon-time-selector.c (_custom_print_func): ditto,
670 * hildon-touch-selector-entry.c
671 (hildon_touch_selector_entry_print_func): ditto.
673 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
675 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
677 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
679 2009-03-12 Alejandro G. Castro <alex@igalia.com>
681 * src/hildon-pannable-area.c,
682 (hildon_pannable_area_init),
683 (hildon_pannable_area_button_press_cb),
684 (hildon_pannable_area_motion_notify_cb): We have added code to
685 handle the leave and enter events when using the motion events.
687 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
689 2009-03-11 Alberto Garcia <agarcia@igalia.com>
691 * src/hildon-date-button.c (hildon_date_button_get_date)
692 (hildon_date_button_set_date): Make sure that the button has a
695 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
697 2009-03-11 Alejandro G. Castro <alex@igalia.com>
699 * src/hildon-pannable-area.c,
700 (hildon_pannable_area_class_init),
701 (hildon_pannable_area_calculate_velocity): Modify the use of the
702 force and adapt the value.
704 2009-03-10 Alberto Garcia <agarcia@igalia.com>
706 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
707 (hildon_app_menu_class_init): Hide the menu if it receives a
708 delete-event, but don't destroy it
710 Fixes: NB#104485 (Not able to address the call when application
711 menu is opened at background)
713 2009-03-10 Alberto Garcia <agarcia@igalia.com>
715 * src/hildon-app-menu.c
716 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
717 Remove the "external-border" style property, let the menu take its
718 natural size (or the one set by the window manager)
719 (hildon_app_menu_repack_items):
720 Don't reshow the menu, avoid flickers.
722 Partially fixes NB#94957 (Smoothly opened application menu)
724 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
729 * configure.ac: Bump version.
730 * debian/changelog: Updates.
732 2009-03-10 Alejandro G. Castro <alex@igalia.com>
734 * src/hildon-pannable-area.c,
735 (hildon_pannable_area_motion_notify_cb): We control that the
736 direction error margin is used just in case the movement is
737 allowed in the other direction.
739 Fixes: NB#105012 (buttons inside a pannable area not getting
740 release event when dragging/releasing)
742 2009-03-10 Alejandro G. Castro <alex@igalia.com>
744 * src/hildon-pannable-area.c,
745 (hildon_pannable_area_class_init),
746 (hildon_pannable_area_get_property),
747 (hildon_pannable_area_set_property),
748 (hildon_pannable_area_initial_effect),
749 (hildon_pannable_axis_scroll),
750 (hildon_pannable_area_button_release_cb): Reviewed the
751 overshooting effect, now it has its own max
752 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
755 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
760 * configure.ac: Bump version.
761 * debian/changelog: Updates.
763 2009-03-09 Alejandro G. Castro <alex@igalia.com>
765 * src/hildon-pannable-area.c,
766 (hildon_pannable_area_class_init): Changed the max speed, now
767 users can launch the widget very fast. Reduced the default force,
768 that way it is easier to control the launch speed.
770 2009-03-09 Alejandro G. Castro <alex@igalia.com>
772 * src/hildon-pannable-area.c,
773 (hildon_pannable_area_button_release_cb): Removed this check
774 because it causes problems when the device is overloaded.
776 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
778 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
779 add a current_text field to store the text entered in the
780 touch selector entry.
781 (_clean_current_selection): clean up the current text as well.
782 (_save_current_selection), (_restore_current_selection):
783 Save/restore the text in the entry if the selector is a
784 HildonTouchSelectorEntry.
786 Fixes: NB#102541 (value entered in the touch selector entry is not
787 shown when opened for second time)
789 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
791 * doc/hildon-sections.txt:
792 * src/hildon-touch-selector-entry.c
793 (+hildon_touch_selector_entry_get_entry):
794 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
796 Fixes: NB#104815 (I need accessor to the entry inside
797 HildonTouchSelectorEntry)
799 2009-03-06 Alberto Garcia <agarcia@igalia.com>
801 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
802 (hildon_app_menu_class_init):
803 New "filter-vertical-spacing" style property.
805 2009-03-06 Alberto Garcia <agarcia@igalia.com>
807 * src/hildon-find-toolbar.c
808 (hildon_find_toolbar_emit_close)
809 (hildon_find_toolbar_emit_invalid_input)
810 (hildon_find_toolbar_entry_activate):
811 Use g_signal_emit() instead of g_signal_emit_by_name()
813 2009-03-06 Alberto Garcia <agarcia@igalia.com>
815 Patch by Mox Soini (ext-mox.soini@nokia.com)
817 * tests/TEST-CASES.txt
818 * tests/check-hildon-banner.c
819 * tests/check-hildon-note.c
820 * src/hildon-banner.c
821 * src/hildon-code-dialog.c
822 * src/hildon-date-editor.c (real_set_calendar_icon_state)
823 * src/hildon-time-editor.c
824 * examples/hildon-lookup-example.c (main):
825 Replace obsolete icon names with new ones.
827 * src/hildon-find-toolbar-private.h:
828 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
829 (-hildon_find_toolbar_emit_search):
830 Remove find button and change icon of close button.
832 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
834 2009-03-05 Alberto Garcia <agarcia@igalia.com>
836 * src/hildon-time-button.c (hildon_time_button_new_step):
837 Use the "touch-selector" property to set the selector directly
838 when creating the object.
840 2009-03-05 Alejandro G. Castro <alex@igalia.com>
842 Added a new example application that allows tuning the pannable
843 area and replaced defines with properties in order to simplify the
844 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
845 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
846 PROP_DIRECTION_ERROR_MARGIN.
848 * examples/hildon-pannable-area-tuning-example.c: New example
850 * src/hildon-pannable-area.c,
851 (hildon_pannable_area_class_init),
852 (hildon_pannable_area_init),
853 (hildon_pannable_area_get_property),
854 (hildon_pannable_area_set_property),
855 (hildon_pannable_area_launch_fade_timeout),
856 (hildon_pannable_area_adjust_value_changed),
857 (hildon_pannable_axis_scroll),
858 (hildon_pannable_area_motion_notify_cb),
859 (hildon_pannable_area_scroll_cb),
860 (hildon_pannable_area_button_release_cb): We have converted some
861 of the defines that control the widget to properties to simplify
864 2009-03-05 Alberto Garcia <agarcia@igalia.com>
866 * src/hildon-app-menu.c (hildon_app_menu_map)
867 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
868 so it's closed if a new window appears.
870 Fixes: NB#104485 (Not able to address the call when application
871 menu is opened at background)
873 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
875 * src/hildon-color-button.c (hildon_color_button_get_property):Add
876 missing 'break' statement in in 'case' construct to avoid
879 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
881 * src/hildon-touch-selector-entry.c
882 (hildon_touch_selector_entry_get_property),
883 (hildon_touch_selector_entry_set_property): Add missing 'break'
884 statements in in 'case' constructs to avoid incorrect warnings.
886 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
888 * src/hildon-time-editor.c
889 (hildon_time_editor_get_time_separators): Do not crash if
890 the first label is NULL.
892 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
894 * src/hildon-date-selector.c (_month_days): Check for month to be
895 strictly less than 12, since otherwise we may overrun the array.
897 2009-03-04 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-date-button.c (+hildon_date_button_new_full)
900 (hildon_date_button_new, hildon_date_button_new_with_year_range)
901 (hildon_date_button_init): Set the date selector using a
902 construction property, to make it happen after HildonButton's
903 "value" property is set.
905 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
906 current date by default)
908 2009-03-04 Alberto Garcia <agarcia@igalia.com>
910 * doc/hildon-sections.txt
911 * src/hildon-program.c
912 * src/hildon-stackable-window.c
913 * src/hildon-window.c:
914 Documentation updates
916 2009-03-04 Alberto Garcia <agarcia@igalia.com>
918 * src/hildon-window-stack.c (hildon_window_stack_get_default)
919 (hildon_window_stack_new, +hildon_window_stack_set_property)
920 (+hildon_window_stack_get_property)
921 (hildon_window_stack_class_init)
922 (+hildon_window_stack_set_window_group)
923 (+hildon_window_stack_get_window_group):
924 Make the window group a construction property.
926 2009-03-04 Alberto Garcia <agarcia@igalia.com>
928 * doc/hildon-sections.txt
929 * src/hildon-stackable-window-private.h
930 * src/hildon-stackable-window.h
931 * src/hildon-stackable-window.c
932 (-hildon_stackable_window_set_app_menu)
933 (-hildon_stackable_window_get_app_menu)
934 (-hildon_stackable_window_toggle_menu)
935 (-hildon_stackable_window_finalize)
936 (hildon_stackable_window_class_init)
937 (hildon_stackable_window_init)
938 * src/hildon-window-private.h
939 * src/hildon-window.h
940 * src/hildon-window.c (hildon_window_init)
941 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
942 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
943 (hildon_window_get_main_menu, hildon_window_set_main_menu)
944 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
945 Moved all HildonAppMenu code to HildonWindow. The menu does not
946 require a HildonStackableWindow anymore.
948 * src/hildon-app-menu.c
949 * src/hildon-program.c
950 * examples/hildon-app-menu-example.c (main):
951 Update examples and documentation to reflect HildonAppMenu
954 2009-03-04 Alberto Garcia <agarcia@igalia.com>
956 * src/hildon-remote-texture.c
957 * src/hildon-animation-actor.c:
958 Don't include unused private headers.
960 2009-03-04 Alberto Garcia <agarcia@igalia.com>
962 * src/hildon-program-private.h
963 * src/hildon-program.c
964 (hildon_program_set_common_menu)
965 (hildon_program_get_common_menu)
966 (hildon_program_set_common_app_menu)
967 (hildon_program_get_common_app_menu):
968 Change common menu pointers from GtkWidget* to GtkMenu* and
969 HildonAppMenu* to avoid unnecessary casts.
971 2009-03-03 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-window.c (hildon_window_set_main_menu):
974 Removed incorrect 'Since:' tag
976 2009-03-03 Alejandro G. Castro <alex@igalia.com>
978 * src/hildon-pannable-area.c,
979 (hildon_pannable_area_calculate_velocity): We use now the
980 RATIO_TOLERANCE here to check the distance, fixed typo in the
982 (hildon_pannable_area_motion_notify_cb): We have to set the type
983 and time even if we are not sending the motion.
985 2009-03-02 Alberto Garcia <agarcia@igalia.com>
987 * doc/hildon-sections.txt
988 * src/hildon-app-menu.h
989 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
990 (+hildon_app_menu_get_filters): New methods to get the contents of
993 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
996 2009-03-02 Alberto Garcia <agarcia@igalia.com>
998 * src/hildon-app-menu.c (hildon_app_menu_popup):
1001 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1003 * src/hildon-window.h
1004 * src/hildon-window.c (+hildon_window_get_main_menu)
1005 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1006 and deprecated hildon_window_get_menu().
1008 * src/hildon-stackable-window.h
1009 * src/hildon-stackable-window.c
1010 (+hildon_stackable_window_set_app_menu)
1011 (+hildon_stackable_window_get_app_menu)
1012 (hildon_stackable_window_set_main_menu): Created
1013 hildon_stackable_window_{get,set}_app_menu() and deprecated
1014 hildon_stackable_window_set_main_menu().
1016 * doc/hildon-sections.txt
1017 * examples/hildon-app-menu-example.c (main)
1018 * src/hildon-app-menu.c
1019 * src/hildon-program.c:
1020 Updated examples and documentation.
1022 Fixes: NB#103758 (No way to obtain a menu from a
1023 HildonStackableWindow)
1025 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1030 * configure.ac: Bump version.
1031 * debian/changelog: Updates.
1033 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1035 * examples/hildon-remote-texture-example.c: Include
1036 hildon-remote-texture.h explicitely.
1037 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1038 applications not defining _XOPEN_SOURCE which don't require this header.
1040 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1042 * doc/hildon-sections.txt
1043 * src/hildon-app-menu.h
1044 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1045 New function to pop up a HildonAppMenu
1047 * src/hildon-stackable-window.c
1048 (hildon_stackable_window_toggle_menu):
1049 Use hildon_app_menu_popup() to show the menu.
1051 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1053 * src/hildon-app-menu.c (hildon_app_menu_show)
1054 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1055 menu if there's another window between it and its parent window.
1057 Fixes: NB#100468 (Application menu window is launched even when a
1058 new secondary-window/dialog is pending to be shown/realized)
1060 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1062 * src/hildon-window-stack.c (hildon_window_stack_push)
1063 (hildon_window_stack_pop_and_push):
1064 Don't forget to push/pop the first window.
1065 Reverse the window list before calling _push_list()
1067 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1069 * src/hildon-picker-button.h
1070 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1071 Remove "value_changed" slot to avoid ABI breakage
1073 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1075 * src/hildon-pannable-area.c,
1076 (hildon_pannable_area_realize),
1077 (hildon_pannable_area_unrealize),
1078 (hildon_pannable_draw_vscroll),
1079 (hildon_pannable_draw_hscroll): Changed the method to handle the
1080 GC used to draw the transparent scrollbar, this way we avoid
1081 creating the GC all the time when drawing the scrollbars.
1083 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1085 * src/hildon-pannable-area.c,
1086 (hildon_pannable_area_init),
1087 (hildon_pannable_area_remove): Removed some unnecessary casts.
1088 (hildon_pannable_area_dispose): Disconnected some signals before
1089 releasing the adjustments.
1091 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1094 Make sure that all widgets contained in the toolbar are shown.
1096 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1098 * doc/hildon-sections.txt
1099 * src/hildon-picker-button.h
1100 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1101 (_selection_changed, hildon_picker_button_on_dialog_response)
1102 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1103 New hildon_picker_button_value_changed() method.
1106 * src/hildon-picker-button-private.h
1107 * src/hildon-picker-button.c (hildon_picker_button_init)
1108 (+hildon_picker_button_disable_value_changed): Add protected
1109 function for disabling the "value-changed" signal.
1111 * src/hildon-date-button.c (hildon_date_button_set_date):
1112 Don't emit "value-changed" for each one of the three columns.
1114 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1115 before actual change of values)
1117 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1119 * src/hildon-pannable-area.c,
1120 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1121 for the treeview overshooting.
1123 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1125 * src/hildon-banner.c (+hildon_banner_bind_style):
1126 Renamed from hildon_banner_bind_label_style(), now naming the
1127 banner itself as well.
1128 (hildon_banner_show_information),
1129 (hildon_banner_show_information_with_markup),
1130 (hildon_banner_show_animation), (hildon_banner_show_progress):
1131 Name the widgets and labels, based on their type.
1133 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1136 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1138 * src/hildon-note.c (hildon_note_set_property): call
1139 hildon_note_rename() on HildonNote:note-type set.
1140 (hildon_note_rename): Name the note and its label, based on the
1141 HildonNote:note-type property.
1143 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1146 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1148 * src/hildon-pannable-area.c,
1149 (hildon_pannable_area_class_init),
1150 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1151 panning parameters, increased SPS and deceleration factor. Added
1152 also a margin to control fake directions.
1154 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1156 Patch by Sven Herzberg (sven@imendio.com)
1158 * configure.ac: Add missing AM_PROG_CC_C_0
1159 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1161 See NB#101420 (Update unit tests and fix make check)
1163 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1165 This patch was applied before but reverted because it caused
1166 problems, we have changed the main condition and tested the
1167 regressions we detected before and they work ok. We have done a
1168 complete review of the topmost algorithm in order to get a more
1171 * src/hildon-pannable-area.c,
1172 (hildon_pannable_area_get_topmost): Added a new parameter to
1173 filter the the windows that do not include those events.
1174 (hildon_pannable_area_button_press_cb),
1175 (hildon_pannable_area_button_release_cb),
1176 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1177 topmost function, we have added the new parameter.
1179 Fixes: NB#97458 (Pannable area prevents propagation of button
1182 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1184 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1185 if all columns in the selector have an item selected.
1186 (_on_dialog_response): Stop "response" signal emission if there is
1187 any selector column without selected items.
1189 Fixes: NB#101889 (Picker dialog should not close when nothing is
1190 selected in multiple selection list)
1192 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1194 * src/hildon-font-selection-dialog.c
1195 (hildon_font_selection_dialog_class_init),
1196 (hildon_font_selection_dialog_init): Remove the preview
1197 button and dialog, since previewing with default theming is likely
1198 to be overcomplicated. The :preview property has now no effect.
1199 Update documentation blurbs to inform about this.
1201 Fixes: NB#92297 (Preview content is not clearly visible for
1202 default colour text)
1204 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1206 Reviewed the geometry that handles the children size and
1207 scrollbar, now it tries a size and reviews the results depending
1208 on the scrollbars visibility.
1210 * src/hildon-pannable-area.c,
1211 (hildon_pannable_area_realize): Fixed a typo.
1212 (hildon_pannable_area_child_allocate_calculate): Added this
1213 function to calculate the child allocation.
1214 (hildon_pannable_area_size_allocate): Reviewed the allocation
1216 (hildon_pannable_area_check_scrollbars),
1217 (hildon_pannable_area_refresh): Refactored refresh function, this
1218 way we can call the code handling the scrollbars without causing a
1219 size_request, it is interesting in the allocate.
1220 (hildon_pannable_area_init): Replace the callbacks of the
1221 value_changed and changed signals to propertly deal with the
1223 (hildon_pannable_area_grab_notify),
1224 (hildon_pannable_area_initial_effect),
1225 (hildon_pannable_area_launch_fade_timeout),
1226 (hildon_pannable_area_adjust_changed),
1227 (hildon_pannable_area_adjust_value_changed),
1228 (hildon_pannable_area_redraw),
1229 (hildon_pannable_area_button_press_cb),
1230 (hildon_pannable_area_button_release_cb),
1231 (hildon_pannable_area_scroll_cb),
1232 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1233 code and use the new functions adjust_changed and
1234 adjust_value_changed.
1236 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1237 Contact editor dialog)
1239 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1244 * configure.ac: Bump version.
1245 * debian/changelog: Updates.
1247 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1249 * src/hildon-pannable-area.c,
1250 (hildon_pannable_area_get_topmost),
1251 (hildon_pannable_area_button_press_cb),
1252 (hildon_pannable_area_button_release_cb),
1253 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1254 topmost function adding the event mask. We have to try a
1255 differente approach because it is still causing problems (NB#9745,
1258 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1260 * src/hildon-banner.c:
1261 Update the maximum width of timed banners.
1262 (force_to_wrap_truncated): Enforce the maximum text width if the
1265 Fixes: NB#102413 (The text margins (wrapping) in information
1266 banner should be HILDON_MARGIN_TRIPLE)
1268 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1270 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1272 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1273 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1274 bound when calculating the scroll indicator position.
1276 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1277 treat ->lower correctly)
1279 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1282 expose event handling, since it is not necessary to draw the focus
1285 Fixes: NB#102467 (Do not show highlight on the text in
1288 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1290 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1291 full height of the toolbar for the button and the label.
1293 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1296 padding before the label and after the button.
1298 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1300 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1302 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1303 Add a GtkVSeparator between the button and the back arrow.
1304 Let the button have automatic size.
1305 Set a name to the widget for theming handling.
1307 Fixes: NB#101793 (Make edit toolbar the same height as window
1308 title bar (use title area theming))
1310 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1312 * src/hildon-helper.c (attach_new_color_element): Fix memory
1315 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1317 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1319 * examples/hildon-button-example.c (common_buttons_window): Don't
1322 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1324 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1325 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1327 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1329 * src/hildon-gtk.c: Check that the window is realized.
1331 Fixes: NB#102225 (Crash setting the progress indicator to a non
1334 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1336 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1337 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1338 instead of modifying the one in the widget style.
1340 Fixes: NB#101043 (Second row of all the command button are
1341 displayed in transparent mode.)
1343 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-date-button.c
1346 * src/hildon-time-button.c: Add gettext macros
1348 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1350 * src/hildon-date-button.c (hildon_date_button_new):
1351 * src/hildon-time-button.c (hildon_time_button_new_step):
1352 Use new logical strings to set the button default title.
1354 Fixes: NB#99915 (Date and Time options are not localised in Date
1357 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1359 * src/hildon-pannable-area.c
1360 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1361 the PANNING_THRESHOLD.
1363 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1365 * src/hildon-pannable-area.c,
1366 (hildon_pannable_area_class_init): Increased the maximum speed.
1367 (hildon_pannable_area_get_property),
1368 (hildon_pannable_area_set_property),
1369 (hildon_pannable_area_timeout): Added a new low friction mode, it
1370 allows the user avoid friction when launching the widget fast
1371 enough. It is interesting to traverse long lists.
1373 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1375 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1376 (+hildon_stackable_window_delete_event): Ignore delete events if
1377 the window is not the topmost one.
1379 Fixes: NB#101698 (Back button long press and delete-event handling)
1381 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1383 * src/hildon-pannable-area.c,
1384 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1385 gtk-dnd-drag-threshold, it was too big. We have defined our own
1386 dnd define and set a smaller value: PANNIG_THRESHOLD.
1388 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1390 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1391 user-defined icons, use always the default one.
1393 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1395 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1397 This patch was applied before but reverted because it caused
1398 problems, we have changed the main condition and tested the
1399 regressions we detected before and they work ok.
1401 * src/hildon-pannable-area.c,
1402 (hildon_pannable_area_get_topmost): Added a new parameter to
1403 filter the the windows that do not include those events. Added
1404 also a condition when finding the window to filter windows that do
1405 not ask for those events.
1406 (hildon_pannable_area_button_press_cb),
1407 (hildon_pannable_area_button_release_cb),
1408 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1409 topmost function, we have added the new parameter.
1411 Fixes: NB#97458 (Pannable area prevents propagation of button
1414 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1416 * tests/check-hildon-color-button.c (START_TEST): do not leak
1419 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1421 * src/hildon-font-selection-dialog.c
1422 (hildon_font_selection_dialog_get_preview_text): Return NULL
1423 instead of FALSE on the g_return_val_if_fail().
1425 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1427 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1428 * src/hildon-date-selector.c
1429 (hildon_date_selector_select_current_date):
1430 Do not compare unsigned integers to be greater than or equal 0,
1431 because it's always TRUE.
1433 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1435 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1436 (hildon_date_selector_constructor): Do not select the current
1437 date until we are handle the "changed" signal, to avoid having bogus
1438 elements in the days model.
1440 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1442 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1443 for num_days, since _month_days() can return a negative value.
1445 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1447 * src/hildon-caption.c (hildon_caption_size_allocate):
1448 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1449 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1451 Initialize allocation variables to 0, to avoid eventually using
1452 unitialized variables.
1454 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1456 * src/hildon-bread-crumb-trail.c
1457 (hildon_bread_crumb_trail_size_allocate):
1458 * src/hildon-calendar.c (hildon_calendar_set_background):
1459 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1460 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1461 * src/hildon-seekbar.c (hildon_seekbar_init):
1462 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1463 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1464 * src/hildon-touch-selector-entry.c
1465 (hildon_touch_selector_get_text_from_model):
1466 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1467 * src/hildon-window.c (hildon_window_finalize):
1469 Remove many unused variables.
1471 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1473 * src/hildon-seekbar.c: (hildon_seekbar_init),
1474 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1476 Remove unnecessary g_assert() calls.
1478 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1480 * src/hildon-caption.c: (hildon_caption_expose),
1481 (hildon_caption_set_property), (hildon_caption_init),
1482 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1483 (hildon_caption_size_request), (hildon_caption_size_allocate),
1484 (hildon_caption_forall), (hildon_caption_set_separator),
1485 (hildon_caption_activate), (hildon_caption_set_child_expand),
1486 (hildon_caption_set_label_text),
1487 (hildon_caption_get_label_alignment):
1489 Remove unnecessary g_assert() calls.
1491 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1493 * src/hildon-banner.c
1494 (hildon_banner_map, hildon_banner_init): Make banner temporary
1495 before mapping it to avoid closing other temporary windows, but
1496 make it non-temporary afterwards to avoid being closed by other
1497 non-temporary windows.
1498 (-hildon_banner_client_event, hildon_banner_init):
1499 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1501 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1504 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1509 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1511 * src/hildon-remote-texture.c
1512 * src/hildon-remote-texture.h
1513 * src/hildon-remote-texture-private.h
1514 * examples/hildon-remote-texture-example.c:
1515 Updates/fixes to remote-texture and its example.
1517 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1519 Patch by Mox Soini (ext-mox.soini@nokia.com)
1521 * src/hildon-code-dialog.c: Update logical id.
1522 * src/hildon-set-password-dialog.c: Update logical id.
1524 Fixes: NB#100646 (Logical strings is shown for ok in set
1525 password,Password needed dialogs)
1527 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1530 * src/hildon-remote-texture.c
1531 * src/hildon-remote-texture.h
1532 * src/hildon-remote-texture-private.h
1534 Added remote texture widget (for Clutter shared memory textures)
1536 * examples/hildon-remote-texture-example.c
1537 * examples/Makefile.am
1538 Added example file for remote texture usage
1540 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1542 * configure.ac: post release version bump.
1543 * debian/changelog: version bump.
1545 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1550 * configure.ac: Bump version.
1551 * debian/changelog: Updates.
1553 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-date-selector.c (hildon_date_selector_init)
1556 (hildon_date_selector_constructor): Don't connect to the "changed"
1557 signal until the selector is completely constructed.
1559 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1561 * src/hildon-touch-selector.c: (_create_new_column),
1562 (hildon_touch_selector_append_column),
1563 (hildon_touch_selector_set_column_selection_mode),
1564 (hildon_touch_selector_set_active),
1565 (hildon_touch_selector_select_iter):
1566 Emit the HildonTouchSelector::changed signal every time selection
1567 is changed in any of the methods above. This behavior was already
1568 documented but not fully functional.
1570 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1571 selection is programmatically changed)
1573 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1575 * doc/hildon-sections.txt: Remove obsolete icon
1576 sizes from here as well.
1578 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1580 * examples/hildon-stackable-window-example.c (add_window): Remove
1583 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1585 * src/hildon-app-menu.c
1586 (hildon_app_menu_show): Check whether the parent window of a menu
1587 is topmost before popping it up.
1589 Fixes: NB#100468 (Application menu window is launched even when a
1590 new secondary-window/dialog is pending to be shown/realized.)
1592 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1594 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1597 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1599 Patch by Mox Soini (ext-mox.soini@nokia.com)
1601 * src/hildon-banner.c: (hildon_banner_show_animation):
1602 use stylus size instead of obsolete note size.
1603 * src/hildon-defines.h: Update icon sizes.
1605 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1607 * src/hildon-touch-selector-entry.c:
1608 (hildon_touch_selector_entry_init): Disable unsupported
1610 (hildon_touch_selector_entry_get_text_column): Emit a warning
1611 if an unsupported input modes is used and explicitile state
1612 these modes in the documentation.
1614 Fixes: NB#99802 (Hildon touch selector entry not working properly
1615 for some of the input modes)
1617 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1619 * src/hildon-pannable-area.c,
1620 (hildon_pannable_area_init): Added the changed signal handlers of
1623 Fixes: NB#100320 (HildonPannableArea does not listen to
1624 GtkAdjustment "change" signals)
1626 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1628 * doc/hildon-sections.txt
1629 * src/hildon-window-private.h
1630 * src/hildon-window.h
1631 * src/hildon-window.c (hildon_window_init)
1632 (hildon_window_realize, hildon_window_unrealize)
1633 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1634 (hildon_window_size_request, hildon_window_size_allocate)
1635 (hildon_window_forall, hildon_window_show_all)
1636 (hildon_window_destroy, +paint_edit_toolbar)
1637 (+hildon_window_set_edit_toolbar):
1638 New hildon_window_set_edit_toolbar() method, to add a
1639 HildonEditToolbar to a window without having to pack it manually.
1641 Reorganize hildon_window_size_allocate()
1643 * src/hildon-edit-toolbar.c: Update documentation.
1645 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1646 example to use the new API.
1648 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1650 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1652 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1653 Remove from stack before calling parent's hide.
1655 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1658 window is removed from the middle of the stack, update the
1659 transiency of the previous one.
1661 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1664 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1666 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1667 block/unblock the signal handler if it's not actually being used.
1668 Fixes some critical warnings.
1670 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1672 Based on a patch by Iván Gómez (igomez@igalia.com)
1674 * src/hildon-banner.c
1678 * src/hildon-pannable-area.c
1679 * src/hildon-picker-dialog.c
1680 * src/hildon-wizard-dialog.h
1681 * src/hildon-wizard-dialog.c: Documentation updates.
1683 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1684 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1686 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1688 * configure.ac: post release version bump.
1689 * debian/changelog: version bump.
1691 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1696 * configure.ac: Bump version.
1697 * debian/changelog: Updates.
1699 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1701 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1702 a stock icon nor change the relief of the back arrow.
1704 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1705 graphics from theme)
1707 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1709 * src/hildon-button.c (hildon_button_set_alignment): Use
1710 priv->alignment if the button has no child yet.
1712 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-button.c: (hildon_button_init): Set the
1715 button style during initialization to give it the proper
1718 Fixes: NB#99713 (HildonButton value label color is wrong)
1720 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1722 * src/hildon-touch-selector.c: Document
1723 hildon_touch_selector_center_on_selected()
1725 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1727 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1728 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1729 all menu items, but not the menu itself.
1730 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1731 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1732 items after adding them to the menu so keyboard accelerators work.
1733 (hildon_app_menu_show): Don't show the menu if it contains items
1734 but none of them are visible.
1736 * examples/hildon-app-menu-example.c (create_menu): Use
1737 gtk_widget_show_all() to show all menu items.
1739 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1741 * src/hildon-picker-dialog.c:
1742 (-_update_title_on_selector_changed_cb),
1743 (-_dialog_update_title): Removed.
1744 (_select_on_selector_changed_cb), (_on_dialog_response),
1745 (on_selector_columns_changed): Do not update the dialog title.
1746 (setup_interaction_mode): Do not connect to
1747 HildonTouchSelector::changed signal if there's a "done" button, as
1748 the dialog title doesn't need to be updated.
1750 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1753 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1755 Patch by Kristian Rietveld (kris@imendio.com)
1757 * src/hildon-touch-selector.c: (_create_new_column): Use new
1758 GtkTreeView::hildon-row-tapped signal to react to user interactions
1759 instead of ::changed.
1761 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1762 with some dynamic tree model)
1764 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1766 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1767 (+screen_size_changed, +label_size_request)
1768 (hildon_note_class_init): Make the Hildon information note have a
1769 minimum height, and make its text hvae a maximum width.
1771 Fixes: NB#98614 (Hildon information note (background) should have
1772 minimum height and maximum text width)
1774 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1776 * src/hildon-banner.h
1777 * src/hildon-banner.c (hildon_banner_show_information)
1778 (hildon_banner_show_informationf)
1779 (hildon_banner_show_information_with_markup): Update documentation
1780 to reflect that the icon_name parameter is not used anymore.
1781 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1782 Remove all code from these functions and mark them as deprecated.
1783 (hildon_banner_show_progress): Mark as deprecated.
1785 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1787 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1789 * src/hildon-pannable-area.c,
1790 (hildon_pannable_area_class_init),
1791 (tranparency_color),
1792 (hildon_pannable_draw_vscroll),
1793 (hildon_pannable_draw_hscroll),
1794 (hildon_pannable_area_expose_event): Added a new way to render the
1795 scrollbars of the pannable area avoiding using cairo at all. This
1796 way we improve the performance of the pannable area rendering. The
1797 cairo rendering procedure is still in the code, we can control
1798 which one to use changing the value of the define
1799 USE_CAIRO_SCROLLBARS.
1801 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1803 * configure.ac: post release version bump.
1804 * debian/changelog: version bump.
1806 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1811 * configure.ac: Bump version.
1812 * debian/changelog: Updates.
1814 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1817 banners instead of destroying them when they receive a button
1820 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1822 Reverted commit 34028, it was causing regressions, probably the
1823 topmost condition is not correct, we have to check it in more
1824 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1825 propagation of button press events)
1827 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1829 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1830 that the selection is not empty before attempting to retrieve the
1831 current ampm selection.
1833 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-picker-button.c:
1836 (hildon_picker_button_on_dialog_response): Directly update the
1837 button contents when required instead of calling _selection_changed.
1839 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1841 * src/hildon-program.c (hildon_program_update_top_most): Update
1842 'is-topmost' property also when wm_hints is not set.
1844 Fixes: NB#98383 (is-topmost signal is not emitted when task
1845 switcher is clicked.)
1847 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1849 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1853 * src/hildon-animation-actor.c,
1854 * src/hildon-animation-actor.h: Added the animation actor class,
1855 this widget represents an animation actor for WM-assisted
1856 animation effects in the Hildon framework.
1858 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1860 * src/hildon-window-stack-private.h
1861 * src/hildon-window-stack.c
1862 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1863 Avoid calling gtk_widget_show() again indirectly from
1864 hildon_stackable_window_show()
1866 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1868 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1871 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1873 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1874 (hildon_time_selector_init): Move the construction of the hours and
1875 ampm columns to the constructor to preserve the order the columns
1878 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1880 * src/hildon-picker-dialog.c:
1881 (hildon_picker_dialog_class_init): Connect a realize method.
1882 (+hildon_picker_dialog_realize): Setup the interaction mode here
1884 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1885 yet, do it during the realize instead.
1886 (_on_dialog_response):
1887 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1888 if the widget is not realized, to avoid the dialog response before it
1891 Avoid premature responses in the HildonPickerDialog that can cause it
1892 to be hidden before it's even shown.
1894 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1896 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1897 (on_selector_columns_changed), (requires_done_button),
1898 (+prepare_action_area), (setup_interaction_mode),
1899 (_hildon_picker_dialog_set_selector):
1901 Split the interaction mode setup into preparation of the
1902 action area (prepare_action_area()) and the connection of
1903 the signals in setup_interaction_mode() and update the code to
1906 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1908 * src/hildon-pannable-area.c,
1909 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1910 per second to 15, we will check if this is ok regarding
1913 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1915 * src/hildon-pannable-area.c,
1916 (hildon_pannable_axis_scroll): Avoid resize if we already have
1917 reached overshoot_max.
1919 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1921 * src/hildon-pannable-area.c,
1922 (hildon_pannable_area_init),
1923 (hildon_pannable_area_realize),
1924 (hildon_pannable_area_size_allocate),
1925 (hildon_pannable_area_map),
1926 (hildon_pannable_area_unmap),
1927 (hildon_pannable_draw_vscroll),
1928 (hildon_pannable_draw_hscroll),
1929 (hildon_pannable_area_expose_event),
1930 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1931 pannable are to avoid the expose events go to the window and
1932 redraw the window. We save this way that part of the stack and the
1933 paint_boxes. We had to change the positions of the elements when
1936 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1938 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1939 * src/hildon-color-chooser-dialog.c:
1940 (hildon_color_chooser_dialog_init):
1941 * src/hildon-font-selection-dialog.c:
1942 (hildon_font_selection_dialog_init),
1943 (hildon_font_selection_dialog_show_preview):
1944 * src/hildon-get-password-dialog.c:
1945 * src/hildon-login-dialog.c:
1946 * src/hildon-set-password-dialog.c:
1947 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1948 * src/hildon-time-picker.c: (hildon_time_picker_init):
1950 Remove obsolete logical string IDs and update to the appropriate ones.
1952 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1954 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1956 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1957 that happens if the window hasn't been realized yet.
1959 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1960 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1962 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1964 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1965 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1968 Fixes: NB#98537 (Device hangs in account settings dialog)
1970 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1972 * configure.ac: post release version bump.
1973 * debian/changelog: version bump
1975 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1980 * configure.ac: Bump version.
1981 * debian/changelog: Updates.
1983 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1985 Added a new function to the HildonTimeButton widget that allows to
1986 change the step of the minutes in the selector associated with the
1987 button: hildon_time_button_new_step
1989 * src/hildon-time-button.c,
1990 (hildon_time_button_init),
1991 (hildon_time_button_new),
1992 (hildon_time_button_new_step):
1993 * src/hildon-time-button.h: Added the new function and refactored
1995 * examples/hildon-time-button-example.c,
1996 (main): We have replaced the function without parameters with the
1997 function with the steps set to 5
1999 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2001 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2003 * src/hildon-time-selector.c,
2004 (hildon_time_selector_class_init),
2005 (hildon_time_selector_constructor),
2006 (hildon_time_selector_get_property),
2007 (hildon_time_selector_set_property),
2008 (_create_minutes_model),
2009 (hildon_time_selector_new_step),
2010 (hildon_time_selector_set_time),
2011 * src/hildon-time-selector.h: Added a new property to the
2012 HildonTimeSelector (minutes-step), we use that property to control
2013 the steps between the minutes in the list of the selector. We have
2014 added a new function to the API to create a widget changing the
2015 step: hildon_time_selector_new_step.
2017 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2019 * src/hildon-time-selector.c,
2020 (hildon_time_selector_class_init),
2021 (hildon_time_selector_constructor),
2022 (hildon_time_selector_init): Overrided the construct function when
2023 creating the time selector object. We have moved the minutes model
2024 handling code from the init to the new construction function:
2025 hildon_time_selector_constructor.
2027 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2029 * examples/hildon-date-button-example.c: (main): Use the new
2030 hildon_date_button_new_with_year_range() method in the example.
2031 * src/hildon-date-button.c:
2032 (+hildon_date_button_new_with_year_range): New public method
2033 to conveniently create a HildonDateButton with a custom year range
2034 in its HildonDateSelector.
2035 * src/hildon-date-button.h: Add the new public method definition.
2037 Fixes: NB#97908 (Not possible to change the year range in
2038 HildonDateSelector/HildonDateButton)
2040 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2042 * src/hildon-date-selector.c:
2043 (+hildon_date_selector_set_property),
2044 (+hildon_date_selector_get_property),
2045 (hildon_date_selector_class_init): Install new properties "min-year"
2046 and "max-year" to define boundaries for the year column.
2047 (_create_year_model): Use the boundary properties to populate the model.
2048 (+hildon_date_selector_new_with_year_range): New public method to
2049 create a HildonDateSelector with a user defined year range.
2050 (hildon_date_selector_select_current_date): Use the new boundaries to
2051 calculate the iterator of current year.
2052 * src/hildon-date-selector.h: Add the new public method definition.
2054 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2056 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2057 Install a constructor method.
2058 (+hildon_date_selector_construct_ui): construct the widget.
2059 (+hildon_date_selector_constructor): new constructor.
2060 (+hildon_date_selector_init): move out widget construction code to
2061 the new constructor.
2063 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2065 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2066 that there's actually a month or year selected before obtaining them.
2067 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2068 of the HildonTouchSelector::changed signal, as it was emitted on every
2069 single item selection.
2071 Fix some warnings and possible crashers due to the selection restoring.
2073 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2075 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2076 the signal handlers only after creating the dialog instead of on every
2079 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2081 * src/hildon-button.c (hildon_button_init)
2082 * src/hildon-check-button.c (hildon_check_button_init)
2083 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2084 focus when clicked by default.
2086 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2088 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2091 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2093 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2094 Alejandro G. Castro (alex@igalia.com)
2096 * src/hildon-picker-dialog.c:
2097 (hildon_picker_dialog_class_init): install new "center-on-show"
2099 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2100 (hildon_picker_dialog_set_property): add setter code for the new
2102 (hildon_picker_dialog_get_property): add getter code for the new
2104 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2105 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2108 Fixes: NB#92849 (Selected item is not always visible when
2109 HildonTouchSelector is shown)
2111 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2113 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2114 Alejandro G. Castro (alex@igalia.com)
2116 * src/hildon-touch-selector.c:
2117 (_create_new_column): Do not connect to the "realize" signal of the
2119 (hildon_touch_selector_append_column): center on the selected items
2120 when a new column is appended.
2121 (hildon_touch_selector_select_iter): Factor out the code to select a
2122 column to hildon_touch_selector_scroll_to().
2123 (+search_nearest_element): Method to retrieve the nearest selected
2124 element to the visible area of the pannable area in a column.
2125 (+on_realize_cb): scroll to the initially selected item.
2126 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2127 the pannable area is realized, otherwise delay this until it is.
2128 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2129 selected items of a given column.
2130 (+hildon_touch_selector_center_on_selected): Public method to center
2131 all columns on the nearest selected item.
2132 * src/hildon-touch-selector.h: Add definition for
2133 hildon_touch_selector_center_on_selected().
2135 Implement public API to ensure visibility of all selected items in
2136 a HildonTouchSelector.
2138 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2140 Fixed a problem in the fading when calling the scroll_to API, and
2141 improve scrollbar fading handling.
2143 * src/hildon-pannable-area.c,
2144 (hildon_pannable_area_grab_notify): avoid the timeout when the
2146 (hildon_pannable_area_button_press_cb),
2147 (hildon_pannable_area_motion_notify_cb): Code style changes.
2148 (hildon_pannable_area_button_release_cb): Review the conditions
2149 when releasing the mouse button to avoid unrequired fading
2151 (hildon_pannable_area_scroll_to): Do not calculate and set the
2152 velocity if the scroll is not required.
2154 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2157 Don't check whether the new selector is NULL: it cannot be.
2158 Hold a reference to the selector while doing the replacement.
2160 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2162 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2163 unnecessary size_request in a removed widget.
2165 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2167 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2168 an unnecessary reference tracking that was leaking.
2170 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2172 Added delayed motion notify event handling, this way we can
2173 discard redrawing if more than 25 events arrive per second.
2175 * src/hildon-pannable-area.c,
2176 (hildon_pannable_area_init): Initialized the new private atributes
2177 controlling this timeout
2178 (hildon_pannable_area_dispose): Remove the timeout that controls
2179 the motion notify events.
2180 (hildon_pannable_area_scroll): Added a condition to control the
2181 use of the acceleration.
2182 (hildon_pannable_area_motion_event_scroll_timeout),
2183 (hildon_pannable_area_motion_event_scroll): Added this two
2184 functions, they handle the motion notify events inside the
2186 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2187 to the scroll method with the new function.
2188 (hildon_pannable_area_button_release_cb): We have to remove the
2189 timeout handler and move to the last position if the last motion
2190 events were not handled.
2192 Fixes: NB#97028 (Pannable area updates on every motion event)
2194 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2196 * src/hildon-pannable-area.c,
2197 (hildon_pannable_area_get_topmost): Added a new parameter to
2198 filter the the windows that do not include those events. Added
2199 also a condition when finding the window to filter windows that do
2200 not ask for those events.
2201 (hildon_pannable_area_button_press_cb),
2202 (hildon_pannable_area_button_release_cb),
2203 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2204 topmost function, we have added the new parameter.
2206 Fixes: NB#97458 (Pannable area prevents propagation of button
2209 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2211 * src/hildon-pannable-area.c,
2212 (hildon_pannable_area_initial_effect): Added controls before
2213 launching the timeout and the idle functions.
2214 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2215 of the method, in some situations it can return with TRUE and 0 in
2217 (hildon_pannable_area_button_press_cb): We do not need to set
2218 DELAY for fading out here.
2220 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2222 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2224 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2225 post-cleaning if the selection is not NULL.
2227 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2229 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2230 all items before restoring the selection.
2232 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2234 * src/hildon-touch-selector.c:
2235 (+hildon_touch_selector_unselect_all):
2236 * src/hildon-touch-selector.h: New API to unselect all items in a
2237 column of the touch selector.
2239 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2241 * src/hildon-pannable-area.c,
2242 (hildon_pannable_area_redraw): Added a call to the refresh
2243 function inside the redraw because apparently in some cases the
2244 change in the adjustment does not imply a size allocate.
2246 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2247 despite the view not being scrollable)
2249 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2251 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2252 leak. Check for NULL before attempting to set the window title.
2254 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2256 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2257 whether to show or not the 'Done' button each time the dialog is
2258 shown, as it depends on the HildonTouchSelector selection mode.
2260 Fixes: NB#96226 (In multiple selection mode Done button is shown
2261 sometimes in listpicker)
2263 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2265 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2266 for the number of columns in the HildonTouchSelector more than once.
2268 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2270 * src/hildon-touch-selector.c: Minor documentation fixes.
2272 * src/hildon-picker-dialog.c (+_dialog_update_title)
2273 (_select_on_selector_changed_cb)
2274 (_update_title_on_selector_changed_cb)
2275 (on_selector_columns_changed): Update dialog title when there's no
2276 'Done' button and also when the number of columns in the selector
2280 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2281 (+_selection_changed, hildon_picker_button_on_dialog_response)
2282 (hildon_picker_button_selector_selection_changed)
2283 (+hildon_picker_button_selector_columns_changed)
2284 (hildon_picker_button_set_selector): Update button value and emit
2285 'value-changed' when the number of columns in the selector
2289 Fixes: NB#96225 (Dialog titles are not shown according to the
2290 values selected in the list picker)
2292 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2295 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2296 New "arrow-width" and "arrow-height" style properties to set the
2297 size of the arrow button.
2298 Set name of arrow button ("hildon-edit-toolbar-arrow").
2300 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2301 graphics from theme)
2303 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2305 * src/hildon-picker-button.c:
2306 (hildon_picker_button_selector_selection_changed): Use
2307 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2308 the dialog is present.
2310 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2311 the selection is accepted in the dialog)
2313 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2315 * src/hildon-color-chooser.h
2316 * src/hildon-color-chooser-dialog.h:
2317 Added G_BEGIN_DECLS and G_END_DECLS
2319 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2321 (_clean_current_selection): plug a leak in the list.
2323 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2325 * src/hildon-picker-dialog.c:
2326 (+free_path_list): Method to free a GList of GtkTreePaths.
2327 (_clean_current_selection), (_save_current_selection),
2328 (_restore_current_selection): Save the current selection in
2329 as a list of lists, to support multiple selection properly.
2331 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2333 patch by Claudio Saavedra (csaavedra@igalia.com)
2335 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2336 Store the press position.
2337 (+hildon_text_view_button_release_event): If the release position is
2338 close enough to the press position, move the cursor here. Otherwise,
2340 (hildon_text_view_class_init): Override GtkTextView press, release, and
2341 motion event handlers, disabling this way text selection through
2342 pointer interaction, and allowing the container widget to handle the
2345 Fixes: NB#95828 (HildonTextView functionality)
2347 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2349 Based on a patch by Iván Gómez (igomez@igalia.com)
2351 * src/hildon-button.[ch]
2352 * src/hildon-calendar.c
2353 * src/hildon-check-button.c
2354 * src/hildon-date-editor.c
2355 * src/hildon-date-selector.c
2356 * src/hildon-picker-button.c
2357 * src/hildon-time-editor.c
2358 * src/hildon-time-selector.c
2359 * src/hildon-touch-selector.[ch]:
2360 Documentation updates
2362 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2364 * src/hildon-pannable-area.c,
2365 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2366 threshold, it was required due to X events handling.
2368 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2370 * src/hildon-pannable-area.c,
2371 (hildon_pannable_area_grab_notify),
2372 (hildon_pannable_area_initial_effect),
2373 (hildon_pannable_area_button_press_cb),
2374 (hildon_pannable_area_button_release_cb),
2375 (hildon_pannable_area_scroll_cb),
2376 (hildon_pannable_area_scroll_to): Review the timeout management of
2377 the scrollbar, the frecuency was incorrectly set.
2379 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-picker-button.c:
2382 (+hildon_picker_button_on_dialog_response),
2383 (hildon_picker_button_clicked): Present the dialog instead of
2384 running it with gtk_dialog_run().
2386 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2389 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2391 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2392 (hildon_app_menu_finalize): When a window is hidden it doesn't
2393 emit notify::is-topmost, so make sure than the menu also
2394 disappears in that case.
2395 (parent_window_topmost_notify): Renamed from parent_window_hidden
2397 Fixes: NB#94460 (stackable window's menu is not closed when its
2400 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2402 * src/hildon-touch-selector-entry.c:
2403 (+hildon_touch_selector_entry_set_input_mode),
2404 (+hildon_touch_selector_entry_get_input_mode):
2405 * src/hildon-touch-selector-entry.h: New methods to access the input
2406 mode in the selector's entry.
2408 Fixes: NB#93410 (API required for setting IM mode in
2409 HildonTouchSelectorEntry)
2411 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2413 * configure.ac: post release version bump.
2414 * debian/changelog: version bump
2416 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2421 * configure.ac: Bump version.
2422 * debian/changelog: Updates.
2424 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2426 * src/hildon-touch-selector.c:
2427 (_hildon_touch_selector_has_multiple_selection): No need
2428 to initialize the variables here.
2430 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-note-private.h
2433 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2434 (hildon_note_finalize, hildon_note_rebuild): Close information
2435 notes when they receive a button press.
2437 Fixes: NB#89890 (Information notes does not get disappeared after
2440 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2442 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2443 mark from the wizard title, as it's not really necessary. Also,
2444 do not display the page title if not set.
2446 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2449 (parent_window_hidden): Use the window's "is-topmost" property to
2450 detect when to hide the menu.
2452 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2455 (hildon_app_menu_finalize): If the parent window of the menu is
2456 hidden, hide the menu too.
2458 Fixes: NB#94460 (stackable window's menu is not closed when its
2461 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2464 * debian/libhildon1-examples.install
2466 * examples/Makefile.am:
2467 Use dh_install to install all examples.
2468 Use DEB_SRCDIR instead of defining SOURCE_DIR
2470 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2472 * configure.ac: post release version bump.
2473 * debian/changelog: version bump
2475 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2480 * configure.ac: bump version
2481 * debian/changelog: updates
2482 * debian/control: bump gtk+ dependency
2484 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2486 patch by Christian Dywan (christian@imendio.com)
2488 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2489 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2491 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2493 * src/hildon-check-button.c (hildon_check_button_init)
2494 (hildon_check_button_class_init, hildon_check_button_style_set)
2495 (hildon_check_button_apply_style):
2496 New "checkbox-size" style property.
2498 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2499 larger / configurable size)
2501 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2503 * configure.ac: post release version bump.
2504 * debian/changelog: version bump
2506 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2511 * configure.ac: bump version
2512 * debian/changelog: updates
2514 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2516 * doc/hildon-sections.txt
2517 * src/hildon-pannable-area.c
2518 * src/hildon-program.c
2519 * src/hildon-time-editor.c
2520 * src/hildon-touch-selector-entry.c:
2522 More documentation updates.
2524 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2526 * doc/hildon-sections.txt
2527 * src/hildon-caption.c
2528 * src/hildon-code-dialog.c
2529 * src/hildon-color-button.c
2530 * src/hildon-controlbar.c
2531 * src/hildon-date-editor.c
2532 * src/hildon-date-selector.c
2533 * src/hildon-edit-toolbar.c
2534 * src/hildon-find-toolbar.c
2535 * src/hildon-font-selection-dialog.c
2537 * src/hildon-program.c
2538 * src/hildon-range-editor.c
2539 * src/hildon-seekbar.c
2540 * src/hildon-time-editor.c
2541 * src/hildon-time-selector.c
2542 * src/hildon-volumebar-range.c
2543 * src/hildon-volumebar.c
2544 * src/hildon-vvolumebar.c
2545 * src/hildon-weekday-picker.c
2546 * src/hildon-window.c
2547 * src/hildon-wizard-dialog.c:
2549 Lots of documentation fixes.
2551 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2553 Patch contributed by Iván Gómez (igomez@igalia.com)
2555 * src/hildon-check-button.c:
2556 * src/hildon-date-button.c:
2557 * src/hildon-date-selector.c:
2558 * src/hildon-dialog.c:
2559 * src/hildon-edit-toolbar.c:
2560 * src/hildon-entry.c:
2561 * src/hildon-picker-button.c:
2562 * src/hildon-program.c:
2563 * src/hildon-text-view.c:
2564 * src/hildon-time-button.c:
2565 * src/hildon-touch-selector-entry.c:
2566 * src/hildon-window-stack.c:
2568 Add more "since" tags to the new API.
2570 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2572 * doc/hildon-sections.txt: Add below method.
2573 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2574 version for the hildonized scale.
2575 * src/hildon-gtk.h: Add the definition.
2577 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2579 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2581 * doc/hildon-sections.txt: Add missing entries for new methods.
2583 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2585 Added API to pannable are in order to get its adjustments. We
2586 added two properties to manage the values we had in the private
2589 * src/hildon-pannable-area.c:
2590 (hildon_pannable_area_class_init): Added hadjustment and
2591 vadjustment properties in order to expose horizontal and vertical
2593 (hildon_pannable_area_get_property),
2594 (hildon_pannable_area_set_property): Added code to handle the new
2596 (hildon_pannable_area_get_hadjustment),
2597 (hildon_pannable_area_get_vadjustment): API functions to get the
2599 * src/hildon-pannable-area.h:
2600 (hildon_pannable_area_get_hadjustment),
2601 (hildon_pannable_area_get_vadjustment): API functions to get the
2604 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2606 Fixed some leaks, after valgrinding.
2608 * src/hildon-touch-selector.c:
2609 (_default_print_func): Fixed a leak.
2610 (hildon_touch_selector_append_column): Fixed a leak.
2611 * src/hildon-date-button.c:
2612 (hildon_date_button_init): Fixed a leak.
2613 * src/hildon-date-selector.c
2614 (hildon_date_selector_finalize): Fixed a leak.
2616 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2618 Based on a patch by Christian Dywan (christian@imendio.com)
2620 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2622 * src/hildon-gtk.h: Add definition.
2624 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2626 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2628 * src/hildon-picker-button.c: (hildon_picker_button_init),
2629 (hildon_picker_button_new): Set the HildonButton::style property
2630 in the init method, to propagate the value to the derived classes.
2632 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2634 * src/hildon-button.c: (hildon_button_class_init): Do not make
2635 the "style" property a construct property.
2637 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2639 * src/hildon-wizard-dialog.h
2640 * src/hildon-wizard-dialog.c
2641 (hildon_wizard_dialog_set_forward_page_func)
2642 * src/hildon-pannable-area.h
2643 * src/hildon-pannable-area.c
2644 (hildon_pannable_area_set_size_request_policy):
2645 Documentation fixes.
2647 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2649 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2651 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2653 * doc/hildon-sections.txt: Added sections file.
2655 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2658 * src/*.[ch]: Updates.
2660 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2662 * examples/hildon-progress-indicator-example.c: new file
2663 * examples/Makefile.am: include the new example program
2665 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2667 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2669 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2671 * configure.ac: post release version bump
2672 * debian/changelog: version bump
2674 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2679 * configure.ac: bump version
2680 * debian/changelog: updates
2681 * debian/control: bump gtk+ dependency
2683 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2685 * src/hildon-dialog.c: Mark as deprecated.
2686 * src/hildon-dialog.h: Mark as deprecated.
2687 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2688 from HildonDialog and still work, even if
2689 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2690 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2692 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2693 maemo changes) instead)
2695 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2697 * src/hildon-pannable_area.h:
2698 * src/hildon-pannable_area.c:
2699 (hildon_pannable_area_class_init),
2700 (hildon_pannable_area_set_property),
2701 (hildon_pannable_area_get_property),
2702 (hildon_pannable_area_size_request),
2703 (hildon_pannable_area_get_size_request_policy),
2704 (hildon_pannable_area_set_size_request_policy): Added new API
2705 allowing applications to control the request policy. Now they can
2706 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2707 children allocation (HILDON_MOVEMENT_CHILDREN).
2709 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2713 (hildon_gtk_tree_view_set_ui_mode)
2714 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2715 mode of treeviews and iconviews.
2717 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2719 * src/hildon-touch-selector-entry.c:
2720 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2721 of a GtkEntry to get proper theming.
2723 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2724 widget, not GtkEntry)
2726 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2728 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2729 no HildonWizardDialogPageFunc.
2731 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2733 Patch contributed by Iván Gómez (igomez@igalia.com)
2735 * src/hildon-app-menu.c:
2736 * src/hildon-button.c:
2737 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2738 * src/hildon-stackable-window.c:
2739 * src/hildon-time-selector.c:
2740 * src/hildon-touch-selector.c:
2741 * src/hildon-window.c:
2743 Add more "since" tags to the new API in hildon 2.2.
2745 2008-12-05 Tim Janik <timj@imendio.com>
2747 Patch contributed by Christian Dywan (christian@imendio.com)
2749 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2750 HildonSizeType, which are supplied by Gtk+ now.
2752 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2754 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2755 (with maemo changes) instead)
2757 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2759 Patch contributed by Iván Gómez (igomez@igalia.com)
2761 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2764 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2766 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2767 (some_page_func), (main): Update the example to use a
2768 HildonWizardDialogPageFunc function.
2770 * src/hildon-wizard-dialog-private.h: Add private data for
2771 the HildonWizardDialogPageFunc function usage.
2773 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2774 (destroy), (hildon_wizard_dialog_init), (response),
2775 (hildon_wizard_dialog_set_forward_page_func):
2776 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2777 that applications can use to stop a HildonWizardDialog to jump to
2780 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2783 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-program.h
2786 * src/hildon-program-private.h
2787 * src/hildon-program.c (hildon_program_init)
2788 (hildon_program_set_common_app_menu)
2789 (hildon_program_get_common_app_menu):
2790 New API for setting a common HildonAppMenu for all
2791 HildonStackableWindows registered with the HildonProgram.
2793 * src/hildon-stackable-window.c
2794 (hildon_stackable_window_toggle_menu):
2795 Use the common HildonAppMenu if a window doesn't have a specific
2798 * src/hildon-app-menu-private.h
2799 * src/hildon-app-menu.c
2800 (hildon_app_menu_get_parent_window):
2801 Function to obtain the window a HildonAppMenu is attached to.
2802 (hildon_app_menu_set_parent_window):
2803 Hide the menu if the parent window is set to NULL.
2805 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2807 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2808 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2809 search widget to popup.
2811 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2813 * configure.ac: post release version bump
2814 * debian/changelog: version bump
2816 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2821 * configure.ac: bump version
2822 * debian/changelog: updates
2824 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2826 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2828 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2829 (hildon_window_stack_window_realized)
2830 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2831 Set the leader GdkWindow when a window is stacked and realized,
2832 unset it when it's unstacked.
2833 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2835 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2837 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2839 * src/hildon-stackable-window.h
2840 * src/hildon-window-stack.h:
2841 Protect definition of HildonWindowStack using the preprocessor.
2843 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2846 Fix warning if all menu items are hidden.
2848 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2850 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2852 * src/hildon-controlbar.c:
2853 * src/hildon-hvolumebar.c:
2854 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2855 Multiple scale size defines updates.
2857 Fixes: NB#94322 (Scale Updates)
2859 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2861 * examples/hildon-app-menu-example.c (create_menu)
2862 Show items after adding them to the menu, as in the future the
2863 menu will no longer call gtk_widget_show() on the added items.
2865 * src/hildon-app-menu.c:
2866 Update example as explained above.
2868 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-app-menu.c
2871 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2872 Make sure that all menu items have finger height.
2874 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2876 * src/hildon-picker-dialog.c:
2877 (_on_dialog_response), (_save_current_selection),
2878 (_restore_current_selection), (_clean_current_selection),
2879 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2880 Defined new functions in order to save the current internal selector
2881 selection previous open the dialog, in case that the use cancel the
2882 interaction, so the widget restores the previous selection.
2884 Fixes: NB#92032 (In calendar application, date values in 'new event'
2887 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2889 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2891 * src/hildon-button.c: Add a reference to the button examples in
2892 hildon-button-example.c
2894 * examples/hildon-button-example.c: Added examples of the most
2895 common button layouts.
2897 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2899 * src/hildon-app-menu.c (hildon_app_menu_show)
2900 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2902 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2904 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2906 * src/hildon-picker-dialog.c:
2907 (hildon_picker_dialog_init): Initialize the signal id for
2908 HildonTouchSelector::columns-changed.
2909 (+on_selector_columns_changed): Set up the interaction mode everytime a
2910 column is added or removed from the HildonTouchSelector.
2911 (_hildon_picker_dialog_set_selector): Connect to
2912 HildonTouchSelector::columns-changed and keep track of it.
2914 Make sure to update the interaction mode of the dialog everytime a
2915 column is added or removed in the HildonTouchSelector.
2917 Fixes: NB#93228 (Done button is not shown always in listpicker)
2919 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2921 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2922 a new ::columns-changed signal.
2923 (hildon_touch_selector_append_column): Emit ::columns-changed.
2924 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2926 Add a ::columns-changed signal, emitted when the number of columns in a
2927 HildonTouchSelector changes.
2929 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2931 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2932 (_hildon_picker_dialog_set_selector): Factor out the code
2933 to set up the dialog interaction mode.
2935 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2938 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2939 to signal_changed_id.
2941 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2943 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2946 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2948 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2949 Updated the logical ids related to ampm format, as now it is required to
2950 show it correctly localized even on languages with no default
2951 abbreviations for am or pm
2952 (_check_am_pm_format): check correctly the 24h format gconf property
2954 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2956 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2958 * src/hildon-button.c: Documentation updates.
2960 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2962 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2963 * src/hildon-caption.c: (hildon_caption_class_init):
2964 * src/hildon-color-button.c: (hildon_color_button_class_init):
2965 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2966 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2967 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2968 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2970 Remove deprecated GTK+ marshalers and replace them with the ones
2971 provided by GLib, for those available, add a marshaler for
2972 BOOLEAN:VOID, which is not available in GLib, and use it.
2974 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2976 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2977 the text from the previous column if there is no
2978 HildonTouchSelectorColumn::text-property set.
2980 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2982 * src/hildon-button.h
2983 * src/hildon-button.c (hildon_button_set_property)
2984 (hildon_button_get_property, hildon_button_class_init)
2985 (hildon_button_set_style, hildon_button_get_style):
2986 New "style" property to change the visual appearance of the
2989 * src/hildon-picker-button.c (hildon_picker_button_new):
2990 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2992 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2993 HildonButton look like PickerButton)
2995 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2998 column while building the default string.
3000 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3003 scroll indicator by default.
3005 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3007 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3009 * src/hildon-main.c: Fix the documentation for hildon_init()
3011 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3013 * doc/hildon-docs.sgml
3017 * src/hildon-window-stack-private.h
3018 * src/hildon-window-stack.h
3019 * src/hildon-window-stack.c:
3020 New HildonWindowStack object, that adds support for multiple
3021 stacks of windows per process.
3023 * src/hildon-stackable-window-private.h
3024 * src/hildon-stackable-window.h
3025 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3026 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3027 (hildon_stackable_window_show, hildon_stackable_window_hide)
3028 (hildon_stackable_window_class_init)
3029 (hildon_stackable_window_init):
3030 Use HildonWindowStack for stack management.
3032 * src/hildon-program.c (hildon_program_pop_window_stack)
3033 (hildon_program_peek_window_stack)
3034 (hildon_program_go_to_root_window):
3035 Add a fallback implementation to the deprecated functions using
3038 * examples/hildon-stackable-window-example.c:
3039 Use the new HildonWindowStack API.
3041 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3043 * src/hildon-stackable-window-private.h
3044 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3045 (hildon_stackable_window_hide, hildon_stackable_window_init):
3046 Remove all window stack management.
3048 * src/hildon-program-private.h
3049 * src/hildon-program.h
3050 * src/hildon-program.c (hildon_program_init)
3051 (hildon_program_pop_window_stack)
3052 (hildon_program_peek_window_stack)
3053 (hildon_program_go_to_root_window):
3054 Remove all window stack management and mark functions as
3057 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3059 * src/hildon-app-menu.c (hildon_app_menu_realize):
3060 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3062 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3064 * configure.ac: post release version bump
3065 * debian/changelog: version bump
3067 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3072 * configure.ac: bump version
3073 * debian/changelog: updates
3075 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3077 Based on initial code by Christian Dywan (christian@imendio.com)
3079 * doc/hildon-docs.sgml: Add section for hildon-main.
3080 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3081 * src/Makefile.am: Add new hildon-main.[ch]
3082 * src/hildon-defines.h: Update the icon sizes.
3083 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3084 new library initialization files and register icon sizes.
3085 * src/hildon-main.h: New declarations.
3086 * src/hildon.h: Include hildon-main.h
3088 Add new initialization functions to the library. These methods
3089 will register the hildon specific icon sizes and can be used in the
3090 future for other hildon specific bits.
3092 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3094 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3096 * src/hildon-window.c: (hildon_window_realize),
3097 (hildon_window_notify), (-hildon_window_update_title): Do not set
3098 the application name in the window title.
3100 Fixes: NB#89754 (Applications shouldn't display their names in the
3103 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3105 * src/hildon-note-private.h:
3106 * src/hildon-note.c: (hildon_note_set_property),
3107 (hildon_note_get_property), (hildon_note_class_init),
3108 (hildon_note_init), (hildon_note_finalize),
3109 (hildon_note_new_confirmation_with_icon_name),
3110 (hildon_note_new_information_with_icon_name):
3112 No need to mark as deprecated the actual code. Revert
3113 to avoid missing symbols in widgets using deprecated API.
3115 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3117 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3119 * src/hildon-volumebar.h
3120 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3121 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3123 * src/hildon-helper.h
3124 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3125 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3127 * examples/Makefile.am:
3128 Deprecate hildon-insensitive-example
3130 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3132 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3134 * examples/hildon-pannable-area-buttons-scroll-example.c:
3135 Make all buttons finger height
3137 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3139 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3141 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3142 update the day model only if it is really required, and to avoid the
3143 full-reconstruction aproach. Now it only add or remove the required days.
3145 The purpose of this is avoid superfluous HildonTouchSelector::changed
3148 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3149 with strange parameters)
3151 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3153 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3155 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3156 the WINDOW_TYPE property.
3158 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3160 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3163 Fix dependency to allow parallel compilation with make -jX
3165 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3167 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3168 color frame and some minor tweaks to make it more consistent with
3171 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3172 highlighted but not visible)
3174 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3176 * examples/Makefile.am: Fixed typo in the Makefile.am.
3178 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3180 Reviewed the use of MAEMO_GTK define, now we add the define in the
3181 compilation line, and we also add it to the pc file.
3183 * configure.ac: Added MAEMO_GTK define to the compilation command
3184 and removed it from the config.h.
3186 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3187 do not have to take care about this define if the library was
3191 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3193 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3195 * examples/Makefile.am,
3196 * examples/hildon-pannable-area-buttons-scroll-example.c,
3197 * examples/hildon-pannable-area-gesture-signals-example.c,
3198 * examples/hildon-pannable-area-scroll-jump-example.c,
3199 * examples/hildon-pannable-area-tree-view-example.c:
3200 Renamed the pannable area examples, now they have more meaningful
3203 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3205 * src/hildon-touch-selector.c:
3206 (hildon_touch_selector_set_column_selection_mode): Used of
3207 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3208 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3209 to avoid re-seting the same selection mode.
3211 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3212 breaks HildonPickerDialog)
3214 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3216 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3217 conditional in the Makefile.am
3219 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3221 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3222 Remove unused methods.
3224 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3226 * src/hildon-button.c (hildon_button_init):
3227 Make button images center-aligned by default
3229 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3232 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3233 activated, we have to think about how to deal with both defines
3234 MAEMO_GTK and MAEMO_CHANGES.
3236 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3238 * examples/hildon-app-menu-example.c (create_menu): Make all
3239 buttons finger size.
3241 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3243 Fixed the compilation without maemo gtk adding ifdefs with
3244 MAEMO_GTK define to the code, we have to check this version more
3247 * examples/Makefile.am: Added control to avoid some examples that
3248 just make sense with maemo gtk.
3251 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3252 hildon modes with the define.
3254 * examples/hildon-edit-toolbar-example.c,
3255 (create_icon_view): Create the icon view without hildon-gtk
3256 helpers if we are not using maemo gtk.
3258 * src/hildon-touch-selector.c,
3259 (_create_new_column): Create the treeview without hildon-gtk
3260 helpers if we are not using maemo gtk.
3262 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3264 * src/hildon-pnnable-area.c,
3265 (hildon_pannable_area_dispose),
3266 (hildon_pannable_area_button_press_cb),
3267 (hildon_pannable_area_child_mapped),
3268 (hildon_pannable_area_add),
3269 (hildon_pannable_area_remove): Added code to control the position
3270 of the event_window when adding and removing children from the
3271 pannable. We have to raise the event window when the child is
3274 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3275 selection mode using custom widget inside pannable)
3277 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3279 * configure.ac: post release version bump
3280 * debian/changelog: version bump
3282 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3287 * configure.ac: bump version
3288 * debian/changelog: updates
3290 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3292 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3293 search mode, in order to avoid lose the focus on the treeview when
3294 a hw key (like enter) is pressed.
3296 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3297 in HildonDateSelector dialog)
3299 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3301 * debian/rules: Added --enable-maintainer-mode
3302 * Makefile.am: Added ACLOCAL_AMFLAGS
3304 This allows to properly regenerate the Makefiles if you modify the
3305 configure.ac or any Makefile.am.
3307 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3309 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3310 properties, not needed at all.
3312 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3314 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3316 * src/hildon-note.c: (hildon_note_set_property),
3317 (hildon_note_get_property), (hildon_note_class_init),
3318 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3319 (hildon_note_new_confirmation_add_buttons): Remove icons.
3320 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3321 (hildon_note_new_information_with_icon_name): Deprecate.
3322 (hildon_note_new_confirmation): Act directly, without calling
3323 the deprecated constructor.
3324 (hildon_note_new_information): Act directly, without calling
3325 the deprecated constructor.
3326 * src/hildon-note.h: Mark deprecate methods as such.
3327 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3328 not run tests on the deprecated methods if built with deprecation
3331 Fixes: NB#91688 (Never show icons in information notes/confirmation
3334 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3336 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3337 (hildon_app_menu_key_press): Remove leftover usage of the
3338 private structure in HildonAppMenu struct.
3339 * src/hildon-app-menu.h: Remove leftover private structure
3340 from the HildonAppMenu struct.
3342 Fixes a crasher when using the HildonAppMenu.
3344 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3346 * src/hildon-picker-dialog.c: Use appropriate logical id
3347 for the default "Done" text.
3349 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3351 * configure.ac: post release version bump
3352 * debian/changelog: version bump
3354 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3356 Modified the way to scroll to the current selection just when the touch
3357 selector is shown on the screen, avoiding a g_idle. Added too a property
3358 to configure this behaviour. See hildon_pannable_area_jump_to_child
3359 documentation for more information.
3361 * src/hildon-touch-selector.c
3362 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3363 Added 'initial-scroll' property
3364 (hildon_touch_selector_set_property): Added
3365 (hildon_touch_selector_map): Removed as not required anymore
3366 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3367 only a concrete column, instead of iterate along all the columns
3369 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3374 * configure.ac: bump version
3375 * debian/changelog: updates
3377 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3380 compilation time warnings.
3382 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3384 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3385 the default value for HildonPannableArea::mov-mode to
3386 HILDON_PANNABLE_AREA_MODE_VERT.
3388 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3390 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3392 Reverting following commit:
3394 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-app-menu-private.h
3397 * src/hildon-app-menu.[ch]
3398 * src/hildon-button.[ch]
3399 * src/hildon-check-button.[ch]
3400 * src/hildon-entry.[ch]
3401 * src/hildon-pannable-area.[ch]
3402 * src/hildon-text-view.[ch]:
3403 Added private field to the object's structure.
3405 because it causes an ABI breakage. We will need to introduce these
3406 changes later at some point. See NB#91636 for an extensive
3407 explanation and status.
3409 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3411 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3413 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3414 remove special cases that are no longer necessary.
3416 Fixes: NB#91016 (Change toolbar sizes, simplification)
3418 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3420 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3421 is shown in the cancel note.
3423 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3425 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3426 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3427 (hildon_seekbar_init): Remove steppers, remove expose event.
3428 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3430 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3432 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3434 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3435 label font to "SmallSystemFont" for vertically arranged buttons.
3437 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3440 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3442 * src/hildon-check-button.c
3443 (hildon_check_button_set_active, hildon_check_button_clicked):
3444 Don't access private parts directly, use getters instead.
3446 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3448 * src/hildon-check-button.c (hildon_check_button_new):
3449 Align the contents of the check button to the left.
3451 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3453 * src/hildon-pannable-area.c,
3454 (hildon_pannable_area_scroll_to),
3455 (hildon_pannable_area_jump_to),
3456 (hildon_pannable_area_scroll_to_child),
3457 (hildon_pannable_area_jump_to_child): Replace the mapped
3458 precondition of these functions with the realized, it is the
3459 correct state of the widget in this case. Changed the
3460 documentation according to this modification.
3462 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3464 Added a new EXTRA_CFLAGS option to add the deprecated define to
3465 the compilation command. This way we can avoid using the define in
3466 the documentation compilation.
3468 * configure.ac: Defined EXTRA_CFLAGS.
3470 * examples/Makefile.am:
3472 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3474 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3476 * src/hildon-picker-dialog.c:
3477 Defined a utility macro with the desired touch selector height
3478 Removed currently unused separator, and title_label variables from
3480 (hildon_picker_dialog_init): Removed code related to the creation
3481 of unused private variables title_label and separator.
3482 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3483 to ensure correct visualization of the touch selector inside the dialog.
3484 * src/hildon-touch-selector.c
3485 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3486 ensure a concrete height of the widget.
3488 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3491 * tests/Makefile.am:
3493 Remove spurious whitespaces.
3495 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3498 compilation warning after the cancel button removal.
3500 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3502 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3504 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3505 Makefile.am, that way we can choose not to compile some examples
3506 and tests of the deprecated widgets.
3508 * examples/Makefile.am: Divided the sources in deprecated and
3511 * src/Makefile.am: Added undef statement of the deprecated
3512 symbol to the enums file generation process.
3514 * src/hildon-color-chooser-dialog.c
3515 * src/hildon-color-chooser-dialog.h
3516 * src/hildon-color-button.c
3517 * src/hildon-color-button.h
3518 * src/hildon-color-chooser.c
3519 * src/hildon-color-chooser.h
3520 * src/hildon-controlbar.c
3521 * src/hildon-controlbar.h
3522 * src/hildon-date-editor.c
3523 * src/hildon-date-editor.h
3524 * src/hildon-hvolumebar.c
3525 * src/hildon-hvolumebar.h
3526 * src/hildon-private.c
3527 * src/hildon-private.h
3528 * src/hildon-range-editor.c
3529 * src/hildon-range-editor.h
3530 * src/hildon-seekbar.c
3531 * src/hildon-seekbar.h
3532 * src/hildon-time-editor.c
3533 * src/hildon-time-editor.h
3534 * src/hildon-time-picker.c
3535 * src/hildon-time-picker.h
3536 * src/hildon-volumebar.c
3537 * src/hildon-volumebar.h
3538 * src/hildon-vvolumebar.c
3539 * src/hildon-vvolumebar.h
3540 * src/hildon-bread-crumb-trail.h
3541 * src/hildon-bread-crumb-trail.c
3542 * src/hildon-calendar-popup.c
3543 * src/hildon-calendar-popup.h
3544 * src/hildon-weekday-picker.c:
3545 * src/hildon-weekday-picker.h:
3546 * src/hildon-bread-crumb-widget.c:
3547 * src/hildon-bread-crumb-widget.h:
3548 * src/hildon-bread-crumb.c:
3549 * src/hildon-bread-crumb.h:
3550 * src/hildon-calendar.c:
3551 * src/hildon-calendar.h:
3552 * src/hildon-caption.c:
3553 * src/hildon-code-dialog.c:
3554 * src/hildon-code-dialog.h:
3555 * src/hildon-font-selection-dialog.c:
3556 * src/hildon-font-selection-dialog.h:
3557 * src/hildon-get-password-dialog.c:
3558 * src/hildon-get-password-dialog.h:
3559 * src/hildon-login-dialog.c:
3560 * src/hildon-login-dialog.h:
3561 * src/hildon-number-editor.c:
3562 * src/hildon-number-editor.h:
3563 * src/hildon-set-password-dialog.c:
3564 * src/hildon-set-password-dialog.h:
3565 * src/hildon-sort-dialog.c:
3566 * src/hildon-sort-dialog.h: This is the list of deprecated
3569 * src/hildon-touch-selector.c:
3570 * src/hildon-window.c: Added undef statement to avoid compilation
3573 * tests/Makefile.am: Divided the sources in deprecated and
3576 * tests/check_test.c,
3577 (configure_tests): Marked the deprecated code that was adding
3578 suites with deprecated tests.
3580 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3582 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3584 * src/hildon-touch-selector.c: (_default_print_func): Do not
3585 duplicate a string returned by gtk_tree_model_get(), it is already
3588 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3591 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3593 * src/hildon-pannable-area.c
3594 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3595 method, it had problems when adding a widget with viewport the
3596 second time. Now checks if it already has a viewport and uses it.
3598 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3601 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3603 * src/hildon-pannable-area.c,
3604 (hildon_pannable_area_scroll_to),
3605 (hildon_pannable_area_jump_to),
3606 (hildon_pannable_area_scroll_to_child),
3607 (hildon_pannable_area_jump_to_child): Added a precondition to the
3608 scroll and jump to functions: the widget must be mapped before we
3609 can safely call these functions. We have also added documentation
3610 to the functions to explain how to use them in this situation.
3613 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3615 Reviewed the threading handling of the pannable widget, we have
3616 used the gdk_threads_add_timeout function instead of the usual
3617 glib handlers. This avoids some problems with the threads.
3619 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3620 (hildon_pannable_area_initial_effect),
3621 (hildon_pannable_area_scroll_indicator_fade),
3622 (hildon_pannable_area_button_press_cb),
3623 (hildon_pannable_area_timeout),
3624 (hildon_pannable_area_motion_notify_cb),
3625 (hildon_pannable_area_button_release_cb),
3626 (hildon_pannable_area_scroll_cb),
3627 (hildon_pannable_area_scroll_to): Removed the
3628 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3629 gdk_threads_add_timeout.
3631 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3633 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3638 * configure.ac: bump version
3639 * debian/changelog: updates
3641 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3643 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3644 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3645 * src/hildon-color-chooser-dialog.c:
3646 (hildon_color_chooser_dialog_init):
3647 * src/hildon-font-selection-dialog.c:
3648 (hildon_font_selection_dialog_init):
3649 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3651 Remove all cancel/close-like dialogs, as these are not going to be
3654 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3656 * src/hildon-note.c: (hildon_note_rebuild),
3657 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3660 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3662 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3665 sure all buttons are shown, even the Cancel/Close-like ones.
3667 Fixes: NB#90861 (Custom Confirmation dialogs should be
3668 protected from cancel button removal)
3670 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3672 * debian/control: Change libhildon1-examples dependency from libhildon1
3674 * debian/libhildon1-examples.install
3676 * Makefile.am: Modified the final install directory for the examples on
3677 package libhildon1-examples
3678 * Makefile.static: Update clean target in order to remove all the binary
3681 Changes suggested by Claudio after review new libhildon1-examples package
3683 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3685 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3686 * src/hildon-touch-selector.c: Ditto.
3688 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3690 * debian/control: Added new package libhildon1-examples, in order to pack
3691 the current hildon examples as documentation
3692 * debian/rules: Not to compress .c files, modify some includes on the
3693 examples (as normally are compiled locally, but when installed it will
3694 require to include the installed libhildon1 library), and rename
3696 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3697 install all the example files on the new example package
3698 * examples/Makefile.static: Added static makefile that can be used to
3699 compile the examples, once installed the new example package
3700 * examples: Most of the examples were modified in order to grant that
3701 all use only '#include "hildon.h"', in order to be easy to prepare
3702 it on the example package
3704 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3707 * debian/libhildon1-dev.install
3708 * debian/libhildon1-doc.install:
3709 Move all gtk-doc files to a separate libhildon1-doc package.
3711 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3713 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3715 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3717 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3719 * debian/rules: Fixed a error in order to avoid unnecessary calls
3720 to autogen.sh on package building
3722 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3724 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3726 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3728 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3731 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3733 * src/hildon-picker-button.c
3734 (hildon_picker_button_finalize):
3735 Free priv->done_button_text
3737 * src/hildon-time-button.c
3738 (hildon_time_button_set_time)
3739 * src/hildon-picker-button.c
3740 (hildon_picker_button_clicked)
3741 (hildon_picker_button_selector_selection_changed)
3742 (hildon_picker_button_set_selector)
3743 * src/hildon-date-button.c
3744 (hildon_date_button_set_date):
3745 Free strings returned by hildon_touch_selector_get_current_text()
3747 * src/hildon-button.c (hildon_button_construct_child):
3748 Fix leaks in priv->image and priv->label_box
3750 Fixes: NB#90535 (Memory leak in picker button)
3752 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3754 * src/hildon-button.c: (hildon_button_get_property): Do not access
3755 private elements directly, use getters instead.
3757 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3759 * src/hildon-app-menu-private.h
3760 * src/hildon-app-menu.c
3761 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3762 Store the menu's parent window.
3764 * src/hildon-stackable-window.c
3765 (hildon_stackable_window_toggle_menu)
3766 (hildon_stackable_window_finalize):
3767 Set the menu's parent window when the menu is shown, unset it when
3770 * src/hildon-app-menu.c
3771 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3772 (hildon_app_menu_class_init):
3773 Send unhandled keyboard accelerators to the parent window.
3775 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3777 * src/hildon-stackable-window.c
3778 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3780 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3782 * configure.ac: post release version bump
3784 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3787 * configure.ac: Bump version
3788 * debian/changelog: Updates
3789 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3792 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3794 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3797 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3798 GtkMenu with Hildon style.
3800 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3802 * src/hildon-picker-button.c:
3803 (hildon_picker_button_set_done_button_text): Set the dialog's
3804 done button text here as well.
3806 Fixes: NB#90232 (Picker button does not set the label on done button
3807 for the second time)
3809 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3811 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3814 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3816 * src/hildon-app-menu.c (hildon_app_menu_insert)
3817 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3818 the HildonAppMenu to be activatable using keyboard accelerators
3819 when the menu is not being shown.
3821 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3823 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3825 * src/hildon-stackable-window.c
3826 (hildon_stackable_window_show):
3827 Don't hide old windows automatically when new windows are shown:
3828 this is now a task for the window manager.
3829 (hildon_stackable_window_class_init)
3830 (hildon_stackable_window_hide):
3831 Remove windows from the stack everytime they're hidden.
3832 (hildon_stackable_window_realize):
3833 Don't change the _NET_WM_WINDOW_TYPE property. Use
3834 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3835 it as a stackable window.
3837 * src/hildon-program.c
3838 (hildon_program_pop_window_stack):
3839 Just hide the window to remove it from the stack.
3840 (hildon_program_go_to_root_window):
3841 Don't call gtk_widget_show(), this is now a task for the window
3844 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3846 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3848 * src/hildon-button.c
3849 (hildon_button_construct_child):
3850 Don't pack anything in the button until text or image are
3851 set. This allows adding a custom child after creating the button
3852 with hildon_button_new().
3853 (hildon_button_finalize, hildon_button_class_init)
3854 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3855 alignment and the label box even when they're not packed in the
3858 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3860 * src/hildon-touch-selector.h:
3861 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3862 currently the type definition was using GTK_TYPE_VBOX
3863 * src/hildon-touch-selector.c:
3864 Added some implementation notes in order to clarify that any other widget
3865 added without the column related API will not be included on the
3866 selection logic, and how the widget is freed, as some people ask about
3868 (hildon_touch_selector_remove): Reimplemented in order to free properly
3869 the column related data when you remove the private hbox.
3870 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3871 to get a proper HildonTouchSelectorColumn documentation
3873 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3875 * src/hildon-touch-selector-entry.c:
3876 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3877 text in the GtkEntry and there is no item selected. Fixes a
3880 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3882 * src/hildon-app-menu-private.h
3883 * src/hildon-app-menu.[ch]
3884 * src/hildon-button.[ch]
3885 * src/hildon-check-button.[ch]
3886 * src/hildon-entry.[ch]
3887 * src/hildon-pannable-area.[ch]
3888 * src/hildon-text-view.[ch]:
3889 Added private field to the object's structure.
3891 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3893 * configure.ac: post-release version bump
3895 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3899 * configure.ac: pre-release version bump
3901 * debian/changelog: updates.
3903 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3905 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3906 Disconnect the handler for HildonTouchSelector::changed.
3908 (hildon_picker_button_selector_selection_changed): Update the button
3909 value if the selection change was not triggered by the
3912 (hildon_picker_button_set_selector): connect to
3913 HildonTouchSelector::changed.
3915 Fixes: NB#89650 (Picker button is not updated, when selection in
3916 selector has changed)
3918 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3920 * src/hildon-picker-dialog.c
3921 (hildon_picker_dialog_realize): Removed as not required
3922 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3923 * src/hildon-picker-button.c
3924 (_current_selector_empty): New function, checks if the selector is empty
3925 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3926 if the current selector is empty, in order to avoid to show the dialog
3927 close the dialog in this case (and shows a g_warning).
3929 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3931 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3933 * src/hildon-pannable-area.c,
3934 (hildon_pannable_area_scroll): Added clause to stop movement when
3935 the child of pannable is smaller than one page.
3936 (hildon_pannable_area_scroll_to): Added conditions to avoid
3937 starting the scrolling movement if the child is smaller than one
3938 page, the complete child is in the screen, we do not have to move.
3940 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3942 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3944 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3945 this is managed automatically by the widget when the size of the
3948 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3950 * src/hildon-picker-button.c
3951 (hildon_picker_button_set_done_button_text): Make a copy of the
3952 text, and free the previous value.
3954 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3956 * src/hildon-touch-selector-entry.c:
3957 (hildon_touch_selector_entry_print_func): Return the selected row's
3958 text if the entry is empty.
3960 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3963 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3965 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3967 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3970 * src/hildon-check-button.h
3971 * src/hildon-check-button.c
3972 * examples/hildon-check-button-example.c:
3973 HildonCheckButton is now a new widget. 'toggled' signal added.
3975 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3977 * src/hildon-program-private.h
3978 * src/hildon-program.c (hildon_program_init)
3979 (hildon_program_finalize): Removed unused variables group_leader
3980 and name from HildonProgramPrivate.
3982 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3984 * src/hildon-check-button.c (hildon_check_button_set_active)
3985 (hildon_check_button_get_active, hildon_check_button_new): Use
3986 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3988 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3990 * src/hildon-touch-selector.h
3991 (hildon_touch_selector_set_column_attributes): added deprecation
3992 guard HILDON_DISABLE_DEPRECATED
3993 * src/hildon-time-selector.c
3994 (hildon_time_selector_set_time)
3995 (hildon_time_selector_get_time): Fixed a typo on documentation
3996 * src/hildon-touch-selector.c: update HildonTouchSelector and
3997 HildonTouchSelectorColumn documentation
3998 * src/hildon-touch-selector-entry.c: update "text-column" property
4000 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4001 to be added to the general documentation.
4003 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4005 * examples/hildon-pannable-area-example-4.c,
4007 * examples/hildon-pannable-area-example.c,
4008 (main): Modified the code in order to use the container add, with
4009 viewport treeviews could have problems if they are really big.
4011 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4013 * src/hildon-weekday-picker.c,
4014 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4015 the agreement regarding deprecation in the library.
4017 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4019 * examples/hildon-picker-button-multicolumn-example.c:
4020 (main): Use custom "done" button text.
4022 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4023 (hildon_picker_button_set_property),
4024 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4025 (hildon_picker_button_init),
4026 (+hildon_picker_button_get_done_button_text),
4027 (+hildon_picker_button_set_done_button_text): New methods to customize
4028 the "done" button label in the launched HildonPickerDialog. Also,
4031 * src/hildon-picker-button.h: add the public API.
4033 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4035 * src/hildon-date-selector.h:
4036 * src/hildon-picker-dialog.h:
4037 * src/hildon-time-selector.h:
4038 * src/hildon-touch-selector-column.h:
4039 * src/hildon-touch-selector.h:
4041 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4042 declarations. Fixes gtk-doc warnings.
4044 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4046 * src/hildon-picker-dialog.h
4047 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4048 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4050 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4051 long text is set as label for done button)
4053 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4055 * src/hildon-dialog.c (hildon_dialog_add_button):
4056 Set fixed width to all buttons in the HildonDialog.
4058 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4060 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4062 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4063 Set widget name using class name plus "-finger" or "-thumb".
4065 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4067 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4068 'clicked' when the state of the button is manually changed.
4070 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4072 * src/hildon-app-menu.c (hildon_app_menu_realize)
4073 (hildon_app_menu_unrealize, hildon_app_menu_init)
4074 (hildon_app_menu_class_init, item_visibility_changed):
4075 Change the menu layout when the size of the screen changes.
4076 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4077 Show warning only when changing the number of colums using the
4080 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4082 * debian/compat: Set to 5
4083 * debian/control: Update dependencies.
4084 * debian/libhildon1-dbg.install: Remove.
4085 * debian/libhildon1-dev.install: Update according to cdbs paths.
4086 * debian/libhildon1.install: Update according to cdbs paths.
4087 * debian/rules: Switch to cdbs.
4089 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4092 'item' variable renamed to 'filter'
4094 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4096 * src/hildon-app-menu.c (hildon_app_menu_insert)
4097 (hildon_app_menu_add_filter, remove_item_from_list)
4098 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4099 Don't leak hidden items when the menu is destroyed.
4101 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4103 * src/hildon-app-menu.c (hildon_app_menu_insert)
4104 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4105 (hildon_app_menu_set_columns, item_visibility_changed)
4106 (filter_visibility_changed, hildon_app_menu_repack_filters)
4107 (hildon_app_menu_repack_items):
4108 Repack items and filters separately.
4110 Don't repack all items, change only the ones that are needed to
4113 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4115 * src/Makefile.am: added hildon-touch-selector-column.h
4117 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4119 * src/hildon-touch-selector.c: added the property "text-column" to the
4120 class HildonTouchSelectorColumn, and related get/set functions
4121 (_default_printf_func): updated to use "text-column" property
4122 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4123 "text-column" in his documentation, as this is now included on
4124 HildonTouchSelectorColumn. The get/set_property can still be used,
4125 working as a wrapper to the concrete column "text-column" property
4126 (_text_column_modified): callback added in order to handle the signal
4127 "notify::text-column" of the concrete HildonTouchSelectorColumn
4128 (hildon_touch_selector_entry_get_text_column)
4129 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4130 modified in order to use the HildonTouchSelectorColumn "text-column"
4132 * src/hildon-time-selector.c:
4133 * src/hildon-date-selector.c:
4134 * examples/hildon-touch-selector-example.c
4135 * examples/hildon-touch-selector-multi-cells-example.c
4136 * examples/hildon-picker-button-multicolumn-example.c
4137 Set the right value to "text-column" property on the creation of a new
4138 column using hildon_touch_selector_append_column()
4140 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4142 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4144 * src/hildon-app-menu.c
4145 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4146 updating the layout of the menu, don't create all widgets again,
4147 just repack the items in their new places.
4149 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4151 * src/hildon-time-selector.c
4152 (hildon_time_selector_get_time)
4153 (hildon_time_selector_set_time)
4154 Added documentation of these public methods
4156 * src/hildon-date-button.h
4157 * src/hildon-touch-selector-column.h
4158 * src/hildon-time-button.h
4159 * src/hildon-picker-dialog.h
4160 * src/hildon-time-selector.h
4161 * src/hildon-picker-button.h
4162 * src/hildon-touch-selector.h
4163 * src/hildon-time-picker.h
4164 * src/hildon-date-selector.h
4165 * src/hildon-touch-selector-entry.h
4166 Modified in order to use hildon-widgets code style
4168 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4170 Added deprecated support to the compilation process using
4171 HILDON_DISABLE_DEPRECATED
4173 * configure.ac: Added the --disable-deprecated to the configure
4176 * src/hildon-weekday-picker.c:
4177 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4178 to use the deprecated support. We will update the other deprecated
4179 widgets status in a new patch.
4181 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4183 * configure.ac: Fixed typo with fatal warnings support, the
4184 variable name was not correct
4186 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4188 * src/hildon-app-menu.c
4189 * src/hildon-program.c: Update documentation.
4191 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4193 * configure.ac: Post-release version bump.
4195 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4200 * configure.ac: Pre-release version bump.
4201 * debian/changelog: Updates.
4203 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4205 * NEWS: Update news for previous releases.
4207 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4209 * examples/hildon-touch-selector-multi-cells-example.c:
4210 (create_selector): Update the example to use
4211 hildon_touch_selector_append_column() with a NULL renderer and set
4212 the renderers later.
4213 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4214 passed a NULL renderer. This is documented behavior now.
4216 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4217 This must be used if the developer wants full control on the layout of
4218 the renderers to be added to the column.
4220 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4222 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4224 * src/hildon-touch-selector.c: Documentation fixes.
4226 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4228 * src/hildon-wizard-dialog-private.h: Remove image and box.
4229 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4230 (hildon_wizard_dialog_set_property), (response): Completely remove
4231 image/icon support, and the containers required for the layout.
4233 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4235 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4237 * src/hildon-app-menu.c: Updated documentation.
4239 * src/hildon-stackable-window.c
4240 (hildon_stackable_window_set_main_menu): Unref the old menu after
4241 ref'ing the new one.
4243 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4245 * src/hildon-stackable-window.c
4246 (hildon_stackable_window_set_main_menu): Unref the previous menu
4247 instead of destroying it.
4249 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4250 floating reference and set has_user_ref_count to FALSE to make
4251 HildonAppMenu act like a normal ref-counted widget and not a
4254 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4257 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4259 * src/hildon-touch-selector-column.h: new file
4260 * src/hildon-touch-selector.h
4261 * src/hildon-touch-selector.c
4262 Implemented GtkCellLayout interface, in order to allow to configure
4263 the cell layout on each individual selector column
4264 (hildon_touch_selector_set_column_attributes): marked as deprecated
4265 * examples/hildon-touch-selector-multi-cells-example.c
4266 Example of how to use the GtkCellLayout interface on the selector
4268 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4270 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-app-menu.h
4273 * src/hildon-app-menu.c
4274 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4275 (hildon_app_menu_append, hildon_app_menu_prepend):
4276 New methods to prepend, insert and move items in the menu.
4278 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4280 * src/hildon-wizard-dialog.c:
4282 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4284 (create_title): Update logical IDs and related code.
4285 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4287 * src/hildon-wizard-dialog.h: Note that
4288 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4289 point, as it is not used anymore.
4291 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4293 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4295 * src/hildon-note.c:
4296 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4297 shown. Do not display an icon in confirmation notes nor information
4299 (hildon_note_set_button_text): Update logical ID for cancel button.
4301 Fixes: NB#88850 (Update HildonNote button strings + signals)
4303 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4305 * src/hildon-stackable-window.c
4306 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4308 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4310 * src/hildon-app-menu-private.h
4311 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4312 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4313 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4314 temporary property 'columns' to change the number of columns.
4316 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4318 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4320 * examples/hildon-note-example.c: (on_information_clicked),
4321 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4322 debugging information.
4323 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4325 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4326 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4327 in order to close: this will be handled by the WM from now on.
4329 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4331 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4333 * src/hildon-app-menu-private.h
4334 * src/hildon-app-menu.c
4335 (hildon_app_menu_append, hildon_app_menu_add_filter)
4336 (button_visibility_changed, hildon_app_menu_apply_style)
4337 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4338 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4339 layout everytime a button (item or filter) is shown or hidden.
4341 * src/hildon-stackable-window.c
4342 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4345 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4347 * src/hildon-touch-selector.c:
4348 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4349 that the treeview inside the touch selector is in fremantle hildon mode
4350 * examples/hildon-date-button-example.c
4351 * examples/hildon-picker-button-multicolumn-example.c
4352 * examples/hildon-touch-selector-entry-example.c
4353 * examples/hildon-touch-selector-example.c
4354 * examples/hildon-time-button-example.c
4355 * examples/hildon-picker-button-example.c:
4356 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4358 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4360 * examples/hildon-text-view-example.c: (main): Remove the
4361 gtkrc bits, now handled by the theme.
4363 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4365 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4368 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4370 * po/Makefile.am: Install properly the mo files.
4371 * po/en_GB.po: Update translation, to ease testing purposes.
4373 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4375 * examples/hildon-picker-button-example.c: (main): Select an item
4376 in the selector before setting it to the button.
4378 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4380 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4381 Update button's value if the selector has an item active.
4383 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4384 'value' with the selector)
4386 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4388 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4389 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4390 (hildon_picker_button_class_init): Plug the finalize method.
4391 (hildon_picker_button_set_selector): If there's a previously set
4392 selector, unref'it before setting a new one.
4394 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4395 HildonTouchSelector)
4397 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4399 * src/hildon-touch-selector-entry.c:
4400 (hildon_touch_selector_entry_changed): Check if there is no text
4401 selected before setting the entry text.
4404 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4406 * src/hildon-touch-selector.h
4407 * src/hildon-touch-selector.c
4408 (hildon_touch_selector_get_active)
4409 (hildon_touch_selector_set_active): New methods to set/get the
4410 index of the selected item.
4412 * src/hildon-picker-button.h
4413 * src/hildon-picker-button.c
4414 (hildon_picker_button_get_active)
4415 (hildon_picker_button_set_active): New methods to set/get the
4416 index of the selected item.
4418 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4420 * configure.ac: post-release version bump.
4422 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4426 * configure.ac: Pre-release version bump.
4427 * debian/changelog: Updates.
4428 * debian/control: Add myself as maintainer and depend on l10n
4431 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4433 * src/hildon-window.c
4434 (hildon_window_set_main_menu)
4435 * src/hildon-stackable-window.c
4436 (hildon_stackable_window_set_main_menu):
4437 Updated documentation.
4439 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4441 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4442 Don't free selector->priv manually.
4445 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4448 (hildon_gtk_window_set_progress_indicator):
4449 * src/hildon-gtk.h: Added the new API
4450 hildon_gtk_window_set_progress_indicator, it changes the state of
4451 the window progress hint.
4453 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-button.c
4456 * src/hildon-stackable-window.c: Minor documentation updates.
4458 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4460 * src/hildon-stackable-window.c: Updated documentation.
4462 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4464 * src/hildon-defines.h: Update margins definitions
4465 to the Fremantle sizes.
4468 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4470 * src/hildon-touch-selector.c,
4471 (_hildon_touch_selector_set_model): Cleaning the code after
4472 review, removed g_print and #if 0 from the code.
4474 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4476 * src/hildon-edit-toolbar.c: Update documentation.
4478 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4480 * src/hildon-check-button.h
4481 * src/hildon-check-button.c
4482 (hildon_check_button_set_label, hildon_check_button_get_label)
4483 * examples/hildon-check-button-example.c
4484 (button_clicked_cb):
4485 Removed deprecated methods.
4487 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4489 * src/hildon-text-view.c:
4490 Add sample code to the documentation.
4492 * src/hildon-entry.h
4493 * src/hildon-text-view.h:
4494 Minor cosmetic changes.
4496 * src/hildon-entry.c:
4497 Add sample code to the documentation.
4498 (hildon_entry_init, hildon_entry_refresh_contents):
4499 Don't allow NULL values in the placeholder.
4501 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4503 * doc/hildon-docs.sgml
4505 * examples/Makefile.am
4506 * examples/hildon-text-view-example.c
4508 * src/hildon-text-view.c
4509 * src/hildon-text-view.h
4511 New HildonTextView widget, with example.
4513 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4515 * po/POTFILES.in: Add missing files with translatable strings.
4516 Partially fixes NB#88287.
4518 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4520 * examples/hildon-pannable-area-example-2.c: (main): No need to
4521 set the cellrenderer height inside hildon touch lists, the theme does
4524 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4526 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4527 they are integrated in the theme.
4529 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4531 * examples/hildon-entry-example.c: Update the example adding
4532 widgets to modify the text and the placeholder of the HildonEntry.
4534 * src/hildon-entry.c: Show the placeholder everytime the widget
4535 is empty and loses the focus.
4537 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4539 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4541 * src/hildon-pannable-area.c,
4542 (hildon_pannable_area_size_request): Fixed bug in height
4543 requisition, avoid increasing size and add border twice.
4545 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4547 * configure.ac: postrelease version bump.
4549 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4553 * configure.ac: Prerelease version bump.
4554 * debian/changelog: update.
4555 * debian/rules: make -dbg package contain useful debugging symbols.
4557 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-dialog.h
4560 * src/hildon-dialog.c
4561 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4562 New methods to add buttons with finger size.
4563 (hildon_dialog_new_with_buttons):
4564 Create buttons with finger size.
4566 * examples/hildon-dialog-example.c (main): Use HildonDialog
4567 methods to add buttons.
4569 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4571 * src/hildon-entry.c: Updated HildonButton documentation.
4573 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4575 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4576 button value label with (FALSE, FALSE) to prevent NB#88126 from
4579 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4581 * examples/hildon-pannable-area-example.c,
4582 (main): Removed examples panning a vbox inside a pannable
4583 area. Check bug NB#87965
4585 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4587 Patch contributed by Kris Rietveld (kris@imendio.com)
4589 * src/hildon-pannable-area.c,
4590 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4591 get_size and get_position, this saves an X server roundtrip.
4593 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4595 * doc/hildon-docs.sgml
4597 * examples/Makefile.am
4598 * examples/hildon-entry-example.c
4600 * src/hildon-entry.c
4601 * src/hildon-entry.h
4603 New HildonEntry widget, with example.
4605 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4607 * src/hildon-button.c (hildon_button_construct_child): Pack the
4608 image with expand == fill == FALSE. This is a workaround for a bug
4611 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4613 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4614 labels for the text column, to make it more look more dynamic.
4616 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4618 * src/hildon-time-selector.c
4619 Define gettext auxiliar macro N_
4620 (_create_minutes_model)
4621 (_create_hours_model)
4622 (_create_ampm_model): use of strftime in order to fill the model
4623 * src/hildon-date-selector.c
4624 (hildon_date_selector_finalize):
4625 (_locales_init): remove the logic related to get the name of the months
4626 using nl_langinfo, as it is not required anymore
4628 (_create_year_model)
4629 (_create_month_model)
4630 (_update_day_model): use of strftime in order to fill the model properly
4633 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4635 * src/hildon-button.h
4636 * src/hildon-button.c (hildon_button_get_image): New method to
4639 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4641 * src/hildon-touch-selector.c:
4642 (hildon_touch_selector_remove_column): Remove from the correct parent
4643 and also remove the list element and free it.
4646 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4648 * src/hildon-time-selector.c
4649 (_create_hours_model): change the range on 12h ampm format in order to use
4650 a 12-11 range instead of previous 01-12 range
4651 (hildon_time_selector_set_time): change the way to select the current time
4652 on 12h ampm format, due the change on the range
4653 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4656 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4658 * src/hildon-touch-selector.c
4659 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4660 in order to allow use this function on multiple row selection mode if
4661 the column is different that the first one
4664 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4666 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4667 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4669 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4671 * src/hildon-date-selector.h: clean some comments, now on the .c
4672 * src/hildon-date-selector.c
4673 (hildon_date_selector_select_month): first implementation
4674 (hildon_date_selector_select_day): added documentation, reimplemented
4675 using hildon_date_selector_select_current_date to avoid repeat code
4678 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4680 Reviewed interaction logic based on device experiences, refactored
4683 * src/hildon-pannable-area.c,
4684 (hildon_pannable_area_class_init): Updated default vmax speed.
4685 (hildon_pannable_area_calculate_velocity): Added this function, it
4686 avoids duplicate valocity calculation. Adjusted calculation to
4687 avoid problems with zero dist events.
4689 (hildon_pannable_area_motion_notify_cb): Now we use the
4690 calculate_velocity function.
4692 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4694 * src/hildon-date-selector.c
4695 (hildon_date_selector_select_current_date): fix the day range check
4696 as it failed using the last day of the current month
4699 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4701 * src/hildon-touch-selector.c
4702 (hildon_touch_selector_get_num_columns): added a parameter validation
4705 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4707 * examples/Makefile.am
4708 * examples/hildon-edit-toolbar-example.c: Example of the
4709 HildonEditToolbar widget.
4711 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4713 * configure.ac: postrelease version bump.
4715 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4719 * configure.ac: prerelease version bump.
4720 * debian/changelog: update.
4722 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4724 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4725 renderer to display stock icons in the touch list. Also, set the sizes
4726 to the recommended in the style guide.
4728 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4729 * src/hildon-touch-selector.h
4730 (hildon_touch_selector_set_active_iter): renamed, now is
4731 hildon_touch_selector_select_iter
4732 (hildon_touch_selector_get_active_iter): renamed, now is
4733 hildon_touch_selector_get_selected
4734 (hildon_touch_selector_unselect_iter): added
4735 * src/hildon-touch-selector.c
4736 Update after API modification (methods renamed)
4737 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4738 order to avoid problems selecting multiple elements on the column
4739 (hildon_touch_selector_unselect_iter): added the implementation
4740 * src/hildon-time-selector.c
4741 * src/hildon-date-selector.c
4742 * src/hildon-touch-selector-entry.c
4743 Update methods calls after hildon-touch-selector.h API modification (methods
4746 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4748 * src/hildon-stackable-window.c
4749 (hildon_stackable_window_finalize): Call the parent class's finalize.
4751 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4753 * examples/hildon-touch-selector-example.c: (create_selector): Use
4754 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4757 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4759 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4760 set a cell background color, to respect theming.
4762 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4764 * doc/hildon-docs.sgml
4767 * src/hildon-edit-toolbar.c
4768 * src/hildon-edit-toolbar.h
4769 * src/hildon.h: New HildonEditToolbar widget.
4771 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4773 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4776 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4777 * src/hildon-touch-selector.c
4778 (_create_new_column): use g_object_set instead of two g_object_set_property
4780 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4781 * src/hildon-touch-selector.c
4782 (_create_new_column): use of hildon_gtk_tree_view_new to create
4783 the treeview, instead of use directly g_object_new
4784 (_create_new_column): update the property name "vindicator-mode" for the
4785 new one "vscrollbar-policy"
4786 * examples/hildon-date-button-example.c
4787 * examples/hildon-picker-button-multicolumn-example.c
4788 * examples/hildon-touch-selector-entry-example.c
4789 * examples/hildon-touch-selector-example.c
4790 * examples/hildon-time-button-example.c
4791 * examples/hildon-picker-button-example.c
4792 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4793 to all the treeviews inside a pannable area.
4795 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4797 * src/hildon-button.h
4798 * src/hildon-button.c (hildon_button_init)
4799 (hildon_button_set_arrangement, hildon_button_set_alignment)
4800 (hildon_button_set_title_alignment)
4801 (hildon_button_set_value_alignment)
4802 (hildon_button_set_image_alignment)
4803 (hildon_button_construct_child): New methods to set the alignment
4804 of the individual components of the button (title, value,
4805 image). Also, new method to alter the xscale and yscale properties
4806 of the GtkAlignment inside the button, so more complex layouts can
4809 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4811 * src/hildon-button.c (hildon_button_style_set)
4812 (hildon_button_class_init, hildon_button_set_arrangement)
4813 (hildon_button_construct_child): Apply style properties
4814 correctly. Use the 'image-spacing' style property too.
4816 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4818 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4819 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4822 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4824 * src/hildon-pannable-area.c,
4825 (hildon_pannable_area_size_request): Fixed problem with
4826 pannable-area size_request.
4828 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4830 Added management for the grab-focus to a child widget, like a
4831 range, we need to fade out the scrollbar when releasing.
4833 * src/hildon-pannable-area.c,
4834 (hildon_pannable_area_init): Connected the grab-focus signal to
4836 (hildon_pannable_area_grab_notify): Added this function in order
4837 to manage the situation when the grab-focus ends. We have to
4838 fade-out the scrollbar.
4840 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4842 * src/hildon-app-menu.c: Minor documentation update.
4844 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4846 * src/hildon-app-menu.c
4847 * examples/hildon-app-menu-example.c (create_menu): Update
4848 examples and documentation to explain how to connect callbacks.
4850 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4852 * examples/hildon-button-example.c
4853 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4854 hildon_stackable_window_new instead of gtk_window_new
4856 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4858 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4859 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4860 (hildon_pannable_area_set_property),
4861 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4862 (hildon_pannable_area_unrealize),
4863 (hildon_pannable_area_size_request),
4864 (hildon_pannable_area_size_allocate),
4865 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4866 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4867 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4868 (hildon_pannable_area_initial_effect),
4869 (hildon_pannable_area_redraw),
4870 (hildon_pannable_area_scroll_indicator_fade),
4871 (hildon_pannable_area_expose_event),
4872 (hildon_pannable_area_get_topmost), (synth_crossing),
4873 (hildon_pannable_area_button_press_cb),
4874 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4875 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4876 (hildon_pannable_area_motion_notify_cb),
4877 (hildon_pannable_area_button_release_cb),
4878 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4879 (hildon_pannable_area_remove),
4880 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4881 chage the code layout to a more GtkWidget like. Review the use of
4884 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4886 * examples/hildon-pannable-area-example-4.c,
4887 (main): Modified the name of the hindicator_mode to
4890 * src/hildon-pannable-area.c,
4891 (hildon_pannable_area_class_init),
4892 (hildon_pannable_area_motion_notify_cb),
4893 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4894 we have reduced the amount of signals and managed reviewed its
4895 rationale. Changed the default decelerate value.
4897 (hildon_pannable_area_add),
4898 (hildon_pannable_area_redraw): Refactored functions.
4900 (hildon_pannable_area_init),
4901 (hildon_pannable_area_get_property),
4902 (hildon_pannable_area_set_property):
4903 (hildon_pannable_draw_vscroll),
4904 (hildon_pannable_draw_hscroll),
4905 (hildon_pannable_area_initial_effect),
4906 (hildon_pannable_area_expose_event),
4907 (hildon_pannable_area_scroll),
4908 (hildon_pannable_area_button_press_cb),
4909 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4910 and vindicator_mode with hscrollbar_policy and
4911 vscrollbar_policy. Replaced hscroll and vscroll with
4912 hscroll_visible and vscroll_visible.
4914 (hildon_pannable_area_refresh): Refactor the function, remove
4915 variables and check the calls to this function, added resize
4916 conditions in case the children change their layout.
4918 (hildon_pannable_area_size_request): Added more detailed
4919 size_request calculation.
4922 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4924 * src/hildon-color-chooser.c
4925 (init_borders): use the correct gtk_border_free instead of g_free, to
4926 avoid a crash when this widget is used (ie: the three color selection
4929 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4931 * src/hildon-check-button.c,
4932 (hildon_check_button_set_active): Fixed problem when setting the
4933 active value, the widget was not redrawn.
4935 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4937 * src/hildon-pannable-area.c,
4938 (hildon_pannable_area_refresh),
4939 (hildon_pannable_area_scroll),
4940 (hildon_pannable_area_motion_notify_cb): Small code style change.
4942 (hildon_pannable_area_class_init): Default initial_hint set to
4943 FALSE, it is not in the specs.
4945 (hildon_pannable_area_initial_effect),
4946 (hildon_pannable_area_expose_event),
4947 (hildon_pannable_area_map),
4948 (hildon_pannable_area_init): Moved the launching point of the
4949 initial effect, it was in map but the sizes where not correct in
4950 that method so we do not know if we have the reproduce it. Now it
4951 is placed in the expose_event method and uses a variable to
4952 reproduce it just once.
4954 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4956 * src/hildon-pannable-area.c,
4957 (hildon_pannable_draw_vscroll),
4958 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4959 position allowed for the scrollbars.
4961 (hildon_pannable_area_size_allocate): Small style change.
4963 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4965 * src/hildon-pannable-area.c,
4966 (hildon_pannable_area_scroll_indicator_fade),
4967 (hildon_pannable_area_button_press_cb),
4968 (hildon_pannable_area_button_release_cb),
4969 (hildon_pannable_area_scroll_cb),
4970 (hildon_pannable_area_expose_event),
4971 (hildon_pannable_area_init): Added the define parameter
4972 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4973 and refactor the fade variable.
4975 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4977 * src/hildon-pannable-area.c,
4978 (hildon_pannable_area_redraw),
4979 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4980 lines, we were reimplemeting the redraw code.
4982 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4984 * src/hildon-pannable-area.c,
4985 (hildon_pannable_area_scroll_cb),
4986 (hildon_pannable_area_realize),
4987 (hildon_pannable_area_class_init): Added scroll_event management
4988 for pannable area, now we can scroll the usual desktop method.
4990 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4991 initialization of the parameters should depend on idle_id.
4993 (hildon_pannable_area_init),
4994 (hildon_pannable_area_map): Small code style modifications
4996 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4998 * src/hildon-pannable-area.c
4999 (hildon_pannable_area_button_press_cb),
5000 (hildon_pannable_area_motion_notify_cb),
5001 (hildon_pannable_area_button_release_cb),
5002 (hildon_pannable_area_size_allocate),
5003 (hildon_pannable_area_scroll_to): Improved the timeouts
5004 management, we avoid creating them each time.
5006 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5008 * src/hildon-pannable-area.c:
5009 (hildon_pannable_area_refresh),
5010 (hildon_pannable_area_motion_notify_cb),
5011 (hildon_pannable_area_class_init):
5012 * src/hildon-pannable-area.h:
5013 * src/hildon-touch-selector.c
5014 (_create_new_column):
5015 * examples/hildon-pannable-area-example-4.c:
5016 (horizontal_movement),
5017 (vertical_movement),
5019 Replaced the names of enums in the HildonPannableArea:
5020 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5021 HILDON_MOVEMENT_MODE_*
5022 - HILDON_PANNABLE_AREA_MOV_* ->
5024 - Removed HildonPannableAreaIndicatorMode, now we
5027 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5029 * examples/hildon-pannable-area-touch-grid-example.c
5030 * examples/hildon-pannable-area-touch-list-example.c: Fix
5031 compilation warnings.
5033 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5035 * src/hildon-gtk.c (hildon_gtk_button_new)
5036 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5037 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5038 images overriding the value of the "gtk-button-images" setting.
5040 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5042 * src/hildon-check-button.c (hildon_check_button_new):
5043 Instead of using a custom container, display the label and the
5044 checkbox using the standard GtkButton API.
5046 * examples/hildon-check-button-example.c (main): Don't use
5047 hildon_check_button_set_label() anymore
5049 * src/hildon-check-button.h
5050 * src/hildon-check-button.c
5051 (hildon_check_button_set_label, hildon_check_button_get_label):
5052 Set as deprecated, now we're using gtk_button_{get,set}_label()
5054 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5056 * src/hildon-pannable-area.c,
5057 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5058 GtkTreeview first line we detected it after the inclusion of the
5059 GtkWindowImpl in gtk+. We now check if the window is visible, not
5060 just if the pointer is over the window.
5061 (hildon_pannable_axis_scroll),
5062 (hildon_pannable_area_expose_event): Small style changes.
5064 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5066 * src/hildon-button.c: Update documentation.
5068 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5070 * examples/hildon-button-example.c: Add a switch to show images in
5073 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5075 * doc/hildon-docs.sgml: Some docs reorganization.
5077 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5079 * examples/hildon-pannable-area-touch-list-example.c
5081 * examples/hildon-pannable-area-touch-grid-example.c
5082 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5083 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5084 Fix memory leak when setting the tree model.
5086 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5090 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5092 * doc/hildon.types: Remove duplicated hildon_window_get_type
5093 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5094 documentation comment.
5096 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5098 * doc/Makefile.am: Complete list of private headers.
5100 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5102 * doc/hildon-docs.sgml
5103 * src/hildon-app-menu.c
5104 * src/hildon-bread-crumb.c
5105 * src/hildon-button.c
5107 * src/hildon-program.c
5108 * src/hildon-stackable-window.c
5109 * src/hildon-window.c: Lots of documentation updates.
5111 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5113 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5115 * configure.ac: Require Gtk+ 2.12.9 at least
5117 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5119 * src/hildon-pannable-area.c
5120 (hildon_pannable_area_scroll_indicator_fade),
5121 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5122 to protect the return of this timeout callbacks, avoiding deadlocks.
5124 2008-08-12 Christian Dywan <christian@imendio.com>
5127 * src/hildon-*.h: Ensure a consistent include order,
5128 include <gtk/gtk.h> instead of particular files and
5129 only include the topmost header in the gtk stack. See NB #39857
5131 2008-08-12 Christian Dywan <christian@imendio.com>
5133 * src/hildon-picker-dialog.c
5134 * src/hildon-touch-selector.c: Fix warnings about unused and
5135 uninitialized variables.
5137 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5139 * examples/Makefile.am
5140 * examples/hildon-check-button-example.c: Example of the hildon
5143 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5145 * src/hildon-window.h
5146 * src/hildon-window.c (hildon_window_class_init)
5147 (hildon_window_unset_program): Don't make
5148 hildon_window_unset_program a virtual function anymore.
5150 * src/hildon-stackable-window.c: Update documentation
5152 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5155 * doc/hildon-docs.sgml
5156 * doc/visual_index.xml
5157 * src/hildon-defines.c
5159 * src/hildon-helper.c
5160 * src/hildon-range-editor.c: Lots of documentation fixes.
5162 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5164 * examples/hildon-picker-button-multicolumn-example.c
5165 (create_touch_selector): Fix compilation warning.
5167 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5169 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5170 (hildon_pannable_area_button_release_cb)
5171 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5173 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5175 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5178 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5180 * src/hildon-bread-crumb-trail.h
5181 * src/hildon-date-editor.c
5182 * src/hildon-date-selector.c
5183 * src/hildon-pannable-area.c
5184 * src/hildon-picker-dialog.c
5185 * src/hildon-time-selector.c
5186 * src/hildon-touch-selector-entry.c
5187 * src/hildon-touch-selector.c
5188 * src/hildon-touch-selector.h: Misc documentation fixes
5190 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5192 * examples/hildon-date-editor-example.c (main): Updated date
5195 * examples/hildon-note-example.c (on_confirmation_clicked):
5196 Updated confirmation note example.
5198 * src/hildon-date-editor.c
5199 * src/hildon-note.c: Updated sample programs in documentation.
5202 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5204 * src/hildon-date-button.h:
5205 * src/hildon-picker-button.h:
5206 * src/hildon-time-button.c:
5207 * src/hildon-time-button.h:
5209 Some declarations changes to allow gtk-doc to document the widgets
5212 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5214 * src/hildon-date-button.c: Document the widget.
5215 * src/hildon-time-button.c: Document the widget.
5217 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5219 * src/hildon-picker-button.c: Document the widget.
5220 * src/hildon-touch-selector-entry.c: Document the widget.
5222 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5224 * doc/hildon-docs.sgml
5227 * src/hildon-check-button.h
5228 * src/hildon-check-button.c: New functions to create the Hildon
5232 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5234 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5236 * src/hildon-button.h
5237 * src/hildon-button.c
5238 (hildon_button_add_title_size_group)
5239 (hildon_button_add_value_size_group)
5240 (hildon_button_add_image_size_group)
5241 (hildon_button_add_size_groups): New functions to set size groups
5242 for the button labels and image.
5243 (hildon_button_new_full): Removed
5245 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5247 * src/hildon-time-selector.c
5248 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5249 in order to avoid a crash if gconf is not available
5251 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5253 * src/hildon-button.c (hildon_button_set_arrangement)
5254 (hildon_button_construct_child): Don't construct the button child
5255 before setting the arrangement.
5257 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5259 * src/hildon-program-private.h
5260 * src/hildon-program.c
5261 * src/hildon-program.h
5262 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5263 (hildon_program_peek_window_stack)
5264 (hildon_program_pop_window_stack)
5265 (hildon_program_go_to_root_window): HildonProgram now has a
5266 separate list for stackable windows. Functions are provided to
5267 manage that list with a stack-like API.
5269 * src/hildon-stackable-window.c: Stackable window management is
5270 now much simpler with the new HildonProgram API. Windows no
5271 longer need to be manually added to the program, they're
5272 automatically pushed to the top of the stack when shown.
5274 * examples/hildon-stackable-window-example.c: Updated example to
5275 reflect the API changes.
5277 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5279 * src/hildon-touch-selector.c: Comment out unimplemented
5280 hildon_touch_selector_insert_column() to avoid a compile warning.
5282 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5284 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5285 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5286 (hildon_touch_selector_set_column_selection_mode),
5287 (_hildon_touch_selector_set_model),
5288 (hildon_touch_selector_set_model):
5290 Complete review of HildonTouchSelector documentation.
5292 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5294 * doc/hildon-docs.sgml
5298 * src/hildon-gtk.c: Convenience functions for standard Gtk
5299 widgets, used to easily perform frequent operations.
5301 * src/hildon-button-helpers.h
5302 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5304 * src/hildon-helper.h
5305 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5306 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5308 * src/hildon-button.h
5309 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5311 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5313 * src/hildon-button.c (hildon_button_init)
5314 (hildon_button_set_arrangement, hildon_button_construct_child):
5315 Pack the image and the labels inside the same GtkAlignment so
5316 gtk_button_set_alignment() can be used
5318 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5320 * src/hildon-button.h
5321 * src/hildon-button.c
5322 (hildon_button_init, hildon_button_set_image)
5323 (hildon_button_set_image_position)
5324 (hildon_button_construct_child): New functions to add an image to
5327 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5329 * src/hildon-date-button.c
5330 * src/hildon-picker-button.c
5331 * src/hildon-time-button.c
5332 * src/hildon-button.c:
5333 (hildon_button_class_init): "size-flags" renamed to "size"
5334 (hildon_button_set_title): Hide the title label if set to NULL.
5336 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5338 HildonButtonFlags split into HildonButtonArrangement (to set the
5339 button layout) and HildonSizeType (which can be used for any
5342 * src/hildon-button.h
5343 * src/hildon-button.c
5344 (hildon_button_class_init)
5345 (hildon_button_set_arrangement)
5346 (hildon_button_set_property): New "size-flags"
5347 property. "arrangement-flags" renamed to "arrangement".
5348 (hildon_button_new, hildon_button_new_with_text)
5349 (hildon_button_new_full): Constructors updated to reflect type changes.
5351 * src/hildon-helper.h
5352 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5353 to set the size of a widget.
5357 * src/hildon-button-helpers.c
5358 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5360 * src/hildon-date-button.c
5361 * src/hildon-date-button.h
5362 * src/hildon-picker-button.c
5363 * src/hildon-picker-button.h
5364 * src/hildon-time-button.c
5365 * src/hildon-time-button.h: Updated widgets to reflect
5366 HildonButton API changes.
5368 * examples/hildon-button-example.c
5369 * examples/hildon-date-button-example.c
5370 * examples/hildon-picker-button-example.c
5371 * examples/hildon-picker-button-multicolumn-example.c
5372 * examples/hildon-time-button-example.c
5373 * examples/hildon-touch-selector-entry-example.c
5374 * examples/hildon-touch-selector-example.c: Updated examples to
5375 reflect HildonButton API changes.
5377 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5379 * doc/hildon-docs.sgml:
5381 * examples/Makefile.am:
5382 * examples/hildon-touch-selector-entry-example.c:
5384 * src/hildon-touch-selector-entry.c:
5385 * src/hildon-touch-selector-entry.h:
5388 Moved HildonTouchSelectorEntry from sandbox. Added its
5389 documentation and examples.
5391 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5393 * src/hildon-touch-selector.h:
5394 * examples/hildon-picker-button-multicolumn-example.c:
5395 (hildon_touch_selector_append_text_column): Add a gboolean
5396 parameter to determine if text must be centered in the column.
5398 * src/hildon-date-selector.c: (hildon_date_selector_init):
5399 * src/hildon-time-selector.c: (hildon_time_selector_init):
5400 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5401 (create_touch_selector): Update widgets and example to reflect
5404 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5406 * src/hildon-touch-selector.c:
5407 (hildon_touch_selector_set_active_iter): Set also the cursor in
5410 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5412 * doc/hildon-docs.sgml
5415 * src/hildon-toggle-button.c
5416 * src/hildon-toggle-button.h
5417 * src/hildon.h: Removed HildonToggleButton widget, a derived
5418 class is not necessary for this.
5420 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5422 * src/hildon-pannable-area.c,
5423 (hildon_pannable_area_realize),
5424 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5427 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5429 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5430 "done" button the default widget for the dialog.
5432 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5434 * src/hildon-touch-selector.c:
5435 (hildon_touch_selector_class_init),
5436 (hildon_touch_selector_get_property),
5437 (_hildon_touch_selector_set_model),
5438 (_hildon_touch_selector_has_multiple_selection),
5439 (hildon_touch_selector_has_multiple_selection):
5440 Add a "has-multiple-selection" property with a virtual
5441 has_multiple_selection() method to allow derived classes to
5442 override the default value for it. See the method and property
5443 documentation for details.
5445 * src/hildon-touch-selector.h: Add the new API.
5447 * src/hildon-picker-dialog.c: (requires_done_button): Call
5448 hildon_touch_selector_has_multiple_selection() instead of
5449 determining the need for a button itself.
5451 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5453 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5454 (_hildon_touch_selector_set_model),
5455 (hildon_touch_selector_set_model): Move working code to
5456 _hildon_touch_selector_set_mode(). Call the class method instead.
5458 * src/hildon-touch-selector.h: Add (*set_model) to
5459 HildonTouchSelectorClass.
5461 Make hildon_touch_selector_set_model() a virtual method, so that
5462 derived classes can extend it and do fancy stuff with the model.
5464 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5466 * configure.ac: Set back the tarname in AC_INIT to hildon.
5468 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5472 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5473 instead of libesd (NB#86876). Volume handling is still an open issue.
5475 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5478 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5480 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5481 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5482 derived class to ease placement of an entry widget in
5483 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5484 end, where the selector columns are packed now.
5486 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5488 * src/hildon-picker-button.c: Removed the simple _text() API.
5489 * src/hildon-picker-button.h: Likewise.
5491 * src/hildon-touch-selector.h:
5492 * src/hildon-touch-selector.c:
5493 (hildon_touch_selector_new_text),
5494 (hildon_touch_selector_append_text),
5495 (hildon_touch_selector_prepend_text),
5496 (hildon_touch_selector_insert_text):
5498 Moved the simple _text() API from HildonPickerButton to
5499 HildonTouchPicker, to provide better escalability and not to tie
5500 that API to HildonPickerButton.
5502 * examples/hildon-picker-button-example.c: (main): Example updated.
5504 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5506 * src/hildon-button.c: Updated documentation.
5508 * examples/hildon-button-example.c: Add the posibility to create
5509 the buttons using horizontal layout for title and value.
5511 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-app-menu-private.h
5514 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5515 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5516 GtkSizeGroup for the filters, use the 'homogeneous' property of
5519 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5521 * examples/hildon-button-example.c: Updated example.
5523 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5525 * doc/hildon-docs.sgml:
5528 Update documentation.
5530 * examples/Makefile.am: Update renamed examples.
5532 * examples/hildon-picker-button-multicolumn-example.c:
5533 (create_touch_selector), (main): Update after the rename.
5535 * examples/hildon-touch-picker-example.c: Removed.
5536 * examples/hildon-touch-selector-example.c: (value_changed),
5537 (create_selector), (get_visible_content), (main): Renamed from
5538 hildon-touch-picker-example.c
5540 * src/Makefile.am: Updated renamed files.
5542 * src/hildon-date-button.c: (hildon_date_button_init),
5543 (hildon_date_button_get_date), (hildon_date_button_set_date):
5544 * src/hildon-date-selector.c: (hildon_date_selector_init),
5545 (_custom_print_func), (_update_day_model),
5546 (_manage_selector_change_cb),
5547 (hildon_date_selector_select_current_date),
5548 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5549 * src/hildon-date-selector.h:
5550 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5551 (hildon_picker_button_set_property),
5552 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5553 (hildon_picker_button_init), (hildon_picker_button_new_text),
5554 (hildon_picker_button_append_text),
5555 (hildon_picker_button_prepend_text),
5556 (hildon_picker_button_insert_text),
5557 (hildon_picker_button_set_selector),
5558 (hildon_picker_button_get_selector):
5559 * src/hildon-picker-button.h:
5560 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5561 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5562 (_update_title_on_selector_changed_cb), (requires_done_button),
5563 (_hildon_picker_dialog_set_selector),
5564 (hildon_picker_dialog_set_selector),
5565 (hildon_picker_dialog_get_selector):
5566 * src/hildon-picker-dialog.h:
5567 * src/hildon-time-button.c: (hildon_time_button_init),
5568 (hildon_time_button_get_time), (hildon_time_button_set_time):
5569 * src/hildon-time-selector.c: (hildon_time_selector_init),
5570 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5571 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5572 * src/hildon-time-selector.h:
5575 Massive code updates after the rename.
5577 * src/hildon-touch-picker.c: Removed.
5578 * src/hildon-touch-picker.h: Removed.
5580 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5581 (hildon_touch_selector_init), (hildon_touch_selector_map),
5582 (hildon_touch_selector_remove), (_default_print_func),
5583 (_selection_changed_cb), (_create_new_column),
5584 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5585 (hildon_touch_selector_append_text_column),
5586 (hildon_touch_selector_remove_column),
5587 (hildon_touch_selector_set_column_attributes),
5588 (hildon_touch_selector_insert_column),
5589 (hildon_touch_selector_get_num_columns),
5590 (hildon_touch_selector_get_column_selection_mode),
5591 (hildon_touch_selector_set_column_selection_mode),
5592 (hildon_touch_selector_set_print_func),
5593 (hildon_touch_selector_get_print_func),
5594 (hildon_touch_selector_get_active_iter),
5595 (hildon_touch_selector_set_active_iter),
5596 (hildon_touch_selector_get_selected_rows),
5597 (hildon_touch_selector_get_model),
5598 (hildon_touch_selector_set_model),
5599 (hildon_touch_selector_get_current_text),
5600 (_hildon_touch_selector_center_on_selected_items):
5601 * src/hildon-touch-selector.h: Renamed from
5602 hildon-touch-picker.[ch]
5604 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5605 references, code examples, and related documentation.
5607 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5609 * doc/hildon-docs.sgml
5612 * src/hildon-toggle-button.c
5613 * src/hildon-toggle-button.h
5614 * src/hildon.h: New HildonToggleButton widget.
5616 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5618 * src/hildon-button.c: Add API documentation.
5619 (hildon_button_set_size_groups): Check input parameters
5621 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5623 * src/hildon-pannable-area.c
5624 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5625 effect after reaching the movement thredshold. This way we start
5626 using the distance after passing the thredshold.
5628 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5630 * src/hildon-button.c: (hildon_button_set_property): Use the
5631 appropriate g_value_get_flags() method.
5633 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5635 * doc/hildon-docs.sgml:
5638 Add the touch pickers, picker dialogs, and picker button widgets
5639 to the documentation.
5641 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5643 * src/hildon-button.c: (hildon_button_set_property),
5644 (hildon_button_class_init): Make "arrangement-flags" a proper
5645 G_TYPE_FLAGS derived property.
5647 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5649 * examples/Makefile.am: Add below examples.
5650 * examples/hildon-date-button-example.c:
5651 * examples/hildon-picker-button-example.c:
5652 * examples/hildon-picker-button-multicolumn-example.c:
5653 * examples/hildon-time-button-example.c:
5654 * examples/hildon-touch-picker-example.c:
5656 Add examples for the recently added touch pickers,
5657 picker dialogs, and picker button widgets.
5659 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5661 * src/hildon-button.c: Add some API documentation
5663 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5665 * src/hildon-button.h
5666 * src/hildon-button.c
5668 (hildon_button_new_with_text): New constructor to create a button
5669 with no text at all.
5670 (hildon_button_init, hildon_button_set_arrangement)
5671 (hildon_button_set_title, hildon_button_set_value)
5672 (hildon_button_set_text)
5673 (hildon_button_construct_child): Hide the value when it's not used
5674 so the rest of the text is properly aligned.
5675 Allow creating buttons with arbitrary widgets inside (not just
5676 title/value labels).
5678 * examples/hildon-button-example.c (vertical_buttons_window)
5679 (horizontal_buttons_window): Update example to use new API.
5681 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5683 * src/Makefile.am: Added HildonTimeButton.
5684 * src/hildon-time-button.c: Added missing LGPL header.
5685 * src/hildon-time-button.h: Added missing LGPL header.
5686 * src/hildon.h: Add hildon-time-button.h
5688 Copied HildonTimeButton from sandbox to trunk. Future work on this
5689 widget must take place in trunk.
5691 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5693 * src/Makefile.am: Added HildonDateButton.
5694 * src/hildon-date-button.c: Update includes.
5695 * src/hildon.h: Add hildon-date-button.h
5697 Copied HildonDateButton from sandbox to trunk. Future work on this
5698 widget must take place in trunk.
5700 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5702 * src/Makefile.am: Added HildonPickerButton.
5703 * src/hildon-picker-button.h: Update includes.
5704 * src/hildon.h: Add hildon-picker-button.h
5706 Copied HildonPickerButton from sandbox to trunk. Future work on
5707 this widget must take place in trunk.
5709 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5711 * src/Makefile.am: Added HildonPickerDialog.
5712 * src/hildon-picker-dialog.c: Update includes.
5713 * src/hildon.h: Add hildon-picker-dialog.h
5715 Copied HildonPickerDialog from sandbox to trunk. Future work
5716 on this widget must take place in trunk.
5718 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5720 * src/Makefile.am: Added HildonTimeSelector.
5721 * src/hildon.h: Add hildon-time-selector.h
5723 Copied HildonTimeSelector widget from sandbox to trunk. Future
5724 work on this widget must happen in trunk.
5726 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5728 * src/Makefile.am: Added HildonDateSelector.
5729 * src/hildon.h: Add hildon-date-selector.h
5731 Copied HildonDateSelector widget from sandbox to trunk. Future
5732 work on this widget must happen in trunk.
5734 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5736 * src/Makefile.am: Added HildonTouchPicker.
5737 * src/hildon-touch-picker.c: Update includes.
5738 * src/hildon.h: Add hildon-touch-picker.h
5740 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5741 on this widget must happen in trunk.
5743 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5745 * src/hildon-pannable-area.c:
5746 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5748 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5750 * examples/hildon-app-menu-example.c (main): Let the window
5753 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5755 * src/hildon-pannable-area.c
5756 (hildon_pannable_area_class_init): Set the min value of the
5757 overshoot properties to zero, which points out that not
5758 overshooting allowed.
5760 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5762 Modified the procedure to get the widget at a point inside the
5763 pannable area when using the movement type signals. Now the user
5764 has to call a function to get the child, that way we just
5765 calculate the child in case the user really want to use it and not
5768 * src/hildon-marshalers.list: Modified the marshallers, now we do
5769 not have the widget as a parameter.
5771 * src/hildon-pannable-area.c
5772 (hildon_pannable_area_motion_notify_cb),
5773 (hildon_pannable_area_class_init),
5774 (hildon_pannable_get_child_widget_at): Removed the widget
5775 parameter from the signal callback. We have also refactored the
5776 emission of the signals.
5778 * src/hildon-pannable-area.h: Added a new method to the API to
5779 calculate a widget at a point inside the pannable area,
5780 hildon_pannable_get_child_widget_at.
5782 * examples/hildon-pannable-area-example-4.c
5783 (horizontal_movement): Modified the example to use the new API,
5784 added condition to control which widget is under the event. This
5785 way we can avoid scrolling laterally over other widgets.
5787 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5789 * src/hildon-pannable-area.c
5790 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5791 modes, we stop getting the pointer events due to returning the
5792 callback without properly calling the get pointer again. Fixed
5793 also an error using the hscroll and vscroll.
5795 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5797 * src/hildon-app-menu-private.h
5798 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5799 (hildon_app_menu_button_release, hildon_app_menu_init)
5800 (hildon_app_menu_class_init): Don't hide the menu on button
5801 release if the user didn't press outside first.
5803 * src/hildon-window.h
5804 * src/hildon-window.c (hildon_window_toggle_menu)
5805 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5806 hildon_window_toggle_menu a virtual function for the stackable
5807 window to override it.
5809 * src/hildon-stackable-window.h
5810 * src/hildon-stackable-window-private.h
5811 * src/hildon-stackable-window.c
5812 (hildon_stackable_window_realize)
5813 (hildon_stackable_window_finalize)
5814 (hildon_stackable_window_class_init)
5815 (hildon_stackable_window_init)
5816 (hildon_stackable_window_set_main_menu): New function to set the
5817 app menu of a HildonStackableWindow.
5819 * examples/hildon-app-menu-example.c: Remove the button to show
5820 the app menu, now it'll be shown when clicking on the title bar
5823 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5825 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5826 set the widget name if the arrangement flags do not specify
5829 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5831 * src/hildon-button.c: (hildon_button_set_property),
5832 (hildon_button_class_init), (hildon_button_new_full),
5833 (hildon_button_set_arrangement): Added "arrangement-flags"
5836 Make the HildonButtonFlags a construction-only property, to allow
5837 subclasses to set them properly.
5839 2008-07-21 Tim Janik <timj@imendio.com>
5841 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5842 insertion position after backspace, so additional digits are appended,
5845 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5847 * src/hildon-pannable-area.c,
5848 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5849 TODO list, it was complete and removed the g_debug and g_print
5852 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5854 Added the movement modes to the hildon-pannable-area, with this
5855 modes the developers can control in which directions the widget
5856 can scroll. They can also connect to signals in order to do
5857 something when that happens, allowing applications scroll. There
5858 is an example uploaded showing how to use it.
5860 * examples/Makefile.am:
5861 * examples/hildon-pannable-area-example-4.c: Added this example of
5862 an application using the modes.
5864 * src/hildon-marshalers.list: Added a new marshaller for the new
5867 * src/hildon-pannable-area.h: Added new enumerations and flags in
5868 order to control the movement modes and the new signals to warn
5869 about the movements in the area.
5871 * src/hildon-pannable-area.c:
5872 (hildon_pannable_axis_scroll),
5873 (hildon_pannable_area_scroll),
5874 (hildon_pannable_area_motion_notify_cb),
5875 (hildon_pannable_area_get_property),
5876 (hildon_pannable_area_set_property),
5877 (hildon_pannable_area_map),
5878 (hildon_pannable_area_class_init),
5879 (hildon_pannable_area_init),
5880 (hildon_pannable_area_jump_to): Added the modes to control the
5881 movement in the widget. We have added properties to control it,
5882 signals to warn about the movements and refactored some code.
5884 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5886 Changes required in order to allow vfast_factor set to zero to
5889 * src/hildon-pannable-area.c:
5890 (hildon_pannable_area_button_press_cb): Changed the condition, it
5891 is required for not allowing click when vfast_factor is zero.
5892 (hildon_pannable_area_timeout): Initialized velocity variables
5893 when we stop moving, it was less than 1 but not zero and we need
5894 to check zero in some situations.
5895 (hildon_pannable_area_class_init): Changed the default value of
5896 the speed factor, now the button_press is just sent in case the
5897 speed is 2 per cent of the max speed.
5898 (hildon_pannable_area_init): Initialization with 0.
5900 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5902 * src/hildon-pannable-area.c,
5903 (hildon_pannable_area_get_topmost): replaced
5904 gdk_window_get_children with gdk_window_peek_children, this way we
5905 do not have to free the list because it is not a copy.
5907 (hildon_pannable_axis_scroll),
5908 (hildon_pannable_area_scroll),
5909 (hildon_pannable_area_timeout),
5910 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5911 two parameters that were only used inside the
5912 hildon_pannable_area_scroll function.
5914 * examples/hildon-pannable-area-example.c,
5915 (get_sawtooth_label): Fixed small memory leak.
5917 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5919 More checks for the case where the overshoot is bigger than the
5922 * src/hildon-pannable-area.c:
5923 (hildon_pannable_draw_vscroll),
5924 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5925 to draw the slider of the scrollbar under the other scrollbar.
5926 (hildon_pannable_area_expose_event): added new checks to control
5927 the drawing of the overshooting area rectangle, in case it is too
5928 big for the area of the widget.
5929 (hildon_pannable_area_size_allocate): add more checks to avoid
5930 setting a position to the child widget outside the area.
5932 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5934 * src/hildon-pannable-area.c
5935 (hildon_pannable_area_size_allocate): Added conditions to control
5936 when overshooting is bigger than the allocated space for the
5937 children, this avoids negative allocations.
5939 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5941 * doc/hildon-docs.sgml
5943 * examples/Makefile.am
5944 * examples/hildon-button-example.c
5946 * src/hildon-button.c
5947 * src/hildon-button.h
5948 * src/hildon.h: Initial version of the new HildonButton widget,
5951 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5953 * src/hildon-pannable-area.c:
5954 (hildon_pannable_area_button_press_cb),
5955 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5956 (hildon_pannable_area_motion_notify_cb),
5957 (hildon_pannable_area_button_release_cb),
5958 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5959 (hildon_pannable_area_jump_to_child):
5961 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5963 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5965 * examples/Makefile.am
5966 * examples/hildon-pannable-area-touch-grid-example.c
5967 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5968 the Hildon Touch List and Hildon Touch Grid using the
5969 HildonPannableArea widget.
5971 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5973 * src/hildon-pannable-area.c,
5974 (hildon_pannable_area_button_press_cb),
5975 (hildon_pannable_area_refresh),
5976 (hildon_pannable_area_scroll),
5977 (hildon_pannable_area_motion_notify_cb),
5978 (hildon_pannable_area_button_release_cb),
5979 (hildon_pannable_area_expose_event),
5980 (hildon_pannable_area_add),
5981 (hildon_pannable_area_remove),
5982 (hildon_pannable_area_realize),
5983 (hildon_pannable_area_size_allocate),
5984 (hildon_pannable_area_class_init),
5985 (hildon_pannable_area_init),
5986 (hildon_pannable_area_scroll_to_child),
5987 (hildon_pannable_area_jump_to_child): Fixed the problem of
5988 removing the child from the GtkBin, we have rearranged the widget
5989 hierarchy, now there is no GtkAlignment which was not doing
5990 anything interesting but breaking some of the assumptions of
5991 GtkContainer. Now developers if they want to add a GtkAlignment
5992 they could, but it is not inside the area.
5994 We had to review the whole allocation/expose process, now it is
5995 improved and we save at least three signals which would be saving
5996 some time when rendering the widget. The allocation of the
5997 scrollbars is now made in the allocate method as usual.
5999 We have also added some conditions in order to control when there
6000 is no child of the pannable area. Maybe we will need more work
6003 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6005 * src/hildon-pannable-area.c,
6006 (hildon_pannable_area_dispose): Released the fade-out timeout when
6007 disposing the widget.
6009 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6011 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6012 zero, we are going to use that property in order to deactivate the
6014 (hildon_pannable_axis_scroll),
6015 (hildon_pannable_area_size_allocate): Added conditions to control
6016 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6017 call, now it is called in all situations and we can remove calls
6018 in the allocate method.
6019 (hildon_pannable_area_map): Control the situation when
6020 overshoot_max is zero, we do not need the timeout.
6021 (hildon_pannable_area_class_init): Added documentation in order to
6022 point out that setting zero to overshoot_max means deactivate
6025 NOTE: removed trailing whitespaces from my previous comments of
6028 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6030 * src/hildon-pannable-area.c
6031 (hildon_pannable_area_get_property),
6032 (hildon_pannable_area_set_property),
6033 (hildon_pannable_area_map),
6034 (hildon_pannable_area_class_init),
6035 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6036 to cause the widget give a hint about its panning abilities upon
6039 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6041 * src/hildon-pannable-area.c: Several documentation improvements.
6043 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6045 * src/hildon-program.c
6046 * src/hildon-stackable-window.c: Update documentation.
6048 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6050 * src/hildon-stackable-window.c (get_previous_window_if_last):
6051 Renamed get_last_window()
6052 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6053 (hildon_stackable_window_unset_program):
6055 (get_previous_window_if_last):
6056 Detect if the window hasn't been added to a HildonProgram.
6058 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6060 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6062 * src/hildon-pannable-area.c
6063 (hildon_pannable_area_button_press_cb),
6064 (hildon_pannable_axis_scroll),
6065 (hildon_pannable_area_scroll),
6066 (hildon_pannable_area_timeout),
6067 (hildon_pannable_calculate_vel_factor),
6068 (hildon_pannable_area_get_property),
6069 (hildon_pannable_area_set_property),
6070 (hildon_pannable_area_class_init),
6071 (hildon_pannable_area_init),
6072 (hildon_pannable_area_scroll_to),
6073 (hildon_pannable_area_jump_to),
6074 (hildon_pannable_area_scroll_to_child),
6075 (hildon_pannable_area_jump_to_child):
6076 * src/hildon-pannable-area.h: Added the new API functions:
6077 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6078 hildon_pannable_area_scroll_to_child,
6079 hildon_pannable_area_jump_to_child
6082 * examples/Makefile.am
6083 * examples/hildon-pannable-area-example-2.c
6084 * examples/hildon-pannable-area-example-3.c: Added these two new
6085 examples in order to test and show how the new APIs work.
6087 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6089 * examples/hildon-stackable-window-example.c (new_window):
6090 * src/Makefile.am (noinst_HEADERS):
6091 * src/hildon-program.c (hildon_program_go_to_root_window):
6092 * src/hildon-program.h:
6093 * src/hildon-stackable-window-private.h:
6094 * src/hildon-stackable-window.c:
6095 * src/hildon-stackable-window.h:
6096 Create hildon-stackable-window-private.h
6097 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6099 * examples/hildon-app-menu-example.c (create_menu):
6100 * examples/hildon-hvolumebar-insensitive-example.c (main):
6101 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6102 * examples/hildon-toolbar-seekbar-example.c (main):
6103 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6104 * src/hildon-banner.c (hildon_banner_set_property):
6105 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6106 Fix compilation warnings
6108 * src/hildon-window.c:
6111 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6113 * src/hildon-stackable-window.c
6114 (hildon_stackable_window_unset_program):
6115 Calculate correctly whether to show the previous window if the
6116 last one is removed from the stack.
6117 (hildon_stackable_window_go_to_root_window):
6118 Send delete events starting from the topmost window.
6119 Stop if one of the windows is not destroyed.
6121 (hildon_stackable_window_delete_event)
6122 (hildon_stackable_window_class_init):
6123 Ignore the delete event if the window is not the topmost one.
6125 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6127 * src/hildon-pannable-area.c
6128 (hildon_pannable_area_expose_event): Fixed a problem when
6129 selecting the background color of the scrollbars.
6131 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6133 * examples/hildon-stackable-window-example.c
6134 * src/hildon-stackable-window.c
6135 * src/hildon-stackable-window.h
6136 hildon_stackable_window_go_home() renamed to
6137 hildon_stackable_window_go_to_root_window()
6138 Send delete events to windows rather than closing them with
6139 gtk_widget_destroy()
6141 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6143 * src/hildon-pannable-area.c
6144 (hildon_pannable_area_button_release_cb): Fix overshooting in
6147 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6149 * src/hildon-pannable-area.c
6150 (hildon_pannable_area_init): Initially show the scroll indicators.
6151 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6153 Add initial effect showing the widget is pannable.
6155 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6157 * src/hildon-pannable-area.c
6158 (hildon_pannable_area_class_init)
6159 (hildon_pannable_area_set_property)
6160 (hildon_pannable_area_get_property)
6161 (hildon_pannable_area_button_press_cb):
6162 New 'velocity_fast_factor' property to decide which velocity is
6165 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6167 * src/hildon-pannable-area.c
6168 (hildon_pannable_draw_hscroll)
6169 (hildon_pannable_draw_vscroll):
6170 Use float variables to calculate the size of the scrollbars to
6171 avoid error propagation and resizing during scrolling.
6173 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-pannable-area.c
6176 (hildon_pannable_draw_vscroll)
6177 (hildon_pannable_draw_hscroll):
6178 Define a minimum size for the scroll bars
6180 * src/hildon-stackable-window.c
6181 (hildon_stackable_window_go_home): Fix compilation warning
6182 (get_last_window): Minor optimizations
6183 (hildon_stackable_window_class_init): Fix initialization of
6186 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6188 * src/hildon-stackable-window.c: Fixed typos in doc
6190 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6192 * src/hildon-pannable-area.c
6193 (hildon_pannable_area_scroll):
6194 Calculate here whether we need to scroll instead of using the booleans
6195 that tell us whether to /draw/ the scrolling bars.
6197 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6199 * src/hildon-app-menu.h
6201 * src/hildon-app-menu.c
6202 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6203 multiple filter groups related code and API. Now we support only
6205 * examples/hildon-app-menu-example.c:
6207 Update to reflect API changes.
6209 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6211 * src/hildon-stackable-window.c
6212 (hildon_stackable_window_class_init):
6213 Add hildon_stackable_window_realize.
6214 (hildon_stackable_window_realize):
6215 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6216 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6217 to apply theming and behavior specific to HildonStackableWindow
6220 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6222 * src/hildon-note.c (hildon_note_button_release):
6223 Close information notes also when tapping on them
6225 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6227 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6228 ELASTICITY, refactor and review, fix some issues with drawing
6231 * src/hildon-pannable-area.c:
6232 (hildon_pannable_area_button_press_cb): removed the conditions to
6233 avoid clicks when overshooting. It is not required
6235 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6236 define. Refatored and reviewed the code, now we do not need to
6237 manage velocity in motion_notify.
6239 (hildon_pannable_area_motion_notify_cb): We have moved the code
6240 that controls the area_scroll to the axis_scroll function and get
6241 rid of duplicated code.
6243 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6245 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6247 (hildon_pannable_draw_vscroll),
6248 (hildon_pannable_draw_hscroll): Fixed the problems with the
6249 scrollbar drawing, now we do not use two surfaces, it is easier
6250 and saves resources.
6252 (hildon_pannable_area_get_property): Style modification.
6254 (hildon_pannable_area_class_init): Changed some default values.
6256 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6258 * src/hildon-stackable-window.c: Fix some typos in the
6261 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6263 * src/hildon-dialog.c:
6264 Change indentation style
6267 (hildon_note_button_release):
6268 Use root coordinates to check if the release event happened
6271 * src/hildon-app-menu.c
6272 (hildon_app_menu_button_release):
6273 Remove unnecessary check
6275 * examples/hildon-app-menu-example.c
6277 Add cast to fix warning
6279 * src/hildon-app-menu.c
6280 (hildon_app_menu_class_init):
6281 New inner-border style property.
6282 Set all default spacings to 16
6283 (hildon_app_menu_init):
6284 Use vertical-spacing to set the space between filter buttons and
6285 regular menu buttons.
6286 Set the default container border using the inner-border value.
6288 * examples/hildon-app-menu-example.c
6290 Don't set the menu border explicitly, now we have the inner-border
6291 style property for that.
6293 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6295 * src/hildon-app-menu.c (hildon_app_menu_init):
6296 Make the window modal
6298 * src/hildon-note.c (hildon_note_map)
6299 * src/hildon-app-menu.c (hildon_app_menu_map):
6300 Destroy the grab window if we're unable to grab the pointer
6302 * src/hildon-app-menu-private.h
6303 * src/hildon-app-menu.c
6304 (hildon_app_menu_init, hildon_app_menu_finalize)
6305 (hildon_app_menu_map, hildon_app_menu_unmap)
6306 (hildon_app_menu_button_release)
6307 (grab_transfer_window_get):
6308 Bring back the grab window
6309 (hildon_app_menu_realize):
6310 Decorate the window, set WM hint for Matchbox
6312 * src/hildon-note.c (hildon_note_realize):
6313 * src/hildon-banner.c (hildon_banner_realize):
6314 Add WM hints for Matchbox
6316 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6318 * src/hildon-app-menu-private.h
6319 * src/hildon-app-menu.c
6320 (hildon_app_menu_init, hildon_app_menu_finalize)
6321 (hildon_app_menu_map, hildon_app_menu_unmap)
6322 (hildon_app_menu_button_release):
6323 Remove the grab window, it's not needed anymore
6325 * src/hildon-program.c
6326 Fixed typo in documentation
6328 * src/hildon-app-menu.h
6329 * src/hildon-app-menu.c
6330 * examples/hildon-app-menu-example.c
6331 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6333 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6336 Added new transfer_window and close_if_pressed_outside private
6338 (hildon_note_rebuild):
6339 Don't add a cancel button to the information note. It will be
6340 closed when tapping outside
6341 Remove the comment about the OK button in the documentation
6342 (hildon_note_realize):
6343 Set the notification type hint
6344 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6345 Grab/ungrab pointer and keyboard if the note has to be closed when
6347 (hildon_note_button_release):
6348 Close the note when tapping outside (if applicable)
6350 * src/hildon-app-menu.c
6351 Grab/ungrab pointer and keyboard on map/unmap
6352 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6353 Close the menu on button release, not button press
6355 * src/hildon-banner.c
6356 (hildon_banner_set_property)
6357 (hildon_banner_check_position):
6358 Make the banner use the full width of the screen
6359 (hildon_banner_show_information)
6360 (hildon_banner_show_information_with_markup):
6361 Don't display an icon by default
6363 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6365 Added fading scrollbars and adapted all the overshooting code to
6366 horizontal scrolling. We have also fixed bugs with overshooting
6367 and current fading implementation.
6369 * src/hildon-pannable-area.c
6370 (hildon_pannable_area_scroll_indicator_fade): Time out function
6371 used to change the transparency of the scrollbars.
6373 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6374 control and fixed a problem with fading, we now remove the fade
6375 timeout before adding a new one.
6377 (hildon_pannable_axis_scroll):
6378 (hildon_pannable_area_scroll):
6379 (hildon_pannable_area_timeout): Added this functions so we can use
6380 the scroll code both for vertical and horizontal.
6382 (hildon_pannable_area_motion_notify_cb):
6383 (hildon_pannable_area_button_release_cb): Added the horizontal
6384 scrolling control, fixed a problem with the overshooting timeout.
6386 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6387 painting of the scrolls.
6389 (hildon_pannable_draw_vscroll):
6390 (hildon_pannable_draw_hscroll):
6391 (hildon_pannable_area_expose_event):
6392 Draw both scrollbars and rectangles in the overshooting area.
6394 (hildon_pannable_area_get_property):
6395 (hildon_pannable_area_set_property):
6396 Modified the overshoot property to overshoot_max
6398 (hildon_pannable_area_map):
6399 Replaced the comments symbols.
6401 (hildon_pannable_area_size_allocate):
6402 (hildon_pannable_area_class_init):
6403 (hildon_pannable_area_init): Added horizontal scroll, fading
6404 effect properties, fixed a problem when overshooting in the bottom
6407 * examples/hildon-pannable-area-example.c:
6408 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6409 looks better in the example.
6411 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6413 * src/hildon-window.c
6414 * src/hildon-window.h
6415 (hildon_window_class_init)
6416 (hildon_window_unset_program)
6417 (hildon_window_unset_program_real):
6418 Make unset_program a virtual function
6420 * src/hildon-stackable-window.c
6421 * src/hildon-stackable-window.h
6422 Added hildon_stackable_window_go_home()
6424 * examples/Makefile.am
6425 * examples/hildon-stackable-window-example.c
6426 HildonStackableWindow example
6428 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6430 * hildon-pannable-area.c: Added the overshoot property and removed
6431 the OVERSHOOT define. Fixed an indent style error.
6432 (hildon_pannable_area_motion_notify_cb):
6433 (hildon_pannable_area_get_property):
6434 (hildon_pannable_area_set_property): Add overshoot property.
6436 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6439 (hildon_pannable_area_class_init): Installed the new property.
6441 * hildon-pannable-area-example.c: Added a sawtooth function, this
6442 way it is easier to check the movement in the pannable.
6443 (get_sawtooth_label): Added this function.
6444 (main): Now we get the labels from the new get_sawtooth_label
6447 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6449 * src/hildon-app-menu.h
6450 * src/hildon-app-menu.c
6451 Renamed API variables for consistency
6453 (hildon_app_menu_popup): Use also the default window size to
6454 decide where to place the menu
6456 (hildon_app_menu_init, hildon_app_menu_class_init): New
6457 external-border style property
6459 2008-05-26 Michael Natterer <mitch@imendio.com>
6461 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6462 widget_class->tap_and_hold_setup signal slot doesn't exist any
6463 longer, stop overriding it.
6465 (hildon_time_editor_init): g_signal_connect() to the
6466 tap-and-hold-setup signal instead.
6468 (hildon_time_editor_entry_keypress): add cast to fix warning.
6470 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6472 * doc/hildon-docs.sgml
6474 * examples/Makefile.am
6475 * examples/hildon-app-menu-example.c
6477 * src/hildon-app-menu-private.h
6478 * src/hildon-app-menu.c
6479 * src/hildon-app-menu.h
6481 New HildonAppMenu widget
6483 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6485 Rearranged the inheritance of the pannable area, now it inherits
6486 from GtkBin. This will allow us to control the event_window and
6487 the allocation process of the widget, required for some effects.
6489 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6490 GtkBin structures. * src/hildon-pannable-area.c: Added the
6491 event_window variable.
6492 (hildon_pannable_area_button_press_cb):
6493 (hildon_pannable_area_button_release_cb):
6494 (hildon_pannable_area_motion_notify_cb):
6495 Changed the signature of the method, now we override the event
6496 callback instead of connecting to the signal.
6498 (hildon_pannable_area_realize):
6499 (hildon_pannable_area_unrealize):
6500 (hildon_pannable_area_map):
6501 (hildon_pannable_area_unmap):
6502 (hildon_pannable_area_size_allocate):
6503 Added functions to control the widget construction. We add a
6504 INPUT_ONLY window and we put it over the widgets inside the
6505 container, this event_window handles the events.
6507 (hildon_pannable_area_class_init):
6508 Replaced the signal connections with overrides of the event
6511 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6513 Bouncing effect added when touching the borders, you can change
6514 the elasticity of the border changing the ELASTICITY define.
6516 * src/hildon-pannable-area.c: Added ELASTICITY define.
6517 (hildon_pannable_area_timeout): Added inverse velocity when
6518 touching the border of the child widget, that causes a bounce.
6520 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6522 Improved performance, we now do not go to the X server in order to
6523 get the list of window children. Apparently the effect is the
6524 same, we have to be careful and check if this breaks something in
6527 * src/hildon-pannable-area.c:
6528 (get_ordered_children): Removed this function.
6529 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6530 the children windows function with gdk_window_get_children.
6532 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6534 * src/hildon-pannable-area.c:
6535 (hildon_pannable_area_dispose): Fixed a crash when closing the
6536 window and kinetics is activated.
6538 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6540 * src/hildon-pannable-area.h
6541 * src/hildon-pannable-area.c
6542 Changed indentation style to meet the one used in Hildon
6544 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6546 Reviewed the interaction of the AUTO mode, now we use the time
6547 attribute of the events and calculate the velocity in the motion,
6548 doing a gimp like calculation. The velocity is calculated in each
6549 motion event using the last velocity and the current one, the
6550 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6552 * src/hildon-pannable-area.c: Replaced the time based algorithm
6554 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6555 timeout for the AUTO mode when we are still moving the cursor. We
6556 added also the velocity calculation in this function.
6557 (hildon_pannable_area_button_release_cb): launch the timeout in
6558 case we are in AUTO mode. There are still some constants here that
6559 come from the old implementation that should be reviewed and
6562 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6564 * doc/hildon-docs.sgml
6567 * src/hildon-stackable-window.c
6568 * src/hildon-stackable-window.h
6570 New HildonStackableWindow widget
6572 * examples/hildon-dialog-example.c
6573 * examples/hildon-pannable-area-example.c
6576 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6578 * src/hildon-dialog.c
6579 (hildon_dialog_new_with_buttons): New constructor.
6581 * examples/hildon-dialog-example.c
6582 (main): Update the example to use the new
6583 hildon_dialog_new_with_buttons().
6585 * examples/hildon-pannable-area-example.c
6586 (main): Update example.
6588 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6590 * doc/hildon-docs.sgml
6592 Added HildonPannableArea to the documentation.
6594 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6596 * doc/visual_index.xml
6597 Fix reference to HildonLoginDialog in documentation
6599 * doc/hildon-docs.sgml
6601 * examples/Makefile.am
6602 * examples/hildon-dialog-example.c
6604 * src/hildon-dialog.c
6605 * src/hildon-dialog.h
6607 New HildonDialog widget.
6609 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6611 * src/hildon-pannable-area.c
6612 Merge latest changes (r4318, r4342) from libmokoui trunk
6614 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6616 * examples/Makefile.am
6617 * examples/hildon-pannable-area-example.c
6619 * src/hildon-pannable-area.c
6620 * src/hildon-pannable-area.h
6622 New HildonPannableArea widget.
6624 2008-04-15 18:05:19 <timj@imendio.com>
6626 * src/hildon-banner.c: revert the recent change, that introduced
6627 gtk_window_present() calls. this reopens:
6628 Bug 78481 - [freetest] information banners are hidden under browser menu
6629 But resolves another variant of:
6630 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6632 2008-04-15 13:21:13 <timj@imendio.com>
6634 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6635 recreated its layout, spotted by Kris. this fixes all remaining
6636 artefacts and stability issues with the banner code. in particular:
6637 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6639 2008-04-14 16:52:59 <timj@imendio.com>
6641 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6642 operating on unrealized widgets, fixes:
6643 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6645 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6647 2008-04-09 Kristian Rietveld <kris@imendio.com>
6649 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6650 makes banner disappear.
6651 Fixes: NB#79182: info banner flickering with certain message lengts.
6653 * src/hildon-banner.c (hildon_banner_constructor),
6654 (hildon_banner_init), (hildon_banner_set_text),
6655 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6656 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6657 FALSE, reset size requests of label and banner,
6658 (force_to_wrap_truncated): when the text is too wide, always enforce
6659 the maximum possible width instead of recalculating it from the
6660 layout; enforce the maximum banner height of 3 lines,
6661 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6662 nicer wrapping and no truncated chars if space gets tight.
6664 * src/hildon-banner-private.h: add has_been_wrapped and
6665 has_been_truncated fields.
6667 2008-04-07 Sven Herzberg <sven@imendio.com>
6669 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6670 local values in hildon_date_editor_size_allocate
6672 * src/hildon-date-editor.c: moved the real allocation code into the
6675 2008-04-07 Sven Herzberg <sven@imendio.com>
6677 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6678 local values in hildon_date_editor_size_allocate
6680 * src/hildon-date-editor.c: merged the two if() branches together
6682 2008-04-07 Sven Herzberg <sven@imendio.com>
6684 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6685 local values in hildon_date_editor_size_allocate
6687 * src/hildon-date-editor.c: changed the arguments of the if()
6690 2008-04-07 Sven Herzberg <sven@imendio.com>
6692 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6693 local values in hildon_date_editor_size_allocate
6695 * src/hildon-date-editor.c: split the calculation of the allocation
6696 from the real allocation
6698 2008-03-27 Michael Natterer <mitch@imendio.com>
6700 Fixes: NB#81696: The passcode is not overwritten even after
6703 * src/hildon-code-dialog.c
6704 (hildon_code_dialog_button_clicked)
6705 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6706 because that doesn't overwrite selected text. Instead, emit the
6707 "commit" signal on the entry's im_context so the entry's normal
6708 insert logic is triggered. Set the cursor to the end of the entry
6709 after each insert operation so that we *only* insert in the middle
6710 of the text if something was selected.
6712 2008-03-27 Michael Natterer <mitch@imendio.com>
6714 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6715 selector cannot be opened
6717 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6718 when the popup color selector is created. Please connect to this
6719 signal in order to set the dialog's help ID.
6721 2008-03-25 Sven Herzberg <sven@imendio.com>
6723 Fixes: MB#1212: Hide info banners (infoprints) on click
6725 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6726 extracted the close event simulation into an extra function
6727 (hildon_banner_button_press_event): simulate a close event and destroy
6728 the widget if the event wasn't handled
6729 (hildon_banner_class_init): added the button_press_event handler
6730 (hildon_banner_init): added button-press events to the widget
6732 2008-03-25 Sven Herzberg <sven@imendio.com>
6734 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6735 Patch from: Mohammad Anwari <mdamt@maemo.org>
6737 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6738 instead of the right in RTL mode
6739 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6740 breadcrumb button list in RTL mode
6741 * src/hildon-caption.c: mirror the appearance of the caption widget in
6743 * src/hildon-date-editor.c: mirror appearance of the date editor in
6745 * src/hildon-time-editor.c: mirror appearance of the time editor in
6747 * src/hildon-window.c: fix the position of the popup in RTL mode
6749 2008-03-25 Sven Herzberg <sven@imendio.com>
6751 Amendment to the fix of NB#22072. Fix compilation.
6753 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6755 2008-03-19 Sven Herzberg <sven@imendio.com>
6757 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6760 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6761 timeout id properly when the timeout will disappear this leaves no
6762 artifacts around in the destroy(); there will only be the timeout
6763 created by hildon_banner_ensure_timeout() and adding a new timeout
6764 will also work if the timeout gets removed because the timeout_handler
6767 2008-03-19 Michael Natterer <mitch@imendio.com>
6769 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6771 * src/hildon-volumebar.c
6772 * src/hildon-vvolumebar.c
6773 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6774 the widget becomes focussable at all.
6776 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6777 set the focus to wither the mute button or the volumebar.
6779 Remove own "can-focus" property and instead listen to
6780 notify::can-focus in order to update the widget's state.
6782 Implement GtkWidget::focus() and make sure we can also *leave* the
6783 widget, not only enter it, depending on volumebar orientation and
6784 requested focus direction.
6786 Clean up set_mute() to cooperate nicely with all the above.
6788 2008-03-04 Michael Natterer <mitch@imendio.com>
6790 Fixes: NB#78481: information banners are hidden under browser menu
6792 * src/hildon-banner.c: call gtk_window_present() on the banners so
6793 they are risen if they are already visible.
6795 2008-03-03 Sven Herzberg <sven@imendio.com>
6797 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6799 * examples/hildon-window-menu-example.c: (main): extended the window
6800 menu example to serve as a testcase for automatically added
6801 accelerator groups, too
6802 * src/hildon-window.c: (hildon_window_add_accel_group),
6803 (hildon_window_set_menu): added patch by Tommi Komulainen
6805 2008-03-03 Sven Herzberg <sven@imendio.com>
6807 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6809 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6810 knowledge about the border allocators used within GTK+
6812 2008-02-26 Sven Herzberg <sven@imendio.com>
6814 Fixes: MB#2981: Build with asserts broken
6816 * src/hildon-date-editor.c,
6817 * src/hildon-number-editor.c,
6818 * src/hildon-time-editor.c,
6819 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6820 the proper GType instance check
6822 2008-02-25 Sven Herzberg <sven@imendio.com>
6824 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6826 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6827 * examples/hildon-window-menu-example.c: (main): explicitly show
6829 * src/hildon-window.c:
6830 (hildon_window_set_main_menu): moved most of the code from set_menu()
6831 to this place; skipped the call to gtk_widget_show_all(); also didn't
6832 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6833 (hildon_window_set_menu): removed most of the code, just keep the
6834 questionable gtk_widget_show_all()
6835 * src/hildon-window.h: added the new function and deprecate the old
6838 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6844 * debian/changelog: Updating.
6846 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6849 * pkgconfig/Makefile.am:
6850 * pkgconfig/hildon.pc.in:
6853 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6854 use newly created API_MAJOR_VERSION.
6856 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6862 * debian/changelog: Updating.
6864 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6866 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6868 Add outer_border style property, we use it but don't define it (!).
6872 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6874 * examples/hildon-bread-crumb-trail-example.c (main):
6878 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6880 Fix logic for the bread crumb trail node removal.
6884 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6890 * debian/changelog: Updating.
6892 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6894 Patch by Alejandro to get/set passwords dialogs accesibility.
6896 * hildon-1/src/hildon-get-password-dialog.c:
6897 * hildon-1/src/hildon-set-password-dialog.c:
6898 Set atk_set_name to the passwd entries in order to allow
6899 accessibility by name on this entries.
6901 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6906 * debian/control: Updating gtk dep.
6908 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6910 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6911 USE_MAEMO_GTK is enabled.
6913 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6915 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6916 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6918 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6924 * debian/changelog: Updating.
6926 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6928 * examples/Makefile.am:
6929 * examples/hildon-logical-color-example.c:
6930 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6931 applied + adding a test case. Fixes: NB#71660.
6933 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6935 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6936 to be visible, fixes warning on map for windows without toolbars.
6938 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6940 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6941 2.11.0, add a check for that besides the MAEMO_GTK check.
6943 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6949 * debian/changelog: Updating.
6951 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6953 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6954 visibility. Fixes: NB#70842 and MB#615.
6956 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6958 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6959 set the separator as no-show-all so it doesn't unintentionally appear when
6960 someone does a show_all.
6962 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6964 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6965 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6966 toplevel item. Fixes: NB#62031
6968 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6970 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6971 fix the name of the function in the docs.
6973 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6979 * debian/changelog: Updating.
6981 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6983 * examples/hildon-banner-long-example.c: Adding a test-case for long
6986 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6988 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6990 * src/hildon-color-chooser-dialog.c:
6991 * src/hildon-color-chooser.c:
6992 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6993 memory leaks in font selector and color selector. Fixes: NB#70499 and
6996 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6998 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7000 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7002 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7003 little bit bigger. Fixes: #NB63694.
7005 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7011 * debian/changelog: Updating.
7013 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7016 * doc/hildon-docs.sgml:
7017 * doc/images/bread-crumb-trail.png:
7018 * doc/images/calendar-popup.png:
7019 * doc/images/caption.png:
7020 * doc/images/code-dialog.png:
7021 * doc/images/color-button.png:
7022 * doc/images/color-chooser-dialog.png:
7023 * doc/images/color-chooser.png:
7024 * doc/images/controlbar.png:
7025 * doc/images/date-editor.png:
7026 * doc/images/font-selection-dialog.png:
7027 * doc/images/get-password-dialog.png:
7028 * doc/images/hvolumebar.png:
7029 * doc/images/login-dialog.png:
7030 * doc/images/note.png:
7031 * doc/images/number-editor.png:
7032 * doc/images/range-editor.png:
7033 * doc/images/seekbar.png:
7034 * doc/images/set-password-dialog.png:
7035 * doc/images/sort-dialog.png:
7036 * doc/images/time-editor.png:
7037 * doc/images/time-picker.png:
7038 * doc/images/vvolumebar.png:
7039 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7040 Adding the bread-crumb-trial and helpers to the documentation.
7042 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7044 * examples/hildon-find-toolbar-example.c:
7045 * src/hildon-find-toolbar.c:
7046 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7047 actually continue firing the other handlers if connected. Adding a new
7049 hildon_find_toolbar_get_last_index that gets the index of the most
7050 recently added (last) item. Fixes: NB#52301.
7052 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7054 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7055 behaviour. Fixes: NB#68610.
7057 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7059 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7062 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7064 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7065 when realizing the banner. Should make the infonbanner effect a bit more
7068 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7070 * src/hildon-volumebar.c:
7071 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7072 hildon_volumebar_set_range_insensitive_message and
7073 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7075 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7077 * src/hildon-window.c: Fixing the border freeing on destroy.
7079 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7081 * src/hildon-code-dialog-private.h:
7082 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7083 kw keyboard support in HildonCodeDialog.
7085 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7091 * debian/changelog: Updating.
7093 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7095 * src/hildon-date-editor.c:
7096 * src/hildon-number-editor.c:
7097 * src/hildon-private.c:
7098 * src/hildon-private.h:
7099 * src/hildon-time-editor.c:
7100 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7101 handling in subclassed composite widgets. Fixes: NB#66628.
7103 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7105 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7106 from destroy_ callback as it introduces problems in async dbus signal
7107 handlers. Fixes NB#66673.
7109 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7111 * examples/hildon-hvolumebar-example.c:
7112 * src/hildon-volumebar.c: Improving the focus handling in the
7113 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7114 set_property accessor so that "mute" property can be actually set. I'm
7115 scared that nobody noticed it's totally broken.
7117 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7119 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7122 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7124 * src/hildon-calendar.c:
7125 * src/hildon-number-editor.c:
7126 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7127 matches the spec of 6 chars per second. Fixes: NB#60489.
7129 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7131 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7132 gtk_style_lookup_color sometime returns FALSE even though color was
7133 found and values were filled properly. Weird. Removing the warning for the
7136 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7138 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7139 expand vertically. Adding some extra space to the find toolbar buttons to
7140 make them thumbable. Fixes NB#66060.
7142 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7144 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7145 popup with "Ok" and "Cancel". Fixes NB#59299.
7147 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7149 * src/hildon-calendar.c: Process all window updates before executing next
7150 timeout. Fixes: NB#54146.
7152 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7158 * debian/changelog: Updating.
7160 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7162 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7163 the client event and ignore it, since we use the delete event to close
7166 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7168 * src/hildon-helper.c: Remove the bogus warning about color not being
7169 found. Fixes NB#58352.
7171 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7173 * examples/Makefile.am:
7174 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7175 HildonSeekbar widget inside a toolbar.
7177 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7179 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7180 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7181 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7182 don't want to be closed by non-temporary windows on map.
7184 Also use G_DEFINE_TYPE instead of manually typed code.
7186 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7193 * debian/rules: Updating.
7195 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7197 * examples/Makefile.am:
7198 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7199 bug NB#61128. Strangely it works.
7201 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7203 * src/hildon-date-editor.c: When the date editor entry has been changed
7204 but the numbers of characters < max, turn off the skip validation flag.
7205 Prevents a situation when we enter first a valid year and later re-write
7206 it with an invalid one. Fixes NB#60154.
7208 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7210 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7211 code dialog. Fixes NB#64355.
7213 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7215 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7216 switching the page. Fixes NB#49374.
7218 * examples/Makefile.am:
7219 * examples/hildon-wizard-dialog-example.c: Adding an example for
7220 HildonWizardDialog that shows how to handle manual sensitivity setting on
7223 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7227 * src/hildon-version.h.in:
7228 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7230 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7232 * src/hildon-volumebar.c: Updating the docs.
7234 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7240 * debian/changelog: Updating.
7242 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7244 * src/hildon-find-toolbar.c:
7245 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7246 selected item: hildon_find_toolbar_set_active,
7247 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7248 hildon_find_toolbar_get_active_iter . They correspond to respective
7249 GtkComboBox functions.
7251 * examples/Makefile.am:
7252 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7255 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7257 * examples/Makefile.am:
7258 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7261 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7262 when font size > 32 and we pack a focusable widget inside. Actually using
7263 the default response would work too, but since we don't show default
7264 response state in any way (no theming) it would not be visible to the
7265 user. Fixes NB#63430.
7267 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7269 * src/hildon-date-editor.c: Adding the missing variable setter in the
7270 set_property handler. Fixes NB#54182.
7272 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7274 * src/hildon-window.h: Changing the long key press time from 1500ms to
7275 800ms as requested in NB#63700. I have a bad feeling about this, let's
7276 see... Fixes NB#63700.
7278 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7280 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7281 hildon_time_picker_map, hildon_time_picker_realize,
7282 hildon_time_picker_style_set): Split the contents of map to more
7283 appropriate functions; set window decorations on realize and update
7284 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7286 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7291 * debian/changelog: Updating.
7293 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7295 * src/Makefile.am: fixed installation of the header files
7297 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7303 * debian/changelog: Updating.
7305 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7307 * configure.ac: Removing some remaining of --enable-xan.
7309 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7311 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7312 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7314 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7315 2.10.12-osso6 because the move-focus signal needs to be available in
7318 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7320 * examples/Makefile.am:
7321 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7322 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7323 fine. Prolly NB#61128 is fixed now.
7325 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7327 * src/hildon-volumebar.c:
7328 * src/hildon-volumebar.h: Adding the
7329 hildon_volumebar_set_range_insensitive_message and
7330 hildon_volumebar_set_range_insensitive_messagef functions to set
7331 insensitive message on the slider of the volumebar. Fixes NB#61129.
7333 * examples/Makefile.am:
7334 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7335 test the new insensitive messsage functionality on HildonVolumebar.
7337 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7339 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7342 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7344 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7345 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7346 button on after clearing the trail.
7348 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7350 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7352 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7354 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7355 by splitting the installed headers in generated and non-generated groups. Use
7356 only the non-generated headers to create the hildon-enum-types.h file.
7358 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7360 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * src/hildon-window.c: Hide the window before performing the destroy.
7363 Should make the app closing a little tiny bit more snappy.
7365 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7367 * src/hildon-seekbar.c: add gtkrange.h header
7368 * src/hildon-caption.c: remove unused variable
7370 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7372 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7375 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7381 * debian/changelog: Updating.
7383 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7385 * src/hildon-window.c (hildon_window_window_state_event,
7386 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7387 escape timeout on focus-out-event rather than notify::is-topmost; the
7388 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7390 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7392 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7393 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7395 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7397 * src/hildon-window: actually, you need to use the macro always, there's
7398 no private pointer in the instance structure. We should have cleaned this up
7399 when we had the chance...
7401 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7403 * src/hildon-window.c: do not get the private date from HildonWindow before
7404 it passes the g_return_if_fail check. Once it's passed the test, there's no
7405 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7406 if you are only going to access the data once. Whitespace cleanups.
7408 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7410 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7411 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7413 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7419 * debian/changelog: Updating.
7421 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * src/hildon-window.c: When destroying the window, remove (if exists) the
7424 escape timeout handler. Fixes #NB59276.
7426 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7428 * src/hildon-banner.c: When realizing the widget, set the window
7429 transiency. Setting the transiency in the gobject constructor is not
7430 good, as the widget is not realized at that point. Fixes: #NB56624.
7432 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7434 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7435 Add padding for future expansions.
7437 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7439 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7440 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7441 will fake an activation on the previous to the last item of the trail, so
7442 the effect can be overrided by the developer as usual.
7443 Also change the callback for the back button to do the same thing, so its
7444 effect can be overrided too. Fixes: NB#58982
7446 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7448 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7449 HildonCaption. Fixes NB#52379.
7451 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7453 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7454 the internal state of the trail after the user has had the chance of executing
7455 his handler for the signal. Specifically, it may happen that the activated button
7456 is removed and the user still lets the default handler run. This would segfault
7459 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7461 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7462 scrollbar to the preview dialog. Fixes NB#54147.
7464 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7466 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7467 max/min year properties can be altered, so the client can modify it
7468 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7470 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7472 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7473 hildonlike by default. Fixing a problem with disappearing arrows when
7474 scrolling through months and years. Fixes NB#54127.
7476 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7478 * examples/hildon-date-editor-example.c: Adding error callback to the date
7481 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7487 * configure.ac: Updating.
7489 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7491 * configure.ac: Adding a special '--enable-xan' configure option that
7492 turns off the -Werror compilation setting. Usefull for development.
7494 * src/hildon-calendar.c:
7495 * src/hildon-number-editor.c:
7496 * src/hildon-time-picker.c: Adding the 5* multiplier to
7499 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7501 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7502 instead of g_object_ref + gtk_object_sink.
7504 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7510 * debian/changelog: Updating.
7512 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7514 * src/hildon-color-chooser-dialog.c:
7515 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7516 straight from Tommi labs.
7518 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7520 * examples/hildon-finger-example.c: Correcting the header file path.
7522 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7523 the changed signal. Fixes a small memory leak.
7525 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7529 * src/hildon-banner.c: Importing several usefull fixes from the
7530 ubuntu-mobile branch.
7532 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7534 * examples/Makefile.am:
7535 * examples/hildon-finger-example.c: Adding a finger-checking code
7538 * src/hildon-font-selection-dialog.c: Do not allocate the color
7539 structure using the g_new. Fixes NB#54061.
7541 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7543 * src/hildon-helper.c: Correcting tabs in file.
7545 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7547 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7548 control the visibility of the children.
7550 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7552 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7558 * debian/changelog: Updating.
7560 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7562 * src/hildon-bread-crumb-trail.c:
7563 (hildon_bread_crumb_trail_size_allocate):
7565 Make the back button always a square.
7567 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7569 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7570 from the .c file as it's a private file.
7572 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7574 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7575 uses slightly bigger height.
7577 * src/hildon-font-selection-dialog.c: Adding some checks before
7578 freeing memory in the font selection dialog.
7580 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7582 * src/hildon-font-selection-dialog.c: Adding a small check when
7585 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7586 buttons sensitivity on page switching.
7588 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7590 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7591 internal details of adding a bread crumb to the trail.
7593 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7599 * debian/changelog: Updating.
7601 * src/hildon-bread-crumb-trail.h:
7602 * src/hildon-bread-crumb.h: Changing the API guard to
7603 HILDON_ENABLE_UNSTABLE_API.
7605 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7613 * src/hildon-helper.h: Updating.
7615 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7623 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7627 * src/hildon-helper.h: Small fix to make the package actually compile.
7629 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7631 * src/hildon-bread-crumb-trail.h:
7632 * src/hildon-bread-crumb.h:
7634 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7635 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7637 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7639 * examples/hildon-bread-crumb-trail-example.c:
7641 * src/hildon-bread-crumb-trail.c:
7642 * src/hildon-bread-crumb-trail.h:
7643 * src/hildon-bread-crumb.c:
7644 * src/hildon-bread-crumb.h:
7645 * src/hildon-marshalers.list:
7646 * src/hildon-bread-crumb-widget.c:
7647 * src/hildon-bread-crumb-widget.h:
7649 Slight change in the widget design. The bread crumb trail API is
7650 unchanged, but HildonBreadCrumb is now an interface. A *private*
7651 implementation, hildon-bread-crumb-widget, is provided and used
7652 internally by the trail for the push_text/push_icon functions.
7654 The generic push API is still available, so anyone can implement
7655 and use its own bread crumb widget.
7657 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7659 * debian/rules: Fixing the shlibs.
7661 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7663 * src/hildon-banner.c: Fixing a problem with timed banners having
7664 their parrent destroyed before they are.
7666 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7668 * src/hildon-bread-crumb.c:
7669 * src/hildon-bread-crumb.h:
7671 Make the get_natural_size function a vfunc.
7673 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7675 * src/hildon-bread-crumb.c:
7676 * src/hildon-bread-crumb-trail.c:
7680 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7687 * debian/changelog: Updating for release.
7689 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7691 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7692 don't leak the pango layout.
7694 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7697 * examples/hildon-bread-crumb-trail-example.c:
7701 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7703 * debian/changelog: Removing the bug-fixed entries that were actually
7704 resolved as WONTFIX.
7706 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7709 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7711 * src/hildon-bread-crumb-trail.c:
7712 * src/hildon-bread-crumb-trail.h:
7713 * src/hildon-bread-crumb.c:
7714 * src/hildon-bread-crumb.h:
7718 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7720 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7721 until it's passed the type check.
7723 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7725 * examples/hildon-bread-crumb-trail-example.c
7729 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7731 * examples/Makefile.am
7732 * examples/hildon-bread-crumb-trail-example.c
7734 * src/hildon-bread-crumb-trail.c
7735 * src/hildon-bread-crumb-trail.h
7736 * src/hildon-bread-crumb.c
7737 * src/hildon-bread-crumb.h
7739 New HildonBreadCrumbTrail widget.
7741 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7743 * src/hildon-range-editor.c (hildon_range_editor_init),
7744 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7745 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7746 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7747 hildon_time_editor_class_init, hildon_time_editor_init),
7748 src/hildon-get-password-dialog.c (invalid_input,
7749 hildon_get_password_set_property, hildon_get_password_get_property,
7750 create_contents, hildon_get_password_dialog_set_max_characters),
7751 src/hildon-set-password-dialog.c (create_contents),
7752 src/hildon-date-editor.c (hildon_date_editor_init),
7753 src/hildon-login-dialog.c (hildon_login_dialog_init),
7754 src/hildon-number-editor.c (hildon_number_editor_init),
7755 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7756 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7757 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7758 configure option and adding the respective checks in the code.
7759 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7760 hildon_calendar_drag_data_received): fixed some build warnings.
7762 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7764 * debian/changelog: A 1.0.0 release notes.