1 2009-06-22 David King <davidk@openismus.com>
3 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
4 constants and functions, as well as correct many typos throughout the
7 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
10 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
12 * configure.ac: postrelease version bump.
13 * debian/changelog: post release version bump
15 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
20 * configure.ac: Bump version.
21 * debian/changelog: Updates.
23 2009-06-18 Alberto Garcia <agarcia@igalia.com>
25 * hildon/hildon-window-stack.c
26 (hildon_window_stack_pop_and_push_list):
27 Prevent windows from having the same stack index
29 2009-06-18 Alberto Garcia <agarcia@igalia.com>
31 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
32 Use the index of the previous window rather than the stack length
33 to calculate the new index.
37 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
39 * hildon/hildon-date-selector.c
40 (hildon_date_selector_select_current_date)
41 (hildon_date_selector_get_date)
42 (hildon_date_selector_select_day):
43 Update the documentation: uses always the range (1-31), as it is obvious
44 that the final one will depend on the month and the year, but globally
45 the range is this, in a similar GtkCalendar approach
46 (hildon_date_selector_get_date):
47 Update the documentation: add NULL as a valid value for the day, month
50 Fix some details, after talk with David King on bug MB#4698
52 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
54 * hildon/hildon-touch-selector-entry.c
55 * hildon/hildon-touch-selector.c
56 Update the documentation of the "text-column" property
58 2009-06-18 David King <davidk@openismus.com>
60 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
61 several typos and errors throughout the documentation.
63 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
66 2009-06-18 Alberto Garcia <agarcia@igalia.com>
68 * hildon/hildon-note.c (hildon_note_realize):
69 Make HildonNote support portrait mode.
71 Fixes: NB#123448 (HildonNote is not portrait-friendly)
73 2009-06-17 Alberto Garcia <agarcia@igalia.com>
75 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
76 Document this function
78 2009-06-17 David King <davidk@openismus.com>
80 * hildon/hildon-date-selector.c
81 (hildon_date_selector_select_current_date)
82 (hildon_date_selector_get_date): Update documentation regarding days,
83 as the day of the month is dependent on both the month and the year.
84 (hildon_date_selector_get_date): Fix documentation of output arguments.
86 Fixes: MB#4698 (DateSelector documentation has bad output argument
87 description, and the day depends on both the month and the year)
89 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
91 * hildon/hildon-caption.c: Other documentation fixes to
94 2009-06-17 David King <davidk@openismus.com>
96 * hildon/hildon-caption.c: Minor documentation updates for
97 HildonCaption. Fixes MB#4697.
99 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
101 * doc/hildon-docs.sgml: Add hildon-version section.
102 * doc/hildon-sections.txt:
103 * hildon/hildon-version.h.in: Document versioning macros and
106 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
108 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
109 from HildonPickerDialog section.
111 2009-06-16 Alberto Garcia <agarcia@igalia.com>
113 * hildon/hildon-banner.c (hildon_banner_bind_style)
114 (screen_size_changed, hildon_banner_init)
115 (hildon_banner_real_show_information)
116 (hildon_banner_show_information_with_markup)
117 (hildon_banner_show_animation, hildon_banner_show_progress):
118 Set a different widget name to banners in portrait mode, for them
119 to be themed correctly.
121 2009-06-16 Alberto Garcia <agarcia@igalia.com>
123 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
124 Set a different widget name to notes in portrait mode, for them to
127 Partially fixes: NB#118401 (HildonNote causes unnecessary
130 2009-06-16 Alberto Garcia <agarcia@igalia.com>
132 * hildon/hildon-note.c (hildon_note_class_init)
133 (+hildon_note_size_request, screen_size_changed):
134 Always request the full width of the screen.
136 Fixes: NB#118375 (unnecessary rescaling of images)
138 2009-06-16 Alejandro G. Castro <alex@igalia.com>
140 * hildon/hildon-pannable-area.c,
141 (hildon_pannable_area_init),
142 (hildon_pannable_area_realize): Replaced old code adding flags in
143 the object init, now we add it with the other flags in the realize
146 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
148 * hildon/hildon-note.c: (hildon_note_class_init): Several
149 documentation improvements to the HildonNote widget.
151 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
153 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
155 Fixes: MB#4556 (HildonNoteType is undocumented)
157 2009-06-15 Alberto Garcia <agarcia@igalia.com>
159 * hildon/hildon-picker-button.c:
160 Explain how HildonPickerButton sets the title of its dialog
162 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
163 the title of its dialog)
165 2009-06-15 Alberto Garcia <agarcia@igalia.com>
167 * hildon/hildon-check-button.c:
168 Documentation updates
170 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
173 2009-06-15 Alberto Garcia <agarcia@igalia.com>
176 * hildon/hildon-edit-toolbar-private.h
177 * hildon/hildon-edit-toolbar.c
178 (+hildon_edit_toolbar_set_progress_indicator)
179 (hildon_edit_toolbar_init): Add progress indicator to the
182 * hildon/hildon-gtk.c
183 (hildon_gtk_window_set_progress_indicator):
184 If the window contains a HildonEditToolbar, enable the progress
187 * hildon/hildon-private.h
188 * hildon/hildon-private.c
189 (+hildon_private_create_animation)
190 * hildon/hildon-banner.c
191 (-hildon_banner_create_animation):
192 Moved to hildon-private.c
194 Fixes: NB#102373 (Progress indicator also for the Edit mode
197 2009-06-15 Alberto Garcia <agarcia@igalia.com>
199 * hildon/hildon-app-menu-private.h
200 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
201 (hildon_app_menu_add_filter, +menu_item_button_event)
202 (hildon_app_menu_button_release, hildon_app_menu_init):
203 Make sure that buttons receive 'button-release-event' in spite of
204 the grab held by HildonAppMenu
206 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
208 2009-06-15 Alberto Garcia <agarcia@igalia.com>
210 * hildon/hildon-app-menu.c
211 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
212 New style property to set the size of the group of filter buttons.
214 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
216 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
221 * configure.ac: Bump version.
222 * debian/changelog: Updates.
224 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
226 * hildon/hildon-main.c: Minor documentation fixes.
228 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
230 * doc/hildon-sections.txt:
231 * hildon/hildon-defines.h: Document the defines, organize them,
232 and mark deprecations as such.
234 Fixes: MB#4463 (Hildon size #defines are undocumented)
236 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
238 * hildon/hildon-animation-actor.c:
239 * hildon/hildon-app-menu.c:
240 * hildon/hildon-button.c:
241 * hildon/hildon-date-editor.c:
242 * hildon/hildon-dialog.c:
243 * hildon/hildon-edit-toolbar.c:
244 * hildon/hildon-entry.c:
245 * hildon/hildon-program.c:
246 * hildon/hildon-remote-texture.c:
247 * hildon/hildon-stackable-window.c:
248 * hildon/hildon-text-view.c:
249 * hildon/hildon-touch-selector.c:
250 * hildon/hildon-window-stack.c:
251 * hildon/hildon-window.c:
253 Remove redundant "represents" wording from most of the documentation.
255 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
257 2009-06-12 Alberto Garcia <agarcia@igalia.com>
262 * hildon/hildon-banner-private.h
263 * hildon/hildon-banner.c:
264 Move HildonBannerPrivate to hildon-banner.c and remove
265 hildon-banner-private.h
266 Use a bit field to store private booleans.
268 2009-06-12 Alberto Garcia <agarcia@igalia.com>
270 * hildon/hildon-app-menu.c (hildon_app_menu_map):
271 Don't install a new idle function if there's already one
276 2009-06-11 Alberto Garcia <agarcia@igalia.com>
278 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
279 (+legacy_menu_realized, +legacy_menu_unmapped)
280 (+set_legacy_menu_type):
281 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
282 they can be identified by the window manager.
284 Fixes: NB#101437 (Invoking CSM on the left side of page area is
285 displayed in wrong location)
287 Fixes: MB#4563 (Popup menu won't locate at the left side of the
290 2009-06-11 Alberto Garcia <agarcia@igalia.com>
292 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
294 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
297 2009-06-11 Alberto Garcia <agarcia@igalia.com>
299 * hildon/hildon-code-dialog.c
300 * hildon/hildon-date-editor.c
301 * hildon/hildon-number-editor.c
302 * hildon/hildon-seekbar.c
303 * hildon/hildon-stackable-window.c
304 * hildon/hildon-window.c:
305 Misc documentation updates
307 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
309 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
310 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
312 Fixes: NB#117931 (Theming issues in accounts dialogs)
314 2009-06-09 Alejandro G. Castro <alex@igalia.com>
316 * hildon/hildon-pannable-area.c,
317 (hildon_pannable_area_button_release_cb): Changed the coordinates
318 of the original release in case we want to discard the release,
319 some widgets in Fremantle do not handle the leave-notify.
321 2009-06-09 Alejandro G. Castro <alex@igalia.com>
323 * hildon/hildon-pannable-area.c,
324 (hildon_pannable_area_button_release_cb): Reviewed the logic of
325 the release using the last refactored functions and avoiding the
326 movement if an element was selected.
328 2009-06-09 Alejandro G. Castro <alex@igalia.com>
330 * hildon/hildon-pannable-area.c,
331 (hildon_pannable_area_check_move),
332 (hildon_pannable_area_handle_move),
333 (hildon_pannable_area_motion_notify_cb): Refactored the
334 motion_notify method using a couple of new functions.
336 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
338 * hildon/hildon-date-selector.c:
339 (hildon_date_selector_construct_ui):
340 * hildon/hildon-time-selector.c:
341 (hildon_time_selector_constructor):
342 * hildon/hildon-touch-selector-entry.c:
343 (hildon_touch_selector_entry_set_text_column),
344 (hildon_touch_selector_entry_get_text_column):
345 * hildon/hildon-touch-selector.c: (_default_print_func),
346 (hildon_touch_selector_new_text): Use
347 hildon_touch_selector_set/get_text_column() instead of
348 setting/getting the "text-column" property.
350 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
352 * doc/hildon-sections.txt: Add the new public methods below.
354 * examples/hildon-picker-button-multicolumn-example.c:
355 (create_touch_selector):
356 * examples/hildon-touch-selector-example.c: (create_selector):
357 * examples/hildon-touch-selector-multi-cells-example.c:
359 Use hildon_touch_selector_column_set_text_column()
361 * hildon/hildon-touch-selector-column.h:
362 * hildon/hildon-touch-selector.c:
363 (hildon_touch_selector_column_set_text_column),
364 (hildon_touch_selector_column_get_text_column):
365 Make hildon_touch_selector_column_set/get_column() public, use
366 them in the inline example, document them, and reference to them
369 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
371 * hildon/hildon-time-selector.c: Fix the docs for
372 hildon_time_selector_new_step().
374 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
376 * hildon/hildon-touch-selector.c: Improve the documentation for
377 hildon_touch_selector_append_column().
379 Fixes MB#4641 (Documentation:
380 hildon_touch_selector_append_column() ref-counting)
382 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
384 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
385 Comment out test 5, since the hildon_controlbar_set_range() range
386 check is broken and fixing it would have side effects. Also,
387 this finally fixes make distcheck.
389 Fixes: NB#101420 (Update unit tests and fix make distcheck)
391 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
393 * tests/TEST-CASES.txt: Remove other bogus test.
394 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
395 Remove bogus test that was setting/retrieving a valid value.
397 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
399 * tests/TEST-CASES.txt: Remove bogus tests.
400 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
401 Remove three bogus tests that were actually setting valid colors.
403 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
405 * configure.ac: post release version bump
406 * debian/changelog: post release version bump
408 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
413 * configure.ac: Bump version.
414 * debian/changelog: Updates.
416 2009-06-08 Christian Dywan <christian@lanedo.com>
420 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
421 Correct errors in hildon_format_file-size_for_display and use
422 translations from the hildon-fm package instead of osso-filemanager.
424 2009-06-08 Alejandro G. Castro <alex@igalia.com>
426 * hildon/hildon-pannable-area.c,
427 (hildon_pannable_area_init): Initialized new values to handle the
429 (hildon_pannable_area_adjust_value_changed): Check if the values
430 changed before even call the redraw function.
431 (hildon_pannable_area_size_allocate),
432 (hildon_pannable_axis_scroll),
433 (hildon_pannable_area_scroll),
434 (hildon_pannable_area_jump_to): Improved the diagonal movement
437 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
440 2009-06-08 Alberto Garcia <agarcia@igalia.com>
442 * examples/hildon-banner-example.c:
443 Several style updates
444 (on_animation_clicked, on_animation_idle)
445 (on_progress_clicked, on_progress_idle):
446 Add additional reference for the cases when the parent window is
449 2009-06-08 Alberto Garcia <agarcia@igalia.com>
451 * doc/hildon-sections.txt
452 * hildon/hildon-pannable-area.c
453 * hildon/hildon-banner.h
454 * hildon/hildon-banner.c: Documentation updates.
456 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
459 2009-06-05 Alejandro G. Castro <alex@igalia.com>
461 * hildon/hildon-calendar-popup.h:
462 * hildon/hildon-caption.h:
463 * hildon/hildon-code-dialog.h:
464 * hildon/hildon-controlbar.h:
465 * hildon/hildon-date-editor.h:
466 * hildon/hildon-dialog.h:
467 * hildon/hildon-get-password-dialog.h:
468 * hildon/hildon-hvolumebar.h:
469 * hildon/hildon-login-dialog.h:
470 * hildon/hildon-note.h:
471 * hildon/hildon-number-editor.h:
472 * hildon/hildon-range-editor.h:
473 * hildon/hildon-seekbar.h:
474 * hildon/hildon-set-password-dialog.h:
475 * hildon/hildon-sort-dialog.h:
476 * hildon/hildon-time-editor.h:
477 * hildon/hildon-time-picker.h:
478 * hildon/hildon-volumebar-range.h:
479 * hildon/hildon-volumebar.h:
480 * hildon/hildon-vvolumebar.h:
481 * hildon/hildon-weekday-picker.h:
482 * hildon/hildon-window.h:
483 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
484 macros with the current replacements
486 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
488 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
490 * hildon/hildon-color-button.c (hildon_color_button_init): Use
491 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
492 itself, to make it fit better with Fremantle style.
494 Fixes: NB#109878 (height and width of focus on color icon is not
495 consistent with other item in the application tool bar)
497 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
499 * hildon/hildon-touch-selector.c:
500 (hildon_touch_selector_optimal_size_request): use the current requisition
501 as the base, in order to include any possible extra widget, like the
502 hildon entry on HildonTouchSelectorEntry
504 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
506 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
508 * configure.ac: post release version bump
509 * debian/changelog: post release version bump
511 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
516 * configure.ac: Bump version.
517 * debian/changelog: Updates.
519 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
521 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
523 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
524 to ensure the banner contents are centered, instead of relying on
525 the expand and fill properties in GtkHBox.
526 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
528 Fixes: NB#108265 (Animation banner not properly centered)
530 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
532 * hildon/hildon-pannable-area.c
533 (hildon_pannable_area_initial_effect): Remove the initial_effect
534 management, check initial_hint
535 (hildon_pannable_are_expose_event): Remove the initial_hint management,
536 set initial_effect to FALSE
537 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
538 by launching the fade_timeout if the scrollbars state has changed and are
540 * examples/hildon-pannable-area-initial-hint-example.c
541 Modified to allow to remove rows too. Add and remove rows one by one.
543 2009-05-28 Alberto Garcia <agarcia@igalia.com>
545 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
546 Don't close the menu if there's an animation actor below it.
548 Fixes: NB#117927 (Application menu not usable with animation
551 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
553 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
554 "focus-on-click" from the dialog button, to avoid stealing the
555 focus from the entry.
557 Fixes: NB#118903 (Account setup wizard: Text in Search field
558 should be focused when "Region" touch list picker is reopened
561 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
563 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
564 (prepare_action_area): Completely hide the dialog separator.
566 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
568 * hildon/hildon-touch-selector-entry.c
569 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
570 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
571 now that the entry is exposed.
573 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
575 * hildon/hildon-touch-selector-entry.c
576 (hildon_touch_selector_entry_init): Change the entry's size
577 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
579 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
581 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
582 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
583 avoid unnecessary scaling.
585 2009-05-27 Alberto Garcia <agarcia@igalia.com>
587 * hildon/hildon-app-menu.c (hildon_app_menu_map):
588 Create grab transfer window before calling parent's map function.
590 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
591 "crushed" button(s) in the top left corner)
593 2009-05-26 Alberto Garcia <agarcia@igalia.com>
595 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
596 Check if the window is already realized when pushing it.
598 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
600 * configure.ac: post release version bump
601 * debian/changelog: post release version bump
603 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
608 * configure.ac: Bump version.
609 * debian/changelog: Updates.
611 2009-05-25 Alberto Garcia <agarcia@igalia.com>
613 * hildon/hildon-app-menu.c: Doc updates.
615 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
617 * hildon/hildon-banner.c: Remove leftover macro.
619 2009-05-25 Alejandro G. Castro <alex@igalia.com>
621 * hildon/hildon-pannable-area.c,
622 (hildon_pannable_area_scroll_indicator_fade),
623 (hildon_pannable_area_button_release_cb): Reviewed vmin
624 conditions, it could cause problems in the fadeout procedure.
626 2009-05-25 Alejandro G. Castro <alex@igalia.com>
628 * hildon/hildon-pannable-area.c
629 (hildon_pannable_area_button_release_cb): Added a threshold to
630 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
632 2009-05-25 Alejandro G. Castro <alex@igalia.com>
634 * hildon/hildon-pannable-area.c,
635 (hildon_pannable_area_set_property): Added code to sync the gtk
636 dnd threshold with the panning threshold.
638 2009-05-25 Alejandro G. Castro <alex@igalia.com>
640 * hildon/hildon-pannable-area.c,
641 (hildon_pannable_area_class_init): Changed some of the default
642 values, now it should be less responsive and more accurate.
644 2009-05-25 Alejandro G. Castro <alex@igalia.com>
646 * hildon/hildon-pannable-area.c,
647 (hildon_pannable_area_init),
648 (hildon_pannable_area_scroll_indicator_fade),
649 (hildon_pannable_area_button_press_cb),
650 (hildon_pannable_axis_scroll),
651 (hildon_pannable_area_timeout),
652 (hildon_pannable_area_motion_notify_cb),
653 (hildon_pannable_area_button_release_cb): Changed the name of the
654 clicked attribute to button_pressed, it is more clear about its use.
656 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
658 * src/hildon-pannable-area.c
659 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
661 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
662 vertical scrollbar visibility, and use the data on private section instead,
663 remove the initial_hint check
664 (hildon_pannable_area_expose_event): add the initial_hint check here
666 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
668 * src/hildon-pannable-area.c
669 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
670 if the fadeout effect was used
671 (hildon_pannable_area_expose_event): check if it is required to
672 manage the initial effect on the begining of the function. Previously
673 it was made at the end, but this doesn't ensure that the scrollbars
674 will be painted on the first show. Do not set to FALSE initial_effect,
675 to ensure that the initial hint is showed the first time the pannable
677 * examples/Makefile.am
678 * examples/hildon-pannable-area-initial-hint-example.c:
679 New example, to show that the initial-hint is showed when the widget
682 Fixes: NB#116607 (Pannable area should always have scrollbar visible
683 initially if the application can be scrolled)
685 2009-05-25 Alberto Garcia <agarcia@igalia.com>
687 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
688 Resize table before adding new items to make sure that
689 gtk_table_resize() is called just once.
691 2009-05-25 Alberto Garcia <agarcia@igalia.com>
693 * hildon/hildon-app-menu-private.h
694 * hildon/hildon-app-menu.c (item_visibility_changed)
695 (filter_visibility_changed, hildon_app_menu_show_all)
696 (hildon_app_menu_hide_all, hildon_app_menu_init):
697 Rearrange items just once when gtk_widget_show_all()/hide_all()
700 2009-05-25 Alberto Garcia <agarcia@igalia.com>
702 * hildon/hildon-app-menu.c
703 (hildon_app_menu_insert, hildon_app_menu_add_filter):
704 Don't call gtk_widget_show() on added items.
706 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
707 automatically when they're added)
709 2009-05-20 Alberto Garcia <agarcia@igalia.com>
711 * hildon/hildon-banner.c
712 (hildon_banner_realize, +hildon_banner_unrealize)
713 (+screen_size_changed, hildon_banner_class_init):
714 Redisplay the banner if the screen is rotated.
716 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
717 on transition from landscape to portrait)
719 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
721 * hildon/hildon-banner.[ch]:
722 (hildon_banner_show_information_override_dnd): remove icon_name from the
723 method definition as it is ignored.
724 * examples/hildon-banner-dnd-example.c: updated with the change on
727 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
729 * hildon/hildon-banner-private.h: new require_override_dnd and
730 overrides_dnd variables
731 * hildon/hildon-banner.h:
732 (hildon_banner_show_information_override_dnd): new method, that shows
733 the information but sets the override flag, in order to show important
735 * hildon/hildon-banner.c
736 (hildon_banner_show_information_override_dnd): new method
737 (hildon_banner_set_override_flag): new utility function
738 (hildon_banner_real_show_information): new utility function, in order to
739 generalize the current hildon_banner_show_information_override_dnd and
740 hildon_banner_show_information_override_dnd
741 * examples/Makefile.am
742 * examples/hildon-banner-dnd-example.c: New example that show how to
743 use the new hildon_banner_show_information_override_dnd
745 Fixes: NB#114874 (There is no possibility to show hildon banners with
748 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
750 * hildon/hildon-pannable-area.c: Add a comment explaining the math
751 behind hildon_pannable_calculate_vel_factor().
753 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
755 * hildon/hildon-pannable-area.c
756 (hildon_pannable_calculate_vel_factor): Correct the sum of the
757 deceleration factors.
759 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
761 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
762 Reduce the default value for 'scroll_time' to 1 second, since the
763 current initial scrolling takes too much time.
765 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
767 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
768 calculate velocity factor during initialization, since the properties
771 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
773 * hildon/hildon-pannable-area.c
774 (hildon_pannable_area_set_property): Calculate the velocity factor
775 after setting the deceleration property and not after.
777 2009-05-20 Alberto Garcia <agarcia@igalia.com>
779 * hildon/hildon-entry.c
780 (hildon_entry_class_init, +set_property, hildon_entry_new)
781 * hildon/hildon-check-button.c
782 (hildon_check_button_class_init)
783 (+set_property, hildon_check_button_new):
784 Make the theme size a property.
786 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
787 others) do too much in the _new function)
789 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
791 * configure.ac: post release version bump
792 * debian/changelog: post release version bump
794 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
799 * configure.ac: Bump version.
800 * debian/changelog: Updates.
802 2009-05-15 Alberto Garcia <agarcia@igalia.com>
804 * hildon/hildon-gtk.h
805 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
806 New API function to take a screenshot of a window
808 Fixes: NB#106374 (Need API to take a loading screenshot)
810 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
812 * hildon/hildon-time-selector.c
813 (update_format_policy): prevent to use hours and minutes unitialized
815 2009-05-15 Alberto Garcia <agarcia@igalia.com>
817 * hildon/hildon-window.c (hildon_window_size_request):
818 Always request the full size of the screen (minus the title bar if
819 not in fullscreen mode).
821 Fixes: NB#107486 (HildonWindow should size itself properly)
823 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
825 * hildon/hildon-note-private.h: Add idle_handler to the private data.
826 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
827 (on_show_cb), (sound_handling): Disconnect the idle handler for
828 the sound when the note is finalized to avoid possible crashes.
830 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
833 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
835 * src/hildon-animation-actor.c,
836 * src/hildon-remote-texture.c:
837 Added proper object cleanup to remove signal handler and object
838 references as HildonAnimationActor and HildonRemoteTexture
839 objects get destroyed.
841 Fixes: NB#116682 (Destroying parented animation actors when
842 parent in unmapped leads to crash)
844 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
846 Based on a patch by Christian Dywan (christian@imendio.com)
848 * doc/hildon-sections.txt:
849 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
850 * hildon/hildon-helper.h: New file size formatting method.
852 * debian/control: Depend on osso-filemanager l10n package for
853 proper localization strings.
855 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
857 * tests/Makefile.am: Include top_srcdir to make possible to build
858 tests in a different builddir.
859 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
860 on a different builddir.
862 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
864 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
865 (hildon_touch_selector_remove): Disconnect model's signal handler
868 Fixes: NB#116289 (Hildon home crashes while adding task
871 2009-05-11 Alberto Garcia <agarcia@igalia.com>
873 * hildon/hildon-button.c
874 (hildon_button_set_title, hildon_button_set_value):
875 Hide labels containing an empty string.
877 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
879 * configure.ac: post release version bump
880 * debian/changelog: post release version bump
882 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
887 * configure.ac: Bump version.
888 * debian/changelog: Updates.
890 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
892 * hildon/hildon-note-private.h: Removed sound_signal_handler
893 * hildon/hildon-note.c
894 (on_show_cb): new callback on note "show" event, this simply adds
895 a idle, with the function sound_handling
896 (sound_handling): removed the sound_signal_handler management
897 (hildon_note_init): connect note "show" event to on_show_cb
898 (hildon_note_realize): remove the connection to "expose-event"
900 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
901 device?' confirmation note)
903 2009-05-08 Alberto Garcia <agarcia@igalia.com>
905 * hildon/hildon-note.c
906 (hildon_note_new_information_with_icon_name)
907 (hildon_note_new_confirmation_with_icon_name):
908 Terminate the list of parameters in g_object_set() calls
910 Fixes: NB#115166 (Formatting memory card is not taking place)
912 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
914 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
915 "dialog-information" role for the sound being played.
917 2009-05-06 Alberto Garcia <agarcia@igalia.com>
919 * hildon/hildon-app-menu.c (hildon_app_menu_init):
920 Don't make the menu a modal window, it causes strange interactions
921 with the pointer grab and it's not really needed.
923 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
925 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
927 * hildon/hildon-touch-selector.[ch]
928 (hildon_touch_selector_optimal_size_request): function added to get a
929 optimal size request from the touch selector, when you want a dialog to
930 show as much of the selector
931 * hildon/hildon-picker-dialog.c:
932 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
933 (hildon_app_menu_class_init):
934 New "max-height-landscape" and "max-height-portrait" style properties
935 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
936 (hildon_picker_dialog_get_max_height): returns the maximum height using
937 the style properties defined and checking the current portrait/landscape
939 (_hildon_picker_dialog_set_selector): removed the set_size_request
941 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
943 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
945 * hildon/hildon-bread-crumb-trail.c:
946 * hildon/hildon-bread-crumb.c:
947 * hildon/hildon-seekbar.c:
948 Add reference to replacements for these deprecated widgets.
950 Fixes: MB#4461 (Documentation: All deprecations should mention
953 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
955 * examples/hildon-remote-texture-example.c
957 Change the include to the hildon-remote-texture in order to compile
958 properly the examples on the installed libhildon1-examples package
960 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
962 * tests/Makefile.am: Add check for HildonPickerButton.
963 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
964 (START_TEST), (create_hildon_picker_button_suite): Add three simple
965 checks for the HildonPickerButton.
966 * tests/check_test.c (configure_tests): Add the test suite.
967 * tests/test_suites.h: likewise.
969 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
971 * hildon/hildon-touch-selector.c
972 (+on_row_changed): Emit HildonTouchSelector:changed when the
973 contents of a selected row change.
974 (_create_new_column), (_hildon_touch_selector_set_model): connect
975 to GtkTreeModel:row-changed on a newly set model.
977 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
979 2009-05-05 Alberto Garcia <agarcia@igalia.com>
981 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
983 * hildon/hildon-banner.c (hildon_banner_destroy)
984 (hildon_banner_show_progress, hildon_banner_set_fraction):
985 Remove the progress bar from HildonBanner and use a progress
988 Fixes: NB#113761 (Update progress banner to use progress
991 2009-05-04 Alberto Garcia <agarcia@igalia.com>
993 * hildon/hildon-banner.c:
994 Calculate size of the banner label using the actual screen width
995 rather than using a fixed value.
997 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1000 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1002 * hildon/hildon-pannable-area.c,
1003 (hildon_pannable_area_class_init): Fixed signals documentation
1006 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1008 * configure.ac: post release version bump
1009 * debian/changelog: post release version bump
1011 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1016 * configure.ac: Bump version.
1017 * debian/changelog: Updates.
1019 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1021 * hildon/hildon-edit-toolbar.c
1022 (hildon_edit_toolbar_init):
1023 Don't let buttons in HildonEditToolbar receive focus.
1025 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1026 typing on an HW arrows key)
1028 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1030 * doc/Makefile.am: Fix build.
1032 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1034 * doc/Makefile.am: Do not redefine content_files.
1036 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1044 Renamed src/ to hildon/
1049 Include <hildon/hildon.h> directly in all examples.
1051 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1053 * src/hildon-sort-dialog.c
1054 (hildon_sort_dialog_add_sort_key_with_sorting)
1058 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1060 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1061 make distcheck passes.
1063 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1065 * Makefile.am: Enable gtk-doc during distcheck.
1067 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1069 * Makefile.am: Do not distribute the debian/ directory.
1071 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1073 * doc/Makefile.am: Add the extra SGML files to content_files,
1074 so that they are distributed properly.
1076 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1078 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1081 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1083 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1084 (hildon_note_new_information_with_icon_name): Set the "icon" property
1085 to preserve soundness.
1087 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1089 * src/hildon-font-selection-dialog.c
1090 (hildon_font_selection_dialog_set_property): Fail when the "family"
1091 property is set to NULL.
1093 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1095 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1098 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1100 * src/hildon-time-selector.h:
1101 Added HildonTimeSelectorFormatPolicy
1102 * src/hildon-time-selector.c:
1103 Added PROP_TIME_FORMAT_POLICY
1104 (_check_ampm_format): renamed to check_automatic_ampm_format
1105 (update_format_policy), (update_format_dependant_columns): new functions
1106 (hildon_time_selector_class_init)
1107 (hildon_time_selector_contructor)
1108 (hildon_time_selector_init)
1109 (hildon_time_selector_get_property)
1110 (hildon_time_selector_set_property)
1111 (hildon_time_selector_get_time)
1112 (hildon_time_selector_set_time)
1113 * src/hildon-touch-selector.h: new file
1114 * src/hildon-touch-selector.c
1115 (hildon_touch_selector_emit_changed)
1116 (hildon_touch_selector_block_changed)
1117 (hildon_touch_selector_unblock_changed)
1118 Added functions to allow to block the emission of the "changed" signal
1119 * src/hildon-picker-dialog.c
1120 (hildon_picker_dialog_show): call the parent show before the custom code
1121 * examples/hildon-time-button-example.c
1122 Modified, so now you can configure the time format using the new property
1124 Added a new property "time-format-policy" that allow to choose the time
1125 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1126 case it uses gconf in order to check if the time selector must use
1129 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1132 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1134 * src/hildon-note.c (hildon_note_init):
1135 Label in HildonNote must be left aligned, not centered. This
1136 reverts the last commit in HildonNote.
1138 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1139 is connectivity dialog)
1141 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1146 * doc/hildon-sections.txt:
1147 Added hildon_gtk_window_set_do_not_disturb()
1149 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1151 * src/hildon-note.c (hildon_note_init): Center label.
1153 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1156 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1161 * configure.ac: Bump version.
1162 * debian/changelog: Updates.
1164 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1166 * src/hildon-note-private.h: Add button-width to the private data.
1167 * src/hildon-note.c (+resize_button),
1168 (+hildon_note_orientation_update): methods to repack widgets on orientation
1170 (screen_size_changed): Call above method for confirmation notes.
1171 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1172 (hildon_note_rebuild): Store the original width request from buttons.
1174 Fixes: NB#109635 (Confirmation notes do not support portrait)
1176 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1178 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1179 when it is a progress note.
1181 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1183 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1184 in the note, since there are no horizontally arranged contents.
1186 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1188 * src/hildon-gtk.c (+set_flag): new generic method to
1189 set/delay a flag setting in a window.
1190 (hildon_gtk_window_set_progress_indicator):
1191 (hildon_gtk_window_set_do_not_disturb),
1192 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1193 avoid code redundance.
1195 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1197 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1199 * src/hildon-gtk.c (set_clear_window_flag),
1200 (do_set_progress_indicator), (do_set_do_not_disturb),
1201 (do_set_portrait_flags),
1202 (hildon_gtk_window_set_progress_indicator),
1203 (hildon_gtk_window_set_do_not_disturb),
1204 (hildon_gtk_window_set_portrait_flags):
1205 Allow setting dnd-flag, progress indicator, and portrait flags
1206 when the window is not realized.
1208 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1210 * src/hildon-pannable-area.c,
1211 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1212 the size request policy function and defines.
1214 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1216 * doc/hildon-sections.txt: Add the new API.
1217 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1218 method to set the portrait flags.
1219 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1221 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1223 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1225 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1226 to allow using this method with other flags.
1227 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1228 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1230 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-touch-selector.c
1233 (hildon_touch_selector_append_text_column):
1234 Make the cell renderer use the smallest width possible.
1236 Fixes: NB#108470 (Selected items in multiple selection are either
1237 having a tick that is cut or not visible at all.)
1239 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-touch-selector.c
1242 (hildon_touch_selector_append_text_column):
1245 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1247 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1248 Use g_strdup_printf() instead of a fixed size buffer.
1250 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1252 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1253 Close banners when a HildonAppMenu is popped up.
1255 Fixes: NB#111027 (Title menu closed immediately if activated when
1256 "Invalid e-mail address" banner is shown)
1258 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1263 * configure.ac: Bump version.
1264 * debian/changelog: Updates.
1266 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1268 * src/hildon-banner.c (hildon_banner_realize):
1269 Mark HildonBanner as supporting portrait mode.
1270 Use GDK to set window properties insetad of direct Xlib calls.
1272 Fixes: NB#111830 (HildonBanner should be marked as supporting
1275 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1277 * src/hildon-note.c (hildon_note_rebuild):
1278 Hide action area in information notes. Prevents text from being
1279 slightly aligned to the left.
1281 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1284 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1286 Patch by Mox Soini (ext-mox.soini@nokia.com)
1288 * src/hildon-banner.c (hildon_banner_create_animation):
1289 Use stylus-sized icons in animation banner.
1291 Fixes: NB#111206 (stylus sized icon for animation banner)
1293 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1297 (+hildon_gtk_window_set_do_not_disturb):
1298 New API to set the do-not-disturb flag.
1300 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1302 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1304 * examples/hildon-progress-indicator-example.c: Fix example
1306 * src/hildon-gtk.c (set_clear_window_flag)
1307 (hildon_gtk_window_set_progress_indicator):
1308 Create a generic function for setting flags to a window.
1309 Use GDK instead of direct Xlib calls.
1311 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1313 * src/hildon-button.c (hildon_button_set_arrangement):
1314 Due to NB#88126, if one of the labels is too long it will be
1315 painted outside the button. The 'value' label is more likely to be
1316 the longest one, so we change its packing options in order to
1317 truncate it if necessary. As a side effect, the 'title' label will
1318 no longer be truncated.
1320 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1322 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1327 * configure.ac: Bump version.
1328 * debian/changelog: Updates.
1330 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1332 Deprecation of the hildon_pannable_area_set_size_request_policy
1333 API, the only policy properly supported in gtk+ nowadays is the
1336 * src/hildon-pannable-area.c,
1337 (hildon_pannable_area_size_request): Added a workaround for the
1338 size_request to avoid the problems of huge pixmaps in case someone
1339 is still using the function.
1340 * src/hildon-pannable-area.h: Deprecated the enum with the
1343 Fixes: NB#110244 (Problems with the
1344 hildon_pannable_area_set_size_request_policy API)
1346 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1348 * src/hildon-pannable-area.c,
1349 (hildon_pannable_area_init),
1350 (hildon_pannable_area_size_request),
1351 (hildon_pannable_area_style_set),
1352 (hildon_pannable_draw_vscroll),
1353 (hildon_pannable_draw_hscroll),
1354 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1355 indicator_width to clarify the use of the attribute.
1357 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1362 * configure.ac: Bump version.
1363 * debian/changelog: Updates.
1365 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1367 * src/hildon-picker-dialog.c
1368 * src/hildon-touch-selector.c
1369 Reverting the change that tried to avoid the hardcoded height on
1370 the picker dialog, as causes problems on the hildon-touch-selector
1373 Fixes: NB#110029 (selectors not scrolling to selected value)
1375 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1377 * src/hildon-touch-selector.c: Fix typos
1379 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1382 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1383 request more motions after using it.
1385 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1387 * src/hildon-calendar.c (hildon_calendar_expose),
1388 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1389 Remove unused variables.
1391 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1393 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1394 variable assignment.
1396 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1398 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1399 Check the return value of gtk_tree_selection_get_selected()
1402 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1404 * src/hildon-animation-actor.c
1405 * src/hildon-button.c
1407 * src/hildon-pannable-area.c
1408 * src/hildon-picker-button.c
1409 * src/hildon-program.c
1410 * src/hildon-remote-texture.c
1411 * src/hildon-text-view.c
1412 * src/hildon-touch-selector.c
1413 * src/hildon-window-stack.c
1414 * src/hildon-window.c:
1415 Add missing 'Since: 2.2' tags.
1417 * doc/hildon-sections.txt:
1418 Add some missing symbols.
1420 * doc/hildon-docs.sgml:
1421 New 'Other' section for HildonAnimationActor and
1424 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1426 Patch by Iván Gómez (igomez@igalia.com)
1429 * doc/compiling.sgml
1430 * doc/hildon-docs.sgml
1431 * doc/hildon-sections.txt
1432 * doc/migration.sgml
1433 * doc/resources.sgml
1435 New chapters on using the Hildon library.
1436 Updated the general structure of the reference manual.
1437 Other minor documentation fixes.
1439 * src/hildon-calendar-popup.c
1440 * src/hildon-calendar.c
1441 * src/hildon-controlbar.c
1442 * src/hildon-date-editor.c
1443 * src/hildon-dialog.c
1444 * src/hildon-hvolumebar.c
1445 * src/hildon-number-editor.c
1446 * src/hildon-range-editor.c
1447 * src/hildon-sort-dialog.c
1448 * src/hildon-time-editor.c
1449 * src/hildon-time-picker.c
1450 * src/hildon-volumebar-range.c
1451 * src/hildon-volumebar.c
1452 * src/hildon-vvolumebar.c
1453 * src/hildon-weekday-picker.c:
1454 Add deprecation notes
1456 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1457 Document 'horizontal-movement' and 'vertical-movement' signals.
1459 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1464 * configure.ac: Bump version.
1465 * debian/changelog: Updates.
1467 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1469 * src/hildon-pannable-area.c,
1470 (hildon_pannable_area_class_init): increased the minimum velocity.
1471 (hildon_pannable_area_button_release_cb): Updated the
1472 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1473 setup. Review the code to control that last event.
1475 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1478 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1480 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1482 * src/hildon-get-password-dialog.c
1483 (hildon_get_password_set_property),
1484 (hildon_get_password_get_property), (create_contents):
1485 * src/hildon-login-dialog-private.h:
1486 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1487 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1488 (hildon_login_dialog_get_password):
1489 * src/hildon-set-password-dialog-private.h:
1490 * src/hildon-set-password-dialog.c
1491 (hildon_set_password_set_property),
1492 (hildon_set_password_get_property), (create_contents),
1493 (hildon_set_password_response_change),
1494 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1496 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1497 instead and look more Fremantle style.
1499 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1501 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1503 * doc/hildon-sections.txt
1504 * src/hildon-window-stack.h
1505 * src/hildon-window-stack.c
1506 (+hildon_window_stack_get_windows):
1507 New API to obtain the list of windows on a stack.
1509 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1511 * src/hildon-app-menu.c (hildon_app_menu_popup)
1512 (hildon_app_menu_class_init, -hildon_app_menu_show):
1513 Remove hildon_app_menu_show() and move all its checks to
1514 hildon_app_menu_popup()
1516 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1518 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1519 (_hildon_picker_dialog_set_selector): removed call to
1520 gtk_widget_set_size_request
1521 * src/hildon-touch-selector.c
1522 (_create_new_column): change the pannable size request policy
1524 Avoid to use a hardcoded height for the hildon picker dialog. In order
1525 to get that, we needed to change the hildon pannable size request
1527 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1529 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1531 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1532 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1535 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1537 * debian/control: Depend on osso-system-lock localization package.
1538 * src/hildon-code-dialog.c: Obtain the secu_application_title
1539 translation from osso-system-lock.
1540 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1541 for translation the atk related strings, that's not necessary.
1542 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1543 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1544 cancel button, it is not required.
1546 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1548 * src/hildon-pannable-area.c,
1549 (hildon_pannable_area_class_init): Modified the default value of
1550 the overshooting max speed, we have reduced it.
1552 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1554 * doc/hildon-sections.txt
1555 * src/hildon-window-private.h
1556 * src/hildon-window.h
1557 * src/hildon-window.c (hildon_window_class_init)
1558 (hildon_window_init, hildon_window_finalize)
1559 (hildon_window_realize, hildon_window_get_property)
1560 (hildon_window_set_property, hildon_window_update_markup)
1561 (hildon_window_get_markup, hildon_window_set_markup):
1562 New "markup" property and hildon_window_{get,set}_markup() methods.
1564 * examples/hildon-stackable-window-example.c (new_window):
1565 Update example to use hildon_window_set_markup()
1567 Fixes: NB#106375 (Need API to retitle a window with a title
1570 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1572 * src/hildon-pannable-area.c,
1573 (hildon_pannable_area_class_init): Changed the default value of
1574 the initial_hint to TRUE.
1575 (hildon_pannable_area_initial_effect): Changed the initial effect,
1576 not the effect is just the fade-out of the scrollbars.
1578 Fixes: NB#107775 (No scrollbars can be seen when several items are
1579 available in a dialog)
1581 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1583 * src/hildon-program.c (hildon_program_update_top_most):
1586 Fixes: NB#109179 (Memory leak in Hildon program)
1588 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1590 * src/hildon-banner.c (-get_current_app_window):
1591 Remove unused function.
1593 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1595 * src/hildon-pannable-area.c: Modified the documentation of the
1596 get adjustments functions to explain the problem of using the
1597 adjustment directly.
1598 (hildon_pannable_area_class_init): Improved the explanation about
1601 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1603 * src/hildon-app-menu-private.h
1604 * src/hildon-app-menu.c
1605 (hildon_app_menu_class_init):
1606 Bring back the 'external-border' style property
1607 (hildon_app_menu_class_init, hildon_app_menu_init)
1608 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1609 Set a fixed width-request for the menu, independent of the number
1612 Fixes: NB#94957 (Smoothly opened application menu)
1614 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1618 * src/hildon-banner.c
1619 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1621 Make sure that the banner is correctly placed the first time it's
1623 (hildon_banner_check_position, -check_fullscreen_state):
1624 Show the banner in the same place no matter if the window is in
1625 fullscreen mode or not.
1627 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1629 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1631 * src/hildon-touch-selector.c (_default_print_func): reorder
1632 concatenation for clarity.
1634 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1637 for multicolumn selectors.
1639 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1641 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1646 * configure.ac: Bump version.
1647 * debian/changelog: Updates.
1649 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1651 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1654 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1656 * configure.ac: removed libcangerra-gtk dependency
1657 * debian/control: removed libcanberra-gtk dependency
1658 * src/Makefile.am: removed libcanberra gtk related flags
1659 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1660 context, and manage a global canberra context instead
1662 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1664 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1666 Patch by Daniel Borgmann (danielb@openismus.com)
1668 * src/hildon-edit-toolbar.c:
1669 Adjust the left padding.
1670 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1671 Paint background of the edit toolbar.
1673 Fixes: NB#107897 (Patch to make editmodetoolbar background
1674 themeable and adjust margin)
1676 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1678 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1680 * src/hildon-program.c (hildon_program_update_top_most):
1681 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1683 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1684 change when the user tasks in/out of an application)
1686 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1688 * configure.ac: added libcangerra-gtk dependency
1689 * debian/control: added libcanberra-gtk dependency
1690 * src/Makefile.am: added libcanberra gtk related flags
1691 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1694 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1696 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1698 * src/hildon-program.c (hildon_program_remove_window)
1699 (hildon_program_add_window): Add checks for the window
1700 parameter. Don't decrease the window counter if the window is not
1703 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1705 * src/hildon-pannable-area.c,
1706 (hildon_pannable_area_realize): Fixed position of the event_window
1707 in the realize method.
1709 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1711 * src/hildon-app-menu-private.h
1712 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1713 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1714 (hildon_app_menu_key_press, hildon_app_menu_init)
1715 (hildon_app_menu_finalize):
1716 Make sure that all idle functions are removed when the widget is
1719 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1721 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1726 * configure.ac: Bump version.
1727 * debian/changelog: Updates.
1729 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1731 * src/hildon-entry.c
1732 (+hildon_entry_show_placeholder),
1733 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1734 that replace hildon_entry_update_contents().
1735 (hildon_entry_set_text),
1736 (hildon_entry_set_placeholder),
1737 (hildon_entry_focus_in_event),
1738 (hildon_entry_focus_out_event): Determine when it is needed
1739 either to show or hide the placeholder and call the above methods.
1741 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1742 when the placeholder text is already set)
1744 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1746 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1747 simple GdkPixbufAnim using the new icons for the banner.
1748 (hildon_banner_show_animation): Use the above mentioned method to
1749 create the animation widget.
1751 Fixes: NB#103564 (Make hildon animation banner use individual
1752 image files as the animation)
1754 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1756 * src/hildon-pannable-area.c,
1757 (hildon_pannable_leave_notify_event): Check if the child is NULL
1758 to avoid sending the leave.
1760 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1762 * src/hildon-pannable-area.c,
1763 (hildon_pannable_area_class_init),
1764 (hildon_pannable_leave_notify_event): Added a handler of the
1765 leave-notify-signal to consider when no motion notify before
1768 Fixes: NB#107494 (Items stay selected when clicking and moving
1769 away when inside pannable area)
1771 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1776 * configure.ac: Bump version.
1777 * debian/changelog: Updates.
1779 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1781 Patch by Alberto Garcia (agarcia@igalia.com)
1783 * src/hildon-date-button.c,
1784 (hildon_date_button_class_init),
1785 (hildon_date_button_init): Removed the construct property handling
1786 and created a default selector in the init method.
1787 * src/hildon-picker-button.c,
1788 (hildon_picker_button_class_init): Removed the construct flag of the
1791 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1793 * src/hildon-main.c (hildon_init):
1794 Don't allow hildon_init() to be called more than once.
1796 Fixes: NB#106607 (hildon_init should issue error message upon
1799 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1801 * examples/hildon-pannable-area-touch-list-example.c
1802 * examples/hildon-pannagle-area-touch-grid-example.c
1803 * examples/hildon-edit-toolbar-example.c
1804 * examples/hildon-touch-selector-multi-cells-example.c
1805 Removed the call to gtk_rc_parse_string, as it is not required since
1808 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1810 * src/hildon-pannable-area.c,
1811 (hildon_pannable_area_class_init): Modified the default panning
1812 threshold of the widget to 6px.
1814 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1815 than the threshold value ) within the button is not sending the
1818 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1820 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1821 for the treeview in the new column. This way, the touch list will never
1824 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1825 be selected manually for the HW keys to work)
1827 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1829 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1830 comparison instead of using strcmp(). Fixes a compiler warning as well.
1832 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1834 * doc/hildon-docs.sgml: Do not set the library version in the
1835 document title, use the releaseinfo tag for that purpose instead.
1837 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1839 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1840 Do not jump to the first item if the text in the entry is removed.
1842 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1847 * configure.ac: Bump version.
1848 * debian/changelog: Updates.
1850 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1852 * src/hildon-entry.c (hildon_entry_refresh_contents):
1853 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1854 Use "ReversedSecondaryTextColor" for the placeholder text.
1856 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1858 * src/hildon-text-view.c: Fix compilation warning.
1860 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1862 * src/hildon-button.c (hildon_button_class_init): Don't make
1863 "title" and "value" construction properties, to prevent them from
1864 overwriting labels set from derived classes.
1866 * src/hildon-picker-button.c
1867 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1868 (hildon_picker_button_class_init): Make touch-selector a
1869 construction property.
1871 * src/hildon-date-button.c (hildon_date_button_class_init)
1872 (+hildon_date_button_constructed): Add a default date selector if
1875 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1877 * src/hildon-touch-selector.c: Small documentation fixes.
1879 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1881 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1883 * src/hildon-entry.c (hildon_entry_refresh_contents),
1884 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1885 widget name, set the logical color directly instead and a boolean
1886 showing_placeholder instead.
1887 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1888 use the widget name here either.
1890 Fixes: NB#105678 (HildonTextView should use logical colours
1891 instead of setting widget name)
1893 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1895 Patch by Daniel Elster (danielk@openismus.com)
1897 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1898 Add user_data parameter.
1899 (hildon_touch_selector_set_print_func_full): New function akin
1900 hildon_touch_selector_set_print_func() but with support for user
1901 data and a destroy callback.
1902 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1903 to clean up the print function user data.
1904 (hildon_touch_selector_class_init): Install dispose function.
1905 (HildonTouchSelectorPrivate::print_user_data),
1906 (HildonTouchSelectorPrivate::print_destroy_func): New private
1908 (hildon_touch_selector_init): Initialize new private members.
1909 (hildon_touch_selector_get_current_text): Pass along user data
1910 to the print function.
1911 (_default_print_func): Add dummy user_data to parameter list.
1912 * hildon-date-selector.c (_custom_print_func): ditto,
1913 * hildon-time-selector.c (_custom_print_func): ditto,
1914 * hildon-touch-selector-entry.c
1915 (hildon_touch_selector_entry_print_func): ditto.
1917 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1919 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1921 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1923 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1925 * src/hildon-pannable-area.c,
1926 (hildon_pannable_area_init),
1927 (hildon_pannable_area_button_press_cb),
1928 (hildon_pannable_area_motion_notify_cb): We have added code to
1929 handle the leave and enter events when using the motion events.
1931 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1933 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1935 * src/hildon-date-button.c (hildon_date_button_get_date)
1936 (hildon_date_button_set_date): Make sure that the button has a
1939 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1941 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1943 * src/hildon-pannable-area.c,
1944 (hildon_pannable_area_class_init),
1945 (hildon_pannable_area_calculate_velocity): Modify the use of the
1946 force and adapt the value.
1948 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1950 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1951 (hildon_app_menu_class_init): Hide the menu if it receives a
1952 delete-event, but don't destroy it
1954 Fixes: NB#104485 (Not able to address the call when application
1955 menu is opened at background)
1957 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1959 * src/hildon-app-menu.c
1960 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1961 Remove the "external-border" style property, let the menu take its
1962 natural size (or the one set by the window manager)
1963 (hildon_app_menu_repack_items):
1964 Don't reshow the menu, avoid flickers.
1966 Partially fixes NB#94957 (Smoothly opened application menu)
1968 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1973 * configure.ac: Bump version.
1974 * debian/changelog: Updates.
1976 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1978 * src/hildon-pannable-area.c,
1979 (hildon_pannable_area_motion_notify_cb): We control that the
1980 direction error margin is used just in case the movement is
1981 allowed in the other direction.
1983 Fixes: NB#105012 (buttons inside a pannable area not getting
1984 release event when dragging/releasing)
1986 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1988 * src/hildon-pannable-area.c,
1989 (hildon_pannable_area_class_init),
1990 (hildon_pannable_area_get_property),
1991 (hildon_pannable_area_set_property),
1992 (hildon_pannable_area_initial_effect),
1993 (hildon_pannable_axis_scroll),
1994 (hildon_pannable_area_button_release_cb): Reviewed the
1995 overshooting effect, now it has its own max
1996 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1997 speed when bouncing.
1999 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2004 * configure.ac: Bump version.
2005 * debian/changelog: Updates.
2007 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2009 * src/hildon-pannable-area.c,
2010 (hildon_pannable_area_class_init): Changed the max speed, now
2011 users can launch the widget very fast. Reduced the default force,
2012 that way it is easier to control the launch speed.
2014 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2016 * src/hildon-pannable-area.c,
2017 (hildon_pannable_area_button_release_cb): Removed this check
2018 because it causes problems when the device is overloaded.
2020 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2022 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2023 add a current_text field to store the text entered in the
2024 touch selector entry.
2025 (_clean_current_selection): clean up the current text as well.
2026 (_save_current_selection), (_restore_current_selection):
2027 Save/restore the text in the entry if the selector is a
2028 HildonTouchSelectorEntry.
2030 Fixes: NB#102541 (value entered in the touch selector entry is not
2031 shown when opened for second time)
2033 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2035 * doc/hildon-sections.txt:
2036 * src/hildon-touch-selector-entry.c
2037 (+hildon_touch_selector_entry_get_entry):
2038 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2040 Fixes: NB#104815 (I need accessor to the entry inside
2041 HildonTouchSelectorEntry)
2043 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2045 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2046 (hildon_app_menu_class_init):
2047 New "filter-vertical-spacing" style property.
2049 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2051 * src/hildon-find-toolbar.c
2052 (hildon_find_toolbar_emit_close)
2053 (hildon_find_toolbar_emit_invalid_input)
2054 (hildon_find_toolbar_entry_activate):
2055 Use g_signal_emit() instead of g_signal_emit_by_name()
2057 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2059 Patch by Mox Soini (ext-mox.soini@nokia.com)
2061 * tests/TEST-CASES.txt
2062 * tests/check-hildon-banner.c
2063 * tests/check-hildon-note.c
2064 * src/hildon-banner.c
2065 * src/hildon-code-dialog.c
2066 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2067 * src/hildon-time-editor.c
2068 * examples/hildon-lookup-example.c (main):
2069 Replace obsolete icon names with new ones.
2071 * src/hildon-find-toolbar-private.h:
2072 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2073 (-hildon_find_toolbar_emit_search):
2074 Remove find button and change icon of close button.
2076 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2078 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2080 * src/hildon-time-button.c (hildon_time_button_new_step):
2081 Use the "touch-selector" property to set the selector directly
2082 when creating the object.
2084 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2086 Added a new example application that allows tuning the pannable
2087 area and replaced defines with properties in order to simplify the
2088 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2089 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2090 PROP_DIRECTION_ERROR_MARGIN.
2092 * examples/hildon-pannable-area-tuning-example.c: New example
2094 * src/hildon-pannable-area.c,
2095 (hildon_pannable_area_class_init),
2096 (hildon_pannable_area_init),
2097 (hildon_pannable_area_get_property),
2098 (hildon_pannable_area_set_property),
2099 (hildon_pannable_area_launch_fade_timeout),
2100 (hildon_pannable_area_adjust_value_changed),
2101 (hildon_pannable_axis_scroll),
2102 (hildon_pannable_area_motion_notify_cb),
2103 (hildon_pannable_area_scroll_cb),
2104 (hildon_pannable_area_button_release_cb): We have converted some
2105 of the defines that control the widget to properties to simplify
2108 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2110 * src/hildon-app-menu.c (hildon_app_menu_map)
2111 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2112 so it's closed if a new window appears.
2114 Fixes: NB#104485 (Not able to address the call when application
2115 menu is opened at background)
2117 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2119 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2120 missing 'break' statement in in 'case' construct to avoid
2123 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2125 * src/hildon-touch-selector-entry.c
2126 (hildon_touch_selector_entry_get_property),
2127 (hildon_touch_selector_entry_set_property): Add missing 'break'
2128 statements in in 'case' constructs to avoid incorrect warnings.
2130 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2132 * src/hildon-time-editor.c
2133 (hildon_time_editor_get_time_separators): Do not crash if
2134 the first label is NULL.
2136 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-date-selector.c (_month_days): Check for month to be
2139 strictly less than 12, since otherwise we may overrun the array.
2141 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2143 * src/hildon-date-button.c (+hildon_date_button_new_full)
2144 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2145 (hildon_date_button_init): Set the date selector using a
2146 construction property, to make it happen after HildonButton's
2147 "value" property is set.
2149 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2150 current date by default)
2152 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2154 * doc/hildon-sections.txt
2155 * src/hildon-program.c
2156 * src/hildon-stackable-window.c
2157 * src/hildon-window.c:
2158 Documentation updates
2160 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2162 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2163 (hildon_window_stack_new, +hildon_window_stack_set_property)
2164 (+hildon_window_stack_get_property)
2165 (hildon_window_stack_class_init)
2166 (+hildon_window_stack_set_window_group)
2167 (+hildon_window_stack_get_window_group):
2168 Make the window group a construction property.
2170 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2172 * doc/hildon-sections.txt
2173 * src/hildon-stackable-window-private.h
2174 * src/hildon-stackable-window.h
2175 * src/hildon-stackable-window.c
2176 (-hildon_stackable_window_set_app_menu)
2177 (-hildon_stackable_window_get_app_menu)
2178 (-hildon_stackable_window_toggle_menu)
2179 (-hildon_stackable_window_finalize)
2180 (hildon_stackable_window_class_init)
2181 (hildon_stackable_window_init)
2182 * src/hildon-window-private.h
2183 * src/hildon-window.h
2184 * src/hildon-window.c (hildon_window_init)
2185 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2186 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2187 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2188 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2189 Moved all HildonAppMenu code to HildonWindow. The menu does not
2190 require a HildonStackableWindow anymore.
2192 * src/hildon-app-menu.c
2193 * src/hildon-program.c
2194 * examples/hildon-app-menu-example.c (main):
2195 Update examples and documentation to reflect HildonAppMenu
2198 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-remote-texture.c
2201 * src/hildon-animation-actor.c:
2202 Don't include unused private headers.
2204 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2206 * src/hildon-program-private.h
2207 * src/hildon-program.c
2208 (hildon_program_set_common_menu)
2209 (hildon_program_get_common_menu)
2210 (hildon_program_set_common_app_menu)
2211 (hildon_program_get_common_app_menu):
2212 Change common menu pointers from GtkWidget* to GtkMenu* and
2213 HildonAppMenu* to avoid unnecessary casts.
2215 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2217 * src/hildon-window.c (hildon_window_set_main_menu):
2218 Removed incorrect 'Since:' tag
2220 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2222 * src/hildon-pannable-area.c,
2223 (hildon_pannable_area_calculate_velocity): We use now the
2224 RATIO_TOLERANCE here to check the distance, fixed typo in the
2226 (hildon_pannable_area_motion_notify_cb): We have to set the type
2227 and time even if we are not sending the motion.
2229 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2231 * doc/hildon-sections.txt
2232 * src/hildon-app-menu.h
2233 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2234 (+hildon_app_menu_get_filters): New methods to get the contents of
2237 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2240 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2242 * src/hildon-app-menu.c (hildon_app_menu_popup):
2245 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2247 * src/hildon-window.h
2248 * src/hildon-window.c (+hildon_window_get_main_menu)
2249 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2250 and deprecated hildon_window_get_menu().
2252 * src/hildon-stackable-window.h
2253 * src/hildon-stackable-window.c
2254 (+hildon_stackable_window_set_app_menu)
2255 (+hildon_stackable_window_get_app_menu)
2256 (hildon_stackable_window_set_main_menu): Created
2257 hildon_stackable_window_{get,set}_app_menu() and deprecated
2258 hildon_stackable_window_set_main_menu().
2260 * doc/hildon-sections.txt
2261 * examples/hildon-app-menu-example.c (main)
2262 * src/hildon-app-menu.c
2263 * src/hildon-program.c:
2264 Updated examples and documentation.
2266 Fixes: NB#103758 (No way to obtain a menu from a
2267 HildonStackableWindow)
2269 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2274 * configure.ac: Bump version.
2275 * debian/changelog: Updates.
2277 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2279 * examples/hildon-remote-texture-example.c: Include
2280 hildon-remote-texture.h explicitely.
2281 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2282 applications not defining _XOPEN_SOURCE which don't require this header.
2284 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2286 * doc/hildon-sections.txt
2287 * src/hildon-app-menu.h
2288 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2289 New function to pop up a HildonAppMenu
2291 * src/hildon-stackable-window.c
2292 (hildon_stackable_window_toggle_menu):
2293 Use hildon_app_menu_popup() to show the menu.
2295 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2297 * src/hildon-app-menu.c (hildon_app_menu_show)
2298 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2299 menu if there's another window between it and its parent window.
2301 Fixes: NB#100468 (Application menu window is launched even when a
2302 new secondary-window/dialog is pending to be shown/realized)
2304 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2306 * src/hildon-window-stack.c (hildon_window_stack_push)
2307 (hildon_window_stack_pop_and_push):
2308 Don't forget to push/pop the first window.
2309 Reverse the window list before calling _push_list()
2311 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2313 * src/hildon-picker-button.h
2314 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2315 Remove "value_changed" slot to avoid ABI breakage
2317 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2319 * src/hildon-pannable-area.c,
2320 (hildon_pannable_area_realize),
2321 (hildon_pannable_area_unrealize),
2322 (hildon_pannable_draw_vscroll),
2323 (hildon_pannable_draw_hscroll): Changed the method to handle the
2324 GC used to draw the transparent scrollbar, this way we avoid
2325 creating the GC all the time when drawing the scrollbars.
2327 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2329 * src/hildon-pannable-area.c,
2330 (hildon_pannable_area_init),
2331 (hildon_pannable_area_remove): Removed some unnecessary casts.
2332 (hildon_pannable_area_dispose): Disconnected some signals before
2333 releasing the adjustments.
2335 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2337 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2338 Make sure that all widgets contained in the toolbar are shown.
2340 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2342 * doc/hildon-sections.txt
2343 * src/hildon-picker-button.h
2344 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2345 (_selection_changed, hildon_picker_button_on_dialog_response)
2346 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2347 New hildon_picker_button_value_changed() method.
2350 * src/hildon-picker-button-private.h
2351 * src/hildon-picker-button.c (hildon_picker_button_init)
2352 (+hildon_picker_button_disable_value_changed): Add protected
2353 function for disabling the "value-changed" signal.
2355 * src/hildon-date-button.c (hildon_date_button_set_date):
2356 Don't emit "value-changed" for each one of the three columns.
2358 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2359 before actual change of values)
2361 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2363 * src/hildon-pannable-area.c,
2364 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2365 for the treeview overshooting.
2367 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2369 * src/hildon-banner.c (+hildon_banner_bind_style):
2370 Renamed from hildon_banner_bind_label_style(), now naming the
2371 banner itself as well.
2372 (hildon_banner_show_information),
2373 (hildon_banner_show_information_with_markup),
2374 (hildon_banner_show_animation), (hildon_banner_show_progress):
2375 Name the widgets and labels, based on their type.
2377 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2380 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/hildon-note.c (hildon_note_set_property): call
2383 hildon_note_rename() on HildonNote:note-type set.
2384 (hildon_note_rename): Name the note and its label, based on the
2385 HildonNote:note-type property.
2387 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2390 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2392 * src/hildon-pannable-area.c,
2393 (hildon_pannable_area_class_init),
2394 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2395 panning parameters, increased SPS and deceleration factor. Added
2396 also a margin to control fake directions.
2398 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2400 Patch by Sven Herzberg (sven@imendio.com)
2402 * configure.ac: Add missing AM_PROG_CC_C_0
2403 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2405 See NB#101420 (Update unit tests and fix make check)
2407 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2409 This patch was applied before but reverted because it caused
2410 problems, we have changed the main condition and tested the
2411 regressions we detected before and they work ok. We have done a
2412 complete review of the topmost algorithm in order to get a more
2415 * src/hildon-pannable-area.c,
2416 (hildon_pannable_area_get_topmost): Added a new parameter to
2417 filter the the windows that do not include those events.
2418 (hildon_pannable_area_button_press_cb),
2419 (hildon_pannable_area_button_release_cb),
2420 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2421 topmost function, we have added the new parameter.
2423 Fixes: NB#97458 (Pannable area prevents propagation of button
2426 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2429 if all columns in the selector have an item selected.
2430 (_on_dialog_response): Stop "response" signal emission if there is
2431 any selector column without selected items.
2433 Fixes: NB#101889 (Picker dialog should not close when nothing is
2434 selected in multiple selection list)
2436 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2438 * src/hildon-font-selection-dialog.c
2439 (hildon_font_selection_dialog_class_init),
2440 (hildon_font_selection_dialog_init): Remove the preview
2441 button and dialog, since previewing with default theming is likely
2442 to be overcomplicated. The :preview property has now no effect.
2443 Update documentation blurbs to inform about this.
2445 Fixes: NB#92297 (Preview content is not clearly visible for
2446 default colour text)
2448 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2450 Reviewed the geometry that handles the children size and
2451 scrollbar, now it tries a size and reviews the results depending
2452 on the scrollbars visibility.
2454 * src/hildon-pannable-area.c,
2455 (hildon_pannable_area_realize): Fixed a typo.
2456 (hildon_pannable_area_child_allocate_calculate): Added this
2457 function to calculate the child allocation.
2458 (hildon_pannable_area_size_allocate): Reviewed the allocation
2460 (hildon_pannable_area_check_scrollbars),
2461 (hildon_pannable_area_refresh): Refactored refresh function, this
2462 way we can call the code handling the scrollbars without causing a
2463 size_request, it is interesting in the allocate.
2464 (hildon_pannable_area_init): Replace the callbacks of the
2465 value_changed and changed signals to propertly deal with the
2467 (hildon_pannable_area_grab_notify),
2468 (hildon_pannable_area_initial_effect),
2469 (hildon_pannable_area_launch_fade_timeout),
2470 (hildon_pannable_area_adjust_changed),
2471 (hildon_pannable_area_adjust_value_changed),
2472 (hildon_pannable_area_redraw),
2473 (hildon_pannable_area_button_press_cb),
2474 (hildon_pannable_area_button_release_cb),
2475 (hildon_pannable_area_scroll_cb),
2476 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2477 code and use the new functions adjust_changed and
2478 adjust_value_changed.
2480 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2481 Contact editor dialog)
2483 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2488 * configure.ac: Bump version.
2489 * debian/changelog: Updates.
2491 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2493 * src/hildon-pannable-area.c,
2494 (hildon_pannable_area_get_topmost),
2495 (hildon_pannable_area_button_press_cb),
2496 (hildon_pannable_area_button_release_cb),
2497 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2498 topmost function adding the event mask. We have to try a
2499 differente approach because it is still causing problems (NB#9745,
2502 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2504 * src/hildon-banner.c:
2505 Update the maximum width of timed banners.
2506 (force_to_wrap_truncated): Enforce the maximum text width if the
2509 Fixes: NB#102413 (The text margins (wrapping) in information
2510 banner should be HILDON_MARGIN_TRIPLE)
2512 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2514 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2516 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2517 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2518 bound when calculating the scroll indicator position.
2520 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2521 treat ->lower correctly)
2523 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2526 expose event handling, since it is not necessary to draw the focus
2529 Fixes: NB#102467 (Do not show highlight on the text in
2532 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2535 full height of the toolbar for the button and the label.
2537 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2539 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2540 padding before the label and after the button.
2542 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2544 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2546 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2547 Add a GtkVSeparator between the button and the back arrow.
2548 Let the button have automatic size.
2549 Set a name to the widget for theming handling.
2551 Fixes: NB#101793 (Make edit toolbar the same height as window
2552 title bar (use title area theming))
2554 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2556 * src/hildon-helper.c (attach_new_color_element): Fix memory
2559 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2561 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2563 * examples/hildon-button-example.c (common_buttons_window): Don't
2566 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2569 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2571 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2573 * src/hildon-gtk.c: Check that the window is realized.
2575 Fixes: NB#102225 (Crash setting the progress indicator to a non
2578 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2580 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2581 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2582 instead of modifying the one in the widget style.
2584 Fixes: NB#101043 (Second row of all the command button are
2585 displayed in transparent mode.)
2587 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2589 * src/hildon-date-button.c
2590 * src/hildon-time-button.c: Add gettext macros
2592 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2594 * src/hildon-date-button.c (hildon_date_button_new):
2595 * src/hildon-time-button.c (hildon_time_button_new_step):
2596 Use new logical strings to set the button default title.
2598 Fixes: NB#99915 (Date and Time options are not localised in Date
2601 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2603 * src/hildon-pannable-area.c
2604 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2605 the PANNING_THRESHOLD.
2607 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2609 * src/hildon-pannable-area.c,
2610 (hildon_pannable_area_class_init): Increased the maximum speed.
2611 (hildon_pannable_area_get_property),
2612 (hildon_pannable_area_set_property),
2613 (hildon_pannable_area_timeout): Added a new low friction mode, it
2614 allows the user avoid friction when launching the widget fast
2615 enough. It is interesting to traverse long lists.
2617 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2620 (+hildon_stackable_window_delete_event): Ignore delete events if
2621 the window is not the topmost one.
2623 Fixes: NB#101698 (Back button long press and delete-event handling)
2625 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2627 * src/hildon-pannable-area.c,
2628 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2629 gtk-dnd-drag-threshold, it was too big. We have defined our own
2630 dnd define and set a smaller value: PANNIG_THRESHOLD.
2632 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2634 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2635 user-defined icons, use always the default one.
2637 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2639 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2641 This patch was applied before but reverted because it caused
2642 problems, we have changed the main condition and tested the
2643 regressions we detected before and they work ok.
2645 * src/hildon-pannable-area.c,
2646 (hildon_pannable_area_get_topmost): Added a new parameter to
2647 filter the the windows that do not include those events. Added
2648 also a condition when finding the window to filter windows that do
2649 not ask for those events.
2650 (hildon_pannable_area_button_press_cb),
2651 (hildon_pannable_area_button_release_cb),
2652 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2653 topmost function, we have added the new parameter.
2655 Fixes: NB#97458 (Pannable area prevents propagation of button
2658 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2660 * tests/check-hildon-color-button.c (START_TEST): do not leak
2663 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2665 * src/hildon-font-selection-dialog.c
2666 (hildon_font_selection_dialog_get_preview_text): Return NULL
2667 instead of FALSE on the g_return_val_if_fail().
2669 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2671 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2672 * src/hildon-date-selector.c
2673 (hildon_date_selector_select_current_date):
2674 Do not compare unsigned integers to be greater than or equal 0,
2675 because it's always TRUE.
2677 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2679 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2680 (hildon_date_selector_constructor): Do not select the current
2681 date until we are handle the "changed" signal, to avoid having bogus
2682 elements in the days model.
2684 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2686 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2687 for num_days, since _month_days() can return a negative value.
2689 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-caption.c (hildon_caption_size_allocate):
2692 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2693 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2695 Initialize allocation variables to 0, to avoid eventually using
2696 unitialized variables.
2698 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2700 * src/hildon-bread-crumb-trail.c
2701 (hildon_bread_crumb_trail_size_allocate):
2702 * src/hildon-calendar.c (hildon_calendar_set_background):
2703 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2704 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2705 * src/hildon-seekbar.c (hildon_seekbar_init):
2706 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2707 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2708 * src/hildon-touch-selector-entry.c
2709 (hildon_touch_selector_get_text_from_model):
2710 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2711 * src/hildon-window.c (hildon_window_finalize):
2713 Remove many unused variables.
2715 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-seekbar.c: (hildon_seekbar_init),
2718 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2720 Remove unnecessary g_assert() calls.
2722 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2724 * src/hildon-caption.c: (hildon_caption_expose),
2725 (hildon_caption_set_property), (hildon_caption_init),
2726 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2727 (hildon_caption_size_request), (hildon_caption_size_allocate),
2728 (hildon_caption_forall), (hildon_caption_set_separator),
2729 (hildon_caption_activate), (hildon_caption_set_child_expand),
2730 (hildon_caption_set_label_text),
2731 (hildon_caption_get_label_alignment):
2733 Remove unnecessary g_assert() calls.
2735 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2737 * src/hildon-banner.c
2738 (hildon_banner_map, hildon_banner_init): Make banner temporary
2739 before mapping it to avoid closing other temporary windows, but
2740 make it non-temporary afterwards to avoid being closed by other
2741 non-temporary windows.
2742 (-hildon_banner_client_event, hildon_banner_init):
2743 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2745 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2748 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2753 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2755 * src/hildon-remote-texture.c
2756 * src/hildon-remote-texture.h
2757 * src/hildon-remote-texture-private.h
2758 * examples/hildon-remote-texture-example.c:
2759 Updates/fixes to remote-texture and its example.
2761 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2763 Patch by Mox Soini (ext-mox.soini@nokia.com)
2765 * src/hildon-code-dialog.c: Update logical id.
2766 * src/hildon-set-password-dialog.c: Update logical id.
2768 Fixes: NB#100646 (Logical strings is shown for ok in set
2769 password,Password needed dialogs)
2771 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2774 * src/hildon-remote-texture.c
2775 * src/hildon-remote-texture.h
2776 * src/hildon-remote-texture-private.h
2778 Added remote texture widget (for Clutter shared memory textures)
2780 * examples/hildon-remote-texture-example.c
2781 * examples/Makefile.am
2782 Added example file for remote texture usage
2784 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2786 * configure.ac: post release version bump.
2787 * debian/changelog: version bump.
2789 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2794 * configure.ac: Bump version.
2795 * debian/changelog: Updates.
2797 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2799 * src/hildon-date-selector.c (hildon_date_selector_init)
2800 (hildon_date_selector_constructor): Don't connect to the "changed"
2801 signal until the selector is completely constructed.
2803 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-touch-selector.c: (_create_new_column),
2806 (hildon_touch_selector_append_column),
2807 (hildon_touch_selector_set_column_selection_mode),
2808 (hildon_touch_selector_set_active),
2809 (hildon_touch_selector_select_iter):
2810 Emit the HildonTouchSelector::changed signal every time selection
2811 is changed in any of the methods above. This behavior was already
2812 documented but not fully functional.
2814 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2815 selection is programmatically changed)
2817 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2819 * doc/hildon-sections.txt: Remove obsolete icon
2820 sizes from here as well.
2822 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2824 * examples/hildon-stackable-window-example.c (add_window): Remove
2827 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-app-menu.c
2830 (hildon_app_menu_show): Check whether the parent window of a menu
2831 is topmost before popping it up.
2833 Fixes: NB#100468 (Application menu window is launched even when a
2834 new secondary-window/dialog is pending to be shown/realized.)
2836 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2838 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2841 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2843 Patch by Mox Soini (ext-mox.soini@nokia.com)
2845 * src/hildon-banner.c: (hildon_banner_show_animation):
2846 use stylus size instead of obsolete note size.
2847 * src/hildon-defines.h: Update icon sizes.
2849 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2851 * src/hildon-touch-selector-entry.c:
2852 (hildon_touch_selector_entry_init): Disable unsupported
2854 (hildon_touch_selector_entry_get_text_column): Emit a warning
2855 if an unsupported input modes is used and explicitile state
2856 these modes in the documentation.
2858 Fixes: NB#99802 (Hildon touch selector entry not working properly
2859 for some of the input modes)
2861 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2863 * src/hildon-pannable-area.c,
2864 (hildon_pannable_area_init): Added the changed signal handlers of
2867 Fixes: NB#100320 (HildonPannableArea does not listen to
2868 GtkAdjustment "change" signals)
2870 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2872 * doc/hildon-sections.txt
2873 * src/hildon-window-private.h
2874 * src/hildon-window.h
2875 * src/hildon-window.c (hildon_window_init)
2876 (hildon_window_realize, hildon_window_unrealize)
2877 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2878 (hildon_window_size_request, hildon_window_size_allocate)
2879 (hildon_window_forall, hildon_window_show_all)
2880 (hildon_window_destroy, +paint_edit_toolbar)
2881 (+hildon_window_set_edit_toolbar):
2882 New hildon_window_set_edit_toolbar() method, to add a
2883 HildonEditToolbar to a window without having to pack it manually.
2885 Reorganize hildon_window_size_allocate()
2887 * src/hildon-edit-toolbar.c: Update documentation.
2889 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2890 example to use the new API.
2892 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2894 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2896 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2897 Remove from stack before calling parent's hide.
2899 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2901 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2902 window is removed from the middle of the stack, update the
2903 transiency of the previous one.
2905 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2908 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2911 block/unblock the signal handler if it's not actually being used.
2912 Fixes some critical warnings.
2914 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2916 Based on a patch by Iván Gómez (igomez@igalia.com)
2918 * src/hildon-banner.c
2922 * src/hildon-pannable-area.c
2923 * src/hildon-picker-dialog.c
2924 * src/hildon-wizard-dialog.h
2925 * src/hildon-wizard-dialog.c: Documentation updates.
2927 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2928 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2930 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2932 * configure.ac: post release version bump.
2933 * debian/changelog: version bump.
2935 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2940 * configure.ac: Bump version.
2941 * debian/changelog: Updates.
2943 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2946 a stock icon nor change the relief of the back arrow.
2948 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2949 graphics from theme)
2951 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-button.c (hildon_button_set_alignment): Use
2954 priv->alignment if the button has no child yet.
2956 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-button.c: (hildon_button_init): Set the
2959 button style during initialization to give it the proper
2962 Fixes: NB#99713 (HildonButton value label color is wrong)
2964 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2966 * src/hildon-touch-selector.c: Document
2967 hildon_touch_selector_center_on_selected()
2969 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2972 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2973 all menu items, but not the menu itself.
2974 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2975 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2976 items after adding them to the menu so keyboard accelerators work.
2977 (hildon_app_menu_show): Don't show the menu if it contains items
2978 but none of them are visible.
2980 * examples/hildon-app-menu-example.c (create_menu): Use
2981 gtk_widget_show_all() to show all menu items.
2983 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2985 * src/hildon-picker-dialog.c:
2986 (-_update_title_on_selector_changed_cb),
2987 (-_dialog_update_title): Removed.
2988 (_select_on_selector_changed_cb), (_on_dialog_response),
2989 (on_selector_columns_changed): Do not update the dialog title.
2990 (setup_interaction_mode): Do not connect to
2991 HildonTouchSelector::changed signal if there's a "done" button, as
2992 the dialog title doesn't need to be updated.
2994 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2997 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2999 Patch by Kristian Rietveld (kris@imendio.com)
3001 * src/hildon-touch-selector.c: (_create_new_column): Use new
3002 GtkTreeView::hildon-row-tapped signal to react to user interactions
3003 instead of ::changed.
3005 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3006 with some dynamic tree model)
3008 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3010 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3011 (+screen_size_changed, +label_size_request)
3012 (hildon_note_class_init): Make the Hildon information note have a
3013 minimum height, and make its text hvae a maximum width.
3015 Fixes: NB#98614 (Hildon information note (background) should have
3016 minimum height and maximum text width)
3018 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3020 * src/hildon-banner.h
3021 * src/hildon-banner.c (hildon_banner_show_information)
3022 (hildon_banner_show_informationf)
3023 (hildon_banner_show_information_with_markup): Update documentation
3024 to reflect that the icon_name parameter is not used anymore.
3025 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3026 Remove all code from these functions and mark them as deprecated.
3027 (hildon_banner_show_progress): Mark as deprecated.
3029 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3031 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3033 * src/hildon-pannable-area.c,
3034 (hildon_pannable_area_class_init),
3035 (tranparency_color),
3036 (hildon_pannable_draw_vscroll),
3037 (hildon_pannable_draw_hscroll),
3038 (hildon_pannable_area_expose_event): Added a new way to render the
3039 scrollbars of the pannable area avoiding using cairo at all. This
3040 way we improve the performance of the pannable area rendering. The
3041 cairo rendering procedure is still in the code, we can control
3042 which one to use changing the value of the define
3043 USE_CAIRO_SCROLLBARS.
3045 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3047 * configure.ac: post release version bump.
3048 * debian/changelog: version bump.
3050 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3055 * configure.ac: Bump version.
3056 * debian/changelog: Updates.
3058 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3060 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3061 banners instead of destroying them when they receive a button
3064 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3066 Reverted commit 34028, it was causing regressions, probably the
3067 topmost condition is not correct, we have to check it in more
3068 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3069 propagation of button press events)
3071 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3074 that the selection is not empty before attempting to retrieve the
3075 current ampm selection.
3077 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3079 * src/hildon-picker-button.c:
3080 (hildon_picker_button_on_dialog_response): Directly update the
3081 button contents when required instead of calling _selection_changed.
3083 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3085 * src/hildon-program.c (hildon_program_update_top_most): Update
3086 'is-topmost' property also when wm_hints is not set.
3088 Fixes: NB#98383 (is-topmost signal is not emitted when task
3089 switcher is clicked.)
3091 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3093 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3097 * src/hildon-animation-actor.c,
3098 * src/hildon-animation-actor.h: Added the animation actor class,
3099 this widget represents an animation actor for WM-assisted
3100 animation effects in the Hildon framework.
3102 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3104 * src/hildon-window-stack-private.h
3105 * src/hildon-window-stack.c
3106 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3107 Avoid calling gtk_widget_show() again indirectly from
3108 hildon_stackable_window_show()
3110 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3112 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3115 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3117 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3118 (hildon_time_selector_init): Move the construction of the hours and
3119 ampm columns to the constructor to preserve the order the columns
3122 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3124 * src/hildon-picker-dialog.c:
3125 (hildon_picker_dialog_class_init): Connect a realize method.
3126 (+hildon_picker_dialog_realize): Setup the interaction mode here
3128 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3129 yet, do it during the realize instead.
3130 (_on_dialog_response):
3131 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3132 if the widget is not realized, to avoid the dialog response before it
3135 Avoid premature responses in the HildonPickerDialog that can cause it
3136 to be hidden before it's even shown.
3138 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3140 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3141 (on_selector_columns_changed), (requires_done_button),
3142 (+prepare_action_area), (setup_interaction_mode),
3143 (_hildon_picker_dialog_set_selector):
3145 Split the interaction mode setup into preparation of the
3146 action area (prepare_action_area()) and the connection of
3147 the signals in setup_interaction_mode() and update the code to
3150 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3152 * src/hildon-pannable-area.c,
3153 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3154 per second to 15, we will check if this is ok regarding
3157 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3159 * src/hildon-pannable-area.c,
3160 (hildon_pannable_axis_scroll): Avoid resize if we already have
3161 reached overshoot_max.
3163 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3165 * src/hildon-pannable-area.c,
3166 (hildon_pannable_area_init),
3167 (hildon_pannable_area_realize),
3168 (hildon_pannable_area_size_allocate),
3169 (hildon_pannable_area_map),
3170 (hildon_pannable_area_unmap),
3171 (hildon_pannable_draw_vscroll),
3172 (hildon_pannable_draw_hscroll),
3173 (hildon_pannable_area_expose_event),
3174 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3175 pannable are to avoid the expose events go to the window and
3176 redraw the window. We save this way that part of the stack and the
3177 paint_boxes. We had to change the positions of the elements when
3180 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3183 * src/hildon-color-chooser-dialog.c:
3184 (hildon_color_chooser_dialog_init):
3185 * src/hildon-font-selection-dialog.c:
3186 (hildon_font_selection_dialog_init),
3187 (hildon_font_selection_dialog_show_preview):
3188 * src/hildon-get-password-dialog.c:
3189 * src/hildon-login-dialog.c:
3190 * src/hildon-set-password-dialog.c:
3191 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3192 * src/hildon-time-picker.c: (hildon_time_picker_init):
3194 Remove obsolete logical string IDs and update to the appropriate ones.
3196 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3198 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3200 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3201 that happens if the window hasn't been realized yet.
3203 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3204 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3206 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3209 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3212 Fixes: NB#98537 (Device hangs in account settings dialog)
3214 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3216 * configure.ac: post release version bump.
3217 * debian/changelog: version bump
3219 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3224 * configure.ac: Bump version.
3225 * debian/changelog: Updates.
3227 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3229 Added a new function to the HildonTimeButton widget that allows to
3230 change the step of the minutes in the selector associated with the
3231 button: hildon_time_button_new_step
3233 * src/hildon-time-button.c,
3234 (hildon_time_button_init),
3235 (hildon_time_button_new),
3236 (hildon_time_button_new_step):
3237 * src/hildon-time-button.h: Added the new function and refactored
3239 * examples/hildon-time-button-example.c,
3240 (main): We have replaced the function without parameters with the
3241 function with the steps set to 5
3243 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3245 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3247 * src/hildon-time-selector.c,
3248 (hildon_time_selector_class_init),
3249 (hildon_time_selector_constructor),
3250 (hildon_time_selector_get_property),
3251 (hildon_time_selector_set_property),
3252 (_create_minutes_model),
3253 (hildon_time_selector_new_step),
3254 (hildon_time_selector_set_time),
3255 * src/hildon-time-selector.h: Added a new property to the
3256 HildonTimeSelector (minutes-step), we use that property to control
3257 the steps between the minutes in the list of the selector. We have
3258 added a new function to the API to create a widget changing the
3259 step: hildon_time_selector_new_step.
3261 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3263 * src/hildon-time-selector.c,
3264 (hildon_time_selector_class_init),
3265 (hildon_time_selector_constructor),
3266 (hildon_time_selector_init): Overrided the construct function when
3267 creating the time selector object. We have moved the minutes model
3268 handling code from the init to the new construction function:
3269 hildon_time_selector_constructor.
3271 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3273 * examples/hildon-date-button-example.c: (main): Use the new
3274 hildon_date_button_new_with_year_range() method in the example.
3275 * src/hildon-date-button.c:
3276 (+hildon_date_button_new_with_year_range): New public method
3277 to conveniently create a HildonDateButton with a custom year range
3278 in its HildonDateSelector.
3279 * src/hildon-date-button.h: Add the new public method definition.
3281 Fixes: NB#97908 (Not possible to change the year range in
3282 HildonDateSelector/HildonDateButton)
3284 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3286 * src/hildon-date-selector.c:
3287 (+hildon_date_selector_set_property),
3288 (+hildon_date_selector_get_property),
3289 (hildon_date_selector_class_init): Install new properties "min-year"
3290 and "max-year" to define boundaries for the year column.
3291 (_create_year_model): Use the boundary properties to populate the model.
3292 (+hildon_date_selector_new_with_year_range): New public method to
3293 create a HildonDateSelector with a user defined year range.
3294 (hildon_date_selector_select_current_date): Use the new boundaries to
3295 calculate the iterator of current year.
3296 * src/hildon-date-selector.h: Add the new public method definition.
3298 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3301 Install a constructor method.
3302 (+hildon_date_selector_construct_ui): construct the widget.
3303 (+hildon_date_selector_constructor): new constructor.
3304 (+hildon_date_selector_init): move out widget construction code to
3305 the new constructor.
3307 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3309 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3310 that there's actually a month or year selected before obtaining them.
3311 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3312 of the HildonTouchSelector::changed signal, as it was emitted on every
3313 single item selection.
3315 Fix some warnings and possible crashers due to the selection restoring.
3317 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3320 the signal handlers only after creating the dialog instead of on every
3323 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-button.c (hildon_button_init)
3326 * src/hildon-check-button.c (hildon_check_button_init)
3327 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3328 focus when clicked by default.
3330 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3332 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3335 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3337 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3338 Alejandro G. Castro (alex@igalia.com)
3340 * src/hildon-picker-dialog.c:
3341 (hildon_picker_dialog_class_init): install new "center-on-show"
3343 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3344 (hildon_picker_dialog_set_property): add setter code for the new
3346 (hildon_picker_dialog_get_property): add getter code for the new
3348 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3349 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3352 Fixes: NB#92849 (Selected item is not always visible when
3353 HildonTouchSelector is shown)
3355 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3357 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3358 Alejandro G. Castro (alex@igalia.com)
3360 * src/hildon-touch-selector.c:
3361 (_create_new_column): Do not connect to the "realize" signal of the
3363 (hildon_touch_selector_append_column): center on the selected items
3364 when a new column is appended.
3365 (hildon_touch_selector_select_iter): Factor out the code to select a
3366 column to hildon_touch_selector_scroll_to().
3367 (+search_nearest_element): Method to retrieve the nearest selected
3368 element to the visible area of the pannable area in a column.
3369 (+on_realize_cb): scroll to the initially selected item.
3370 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3371 the pannable area is realized, otherwise delay this until it is.
3372 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3373 selected items of a given column.
3374 (+hildon_touch_selector_center_on_selected): Public method to center
3375 all columns on the nearest selected item.
3376 * src/hildon-touch-selector.h: Add definition for
3377 hildon_touch_selector_center_on_selected().
3379 Implement public API to ensure visibility of all selected items in
3380 a HildonTouchSelector.
3382 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3384 Fixed a problem in the fading when calling the scroll_to API, and
3385 improve scrollbar fading handling.
3387 * src/hildon-pannable-area.c,
3388 (hildon_pannable_area_grab_notify): avoid the timeout when the
3390 (hildon_pannable_area_button_press_cb),
3391 (hildon_pannable_area_motion_notify_cb): Code style changes.
3392 (hildon_pannable_area_button_release_cb): Review the conditions
3393 when releasing the mouse button to avoid unrequired fading
3395 (hildon_pannable_area_scroll_to): Do not calculate and set the
3396 velocity if the scroll is not required.
3398 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3400 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3401 Don't check whether the new selector is NULL: it cannot be.
3402 Hold a reference to the selector while doing the replacement.
3404 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3407 unnecessary size_request in a removed widget.
3409 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3411 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3412 an unnecessary reference tracking that was leaking.
3414 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3416 Added delayed motion notify event handling, this way we can
3417 discard redrawing if more than 25 events arrive per second.
3419 * src/hildon-pannable-area.c,
3420 (hildon_pannable_area_init): Initialized the new private atributes
3421 controlling this timeout
3422 (hildon_pannable_area_dispose): Remove the timeout that controls
3423 the motion notify events.
3424 (hildon_pannable_area_scroll): Added a condition to control the
3425 use of the acceleration.
3426 (hildon_pannable_area_motion_event_scroll_timeout),
3427 (hildon_pannable_area_motion_event_scroll): Added this two
3428 functions, they handle the motion notify events inside the
3430 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3431 to the scroll method with the new function.
3432 (hildon_pannable_area_button_release_cb): We have to remove the
3433 timeout handler and move to the last position if the last motion
3434 events were not handled.
3436 Fixes: NB#97028 (Pannable area updates on every motion event)
3438 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3440 * src/hildon-pannable-area.c,
3441 (hildon_pannable_area_get_topmost): Added a new parameter to
3442 filter the the windows that do not include those events. Added
3443 also a condition when finding the window to filter windows that do
3444 not ask for those events.
3445 (hildon_pannable_area_button_press_cb),
3446 (hildon_pannable_area_button_release_cb),
3447 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3448 topmost function, we have added the new parameter.
3450 Fixes: NB#97458 (Pannable area prevents propagation of button
3453 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3455 * src/hildon-pannable-area.c,
3456 (hildon_pannable_area_initial_effect): Added controls before
3457 launching the timeout and the idle functions.
3458 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3459 of the method, in some situations it can return with TRUE and 0 in
3461 (hildon_pannable_area_button_press_cb): We do not need to set
3462 DELAY for fading out here.
3464 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3466 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3469 post-cleaning if the selection is not NULL.
3471 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3474 all items before restoring the selection.
3476 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3478 * src/hildon-touch-selector.c:
3479 (+hildon_touch_selector_unselect_all):
3480 * src/hildon-touch-selector.h: New API to unselect all items in a
3481 column of the touch selector.
3483 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3485 * src/hildon-pannable-area.c,
3486 (hildon_pannable_area_redraw): Added a call to the refresh
3487 function inside the redraw because apparently in some cases the
3488 change in the adjustment does not imply a size allocate.
3490 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3491 despite the view not being scrollable)
3493 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3495 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3496 leak. Check for NULL before attempting to set the window title.
3498 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3501 whether to show or not the 'Done' button each time the dialog is
3502 shown, as it depends on the HildonTouchSelector selection mode.
3504 Fixes: NB#96226 (In multiple selection mode Done button is shown
3505 sometimes in listpicker)
3507 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3509 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3510 for the number of columns in the HildonTouchSelector more than once.
3512 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3514 * src/hildon-touch-selector.c: Minor documentation fixes.
3516 * src/hildon-picker-dialog.c (+_dialog_update_title)
3517 (_select_on_selector_changed_cb)
3518 (_update_title_on_selector_changed_cb)
3519 (on_selector_columns_changed): Update dialog title when there's no
3520 'Done' button and also when the number of columns in the selector
3524 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3525 (+_selection_changed, hildon_picker_button_on_dialog_response)
3526 (hildon_picker_button_selector_selection_changed)
3527 (+hildon_picker_button_selector_columns_changed)
3528 (hildon_picker_button_set_selector): Update button value and emit
3529 'value-changed' when the number of columns in the selector
3533 Fixes: NB#96225 (Dialog titles are not shown according to the
3534 values selected in the list picker)
3536 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3538 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3539 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3540 New "arrow-width" and "arrow-height" style properties to set the
3541 size of the arrow button.
3542 Set name of arrow button ("hildon-edit-toolbar-arrow").
3544 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3545 graphics from theme)
3547 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-picker-button.c:
3550 (hildon_picker_button_selector_selection_changed): Use
3551 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3552 the dialog is present.
3554 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3555 the selection is accepted in the dialog)
3557 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-color-chooser.h
3560 * src/hildon-color-chooser-dialog.h:
3561 Added G_BEGIN_DECLS and G_END_DECLS
3563 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3565 (_clean_current_selection): plug a leak in the list.
3567 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3569 * src/hildon-picker-dialog.c:
3570 (+free_path_list): Method to free a GList of GtkTreePaths.
3571 (_clean_current_selection), (_save_current_selection),
3572 (_restore_current_selection): Save the current selection in
3573 as a list of lists, to support multiple selection properly.
3575 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3577 patch by Claudio Saavedra (csaavedra@igalia.com)
3579 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3580 Store the press position.
3581 (+hildon_text_view_button_release_event): If the release position is
3582 close enough to the press position, move the cursor here. Otherwise,
3584 (hildon_text_view_class_init): Override GtkTextView press, release, and
3585 motion event handlers, disabling this way text selection through
3586 pointer interaction, and allowing the container widget to handle the
3589 Fixes: NB#95828 (HildonTextView functionality)
3591 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3593 Based on a patch by Iván Gómez (igomez@igalia.com)
3595 * src/hildon-button.[ch]
3596 * src/hildon-calendar.c
3597 * src/hildon-check-button.c
3598 * src/hildon-date-editor.c
3599 * src/hildon-date-selector.c
3600 * src/hildon-picker-button.c
3601 * src/hildon-time-editor.c
3602 * src/hildon-time-selector.c
3603 * src/hildon-touch-selector.[ch]:
3604 Documentation updates
3606 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3608 * src/hildon-pannable-area.c,
3609 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3610 threshold, it was required due to X events handling.
3612 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3614 * src/hildon-pannable-area.c,
3615 (hildon_pannable_area_grab_notify),
3616 (hildon_pannable_area_initial_effect),
3617 (hildon_pannable_area_button_press_cb),
3618 (hildon_pannable_area_button_release_cb),
3619 (hildon_pannable_area_scroll_cb),
3620 (hildon_pannable_area_scroll_to): Review the timeout management of
3621 the scrollbar, the frecuency was incorrectly set.
3623 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3625 * src/hildon-picker-button.c:
3626 (+hildon_picker_button_on_dialog_response),
3627 (hildon_picker_button_clicked): Present the dialog instead of
3628 running it with gtk_dialog_run().
3630 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3633 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3635 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3636 (hildon_app_menu_finalize): When a window is hidden it doesn't
3637 emit notify::is-topmost, so make sure than the menu also
3638 disappears in that case.
3639 (parent_window_topmost_notify): Renamed from parent_window_hidden
3641 Fixes: NB#94460 (stackable window's menu is not closed when its
3644 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3646 * src/hildon-touch-selector-entry.c:
3647 (+hildon_touch_selector_entry_set_input_mode),
3648 (+hildon_touch_selector_entry_get_input_mode):
3649 * src/hildon-touch-selector-entry.h: New methods to access the input
3650 mode in the selector's entry.
3652 Fixes: NB#93410 (API required for setting IM mode in
3653 HildonTouchSelectorEntry)
3655 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3657 * configure.ac: post release version bump.
3658 * debian/changelog: version bump
3660 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3665 * configure.ac: Bump version.
3666 * debian/changelog: Updates.
3668 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3670 * src/hildon-touch-selector.c:
3671 (_hildon_touch_selector_has_multiple_selection): No need
3672 to initialize the variables here.
3674 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-note-private.h
3677 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3678 (hildon_note_finalize, hildon_note_rebuild): Close information
3679 notes when they receive a button press.
3681 Fixes: NB#89890 (Information notes does not get disappeared after
3684 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3686 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3687 mark from the wizard title, as it's not really necessary. Also,
3688 do not display the page title if not set.
3690 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3693 (parent_window_hidden): Use the window's "is-topmost" property to
3694 detect when to hide the menu.
3696 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3698 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3699 (hildon_app_menu_finalize): If the parent window of the menu is
3700 hidden, hide the menu too.
3702 Fixes: NB#94460 (stackable window's menu is not closed when its
3705 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3708 * debian/libhildon1-examples.install
3710 * examples/Makefile.am:
3711 Use dh_install to install all examples.
3712 Use DEB_SRCDIR instead of defining SOURCE_DIR
3714 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3716 * configure.ac: post release version bump.
3717 * debian/changelog: version bump
3719 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3724 * configure.ac: bump version
3725 * debian/changelog: updates
3726 * debian/control: bump gtk+ dependency
3728 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3730 patch by Christian Dywan (christian@imendio.com)
3732 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3733 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3735 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3737 * src/hildon-check-button.c (hildon_check_button_init)
3738 (hildon_check_button_class_init, hildon_check_button_style_set)
3739 (hildon_check_button_apply_style):
3740 New "checkbox-size" style property.
3742 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3743 larger / configurable size)
3745 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3747 * configure.ac: post release version bump.
3748 * debian/changelog: version bump
3750 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3755 * configure.ac: bump version
3756 * debian/changelog: updates
3758 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3760 * doc/hildon-sections.txt
3761 * src/hildon-pannable-area.c
3762 * src/hildon-program.c
3763 * src/hildon-time-editor.c
3764 * src/hildon-touch-selector-entry.c:
3766 More documentation updates.
3768 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3770 * doc/hildon-sections.txt
3771 * src/hildon-caption.c
3772 * src/hildon-code-dialog.c
3773 * src/hildon-color-button.c
3774 * src/hildon-controlbar.c
3775 * src/hildon-date-editor.c
3776 * src/hildon-date-selector.c
3777 * src/hildon-edit-toolbar.c
3778 * src/hildon-find-toolbar.c
3779 * src/hildon-font-selection-dialog.c
3781 * src/hildon-program.c
3782 * src/hildon-range-editor.c
3783 * src/hildon-seekbar.c
3784 * src/hildon-time-editor.c
3785 * src/hildon-time-selector.c
3786 * src/hildon-volumebar-range.c
3787 * src/hildon-volumebar.c
3788 * src/hildon-vvolumebar.c
3789 * src/hildon-weekday-picker.c
3790 * src/hildon-window.c
3791 * src/hildon-wizard-dialog.c:
3793 Lots of documentation fixes.
3795 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3797 Patch contributed by Iván Gómez (igomez@igalia.com)
3799 * src/hildon-check-button.c:
3800 * src/hildon-date-button.c:
3801 * src/hildon-date-selector.c:
3802 * src/hildon-dialog.c:
3803 * src/hildon-edit-toolbar.c:
3804 * src/hildon-entry.c:
3805 * src/hildon-picker-button.c:
3806 * src/hildon-program.c:
3807 * src/hildon-text-view.c:
3808 * src/hildon-time-button.c:
3809 * src/hildon-touch-selector-entry.c:
3810 * src/hildon-window-stack.c:
3812 Add more "since" tags to the new API.
3814 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3816 * doc/hildon-sections.txt: Add below method.
3817 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3818 version for the hildonized scale.
3819 * src/hildon-gtk.h: Add the definition.
3821 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3823 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3825 * doc/hildon-sections.txt: Add missing entries for new methods.
3827 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3829 Added API to pannable are in order to get its adjustments. We
3830 added two properties to manage the values we had in the private
3833 * src/hildon-pannable-area.c:
3834 (hildon_pannable_area_class_init): Added hadjustment and
3835 vadjustment properties in order to expose horizontal and vertical
3837 (hildon_pannable_area_get_property),
3838 (hildon_pannable_area_set_property): Added code to handle the new
3840 (hildon_pannable_area_get_hadjustment),
3841 (hildon_pannable_area_get_vadjustment): API functions to get the
3843 * src/hildon-pannable-area.h:
3844 (hildon_pannable_area_get_hadjustment),
3845 (hildon_pannable_area_get_vadjustment): API functions to get the
3848 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3850 Fixed some leaks, after valgrinding.
3852 * src/hildon-touch-selector.c:
3853 (_default_print_func): Fixed a leak.
3854 (hildon_touch_selector_append_column): Fixed a leak.
3855 * src/hildon-date-button.c:
3856 (hildon_date_button_init): Fixed a leak.
3857 * src/hildon-date-selector.c
3858 (hildon_date_selector_finalize): Fixed a leak.
3860 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3862 Based on a patch by Christian Dywan (christian@imendio.com)
3864 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3866 * src/hildon-gtk.h: Add definition.
3868 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3870 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-picker-button.c: (hildon_picker_button_init),
3873 (hildon_picker_button_new): Set the HildonButton::style property
3874 in the init method, to propagate the value to the derived classes.
3876 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3878 * src/hildon-button.c: (hildon_button_class_init): Do not make
3879 the "style" property a construct property.
3881 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3883 * src/hildon-wizard-dialog.h
3884 * src/hildon-wizard-dialog.c
3885 (hildon_wizard_dialog_set_forward_page_func)
3886 * src/hildon-pannable-area.h
3887 * src/hildon-pannable-area.c
3888 (hildon_pannable_area_set_size_request_policy):
3889 Documentation fixes.
3891 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3893 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3895 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3897 * doc/hildon-sections.txt: Added sections file.
3899 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3902 * src/*.[ch]: Updates.
3904 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3906 * examples/hildon-progress-indicator-example.c: new file
3907 * examples/Makefile.am: include the new example program
3909 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3911 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3913 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3915 * configure.ac: post release version bump
3916 * debian/changelog: version bump
3918 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3923 * configure.ac: bump version
3924 * debian/changelog: updates
3925 * debian/control: bump gtk+ dependency
3927 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3929 * src/hildon-dialog.c: Mark as deprecated.
3930 * src/hildon-dialog.h: Mark as deprecated.
3931 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3932 from HildonDialog and still work, even if
3933 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3934 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3936 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3937 maemo changes) instead)
3939 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3941 * src/hildon-pannable_area.h:
3942 * src/hildon-pannable_area.c:
3943 (hildon_pannable_area_class_init),
3944 (hildon_pannable_area_set_property),
3945 (hildon_pannable_area_get_property),
3946 (hildon_pannable_area_size_request),
3947 (hildon_pannable_area_get_size_request_policy),
3948 (hildon_pannable_area_set_size_request_policy): Added new API
3949 allowing applications to control the request policy. Now they can
3950 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3951 children allocation (HILDON_MOVEMENT_CHILDREN).
3953 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3957 (hildon_gtk_tree_view_set_ui_mode)
3958 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3959 mode of treeviews and iconviews.
3961 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3963 * src/hildon-touch-selector-entry.c:
3964 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3965 of a GtkEntry to get proper theming.
3967 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3968 widget, not GtkEntry)
3970 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3972 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3973 no HildonWizardDialogPageFunc.
3975 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3977 Patch contributed by Iván Gómez (igomez@igalia.com)
3979 * src/hildon-app-menu.c:
3980 * src/hildon-button.c:
3981 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3982 * src/hildon-stackable-window.c:
3983 * src/hildon-time-selector.c:
3984 * src/hildon-touch-selector.c:
3985 * src/hildon-window.c:
3987 Add more "since" tags to the new API in hildon 2.2.
3989 2008-12-05 Tim Janik <timj@imendio.com>
3991 Patch contributed by Christian Dywan (christian@imendio.com)
3993 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3994 HildonSizeType, which are supplied by Gtk+ now.
3996 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3998 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3999 (with maemo changes) instead)
4001 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4003 Patch contributed by Iván Gómez (igomez@igalia.com)
4005 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4008 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4010 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4011 (some_page_func), (main): Update the example to use a
4012 HildonWizardDialogPageFunc function.
4014 * src/hildon-wizard-dialog-private.h: Add private data for
4015 the HildonWizardDialogPageFunc function usage.
4017 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4018 (destroy), (hildon_wizard_dialog_init), (response),
4019 (hildon_wizard_dialog_set_forward_page_func):
4020 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4021 that applications can use to stop a HildonWizardDialog to jump to
4024 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4027 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4029 * src/hildon-program.h
4030 * src/hildon-program-private.h
4031 * src/hildon-program.c (hildon_program_init)
4032 (hildon_program_set_common_app_menu)
4033 (hildon_program_get_common_app_menu):
4034 New API for setting a common HildonAppMenu for all
4035 HildonStackableWindows registered with the HildonProgram.
4037 * src/hildon-stackable-window.c
4038 (hildon_stackable_window_toggle_menu):
4039 Use the common HildonAppMenu if a window doesn't have a specific
4042 * src/hildon-app-menu-private.h
4043 * src/hildon-app-menu.c
4044 (hildon_app_menu_get_parent_window):
4045 Function to obtain the window a HildonAppMenu is attached to.
4046 (hildon_app_menu_set_parent_window):
4047 Hide the menu if the parent window is set to NULL.
4049 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4051 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4052 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4053 search widget to popup.
4055 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4057 * configure.ac: post release version bump
4058 * debian/changelog: version bump
4060 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4065 * configure.ac: bump version
4066 * debian/changelog: updates
4068 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4070 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4072 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4073 (hildon_window_stack_window_realized)
4074 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4075 Set the leader GdkWindow when a window is stacked and realized,
4076 unset it when it's unstacked.
4077 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4079 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4081 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4083 * src/hildon-stackable-window.h
4084 * src/hildon-window-stack.h:
4085 Protect definition of HildonWindowStack using the preprocessor.
4087 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4089 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4090 Fix warning if all menu items are hidden.
4092 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4094 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4096 * src/hildon-controlbar.c:
4097 * src/hildon-hvolumebar.c:
4098 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4099 Multiple scale size defines updates.
4101 Fixes: NB#94322 (Scale Updates)
4103 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4105 * examples/hildon-app-menu-example.c (create_menu)
4106 Show items after adding them to the menu, as in the future the
4107 menu will no longer call gtk_widget_show() on the added items.
4109 * src/hildon-app-menu.c:
4110 Update example as explained above.
4112 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-app-menu.c
4115 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4116 Make sure that all menu items have finger height.
4118 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4120 * src/hildon-picker-dialog.c:
4121 (_on_dialog_response), (_save_current_selection),
4122 (_restore_current_selection), (_clean_current_selection),
4123 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4124 Defined new functions in order to save the current internal selector
4125 selection previous open the dialog, in case that the use cancel the
4126 interaction, so the widget restores the previous selection.
4128 Fixes: NB#92032 (In calendar application, date values in 'new event'
4131 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4133 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4135 * src/hildon-button.c: Add a reference to the button examples in
4136 hildon-button-example.c
4138 * examples/hildon-button-example.c: Added examples of the most
4139 common button layouts.
4141 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4143 * src/hildon-app-menu.c (hildon_app_menu_show)
4144 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4146 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4148 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4150 * src/hildon-picker-dialog.c:
4151 (hildon_picker_dialog_init): Initialize the signal id for
4152 HildonTouchSelector::columns-changed.
4153 (+on_selector_columns_changed): Set up the interaction mode everytime a
4154 column is added or removed from the HildonTouchSelector.
4155 (_hildon_picker_dialog_set_selector): Connect to
4156 HildonTouchSelector::columns-changed and keep track of it.
4158 Make sure to update the interaction mode of the dialog everytime a
4159 column is added or removed in the HildonTouchSelector.
4161 Fixes: NB#93228 (Done button is not shown always in listpicker)
4163 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4166 a new ::columns-changed signal.
4167 (hildon_touch_selector_append_column): Emit ::columns-changed.
4168 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4170 Add a ::columns-changed signal, emitted when the number of columns in a
4171 HildonTouchSelector changes.
4173 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4175 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4176 (_hildon_picker_dialog_set_selector): Factor out the code
4177 to set up the dialog interaction mode.
4179 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4181 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4182 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4183 to signal_changed_id.
4185 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4187 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4190 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4192 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4193 Updated the logical ids related to ampm format, as now it is required to
4194 show it correctly localized even on languages with no default
4195 abbreviations for am or pm
4196 (_check_am_pm_format): check correctly the 24h format gconf property
4198 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4200 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4202 * src/hildon-button.c: Documentation updates.
4204 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4206 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4207 * src/hildon-caption.c: (hildon_caption_class_init):
4208 * src/hildon-color-button.c: (hildon_color_button_class_init):
4209 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4210 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4211 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4212 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4214 Remove deprecated GTK+ marshalers and replace them with the ones
4215 provided by GLib, for those available, add a marshaler for
4216 BOOLEAN:VOID, which is not available in GLib, and use it.
4218 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4220 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4221 the text from the previous column if there is no
4222 HildonTouchSelectorColumn::text-property set.
4224 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4226 * src/hildon-button.h
4227 * src/hildon-button.c (hildon_button_set_property)
4228 (hildon_button_get_property, hildon_button_class_init)
4229 (hildon_button_set_style, hildon_button_get_style):
4230 New "style" property to change the visual appearance of the
4233 * src/hildon-picker-button.c (hildon_picker_button_new):
4234 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4236 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4237 HildonButton look like PickerButton)
4239 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4242 column while building the default string.
4244 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4247 scroll indicator by default.
4249 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4251 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4253 * src/hildon-main.c: Fix the documentation for hildon_init()
4255 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4257 * doc/hildon-docs.sgml
4261 * src/hildon-window-stack-private.h
4262 * src/hildon-window-stack.h
4263 * src/hildon-window-stack.c:
4264 New HildonWindowStack object, that adds support for multiple
4265 stacks of windows per process.
4267 * src/hildon-stackable-window-private.h
4268 * src/hildon-stackable-window.h
4269 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4270 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4271 (hildon_stackable_window_show, hildon_stackable_window_hide)
4272 (hildon_stackable_window_class_init)
4273 (hildon_stackable_window_init):
4274 Use HildonWindowStack for stack management.
4276 * src/hildon-program.c (hildon_program_pop_window_stack)
4277 (hildon_program_peek_window_stack)
4278 (hildon_program_go_to_root_window):
4279 Add a fallback implementation to the deprecated functions using
4282 * examples/hildon-stackable-window-example.c:
4283 Use the new HildonWindowStack API.
4285 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4287 * src/hildon-stackable-window-private.h
4288 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4289 (hildon_stackable_window_hide, hildon_stackable_window_init):
4290 Remove all window stack management.
4292 * src/hildon-program-private.h
4293 * src/hildon-program.h
4294 * src/hildon-program.c (hildon_program_init)
4295 (hildon_program_pop_window_stack)
4296 (hildon_program_peek_window_stack)
4297 (hildon_program_go_to_root_window):
4298 Remove all window stack management and mark functions as
4301 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4303 * src/hildon-app-menu.c (hildon_app_menu_realize):
4304 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4306 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4308 * configure.ac: post release version bump
4309 * debian/changelog: version bump
4311 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4316 * configure.ac: bump version
4317 * debian/changelog: updates
4319 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4321 Based on initial code by Christian Dywan (christian@imendio.com)
4323 * doc/hildon-docs.sgml: Add section for hildon-main.
4324 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4325 * src/Makefile.am: Add new hildon-main.[ch]
4326 * src/hildon-defines.h: Update the icon sizes.
4327 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4328 new library initialization files and register icon sizes.
4329 * src/hildon-main.h: New declarations.
4330 * src/hildon.h: Include hildon-main.h
4332 Add new initialization functions to the library. These methods
4333 will register the hildon specific icon sizes and can be used in the
4334 future for other hildon specific bits.
4336 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4338 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4340 * src/hildon-window.c: (hildon_window_realize),
4341 (hildon_window_notify), (-hildon_window_update_title): Do not set
4342 the application name in the window title.
4344 Fixes: NB#89754 (Applications shouldn't display their names in the
4347 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4349 * src/hildon-note-private.h:
4350 * src/hildon-note.c: (hildon_note_set_property),
4351 (hildon_note_get_property), (hildon_note_class_init),
4352 (hildon_note_init), (hildon_note_finalize),
4353 (hildon_note_new_confirmation_with_icon_name),
4354 (hildon_note_new_information_with_icon_name):
4356 No need to mark as deprecated the actual code. Revert
4357 to avoid missing symbols in widgets using deprecated API.
4359 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4361 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4363 * src/hildon-volumebar.h
4364 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4365 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4367 * src/hildon-helper.h
4368 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4369 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4371 * examples/Makefile.am:
4372 Deprecate hildon-insensitive-example
4374 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4376 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4378 * examples/hildon-pannable-area-buttons-scroll-example.c:
4379 Make all buttons finger height
4381 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4383 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4385 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4386 update the day model only if it is really required, and to avoid the
4387 full-reconstruction aproach. Now it only add or remove the required days.
4389 The purpose of this is avoid superfluous HildonTouchSelector::changed
4392 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4393 with strange parameters)
4395 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4397 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4399 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4400 the WINDOW_TYPE property.
4402 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4404 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4407 Fix dependency to allow parallel compilation with make -jX
4409 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4412 color frame and some minor tweaks to make it more consistent with
4415 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4416 highlighted but not visible)
4418 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4420 * examples/Makefile.am: Fixed typo in the Makefile.am.
4422 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4424 Reviewed the use of MAEMO_GTK define, now we add the define in the
4425 compilation line, and we also add it to the pc file.
4427 * configure.ac: Added MAEMO_GTK define to the compilation command
4428 and removed it from the config.h.
4430 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4431 do not have to take care about this define if the library was
4435 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4437 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4439 * examples/Makefile.am,
4440 * examples/hildon-pannable-area-buttons-scroll-example.c,
4441 * examples/hildon-pannable-area-gesture-signals-example.c,
4442 * examples/hildon-pannable-area-scroll-jump-example.c,
4443 * examples/hildon-pannable-area-tree-view-example.c:
4444 Renamed the pannable area examples, now they have more meaningful
4447 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4449 * src/hildon-touch-selector.c:
4450 (hildon_touch_selector_set_column_selection_mode): Used of
4451 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4452 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4453 to avoid re-seting the same selection mode.
4455 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4456 breaks HildonPickerDialog)
4458 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4460 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4461 conditional in the Makefile.am
4463 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4465 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4466 Remove unused methods.
4468 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4470 * src/hildon-button.c (hildon_button_init):
4471 Make button images center-aligned by default
4473 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4476 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4477 activated, we have to think about how to deal with both defines
4478 MAEMO_GTK and MAEMO_CHANGES.
4480 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4482 * examples/hildon-app-menu-example.c (create_menu): Make all
4483 buttons finger size.
4485 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4487 Fixed the compilation without maemo gtk adding ifdefs with
4488 MAEMO_GTK define to the code, we have to check this version more
4491 * examples/Makefile.am: Added control to avoid some examples that
4492 just make sense with maemo gtk.
4495 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4496 hildon modes with the define.
4498 * examples/hildon-edit-toolbar-example.c,
4499 (create_icon_view): Create the icon view without hildon-gtk
4500 helpers if we are not using maemo gtk.
4502 * src/hildon-touch-selector.c,
4503 (_create_new_column): Create the treeview without hildon-gtk
4504 helpers if we are not using maemo gtk.
4506 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4508 * src/hildon-pnnable-area.c,
4509 (hildon_pannable_area_dispose),
4510 (hildon_pannable_area_button_press_cb),
4511 (hildon_pannable_area_child_mapped),
4512 (hildon_pannable_area_add),
4513 (hildon_pannable_area_remove): Added code to control the position
4514 of the event_window when adding and removing children from the
4515 pannable. We have to raise the event window when the child is
4518 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4519 selection mode using custom widget inside pannable)
4521 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4523 * configure.ac: post release version bump
4524 * debian/changelog: version bump
4526 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4531 * configure.ac: bump version
4532 * debian/changelog: updates
4534 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4536 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4537 search mode, in order to avoid lose the focus on the treeview when
4538 a hw key (like enter) is pressed.
4540 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4541 in HildonDateSelector dialog)
4543 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4545 * debian/rules: Added --enable-maintainer-mode
4546 * Makefile.am: Added ACLOCAL_AMFLAGS
4548 This allows to properly regenerate the Makefiles if you modify the
4549 configure.ac or any Makefile.am.
4551 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4553 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4554 properties, not needed at all.
4556 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4558 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4560 * src/hildon-note.c: (hildon_note_set_property),
4561 (hildon_note_get_property), (hildon_note_class_init),
4562 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4563 (hildon_note_new_confirmation_add_buttons): Remove icons.
4564 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4565 (hildon_note_new_information_with_icon_name): Deprecate.
4566 (hildon_note_new_confirmation): Act directly, without calling
4567 the deprecated constructor.
4568 (hildon_note_new_information): Act directly, without calling
4569 the deprecated constructor.
4570 * src/hildon-note.h: Mark deprecate methods as such.
4571 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4572 not run tests on the deprecated methods if built with deprecation
4575 Fixes: NB#91688 (Never show icons in information notes/confirmation
4578 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4580 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4581 (hildon_app_menu_key_press): Remove leftover usage of the
4582 private structure in HildonAppMenu struct.
4583 * src/hildon-app-menu.h: Remove leftover private structure
4584 from the HildonAppMenu struct.
4586 Fixes a crasher when using the HildonAppMenu.
4588 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4590 * src/hildon-picker-dialog.c: Use appropriate logical id
4591 for the default "Done" text.
4593 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4595 * configure.ac: post release version bump
4596 * debian/changelog: version bump
4598 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4600 Modified the way to scroll to the current selection just when the touch
4601 selector is shown on the screen, avoiding a g_idle. Added too a property
4602 to configure this behaviour. See hildon_pannable_area_jump_to_child
4603 documentation for more information.
4605 * src/hildon-touch-selector.c
4606 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4607 Added 'initial-scroll' property
4608 (hildon_touch_selector_set_property): Added
4609 (hildon_touch_selector_map): Removed as not required anymore
4610 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4611 only a concrete column, instead of iterate along all the columns
4613 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4618 * configure.ac: bump version
4619 * debian/changelog: updates
4621 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4624 compilation time warnings.
4626 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4628 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4629 the default value for HildonPannableArea::mov-mode to
4630 HILDON_PANNABLE_AREA_MODE_VERT.
4632 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4634 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4636 Reverting following commit:
4638 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4640 * src/hildon-app-menu-private.h
4641 * src/hildon-app-menu.[ch]
4642 * src/hildon-button.[ch]
4643 * src/hildon-check-button.[ch]
4644 * src/hildon-entry.[ch]
4645 * src/hildon-pannable-area.[ch]
4646 * src/hildon-text-view.[ch]:
4647 Added private field to the object's structure.
4649 because it causes an ABI breakage. We will need to introduce these
4650 changes later at some point. See NB#91636 for an extensive
4651 explanation and status.
4653 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4655 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4657 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4658 remove special cases that are no longer necessary.
4660 Fixes: NB#91016 (Change toolbar sizes, simplification)
4662 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4664 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4665 is shown in the cancel note.
4667 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4669 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4670 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4671 (hildon_seekbar_init): Remove steppers, remove expose event.
4672 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4674 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4676 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4678 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4679 label font to "SmallSystemFont" for vertically arranged buttons.
4681 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4684 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4686 * src/hildon-check-button.c
4687 (hildon_check_button_set_active, hildon_check_button_clicked):
4688 Don't access private parts directly, use getters instead.
4690 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4692 * src/hildon-check-button.c (hildon_check_button_new):
4693 Align the contents of the check button to the left.
4695 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4697 * src/hildon-pannable-area.c,
4698 (hildon_pannable_area_scroll_to),
4699 (hildon_pannable_area_jump_to),
4700 (hildon_pannable_area_scroll_to_child),
4701 (hildon_pannable_area_jump_to_child): Replace the mapped
4702 precondition of these functions with the realized, it is the
4703 correct state of the widget in this case. Changed the
4704 documentation according to this modification.
4706 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4708 Added a new EXTRA_CFLAGS option to add the deprecated define to
4709 the compilation command. This way we can avoid using the define in
4710 the documentation compilation.
4712 * configure.ac: Defined EXTRA_CFLAGS.
4714 * examples/Makefile.am:
4716 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4718 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4720 * src/hildon-picker-dialog.c:
4721 Defined a utility macro with the desired touch selector height
4722 Removed currently unused separator, and title_label variables from
4724 (hildon_picker_dialog_init): Removed code related to the creation
4725 of unused private variables title_label and separator.
4726 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4727 to ensure correct visualization of the touch selector inside the dialog.
4728 * src/hildon-touch-selector.c
4729 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4730 ensure a concrete height of the widget.
4732 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4735 * tests/Makefile.am:
4737 Remove spurious whitespaces.
4739 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4741 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4742 compilation warning after the cancel button removal.
4744 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4746 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4748 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4749 Makefile.am, that way we can choose not to compile some examples
4750 and tests of the deprecated widgets.
4752 * examples/Makefile.am: Divided the sources in deprecated and
4755 * src/Makefile.am: Added undef statement of the deprecated
4756 symbol to the enums file generation process.
4758 * src/hildon-color-chooser-dialog.c
4759 * src/hildon-color-chooser-dialog.h
4760 * src/hildon-color-button.c
4761 * src/hildon-color-button.h
4762 * src/hildon-color-chooser.c
4763 * src/hildon-color-chooser.h
4764 * src/hildon-controlbar.c
4765 * src/hildon-controlbar.h
4766 * src/hildon-date-editor.c
4767 * src/hildon-date-editor.h
4768 * src/hildon-hvolumebar.c
4769 * src/hildon-hvolumebar.h
4770 * src/hildon-private.c
4771 * src/hildon-private.h
4772 * src/hildon-range-editor.c
4773 * src/hildon-range-editor.h
4774 * src/hildon-seekbar.c
4775 * src/hildon-seekbar.h
4776 * src/hildon-time-editor.c
4777 * src/hildon-time-editor.h
4778 * src/hildon-time-picker.c
4779 * src/hildon-time-picker.h
4780 * src/hildon-volumebar.c
4781 * src/hildon-volumebar.h
4782 * src/hildon-vvolumebar.c
4783 * src/hildon-vvolumebar.h
4784 * src/hildon-bread-crumb-trail.h
4785 * src/hildon-bread-crumb-trail.c
4786 * src/hildon-calendar-popup.c
4787 * src/hildon-calendar-popup.h
4788 * src/hildon-weekday-picker.c:
4789 * src/hildon-weekday-picker.h:
4790 * src/hildon-bread-crumb-widget.c:
4791 * src/hildon-bread-crumb-widget.h:
4792 * src/hildon-bread-crumb.c:
4793 * src/hildon-bread-crumb.h:
4794 * src/hildon-calendar.c:
4795 * src/hildon-calendar.h:
4796 * src/hildon-caption.c:
4797 * src/hildon-code-dialog.c:
4798 * src/hildon-code-dialog.h:
4799 * src/hildon-font-selection-dialog.c:
4800 * src/hildon-font-selection-dialog.h:
4801 * src/hildon-get-password-dialog.c:
4802 * src/hildon-get-password-dialog.h:
4803 * src/hildon-login-dialog.c:
4804 * src/hildon-login-dialog.h:
4805 * src/hildon-number-editor.c:
4806 * src/hildon-number-editor.h:
4807 * src/hildon-set-password-dialog.c:
4808 * src/hildon-set-password-dialog.h:
4809 * src/hildon-sort-dialog.c:
4810 * src/hildon-sort-dialog.h: This is the list of deprecated
4813 * src/hildon-touch-selector.c:
4814 * src/hildon-window.c: Added undef statement to avoid compilation
4817 * tests/Makefile.am: Divided the sources in deprecated and
4820 * tests/check_test.c,
4821 (configure_tests): Marked the deprecated code that was adding
4822 suites with deprecated tests.
4824 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4826 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4828 * src/hildon-touch-selector.c: (_default_print_func): Do not
4829 duplicate a string returned by gtk_tree_model_get(), it is already
4832 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4835 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4837 * src/hildon-pannable-area.c
4838 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4839 method, it had problems when adding a widget with viewport the
4840 second time. Now checks if it already has a viewport and uses it.
4842 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4845 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4847 * src/hildon-pannable-area.c,
4848 (hildon_pannable_area_scroll_to),
4849 (hildon_pannable_area_jump_to),
4850 (hildon_pannable_area_scroll_to_child),
4851 (hildon_pannable_area_jump_to_child): Added a precondition to the
4852 scroll and jump to functions: the widget must be mapped before we
4853 can safely call these functions. We have also added documentation
4854 to the functions to explain how to use them in this situation.
4857 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4859 Reviewed the threading handling of the pannable widget, we have
4860 used the gdk_threads_add_timeout function instead of the usual
4861 glib handlers. This avoids some problems with the threads.
4863 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4864 (hildon_pannable_area_initial_effect),
4865 (hildon_pannable_area_scroll_indicator_fade),
4866 (hildon_pannable_area_button_press_cb),
4867 (hildon_pannable_area_timeout),
4868 (hildon_pannable_area_motion_notify_cb),
4869 (hildon_pannable_area_button_release_cb),
4870 (hildon_pannable_area_scroll_cb),
4871 (hildon_pannable_area_scroll_to): Removed the
4872 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4873 gdk_threads_add_timeout.
4875 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4877 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4882 * configure.ac: bump version
4883 * debian/changelog: updates
4885 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4887 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4888 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4889 * src/hildon-color-chooser-dialog.c:
4890 (hildon_color_chooser_dialog_init):
4891 * src/hildon-font-selection-dialog.c:
4892 (hildon_font_selection_dialog_init):
4893 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4895 Remove all cancel/close-like dialogs, as these are not going to be
4898 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4900 * src/hildon-note.c: (hildon_note_rebuild),
4901 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4904 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4906 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4908 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4909 sure all buttons are shown, even the Cancel/Close-like ones.
4911 Fixes: NB#90861 (Custom Confirmation dialogs should be
4912 protected from cancel button removal)
4914 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4916 * debian/control: Change libhildon1-examples dependency from libhildon1
4918 * debian/libhildon1-examples.install
4920 * Makefile.am: Modified the final install directory for the examples on
4921 package libhildon1-examples
4922 * Makefile.static: Update clean target in order to remove all the binary
4925 Changes suggested by Claudio after review new libhildon1-examples package
4927 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4929 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4930 * src/hildon-touch-selector.c: Ditto.
4932 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4934 * debian/control: Added new package libhildon1-examples, in order to pack
4935 the current hildon examples as documentation
4936 * debian/rules: Not to compress .c files, modify some includes on the
4937 examples (as normally are compiled locally, but when installed it will
4938 require to include the installed libhildon1 library), and rename
4940 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4941 install all the example files on the new example package
4942 * examples/Makefile.static: Added static makefile that can be used to
4943 compile the examples, once installed the new example package
4944 * examples: Most of the examples were modified in order to grant that
4945 all use only '#include "hildon.h"', in order to be easy to prepare
4946 it on the example package
4948 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4951 * debian/libhildon1-dev.install
4952 * debian/libhildon1-doc.install:
4953 Move all gtk-doc files to a separate libhildon1-doc package.
4955 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4957 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4959 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4961 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4963 * debian/rules: Fixed a error in order to avoid unnecessary calls
4964 to autogen.sh on package building
4966 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4968 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4970 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4972 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4975 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4977 * src/hildon-picker-button.c
4978 (hildon_picker_button_finalize):
4979 Free priv->done_button_text
4981 * src/hildon-time-button.c
4982 (hildon_time_button_set_time)
4983 * src/hildon-picker-button.c
4984 (hildon_picker_button_clicked)
4985 (hildon_picker_button_selector_selection_changed)
4986 (hildon_picker_button_set_selector)
4987 * src/hildon-date-button.c
4988 (hildon_date_button_set_date):
4989 Free strings returned by hildon_touch_selector_get_current_text()
4991 * src/hildon-button.c (hildon_button_construct_child):
4992 Fix leaks in priv->image and priv->label_box
4994 Fixes: NB#90535 (Memory leak in picker button)
4996 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4998 * src/hildon-button.c: (hildon_button_get_property): Do not access
4999 private elements directly, use getters instead.
5001 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5003 * src/hildon-app-menu-private.h
5004 * src/hildon-app-menu.c
5005 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5006 Store the menu's parent window.
5008 * src/hildon-stackable-window.c
5009 (hildon_stackable_window_toggle_menu)
5010 (hildon_stackable_window_finalize):
5011 Set the menu's parent window when the menu is shown, unset it when
5014 * src/hildon-app-menu.c
5015 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5016 (hildon_app_menu_class_init):
5017 Send unhandled keyboard accelerators to the parent window.
5019 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5021 * src/hildon-stackable-window.c
5022 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5024 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5026 * configure.ac: post release version bump
5028 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5031 * configure.ac: Bump version
5032 * debian/changelog: Updates
5033 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5036 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5038 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5041 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5042 GtkMenu with Hildon style.
5044 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-picker-button.c:
5047 (hildon_picker_button_set_done_button_text): Set the dialog's
5048 done button text here as well.
5050 Fixes: NB#90232 (Picker button does not set the label on done button
5051 for the second time)
5053 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5055 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5058 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5060 * src/hildon-app-menu.c (hildon_app_menu_insert)
5061 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5062 the HildonAppMenu to be activatable using keyboard accelerators
5063 when the menu is not being shown.
5065 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5067 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5069 * src/hildon-stackable-window.c
5070 (hildon_stackable_window_show):
5071 Don't hide old windows automatically when new windows are shown:
5072 this is now a task for the window manager.
5073 (hildon_stackable_window_class_init)
5074 (hildon_stackable_window_hide):
5075 Remove windows from the stack everytime they're hidden.
5076 (hildon_stackable_window_realize):
5077 Don't change the _NET_WM_WINDOW_TYPE property. Use
5078 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5079 it as a stackable window.
5081 * src/hildon-program.c
5082 (hildon_program_pop_window_stack):
5083 Just hide the window to remove it from the stack.
5084 (hildon_program_go_to_root_window):
5085 Don't call gtk_widget_show(), this is now a task for the window
5088 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5090 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5092 * src/hildon-button.c
5093 (hildon_button_construct_child):
5094 Don't pack anything in the button until text or image are
5095 set. This allows adding a custom child after creating the button
5096 with hildon_button_new().
5097 (hildon_button_finalize, hildon_button_class_init)
5098 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5099 alignment and the label box even when they're not packed in the
5102 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5104 * src/hildon-touch-selector.h:
5105 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5106 currently the type definition was using GTK_TYPE_VBOX
5107 * src/hildon-touch-selector.c:
5108 Added some implementation notes in order to clarify that any other widget
5109 added without the column related API will not be included on the
5110 selection logic, and how the widget is freed, as some people ask about
5112 (hildon_touch_selector_remove): Reimplemented in order to free properly
5113 the column related data when you remove the private hbox.
5114 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5115 to get a proper HildonTouchSelectorColumn documentation
5117 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5119 * src/hildon-touch-selector-entry.c:
5120 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5121 text in the GtkEntry and there is no item selected. Fixes a
5124 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5126 * src/hildon-app-menu-private.h
5127 * src/hildon-app-menu.[ch]
5128 * src/hildon-button.[ch]
5129 * src/hildon-check-button.[ch]
5130 * src/hildon-entry.[ch]
5131 * src/hildon-pannable-area.[ch]
5132 * src/hildon-text-view.[ch]:
5133 Added private field to the object's structure.
5135 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5137 * configure.ac: post-release version bump
5139 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5143 * configure.ac: pre-release version bump
5145 * debian/changelog: updates.
5147 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5149 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5150 Disconnect the handler for HildonTouchSelector::changed.
5152 (hildon_picker_button_selector_selection_changed): Update the button
5153 value if the selection change was not triggered by the
5156 (hildon_picker_button_set_selector): connect to
5157 HildonTouchSelector::changed.
5159 Fixes: NB#89650 (Picker button is not updated, when selection in
5160 selector has changed)
5162 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5164 * src/hildon-picker-dialog.c
5165 (hildon_picker_dialog_realize): Removed as not required
5166 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5167 * src/hildon-picker-button.c
5168 (_current_selector_empty): New function, checks if the selector is empty
5169 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5170 if the current selector is empty, in order to avoid to show the dialog
5171 close the dialog in this case (and shows a g_warning).
5173 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5175 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5177 * src/hildon-pannable-area.c,
5178 (hildon_pannable_area_scroll): Added clause to stop movement when
5179 the child of pannable is smaller than one page.
5180 (hildon_pannable_area_scroll_to): Added conditions to avoid
5181 starting the scrolling movement if the child is smaller than one
5182 page, the complete child is in the screen, we do not have to move.
5184 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5186 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5188 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5189 this is managed automatically by the widget when the size of the
5192 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5194 * src/hildon-picker-button.c
5195 (hildon_picker_button_set_done_button_text): Make a copy of the
5196 text, and free the previous value.
5198 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5200 * src/hildon-touch-selector-entry.c:
5201 (hildon_touch_selector_entry_print_func): Return the selected row's
5202 text if the entry is empty.
5204 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5207 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5209 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5211 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5214 * src/hildon-check-button.h
5215 * src/hildon-check-button.c
5216 * examples/hildon-check-button-example.c:
5217 HildonCheckButton is now a new widget. 'toggled' signal added.
5219 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5221 * src/hildon-program-private.h
5222 * src/hildon-program.c (hildon_program_init)
5223 (hildon_program_finalize): Removed unused variables group_leader
5224 and name from HildonProgramPrivate.
5226 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5228 * src/hildon-check-button.c (hildon_check_button_set_active)
5229 (hildon_check_button_get_active, hildon_check_button_new): Use
5230 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5232 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5234 * src/hildon-touch-selector.h
5235 (hildon_touch_selector_set_column_attributes): added deprecation
5236 guard HILDON_DISABLE_DEPRECATED
5237 * src/hildon-time-selector.c
5238 (hildon_time_selector_set_time)
5239 (hildon_time_selector_get_time): Fixed a typo on documentation
5240 * src/hildon-touch-selector.c: update HildonTouchSelector and
5241 HildonTouchSelectorColumn documentation
5242 * src/hildon-touch-selector-entry.c: update "text-column" property
5244 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5245 to be added to the general documentation.
5247 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5249 * examples/hildon-pannable-area-example-4.c,
5251 * examples/hildon-pannable-area-example.c,
5252 (main): Modified the code in order to use the container add, with
5253 viewport treeviews could have problems if they are really big.
5255 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5257 * src/hildon-weekday-picker.c,
5258 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5259 the agreement regarding deprecation in the library.
5261 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5263 * examples/hildon-picker-button-multicolumn-example.c:
5264 (main): Use custom "done" button text.
5266 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5267 (hildon_picker_button_set_property),
5268 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5269 (hildon_picker_button_init),
5270 (+hildon_picker_button_get_done_button_text),
5271 (+hildon_picker_button_set_done_button_text): New methods to customize
5272 the "done" button label in the launched HildonPickerDialog. Also,
5275 * src/hildon-picker-button.h: add the public API.
5277 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5279 * src/hildon-date-selector.h:
5280 * src/hildon-picker-dialog.h:
5281 * src/hildon-time-selector.h:
5282 * src/hildon-touch-selector-column.h:
5283 * src/hildon-touch-selector.h:
5285 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5286 declarations. Fixes gtk-doc warnings.
5288 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5290 * src/hildon-picker-dialog.h
5291 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5292 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5294 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5295 long text is set as label for done button)
5297 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5299 * src/hildon-dialog.c (hildon_dialog_add_button):
5300 Set fixed width to all buttons in the HildonDialog.
5302 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5304 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5306 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5307 Set widget name using class name plus "-finger" or "-thumb".
5309 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5311 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5312 'clicked' when the state of the button is manually changed.
5314 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5316 * src/hildon-app-menu.c (hildon_app_menu_realize)
5317 (hildon_app_menu_unrealize, hildon_app_menu_init)
5318 (hildon_app_menu_class_init, item_visibility_changed):
5319 Change the menu layout when the size of the screen changes.
5320 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5321 Show warning only when changing the number of colums using the
5324 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5326 * debian/compat: Set to 5
5327 * debian/control: Update dependencies.
5328 * debian/libhildon1-dbg.install: Remove.
5329 * debian/libhildon1-dev.install: Update according to cdbs paths.
5330 * debian/libhildon1.install: Update according to cdbs paths.
5331 * debian/rules: Switch to cdbs.
5333 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5335 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5336 'item' variable renamed to 'filter'
5338 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5340 * src/hildon-app-menu.c (hildon_app_menu_insert)
5341 (hildon_app_menu_add_filter, remove_item_from_list)
5342 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5343 Don't leak hidden items when the menu is destroyed.
5345 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5347 * src/hildon-app-menu.c (hildon_app_menu_insert)
5348 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5349 (hildon_app_menu_set_columns, item_visibility_changed)
5350 (filter_visibility_changed, hildon_app_menu_repack_filters)
5351 (hildon_app_menu_repack_items):
5352 Repack items and filters separately.
5354 Don't repack all items, change only the ones that are needed to
5357 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5359 * src/Makefile.am: added hildon-touch-selector-column.h
5361 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5363 * src/hildon-touch-selector.c: added the property "text-column" to the
5364 class HildonTouchSelectorColumn, and related get/set functions
5365 (_default_printf_func): updated to use "text-column" property
5366 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5367 "text-column" in his documentation, as this is now included on
5368 HildonTouchSelectorColumn. The get/set_property can still be used,
5369 working as a wrapper to the concrete column "text-column" property
5370 (_text_column_modified): callback added in order to handle the signal
5371 "notify::text-column" of the concrete HildonTouchSelectorColumn
5372 (hildon_touch_selector_entry_get_text_column)
5373 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5374 modified in order to use the HildonTouchSelectorColumn "text-column"
5376 * src/hildon-time-selector.c:
5377 * src/hildon-date-selector.c:
5378 * examples/hildon-touch-selector-example.c
5379 * examples/hildon-touch-selector-multi-cells-example.c
5380 * examples/hildon-picker-button-multicolumn-example.c
5381 Set the right value to "text-column" property on the creation of a new
5382 column using hildon_touch_selector_append_column()
5384 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5386 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5388 * src/hildon-app-menu.c
5389 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5390 updating the layout of the menu, don't create all widgets again,
5391 just repack the items in their new places.
5393 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5395 * src/hildon-time-selector.c
5396 (hildon_time_selector_get_time)
5397 (hildon_time_selector_set_time)
5398 Added documentation of these public methods
5400 * src/hildon-date-button.h
5401 * src/hildon-touch-selector-column.h
5402 * src/hildon-time-button.h
5403 * src/hildon-picker-dialog.h
5404 * src/hildon-time-selector.h
5405 * src/hildon-picker-button.h
5406 * src/hildon-touch-selector.h
5407 * src/hildon-time-picker.h
5408 * src/hildon-date-selector.h
5409 * src/hildon-touch-selector-entry.h
5410 Modified in order to use hildon-widgets code style
5412 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5414 Added deprecated support to the compilation process using
5415 HILDON_DISABLE_DEPRECATED
5417 * configure.ac: Added the --disable-deprecated to the configure
5420 * src/hildon-weekday-picker.c:
5421 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5422 to use the deprecated support. We will update the other deprecated
5423 widgets status in a new patch.
5425 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5427 * configure.ac: Fixed typo with fatal warnings support, the
5428 variable name was not correct
5430 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5432 * src/hildon-app-menu.c
5433 * src/hildon-program.c: Update documentation.
5435 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5437 * configure.ac: Post-release version bump.
5439 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5444 * configure.ac: Pre-release version bump.
5445 * debian/changelog: Updates.
5447 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5449 * NEWS: Update news for previous releases.
5451 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5453 * examples/hildon-touch-selector-multi-cells-example.c:
5454 (create_selector): Update the example to use
5455 hildon_touch_selector_append_column() with a NULL renderer and set
5456 the renderers later.
5457 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5458 passed a NULL renderer. This is documented behavior now.
5460 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5461 This must be used if the developer wants full control on the layout of
5462 the renderers to be added to the column.
5464 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5466 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5468 * src/hildon-touch-selector.c: Documentation fixes.
5470 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5472 * src/hildon-wizard-dialog-private.h: Remove image and box.
5473 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5474 (hildon_wizard_dialog_set_property), (response): Completely remove
5475 image/icon support, and the containers required for the layout.
5477 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5479 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5481 * src/hildon-app-menu.c: Updated documentation.
5483 * src/hildon-stackable-window.c
5484 (hildon_stackable_window_set_main_menu): Unref the old menu after
5485 ref'ing the new one.
5487 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5489 * src/hildon-stackable-window.c
5490 (hildon_stackable_window_set_main_menu): Unref the previous menu
5491 instead of destroying it.
5493 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5494 floating reference and set has_user_ref_count to FALSE to make
5495 HildonAppMenu act like a normal ref-counted widget and not a
5498 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5501 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5503 * src/hildon-touch-selector-column.h: new file
5504 * src/hildon-touch-selector.h
5505 * src/hildon-touch-selector.c
5506 Implemented GtkCellLayout interface, in order to allow to configure
5507 the cell layout on each individual selector column
5508 (hildon_touch_selector_set_column_attributes): marked as deprecated
5509 * examples/hildon-touch-selector-multi-cells-example.c
5510 Example of how to use the GtkCellLayout interface on the selector
5512 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5514 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5516 * src/hildon-app-menu.h
5517 * src/hildon-app-menu.c
5518 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5519 (hildon_app_menu_append, hildon_app_menu_prepend):
5520 New methods to prepend, insert and move items in the menu.
5522 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5524 * src/hildon-wizard-dialog.c:
5526 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5528 (create_title): Update logical IDs and related code.
5529 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5531 * src/hildon-wizard-dialog.h: Note that
5532 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5533 point, as it is not used anymore.
5535 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5537 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5539 * src/hildon-note.c:
5540 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5541 shown. Do not display an icon in confirmation notes nor information
5543 (hildon_note_set_button_text): Update logical ID for cancel button.
5545 Fixes: NB#88850 (Update HildonNote button strings + signals)
5547 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5549 * src/hildon-stackable-window.c
5550 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5552 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5554 * src/hildon-app-menu-private.h
5555 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5556 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5557 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5558 temporary property 'columns' to change the number of columns.
5560 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5562 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5564 * examples/hildon-note-example.c: (on_information_clicked),
5565 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5566 debugging information.
5567 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5569 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5570 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5571 in order to close: this will be handled by the WM from now on.
5573 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5575 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5577 * src/hildon-app-menu-private.h
5578 * src/hildon-app-menu.c
5579 (hildon_app_menu_append, hildon_app_menu_add_filter)
5580 (button_visibility_changed, hildon_app_menu_apply_style)
5581 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5582 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5583 layout everytime a button (item or filter) is shown or hidden.
5585 * src/hildon-stackable-window.c
5586 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5589 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5591 * src/hildon-touch-selector.c:
5592 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5593 that the treeview inside the touch selector is in fremantle hildon mode
5594 * examples/hildon-date-button-example.c
5595 * examples/hildon-picker-button-multicolumn-example.c
5596 * examples/hildon-touch-selector-entry-example.c
5597 * examples/hildon-touch-selector-example.c
5598 * examples/hildon-time-button-example.c
5599 * examples/hildon-picker-button-example.c:
5600 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5602 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5604 * examples/hildon-text-view-example.c: (main): Remove the
5605 gtkrc bits, now handled by the theme.
5607 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5609 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5612 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5614 * po/Makefile.am: Install properly the mo files.
5615 * po/en_GB.po: Update translation, to ease testing purposes.
5617 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5619 * examples/hildon-picker-button-example.c: (main): Select an item
5620 in the selector before setting it to the button.
5622 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5624 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5625 Update button's value if the selector has an item active.
5627 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5628 'value' with the selector)
5630 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5632 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5633 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5634 (hildon_picker_button_class_init): Plug the finalize method.
5635 (hildon_picker_button_set_selector): If there's a previously set
5636 selector, unref'it before setting a new one.
5638 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5639 HildonTouchSelector)
5641 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5643 * src/hildon-touch-selector-entry.c:
5644 (hildon_touch_selector_entry_changed): Check if there is no text
5645 selected before setting the entry text.
5648 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5650 * src/hildon-touch-selector.h
5651 * src/hildon-touch-selector.c
5652 (hildon_touch_selector_get_active)
5653 (hildon_touch_selector_set_active): New methods to set/get the
5654 index of the selected item.
5656 * src/hildon-picker-button.h
5657 * src/hildon-picker-button.c
5658 (hildon_picker_button_get_active)
5659 (hildon_picker_button_set_active): New methods to set/get the
5660 index of the selected item.
5662 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5664 * configure.ac: post-release version bump.
5666 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5670 * configure.ac: Pre-release version bump.
5671 * debian/changelog: Updates.
5672 * debian/control: Add myself as maintainer and depend on l10n
5675 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5677 * src/hildon-window.c
5678 (hildon_window_set_main_menu)
5679 * src/hildon-stackable-window.c
5680 (hildon_stackable_window_set_main_menu):
5681 Updated documentation.
5683 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5685 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5686 Don't free selector->priv manually.
5689 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5692 (hildon_gtk_window_set_progress_indicator):
5693 * src/hildon-gtk.h: Added the new API
5694 hildon_gtk_window_set_progress_indicator, it changes the state of
5695 the window progress hint.
5697 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5699 * src/hildon-button.c
5700 * src/hildon-stackable-window.c: Minor documentation updates.
5702 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5704 * src/hildon-stackable-window.c: Updated documentation.
5706 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5708 * src/hildon-defines.h: Update margins definitions
5709 to the Fremantle sizes.
5712 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5714 * src/hildon-touch-selector.c,
5715 (_hildon_touch_selector_set_model): Cleaning the code after
5716 review, removed g_print and #if 0 from the code.
5718 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5720 * src/hildon-edit-toolbar.c: Update documentation.
5722 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5724 * src/hildon-check-button.h
5725 * src/hildon-check-button.c
5726 (hildon_check_button_set_label, hildon_check_button_get_label)
5727 * examples/hildon-check-button-example.c
5728 (button_clicked_cb):
5729 Removed deprecated methods.
5731 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5733 * src/hildon-text-view.c:
5734 Add sample code to the documentation.
5736 * src/hildon-entry.h
5737 * src/hildon-text-view.h:
5738 Minor cosmetic changes.
5740 * src/hildon-entry.c:
5741 Add sample code to the documentation.
5742 (hildon_entry_init, hildon_entry_refresh_contents):
5743 Don't allow NULL values in the placeholder.
5745 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5747 * doc/hildon-docs.sgml
5749 * examples/Makefile.am
5750 * examples/hildon-text-view-example.c
5752 * src/hildon-text-view.c
5753 * src/hildon-text-view.h
5755 New HildonTextView widget, with example.
5757 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5759 * po/POTFILES.in: Add missing files with translatable strings.
5760 Partially fixes NB#88287.
5762 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5764 * examples/hildon-pannable-area-example-2.c: (main): No need to
5765 set the cellrenderer height inside hildon touch lists, the theme does
5768 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5770 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5771 they are integrated in the theme.
5773 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5775 * examples/hildon-entry-example.c: Update the example adding
5776 widgets to modify the text and the placeholder of the HildonEntry.
5778 * src/hildon-entry.c: Show the placeholder everytime the widget
5779 is empty and loses the focus.
5781 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5783 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5785 * src/hildon-pannable-area.c,
5786 (hildon_pannable_area_size_request): Fixed bug in height
5787 requisition, avoid increasing size and add border twice.
5789 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5791 * configure.ac: postrelease version bump.
5793 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5797 * configure.ac: Prerelease version bump.
5798 * debian/changelog: update.
5799 * debian/rules: make -dbg package contain useful debugging symbols.
5801 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5803 * src/hildon-dialog.h
5804 * src/hildon-dialog.c
5805 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5806 New methods to add buttons with finger size.
5807 (hildon_dialog_new_with_buttons):
5808 Create buttons with finger size.
5810 * examples/hildon-dialog-example.c (main): Use HildonDialog
5811 methods to add buttons.
5813 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5815 * src/hildon-entry.c: Updated HildonButton documentation.
5817 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5820 button value label with (FALSE, FALSE) to prevent NB#88126 from
5823 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5825 * examples/hildon-pannable-area-example.c,
5826 (main): Removed examples panning a vbox inside a pannable
5827 area. Check bug NB#87965
5829 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5831 Patch contributed by Kris Rietveld (kris@imendio.com)
5833 * src/hildon-pannable-area.c,
5834 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5835 get_size and get_position, this saves an X server roundtrip.
5837 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5839 * doc/hildon-docs.sgml
5841 * examples/Makefile.am
5842 * examples/hildon-entry-example.c
5844 * src/hildon-entry.c
5845 * src/hildon-entry.h
5847 New HildonEntry widget, with example.
5849 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5851 * src/hildon-button.c (hildon_button_construct_child): Pack the
5852 image with expand == fill == FALSE. This is a workaround for a bug
5855 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5857 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5858 labels for the text column, to make it more look more dynamic.
5860 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5862 * src/hildon-time-selector.c
5863 Define gettext auxiliar macro N_
5864 (_create_minutes_model)
5865 (_create_hours_model)
5866 (_create_ampm_model): use of strftime in order to fill the model
5867 * src/hildon-date-selector.c
5868 (hildon_date_selector_finalize):
5869 (_locales_init): remove the logic related to get the name of the months
5870 using nl_langinfo, as it is not required anymore
5872 (_create_year_model)
5873 (_create_month_model)
5874 (_update_day_model): use of strftime in order to fill the model properly
5877 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-button.h
5880 * src/hildon-button.c (hildon_button_get_image): New method to
5883 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5885 * src/hildon-touch-selector.c:
5886 (hildon_touch_selector_remove_column): Remove from the correct parent
5887 and also remove the list element and free it.
5890 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5892 * src/hildon-time-selector.c
5893 (_create_hours_model): change the range on 12h ampm format in order to use
5894 a 12-11 range instead of previous 01-12 range
5895 (hildon_time_selector_set_time): change the way to select the current time
5896 on 12h ampm format, due the change on the range
5897 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5900 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5902 * src/hildon-touch-selector.c
5903 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5904 in order to allow use this function on multiple row selection mode if
5905 the column is different that the first one
5908 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5910 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5911 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5913 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5915 * src/hildon-date-selector.h: clean some comments, now on the .c
5916 * src/hildon-date-selector.c
5917 (hildon_date_selector_select_month): first implementation
5918 (hildon_date_selector_select_day): added documentation, reimplemented
5919 using hildon_date_selector_select_current_date to avoid repeat code
5922 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5924 Reviewed interaction logic based on device experiences, refactored
5927 * src/hildon-pannable-area.c,
5928 (hildon_pannable_area_class_init): Updated default vmax speed.
5929 (hildon_pannable_area_calculate_velocity): Added this function, it
5930 avoids duplicate valocity calculation. Adjusted calculation to
5931 avoid problems with zero dist events.
5933 (hildon_pannable_area_motion_notify_cb): Now we use the
5934 calculate_velocity function.
5936 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5938 * src/hildon-date-selector.c
5939 (hildon_date_selector_select_current_date): fix the day range check
5940 as it failed using the last day of the current month
5943 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5945 * src/hildon-touch-selector.c
5946 (hildon_touch_selector_get_num_columns): added a parameter validation
5949 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5951 * examples/Makefile.am
5952 * examples/hildon-edit-toolbar-example.c: Example of the
5953 HildonEditToolbar widget.
5955 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5957 * configure.ac: postrelease version bump.
5959 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5963 * configure.ac: prerelease version bump.
5964 * debian/changelog: update.
5966 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5968 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5969 renderer to display stock icons in the touch list. Also, set the sizes
5970 to the recommended in the style guide.
5972 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5973 * src/hildon-touch-selector.h
5974 (hildon_touch_selector_set_active_iter): renamed, now is
5975 hildon_touch_selector_select_iter
5976 (hildon_touch_selector_get_active_iter): renamed, now is
5977 hildon_touch_selector_get_selected
5978 (hildon_touch_selector_unselect_iter): added
5979 * src/hildon-touch-selector.c
5980 Update after API modification (methods renamed)
5981 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5982 order to avoid problems selecting multiple elements on the column
5983 (hildon_touch_selector_unselect_iter): added the implementation
5984 * src/hildon-time-selector.c
5985 * src/hildon-date-selector.c
5986 * src/hildon-touch-selector-entry.c
5987 Update methods calls after hildon-touch-selector.h API modification (methods
5990 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5992 * src/hildon-stackable-window.c
5993 (hildon_stackable_window_finalize): Call the parent class's finalize.
5995 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5997 * examples/hildon-touch-selector-example.c: (create_selector): Use
5998 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6001 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6003 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6004 set a cell background color, to respect theming.
6006 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6008 * doc/hildon-docs.sgml
6011 * src/hildon-edit-toolbar.c
6012 * src/hildon-edit-toolbar.h
6013 * src/hildon.h: New HildonEditToolbar widget.
6015 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6017 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6020 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6021 * src/hildon-touch-selector.c
6022 (_create_new_column): use g_object_set instead of two g_object_set_property
6024 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6025 * src/hildon-touch-selector.c
6026 (_create_new_column): use of hildon_gtk_tree_view_new to create
6027 the treeview, instead of use directly g_object_new
6028 (_create_new_column): update the property name "vindicator-mode" for the
6029 new one "vscrollbar-policy"
6030 * examples/hildon-date-button-example.c
6031 * examples/hildon-picker-button-multicolumn-example.c
6032 * examples/hildon-touch-selector-entry-example.c
6033 * examples/hildon-touch-selector-example.c
6034 * examples/hildon-time-button-example.c
6035 * examples/hildon-picker-button-example.c
6036 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6037 to all the treeviews inside a pannable area.
6039 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6041 * src/hildon-button.h
6042 * src/hildon-button.c (hildon_button_init)
6043 (hildon_button_set_arrangement, hildon_button_set_alignment)
6044 (hildon_button_set_title_alignment)
6045 (hildon_button_set_value_alignment)
6046 (hildon_button_set_image_alignment)
6047 (hildon_button_construct_child): New methods to set the alignment
6048 of the individual components of the button (title, value,
6049 image). Also, new method to alter the xscale and yscale properties
6050 of the GtkAlignment inside the button, so more complex layouts can
6053 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6055 * src/hildon-button.c (hildon_button_style_set)
6056 (hildon_button_class_init, hildon_button_set_arrangement)
6057 (hildon_button_construct_child): Apply style properties
6058 correctly. Use the 'image-spacing' style property too.
6060 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6062 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6063 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6066 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6068 * src/hildon-pannable-area.c,
6069 (hildon_pannable_area_size_request): Fixed problem with
6070 pannable-area size_request.
6072 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6074 Added management for the grab-focus to a child widget, like a
6075 range, we need to fade out the scrollbar when releasing.
6077 * src/hildon-pannable-area.c,
6078 (hildon_pannable_area_init): Connected the grab-focus signal to
6080 (hildon_pannable_area_grab_notify): Added this function in order
6081 to manage the situation when the grab-focus ends. We have to
6082 fade-out the scrollbar.
6084 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6086 * src/hildon-app-menu.c: Minor documentation update.
6088 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6090 * src/hildon-app-menu.c
6091 * examples/hildon-app-menu-example.c (create_menu): Update
6092 examples and documentation to explain how to connect callbacks.
6094 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6096 * examples/hildon-button-example.c
6097 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6098 hildon_stackable_window_new instead of gtk_window_new
6100 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6102 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6103 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6104 (hildon_pannable_area_set_property),
6105 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6106 (hildon_pannable_area_unrealize),
6107 (hildon_pannable_area_size_request),
6108 (hildon_pannable_area_size_allocate),
6109 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6110 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6111 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6112 (hildon_pannable_area_initial_effect),
6113 (hildon_pannable_area_redraw),
6114 (hildon_pannable_area_scroll_indicator_fade),
6115 (hildon_pannable_area_expose_event),
6116 (hildon_pannable_area_get_topmost), (synth_crossing),
6117 (hildon_pannable_area_button_press_cb),
6118 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6119 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6120 (hildon_pannable_area_motion_notify_cb),
6121 (hildon_pannable_area_button_release_cb),
6122 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6123 (hildon_pannable_area_remove),
6124 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6125 chage the code layout to a more GtkWidget like. Review the use of
6128 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6130 * examples/hildon-pannable-area-example-4.c,
6131 (main): Modified the name of the hindicator_mode to
6134 * src/hildon-pannable-area.c,
6135 (hildon_pannable_area_class_init),
6136 (hildon_pannable_area_motion_notify_cb),
6137 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6138 we have reduced the amount of signals and managed reviewed its
6139 rationale. Changed the default decelerate value.
6141 (hildon_pannable_area_add),
6142 (hildon_pannable_area_redraw): Refactored functions.
6144 (hildon_pannable_area_init),
6145 (hildon_pannable_area_get_property),
6146 (hildon_pannable_area_set_property):
6147 (hildon_pannable_draw_vscroll),
6148 (hildon_pannable_draw_hscroll),
6149 (hildon_pannable_area_initial_effect),
6150 (hildon_pannable_area_expose_event),
6151 (hildon_pannable_area_scroll),
6152 (hildon_pannable_area_button_press_cb),
6153 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6154 and vindicator_mode with hscrollbar_policy and
6155 vscrollbar_policy. Replaced hscroll and vscroll with
6156 hscroll_visible and vscroll_visible.
6158 (hildon_pannable_area_refresh): Refactor the function, remove
6159 variables and check the calls to this function, added resize
6160 conditions in case the children change their layout.
6162 (hildon_pannable_area_size_request): Added more detailed
6163 size_request calculation.
6166 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6168 * src/hildon-color-chooser.c
6169 (init_borders): use the correct gtk_border_free instead of g_free, to
6170 avoid a crash when this widget is used (ie: the three color selection
6173 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6175 * src/hildon-check-button.c,
6176 (hildon_check_button_set_active): Fixed problem when setting the
6177 active value, the widget was not redrawn.
6179 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6181 * src/hildon-pannable-area.c,
6182 (hildon_pannable_area_refresh),
6183 (hildon_pannable_area_scroll),
6184 (hildon_pannable_area_motion_notify_cb): Small code style change.
6186 (hildon_pannable_area_class_init): Default initial_hint set to
6187 FALSE, it is not in the specs.
6189 (hildon_pannable_area_initial_effect),
6190 (hildon_pannable_area_expose_event),
6191 (hildon_pannable_area_map),
6192 (hildon_pannable_area_init): Moved the launching point of the
6193 initial effect, it was in map but the sizes where not correct in
6194 that method so we do not know if we have the reproduce it. Now it
6195 is placed in the expose_event method and uses a variable to
6196 reproduce it just once.
6198 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6200 * src/hildon-pannable-area.c,
6201 (hildon_pannable_draw_vscroll),
6202 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6203 position allowed for the scrollbars.
6205 (hildon_pannable_area_size_allocate): Small style change.
6207 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6209 * src/hildon-pannable-area.c,
6210 (hildon_pannable_area_scroll_indicator_fade),
6211 (hildon_pannable_area_button_press_cb),
6212 (hildon_pannable_area_button_release_cb),
6213 (hildon_pannable_area_scroll_cb),
6214 (hildon_pannable_area_expose_event),
6215 (hildon_pannable_area_init): Added the define parameter
6216 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6217 and refactor the fade variable.
6219 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6221 * src/hildon-pannable-area.c,
6222 (hildon_pannable_area_redraw),
6223 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6224 lines, we were reimplemeting the redraw code.
6226 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6228 * src/hildon-pannable-area.c,
6229 (hildon_pannable_area_scroll_cb),
6230 (hildon_pannable_area_realize),
6231 (hildon_pannable_area_class_init): Added scroll_event management
6232 for pannable area, now we can scroll the usual desktop method.
6234 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6235 initialization of the parameters should depend on idle_id.
6237 (hildon_pannable_area_init),
6238 (hildon_pannable_area_map): Small code style modifications
6240 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6242 * src/hildon-pannable-area.c
6243 (hildon_pannable_area_button_press_cb),
6244 (hildon_pannable_area_motion_notify_cb),
6245 (hildon_pannable_area_button_release_cb),
6246 (hildon_pannable_area_size_allocate),
6247 (hildon_pannable_area_scroll_to): Improved the timeouts
6248 management, we avoid creating them each time.
6250 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6252 * src/hildon-pannable-area.c:
6253 (hildon_pannable_area_refresh),
6254 (hildon_pannable_area_motion_notify_cb),
6255 (hildon_pannable_area_class_init):
6256 * src/hildon-pannable-area.h:
6257 * src/hildon-touch-selector.c
6258 (_create_new_column):
6259 * examples/hildon-pannable-area-example-4.c:
6260 (horizontal_movement),
6261 (vertical_movement),
6263 Replaced the names of enums in the HildonPannableArea:
6264 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6265 HILDON_MOVEMENT_MODE_*
6266 - HILDON_PANNABLE_AREA_MOV_* ->
6268 - Removed HildonPannableAreaIndicatorMode, now we
6271 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6273 * examples/hildon-pannable-area-touch-grid-example.c
6274 * examples/hildon-pannable-area-touch-list-example.c: Fix
6275 compilation warnings.
6277 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6279 * src/hildon-gtk.c (hildon_gtk_button_new)
6280 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6281 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6282 images overriding the value of the "gtk-button-images" setting.
6284 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6286 * src/hildon-check-button.c (hildon_check_button_new):
6287 Instead of using a custom container, display the label and the
6288 checkbox using the standard GtkButton API.
6290 * examples/hildon-check-button-example.c (main): Don't use
6291 hildon_check_button_set_label() anymore
6293 * src/hildon-check-button.h
6294 * src/hildon-check-button.c
6295 (hildon_check_button_set_label, hildon_check_button_get_label):
6296 Set as deprecated, now we're using gtk_button_{get,set}_label()
6298 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6300 * src/hildon-pannable-area.c,
6301 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6302 GtkTreeview first line we detected it after the inclusion of the
6303 GtkWindowImpl in gtk+. We now check if the window is visible, not
6304 just if the pointer is over the window.
6305 (hildon_pannable_axis_scroll),
6306 (hildon_pannable_area_expose_event): Small style changes.
6308 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6310 * src/hildon-button.c: Update documentation.
6312 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6314 * examples/hildon-button-example.c: Add a switch to show images in
6317 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6319 * doc/hildon-docs.sgml: Some docs reorganization.
6321 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6323 * examples/hildon-pannable-area-touch-list-example.c
6325 * examples/hildon-pannable-area-touch-grid-example.c
6326 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6327 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6328 Fix memory leak when setting the tree model.
6330 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6334 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6336 * doc/hildon.types: Remove duplicated hildon_window_get_type
6337 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6338 documentation comment.
6340 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6342 * doc/Makefile.am: Complete list of private headers.
6344 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6346 * doc/hildon-docs.sgml
6347 * src/hildon-app-menu.c
6348 * src/hildon-bread-crumb.c
6349 * src/hildon-button.c
6351 * src/hildon-program.c
6352 * src/hildon-stackable-window.c
6353 * src/hildon-window.c: Lots of documentation updates.
6355 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6357 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6359 * configure.ac: Require Gtk+ 2.12.9 at least
6361 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6363 * src/hildon-pannable-area.c
6364 (hildon_pannable_area_scroll_indicator_fade),
6365 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6366 to protect the return of this timeout callbacks, avoiding deadlocks.
6368 2008-08-12 Christian Dywan <christian@imendio.com>
6371 * src/hildon-*.h: Ensure a consistent include order,
6372 include <gtk/gtk.h> instead of particular files and
6373 only include the topmost header in the gtk stack. See NB #39857
6375 2008-08-12 Christian Dywan <christian@imendio.com>
6377 * src/hildon-picker-dialog.c
6378 * src/hildon-touch-selector.c: Fix warnings about unused and
6379 uninitialized variables.
6381 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6383 * examples/Makefile.am
6384 * examples/hildon-check-button-example.c: Example of the hildon
6387 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6389 * src/hildon-window.h
6390 * src/hildon-window.c (hildon_window_class_init)
6391 (hildon_window_unset_program): Don't make
6392 hildon_window_unset_program a virtual function anymore.
6394 * src/hildon-stackable-window.c: Update documentation
6396 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6399 * doc/hildon-docs.sgml
6400 * doc/visual_index.xml
6401 * src/hildon-defines.c
6403 * src/hildon-helper.c
6404 * src/hildon-range-editor.c: Lots of documentation fixes.
6406 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6408 * examples/hildon-picker-button-multicolumn-example.c
6409 (create_touch_selector): Fix compilation warning.
6411 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6413 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6414 (hildon_pannable_area_button_release_cb)
6415 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6417 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6419 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6422 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6424 * src/hildon-bread-crumb-trail.h
6425 * src/hildon-date-editor.c
6426 * src/hildon-date-selector.c
6427 * src/hildon-pannable-area.c
6428 * src/hildon-picker-dialog.c
6429 * src/hildon-time-selector.c
6430 * src/hildon-touch-selector-entry.c
6431 * src/hildon-touch-selector.c
6432 * src/hildon-touch-selector.h: Misc documentation fixes
6434 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6436 * examples/hildon-date-editor-example.c (main): Updated date
6439 * examples/hildon-note-example.c (on_confirmation_clicked):
6440 Updated confirmation note example.
6442 * src/hildon-date-editor.c
6443 * src/hildon-note.c: Updated sample programs in documentation.
6446 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6448 * src/hildon-date-button.h:
6449 * src/hildon-picker-button.h:
6450 * src/hildon-time-button.c:
6451 * src/hildon-time-button.h:
6453 Some declarations changes to allow gtk-doc to document the widgets
6456 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6458 * src/hildon-date-button.c: Document the widget.
6459 * src/hildon-time-button.c: Document the widget.
6461 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6463 * src/hildon-picker-button.c: Document the widget.
6464 * src/hildon-touch-selector-entry.c: Document the widget.
6466 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6468 * doc/hildon-docs.sgml
6471 * src/hildon-check-button.h
6472 * src/hildon-check-button.c: New functions to create the Hildon
6476 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6478 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6480 * src/hildon-button.h
6481 * src/hildon-button.c
6482 (hildon_button_add_title_size_group)
6483 (hildon_button_add_value_size_group)
6484 (hildon_button_add_image_size_group)
6485 (hildon_button_add_size_groups): New functions to set size groups
6486 for the button labels and image.
6487 (hildon_button_new_full): Removed
6489 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6491 * src/hildon-time-selector.c
6492 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6493 in order to avoid a crash if gconf is not available
6495 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6497 * src/hildon-button.c (hildon_button_set_arrangement)
6498 (hildon_button_construct_child): Don't construct the button child
6499 before setting the arrangement.
6501 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6503 * src/hildon-program-private.h
6504 * src/hildon-program.c
6505 * src/hildon-program.h
6506 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6507 (hildon_program_peek_window_stack)
6508 (hildon_program_pop_window_stack)
6509 (hildon_program_go_to_root_window): HildonProgram now has a
6510 separate list for stackable windows. Functions are provided to
6511 manage that list with a stack-like API.
6513 * src/hildon-stackable-window.c: Stackable window management is
6514 now much simpler with the new HildonProgram API. Windows no
6515 longer need to be manually added to the program, they're
6516 automatically pushed to the top of the stack when shown.
6518 * examples/hildon-stackable-window-example.c: Updated example to
6519 reflect the API changes.
6521 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6523 * src/hildon-touch-selector.c: Comment out unimplemented
6524 hildon_touch_selector_insert_column() to avoid a compile warning.
6526 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6528 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6529 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6530 (hildon_touch_selector_set_column_selection_mode),
6531 (_hildon_touch_selector_set_model),
6532 (hildon_touch_selector_set_model):
6534 Complete review of HildonTouchSelector documentation.
6536 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6538 * doc/hildon-docs.sgml
6542 * src/hildon-gtk.c: Convenience functions for standard Gtk
6543 widgets, used to easily perform frequent operations.
6545 * src/hildon-button-helpers.h
6546 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6548 * src/hildon-helper.h
6549 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6550 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6552 * src/hildon-button.h
6553 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6555 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6557 * src/hildon-button.c (hildon_button_init)
6558 (hildon_button_set_arrangement, hildon_button_construct_child):
6559 Pack the image and the labels inside the same GtkAlignment so
6560 gtk_button_set_alignment() can be used
6562 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6564 * src/hildon-button.h
6565 * src/hildon-button.c
6566 (hildon_button_init, hildon_button_set_image)
6567 (hildon_button_set_image_position)
6568 (hildon_button_construct_child): New functions to add an image to
6571 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6573 * src/hildon-date-button.c
6574 * src/hildon-picker-button.c
6575 * src/hildon-time-button.c
6576 * src/hildon-button.c:
6577 (hildon_button_class_init): "size-flags" renamed to "size"
6578 (hildon_button_set_title): Hide the title label if set to NULL.
6580 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6582 HildonButtonFlags split into HildonButtonArrangement (to set the
6583 button layout) and HildonSizeType (which can be used for any
6586 * src/hildon-button.h
6587 * src/hildon-button.c
6588 (hildon_button_class_init)
6589 (hildon_button_set_arrangement)
6590 (hildon_button_set_property): New "size-flags"
6591 property. "arrangement-flags" renamed to "arrangement".
6592 (hildon_button_new, hildon_button_new_with_text)
6593 (hildon_button_new_full): Constructors updated to reflect type changes.
6595 * src/hildon-helper.h
6596 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6597 to set the size of a widget.
6601 * src/hildon-button-helpers.c
6602 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6604 * src/hildon-date-button.c
6605 * src/hildon-date-button.h
6606 * src/hildon-picker-button.c
6607 * src/hildon-picker-button.h
6608 * src/hildon-time-button.c
6609 * src/hildon-time-button.h: Updated widgets to reflect
6610 HildonButton API changes.
6612 * examples/hildon-button-example.c
6613 * examples/hildon-date-button-example.c
6614 * examples/hildon-picker-button-example.c
6615 * examples/hildon-picker-button-multicolumn-example.c
6616 * examples/hildon-time-button-example.c
6617 * examples/hildon-touch-selector-entry-example.c
6618 * examples/hildon-touch-selector-example.c: Updated examples to
6619 reflect HildonButton API changes.
6621 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6623 * doc/hildon-docs.sgml:
6625 * examples/Makefile.am:
6626 * examples/hildon-touch-selector-entry-example.c:
6628 * src/hildon-touch-selector-entry.c:
6629 * src/hildon-touch-selector-entry.h:
6632 Moved HildonTouchSelectorEntry from sandbox. Added its
6633 documentation and examples.
6635 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6637 * src/hildon-touch-selector.h:
6638 * examples/hildon-picker-button-multicolumn-example.c:
6639 (hildon_touch_selector_append_text_column): Add a gboolean
6640 parameter to determine if text must be centered in the column.
6642 * src/hildon-date-selector.c: (hildon_date_selector_init):
6643 * src/hildon-time-selector.c: (hildon_time_selector_init):
6644 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6645 (create_touch_selector): Update widgets and example to reflect
6648 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6650 * src/hildon-touch-selector.c:
6651 (hildon_touch_selector_set_active_iter): Set also the cursor in
6654 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6656 * doc/hildon-docs.sgml
6659 * src/hildon-toggle-button.c
6660 * src/hildon-toggle-button.h
6661 * src/hildon.h: Removed HildonToggleButton widget, a derived
6662 class is not necessary for this.
6664 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6666 * src/hildon-pannable-area.c,
6667 (hildon_pannable_area_realize),
6668 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6671 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6673 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6674 "done" button the default widget for the dialog.
6676 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6678 * src/hildon-touch-selector.c:
6679 (hildon_touch_selector_class_init),
6680 (hildon_touch_selector_get_property),
6681 (_hildon_touch_selector_set_model),
6682 (_hildon_touch_selector_has_multiple_selection),
6683 (hildon_touch_selector_has_multiple_selection):
6684 Add a "has-multiple-selection" property with a virtual
6685 has_multiple_selection() method to allow derived classes to
6686 override the default value for it. See the method and property
6687 documentation for details.
6689 * src/hildon-touch-selector.h: Add the new API.
6691 * src/hildon-picker-dialog.c: (requires_done_button): Call
6692 hildon_touch_selector_has_multiple_selection() instead of
6693 determining the need for a button itself.
6695 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6697 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6698 (_hildon_touch_selector_set_model),
6699 (hildon_touch_selector_set_model): Move working code to
6700 _hildon_touch_selector_set_mode(). Call the class method instead.
6702 * src/hildon-touch-selector.h: Add (*set_model) to
6703 HildonTouchSelectorClass.
6705 Make hildon_touch_selector_set_model() a virtual method, so that
6706 derived classes can extend it and do fancy stuff with the model.
6708 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6710 * configure.ac: Set back the tarname in AC_INIT to hildon.
6712 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6716 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6717 instead of libesd (NB#86876). Volume handling is still an open issue.
6719 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6722 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6724 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6725 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6726 derived class to ease placement of an entry widget in
6727 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6728 end, where the selector columns are packed now.
6730 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6732 * src/hildon-picker-button.c: Removed the simple _text() API.
6733 * src/hildon-picker-button.h: Likewise.
6735 * src/hildon-touch-selector.h:
6736 * src/hildon-touch-selector.c:
6737 (hildon_touch_selector_new_text),
6738 (hildon_touch_selector_append_text),
6739 (hildon_touch_selector_prepend_text),
6740 (hildon_touch_selector_insert_text):
6742 Moved the simple _text() API from HildonPickerButton to
6743 HildonTouchPicker, to provide better escalability and not to tie
6744 that API to HildonPickerButton.
6746 * examples/hildon-picker-button-example.c: (main): Example updated.
6748 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6750 * src/hildon-button.c: Updated documentation.
6752 * examples/hildon-button-example.c: Add the posibility to create
6753 the buttons using horizontal layout for title and value.
6755 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6757 * src/hildon-app-menu-private.h
6758 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6759 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6760 GtkSizeGroup for the filters, use the 'homogeneous' property of
6763 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6765 * examples/hildon-button-example.c: Updated example.
6767 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6769 * doc/hildon-docs.sgml:
6772 Update documentation.
6774 * examples/Makefile.am: Update renamed examples.
6776 * examples/hildon-picker-button-multicolumn-example.c:
6777 (create_touch_selector), (main): Update after the rename.
6779 * examples/hildon-touch-picker-example.c: Removed.
6780 * examples/hildon-touch-selector-example.c: (value_changed),
6781 (create_selector), (get_visible_content), (main): Renamed from
6782 hildon-touch-picker-example.c
6784 * src/Makefile.am: Updated renamed files.
6786 * src/hildon-date-button.c: (hildon_date_button_init),
6787 (hildon_date_button_get_date), (hildon_date_button_set_date):
6788 * src/hildon-date-selector.c: (hildon_date_selector_init),
6789 (_custom_print_func), (_update_day_model),
6790 (_manage_selector_change_cb),
6791 (hildon_date_selector_select_current_date),
6792 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6793 * src/hildon-date-selector.h:
6794 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6795 (hildon_picker_button_set_property),
6796 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6797 (hildon_picker_button_init), (hildon_picker_button_new_text),
6798 (hildon_picker_button_append_text),
6799 (hildon_picker_button_prepend_text),
6800 (hildon_picker_button_insert_text),
6801 (hildon_picker_button_set_selector),
6802 (hildon_picker_button_get_selector):
6803 * src/hildon-picker-button.h:
6804 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6805 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6806 (_update_title_on_selector_changed_cb), (requires_done_button),
6807 (_hildon_picker_dialog_set_selector),
6808 (hildon_picker_dialog_set_selector),
6809 (hildon_picker_dialog_get_selector):
6810 * src/hildon-picker-dialog.h:
6811 * src/hildon-time-button.c: (hildon_time_button_init),
6812 (hildon_time_button_get_time), (hildon_time_button_set_time):
6813 * src/hildon-time-selector.c: (hildon_time_selector_init),
6814 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6815 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6816 * src/hildon-time-selector.h:
6819 Massive code updates after the rename.
6821 * src/hildon-touch-picker.c: Removed.
6822 * src/hildon-touch-picker.h: Removed.
6824 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6825 (hildon_touch_selector_init), (hildon_touch_selector_map),
6826 (hildon_touch_selector_remove), (_default_print_func),
6827 (_selection_changed_cb), (_create_new_column),
6828 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6829 (hildon_touch_selector_append_text_column),
6830 (hildon_touch_selector_remove_column),
6831 (hildon_touch_selector_set_column_attributes),
6832 (hildon_touch_selector_insert_column),
6833 (hildon_touch_selector_get_num_columns),
6834 (hildon_touch_selector_get_column_selection_mode),
6835 (hildon_touch_selector_set_column_selection_mode),
6836 (hildon_touch_selector_set_print_func),
6837 (hildon_touch_selector_get_print_func),
6838 (hildon_touch_selector_get_active_iter),
6839 (hildon_touch_selector_set_active_iter),
6840 (hildon_touch_selector_get_selected_rows),
6841 (hildon_touch_selector_get_model),
6842 (hildon_touch_selector_set_model),
6843 (hildon_touch_selector_get_current_text),
6844 (_hildon_touch_selector_center_on_selected_items):
6845 * src/hildon-touch-selector.h: Renamed from
6846 hildon-touch-picker.[ch]
6848 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6849 references, code examples, and related documentation.
6851 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6853 * doc/hildon-docs.sgml
6856 * src/hildon-toggle-button.c
6857 * src/hildon-toggle-button.h
6858 * src/hildon.h: New HildonToggleButton widget.
6860 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6862 * src/hildon-button.c: Add API documentation.
6863 (hildon_button_set_size_groups): Check input parameters
6865 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6867 * src/hildon-pannable-area.c
6868 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6869 effect after reaching the movement thredshold. This way we start
6870 using the distance after passing the thredshold.
6872 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6874 * src/hildon-button.c: (hildon_button_set_property): Use the
6875 appropriate g_value_get_flags() method.
6877 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6879 * doc/hildon-docs.sgml:
6882 Add the touch pickers, picker dialogs, and picker button widgets
6883 to the documentation.
6885 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6887 * src/hildon-button.c: (hildon_button_set_property),
6888 (hildon_button_class_init): Make "arrangement-flags" a proper
6889 G_TYPE_FLAGS derived property.
6891 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6893 * examples/Makefile.am: Add below examples.
6894 * examples/hildon-date-button-example.c:
6895 * examples/hildon-picker-button-example.c:
6896 * examples/hildon-picker-button-multicolumn-example.c:
6897 * examples/hildon-time-button-example.c:
6898 * examples/hildon-touch-picker-example.c:
6900 Add examples for the recently added touch pickers,
6901 picker dialogs, and picker button widgets.
6903 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6905 * src/hildon-button.c: Add some API documentation
6907 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6909 * src/hildon-button.h
6910 * src/hildon-button.c
6912 (hildon_button_new_with_text): New constructor to create a button
6913 with no text at all.
6914 (hildon_button_init, hildon_button_set_arrangement)
6915 (hildon_button_set_title, hildon_button_set_value)
6916 (hildon_button_set_text)
6917 (hildon_button_construct_child): Hide the value when it's not used
6918 so the rest of the text is properly aligned.
6919 Allow creating buttons with arbitrary widgets inside (not just
6920 title/value labels).
6922 * examples/hildon-button-example.c (vertical_buttons_window)
6923 (horizontal_buttons_window): Update example to use new API.
6925 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6927 * src/Makefile.am: Added HildonTimeButton.
6928 * src/hildon-time-button.c: Added missing LGPL header.
6929 * src/hildon-time-button.h: Added missing LGPL header.
6930 * src/hildon.h: Add hildon-time-button.h
6932 Copied HildonTimeButton from sandbox to trunk. Future work on this
6933 widget must take place in trunk.
6935 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6937 * src/Makefile.am: Added HildonDateButton.
6938 * src/hildon-date-button.c: Update includes.
6939 * src/hildon.h: Add hildon-date-button.h
6941 Copied HildonDateButton from sandbox to trunk. Future work on this
6942 widget must take place in trunk.
6944 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6946 * src/Makefile.am: Added HildonPickerButton.
6947 * src/hildon-picker-button.h: Update includes.
6948 * src/hildon.h: Add hildon-picker-button.h
6950 Copied HildonPickerButton from sandbox to trunk. Future work on
6951 this widget must take place in trunk.
6953 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6955 * src/Makefile.am: Added HildonPickerDialog.
6956 * src/hildon-picker-dialog.c: Update includes.
6957 * src/hildon.h: Add hildon-picker-dialog.h
6959 Copied HildonPickerDialog from sandbox to trunk. Future work
6960 on this widget must take place in trunk.
6962 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6964 * src/Makefile.am: Added HildonTimeSelector.
6965 * src/hildon.h: Add hildon-time-selector.h
6967 Copied HildonTimeSelector widget from sandbox to trunk. Future
6968 work on this widget must happen in trunk.
6970 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6972 * src/Makefile.am: Added HildonDateSelector.
6973 * src/hildon.h: Add hildon-date-selector.h
6975 Copied HildonDateSelector widget from sandbox to trunk. Future
6976 work on this widget must happen in trunk.
6978 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6980 * src/Makefile.am: Added HildonTouchPicker.
6981 * src/hildon-touch-picker.c: Update includes.
6982 * src/hildon.h: Add hildon-touch-picker.h
6984 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6985 on this widget must happen in trunk.
6987 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6989 * src/hildon-pannable-area.c:
6990 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6992 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6994 * examples/hildon-app-menu-example.c (main): Let the window
6997 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6999 * src/hildon-pannable-area.c
7000 (hildon_pannable_area_class_init): Set the min value of the
7001 overshoot properties to zero, which points out that not
7002 overshooting allowed.
7004 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7006 Modified the procedure to get the widget at a point inside the
7007 pannable area when using the movement type signals. Now the user
7008 has to call a function to get the child, that way we just
7009 calculate the child in case the user really want to use it and not
7012 * src/hildon-marshalers.list: Modified the marshallers, now we do
7013 not have the widget as a parameter.
7015 * src/hildon-pannable-area.c
7016 (hildon_pannable_area_motion_notify_cb),
7017 (hildon_pannable_area_class_init),
7018 (hildon_pannable_get_child_widget_at): Removed the widget
7019 parameter from the signal callback. We have also refactored the
7020 emission of the signals.
7022 * src/hildon-pannable-area.h: Added a new method to the API to
7023 calculate a widget at a point inside the pannable area,
7024 hildon_pannable_get_child_widget_at.
7026 * examples/hildon-pannable-area-example-4.c
7027 (horizontal_movement): Modified the example to use the new API,
7028 added condition to control which widget is under the event. This
7029 way we can avoid scrolling laterally over other widgets.
7031 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7033 * src/hildon-pannable-area.c
7034 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7035 modes, we stop getting the pointer events due to returning the
7036 callback without properly calling the get pointer again. Fixed
7037 also an error using the hscroll and vscroll.
7039 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7041 * src/hildon-app-menu-private.h
7042 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7043 (hildon_app_menu_button_release, hildon_app_menu_init)
7044 (hildon_app_menu_class_init): Don't hide the menu on button
7045 release if the user didn't press outside first.
7047 * src/hildon-window.h
7048 * src/hildon-window.c (hildon_window_toggle_menu)
7049 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7050 hildon_window_toggle_menu a virtual function for the stackable
7051 window to override it.
7053 * src/hildon-stackable-window.h
7054 * src/hildon-stackable-window-private.h
7055 * src/hildon-stackable-window.c
7056 (hildon_stackable_window_realize)
7057 (hildon_stackable_window_finalize)
7058 (hildon_stackable_window_class_init)
7059 (hildon_stackable_window_init)
7060 (hildon_stackable_window_set_main_menu): New function to set the
7061 app menu of a HildonStackableWindow.
7063 * examples/hildon-app-menu-example.c: Remove the button to show
7064 the app menu, now it'll be shown when clicking on the title bar
7067 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7069 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7070 set the widget name if the arrangement flags do not specify
7073 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7075 * src/hildon-button.c: (hildon_button_set_property),
7076 (hildon_button_class_init), (hildon_button_new_full),
7077 (hildon_button_set_arrangement): Added "arrangement-flags"
7080 Make the HildonButtonFlags a construction-only property, to allow
7081 subclasses to set them properly.
7083 2008-07-21 Tim Janik <timj@imendio.com>
7085 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7086 insertion position after backspace, so additional digits are appended,
7089 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7091 * src/hildon-pannable-area.c,
7092 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7093 TODO list, it was complete and removed the g_debug and g_print
7096 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7098 Added the movement modes to the hildon-pannable-area, with this
7099 modes the developers can control in which directions the widget
7100 can scroll. They can also connect to signals in order to do
7101 something when that happens, allowing applications scroll. There
7102 is an example uploaded showing how to use it.
7104 * examples/Makefile.am:
7105 * examples/hildon-pannable-area-example-4.c: Added this example of
7106 an application using the modes.
7108 * src/hildon-marshalers.list: Added a new marshaller for the new
7111 * src/hildon-pannable-area.h: Added new enumerations and flags in
7112 order to control the movement modes and the new signals to warn
7113 about the movements in the area.
7115 * src/hildon-pannable-area.c:
7116 (hildon_pannable_axis_scroll),
7117 (hildon_pannable_area_scroll),
7118 (hildon_pannable_area_motion_notify_cb),
7119 (hildon_pannable_area_get_property),
7120 (hildon_pannable_area_set_property),
7121 (hildon_pannable_area_map),
7122 (hildon_pannable_area_class_init),
7123 (hildon_pannable_area_init),
7124 (hildon_pannable_area_jump_to): Added the modes to control the
7125 movement in the widget. We have added properties to control it,
7126 signals to warn about the movements and refactored some code.
7128 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7130 Changes required in order to allow vfast_factor set to zero to
7133 * src/hildon-pannable-area.c:
7134 (hildon_pannable_area_button_press_cb): Changed the condition, it
7135 is required for not allowing click when vfast_factor is zero.
7136 (hildon_pannable_area_timeout): Initialized velocity variables
7137 when we stop moving, it was less than 1 but not zero and we need
7138 to check zero in some situations.
7139 (hildon_pannable_area_class_init): Changed the default value of
7140 the speed factor, now the button_press is just sent in case the
7141 speed is 2 per cent of the max speed.
7142 (hildon_pannable_area_init): Initialization with 0.
7144 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7146 * src/hildon-pannable-area.c,
7147 (hildon_pannable_area_get_topmost): replaced
7148 gdk_window_get_children with gdk_window_peek_children, this way we
7149 do not have to free the list because it is not a copy.
7151 (hildon_pannable_axis_scroll),
7152 (hildon_pannable_area_scroll),
7153 (hildon_pannable_area_timeout),
7154 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7155 two parameters that were only used inside the
7156 hildon_pannable_area_scroll function.
7158 * examples/hildon-pannable-area-example.c,
7159 (get_sawtooth_label): Fixed small memory leak.
7161 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7163 More checks for the case where the overshoot is bigger than the
7166 * src/hildon-pannable-area.c:
7167 (hildon_pannable_draw_vscroll),
7168 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7169 to draw the slider of the scrollbar under the other scrollbar.
7170 (hildon_pannable_area_expose_event): added new checks to control
7171 the drawing of the overshooting area rectangle, in case it is too
7172 big for the area of the widget.
7173 (hildon_pannable_area_size_allocate): add more checks to avoid
7174 setting a position to the child widget outside the area.
7176 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7178 * src/hildon-pannable-area.c
7179 (hildon_pannable_area_size_allocate): Added conditions to control
7180 when overshooting is bigger than the allocated space for the
7181 children, this avoids negative allocations.
7183 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7185 * doc/hildon-docs.sgml
7187 * examples/Makefile.am
7188 * examples/hildon-button-example.c
7190 * src/hildon-button.c
7191 * src/hildon-button.h
7192 * src/hildon.h: Initial version of the new HildonButton widget,
7195 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7197 * src/hildon-pannable-area.c:
7198 (hildon_pannable_area_button_press_cb),
7199 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7200 (hildon_pannable_area_motion_notify_cb),
7201 (hildon_pannable_area_button_release_cb),
7202 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7203 (hildon_pannable_area_jump_to_child):
7205 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7207 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7209 * examples/Makefile.am
7210 * examples/hildon-pannable-area-touch-grid-example.c
7211 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7212 the Hildon Touch List and Hildon Touch Grid using the
7213 HildonPannableArea widget.
7215 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7217 * src/hildon-pannable-area.c,
7218 (hildon_pannable_area_button_press_cb),
7219 (hildon_pannable_area_refresh),
7220 (hildon_pannable_area_scroll),
7221 (hildon_pannable_area_motion_notify_cb),
7222 (hildon_pannable_area_button_release_cb),
7223 (hildon_pannable_area_expose_event),
7224 (hildon_pannable_area_add),
7225 (hildon_pannable_area_remove),
7226 (hildon_pannable_area_realize),
7227 (hildon_pannable_area_size_allocate),
7228 (hildon_pannable_area_class_init),
7229 (hildon_pannable_area_init),
7230 (hildon_pannable_area_scroll_to_child),
7231 (hildon_pannable_area_jump_to_child): Fixed the problem of
7232 removing the child from the GtkBin, we have rearranged the widget
7233 hierarchy, now there is no GtkAlignment which was not doing
7234 anything interesting but breaking some of the assumptions of
7235 GtkContainer. Now developers if they want to add a GtkAlignment
7236 they could, but it is not inside the area.
7238 We had to review the whole allocation/expose process, now it is
7239 improved and we save at least three signals which would be saving
7240 some time when rendering the widget. The allocation of the
7241 scrollbars is now made in the allocate method as usual.
7243 We have also added some conditions in order to control when there
7244 is no child of the pannable area. Maybe we will need more work
7247 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7249 * src/hildon-pannable-area.c,
7250 (hildon_pannable_area_dispose): Released the fade-out timeout when
7251 disposing the widget.
7253 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7255 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7256 zero, we are going to use that property in order to deactivate the
7258 (hildon_pannable_axis_scroll),
7259 (hildon_pannable_area_size_allocate): Added conditions to control
7260 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7261 call, now it is called in all situations and we can remove calls
7262 in the allocate method.
7263 (hildon_pannable_area_map): Control the situation when
7264 overshoot_max is zero, we do not need the timeout.
7265 (hildon_pannable_area_class_init): Added documentation in order to
7266 point out that setting zero to overshoot_max means deactivate
7269 NOTE: removed trailing whitespaces from my previous comments of
7272 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7274 * src/hildon-pannable-area.c
7275 (hildon_pannable_area_get_property),
7276 (hildon_pannable_area_set_property),
7277 (hildon_pannable_area_map),
7278 (hildon_pannable_area_class_init),
7279 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7280 to cause the widget give a hint about its panning abilities upon
7283 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7285 * src/hildon-pannable-area.c: Several documentation improvements.
7287 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7289 * src/hildon-program.c
7290 * src/hildon-stackable-window.c: Update documentation.
7292 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7294 * src/hildon-stackable-window.c (get_previous_window_if_last):
7295 Renamed get_last_window()
7296 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7297 (hildon_stackable_window_unset_program):
7299 (get_previous_window_if_last):
7300 Detect if the window hasn't been added to a HildonProgram.
7302 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7304 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7306 * src/hildon-pannable-area.c
7307 (hildon_pannable_area_button_press_cb),
7308 (hildon_pannable_axis_scroll),
7309 (hildon_pannable_area_scroll),
7310 (hildon_pannable_area_timeout),
7311 (hildon_pannable_calculate_vel_factor),
7312 (hildon_pannable_area_get_property),
7313 (hildon_pannable_area_set_property),
7314 (hildon_pannable_area_class_init),
7315 (hildon_pannable_area_init),
7316 (hildon_pannable_area_scroll_to),
7317 (hildon_pannable_area_jump_to),
7318 (hildon_pannable_area_scroll_to_child),
7319 (hildon_pannable_area_jump_to_child):
7320 * src/hildon-pannable-area.h: Added the new API functions:
7321 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7322 hildon_pannable_area_scroll_to_child,
7323 hildon_pannable_area_jump_to_child
7326 * examples/Makefile.am
7327 * examples/hildon-pannable-area-example-2.c
7328 * examples/hildon-pannable-area-example-3.c: Added these two new
7329 examples in order to test and show how the new APIs work.
7331 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7333 * examples/hildon-stackable-window-example.c (new_window):
7334 * src/Makefile.am (noinst_HEADERS):
7335 * src/hildon-program.c (hildon_program_go_to_root_window):
7336 * src/hildon-program.h:
7337 * src/hildon-stackable-window-private.h:
7338 * src/hildon-stackable-window.c:
7339 * src/hildon-stackable-window.h:
7340 Create hildon-stackable-window-private.h
7341 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7343 * examples/hildon-app-menu-example.c (create_menu):
7344 * examples/hildon-hvolumebar-insensitive-example.c (main):
7345 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7346 * examples/hildon-toolbar-seekbar-example.c (main):
7347 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7348 * src/hildon-banner.c (hildon_banner_set_property):
7349 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7350 Fix compilation warnings
7352 * src/hildon-window.c:
7355 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7357 * src/hildon-stackable-window.c
7358 (hildon_stackable_window_unset_program):
7359 Calculate correctly whether to show the previous window if the
7360 last one is removed from the stack.
7361 (hildon_stackable_window_go_to_root_window):
7362 Send delete events starting from the topmost window.
7363 Stop if one of the windows is not destroyed.
7365 (hildon_stackable_window_delete_event)
7366 (hildon_stackable_window_class_init):
7367 Ignore the delete event if the window is not the topmost one.
7369 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7371 * src/hildon-pannable-area.c
7372 (hildon_pannable_area_expose_event): Fixed a problem when
7373 selecting the background color of the scrollbars.
7375 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7377 * examples/hildon-stackable-window-example.c
7378 * src/hildon-stackable-window.c
7379 * src/hildon-stackable-window.h
7380 hildon_stackable_window_go_home() renamed to
7381 hildon_stackable_window_go_to_root_window()
7382 Send delete events to windows rather than closing them with
7383 gtk_widget_destroy()
7385 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7387 * src/hildon-pannable-area.c
7388 (hildon_pannable_area_button_release_cb): Fix overshooting in
7391 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7393 * src/hildon-pannable-area.c
7394 (hildon_pannable_area_init): Initially show the scroll indicators.
7395 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7397 Add initial effect showing the widget is pannable.
7399 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7401 * src/hildon-pannable-area.c
7402 (hildon_pannable_area_class_init)
7403 (hildon_pannable_area_set_property)
7404 (hildon_pannable_area_get_property)
7405 (hildon_pannable_area_button_press_cb):
7406 New 'velocity_fast_factor' property to decide which velocity is
7409 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7411 * src/hildon-pannable-area.c
7412 (hildon_pannable_draw_hscroll)
7413 (hildon_pannable_draw_vscroll):
7414 Use float variables to calculate the size of the scrollbars to
7415 avoid error propagation and resizing during scrolling.
7417 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7419 * src/hildon-pannable-area.c
7420 (hildon_pannable_draw_vscroll)
7421 (hildon_pannable_draw_hscroll):
7422 Define a minimum size for the scroll bars
7424 * src/hildon-stackable-window.c
7425 (hildon_stackable_window_go_home): Fix compilation warning
7426 (get_last_window): Minor optimizations
7427 (hildon_stackable_window_class_init): Fix initialization of
7430 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7432 * src/hildon-stackable-window.c: Fixed typos in doc
7434 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7436 * src/hildon-pannable-area.c
7437 (hildon_pannable_area_scroll):
7438 Calculate here whether we need to scroll instead of using the booleans
7439 that tell us whether to /draw/ the scrolling bars.
7441 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7443 * src/hildon-app-menu.h
7445 * src/hildon-app-menu.c
7446 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7447 multiple filter groups related code and API. Now we support only
7449 * examples/hildon-app-menu-example.c:
7451 Update to reflect API changes.
7453 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7455 * src/hildon-stackable-window.c
7456 (hildon_stackable_window_class_init):
7457 Add hildon_stackable_window_realize.
7458 (hildon_stackable_window_realize):
7459 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7460 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7461 to apply theming and behavior specific to HildonStackableWindow
7464 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7466 * src/hildon-note.c (hildon_note_button_release):
7467 Close information notes also when tapping on them
7469 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7471 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7472 ELASTICITY, refactor and review, fix some issues with drawing
7475 * src/hildon-pannable-area.c:
7476 (hildon_pannable_area_button_press_cb): removed the conditions to
7477 avoid clicks when overshooting. It is not required
7479 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7480 define. Refatored and reviewed the code, now we do not need to
7481 manage velocity in motion_notify.
7483 (hildon_pannable_area_motion_notify_cb): We have moved the code
7484 that controls the area_scroll to the axis_scroll function and get
7485 rid of duplicated code.
7487 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7489 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7491 (hildon_pannable_draw_vscroll),
7492 (hildon_pannable_draw_hscroll): Fixed the problems with the
7493 scrollbar drawing, now we do not use two surfaces, it is easier
7494 and saves resources.
7496 (hildon_pannable_area_get_property): Style modification.
7498 (hildon_pannable_area_class_init): Changed some default values.
7500 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7502 * src/hildon-stackable-window.c: Fix some typos in the
7505 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7507 * src/hildon-dialog.c:
7508 Change indentation style
7511 (hildon_note_button_release):
7512 Use root coordinates to check if the release event happened
7515 * src/hildon-app-menu.c
7516 (hildon_app_menu_button_release):
7517 Remove unnecessary check
7519 * examples/hildon-app-menu-example.c
7521 Add cast to fix warning
7523 * src/hildon-app-menu.c
7524 (hildon_app_menu_class_init):
7525 New inner-border style property.
7526 Set all default spacings to 16
7527 (hildon_app_menu_init):
7528 Use vertical-spacing to set the space between filter buttons and
7529 regular menu buttons.
7530 Set the default container border using the inner-border value.
7532 * examples/hildon-app-menu-example.c
7534 Don't set the menu border explicitly, now we have the inner-border
7535 style property for that.
7537 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7539 * src/hildon-app-menu.c (hildon_app_menu_init):
7540 Make the window modal
7542 * src/hildon-note.c (hildon_note_map)
7543 * src/hildon-app-menu.c (hildon_app_menu_map):
7544 Destroy the grab window if we're unable to grab the pointer
7546 * src/hildon-app-menu-private.h
7547 * src/hildon-app-menu.c
7548 (hildon_app_menu_init, hildon_app_menu_finalize)
7549 (hildon_app_menu_map, hildon_app_menu_unmap)
7550 (hildon_app_menu_button_release)
7551 (grab_transfer_window_get):
7552 Bring back the grab window
7553 (hildon_app_menu_realize):
7554 Decorate the window, set WM hint for Matchbox
7556 * src/hildon-note.c (hildon_note_realize):
7557 * src/hildon-banner.c (hildon_banner_realize):
7558 Add WM hints for Matchbox
7560 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7562 * src/hildon-app-menu-private.h
7563 * src/hildon-app-menu.c
7564 (hildon_app_menu_init, hildon_app_menu_finalize)
7565 (hildon_app_menu_map, hildon_app_menu_unmap)
7566 (hildon_app_menu_button_release):
7567 Remove the grab window, it's not needed anymore
7569 * src/hildon-program.c
7570 Fixed typo in documentation
7572 * src/hildon-app-menu.h
7573 * src/hildon-app-menu.c
7574 * examples/hildon-app-menu-example.c
7575 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7577 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7580 Added new transfer_window and close_if_pressed_outside private
7582 (hildon_note_rebuild):
7583 Don't add a cancel button to the information note. It will be
7584 closed when tapping outside
7585 Remove the comment about the OK button in the documentation
7586 (hildon_note_realize):
7587 Set the notification type hint
7588 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7589 Grab/ungrab pointer and keyboard if the note has to be closed when
7591 (hildon_note_button_release):
7592 Close the note when tapping outside (if applicable)
7594 * src/hildon-app-menu.c
7595 Grab/ungrab pointer and keyboard on map/unmap
7596 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7597 Close the menu on button release, not button press
7599 * src/hildon-banner.c
7600 (hildon_banner_set_property)
7601 (hildon_banner_check_position):
7602 Make the banner use the full width of the screen
7603 (hildon_banner_show_information)
7604 (hildon_banner_show_information_with_markup):
7605 Don't display an icon by default
7607 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7609 Added fading scrollbars and adapted all the overshooting code to
7610 horizontal scrolling. We have also fixed bugs with overshooting
7611 and current fading implementation.
7613 * src/hildon-pannable-area.c
7614 (hildon_pannable_area_scroll_indicator_fade): Time out function
7615 used to change the transparency of the scrollbars.
7617 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7618 control and fixed a problem with fading, we now remove the fade
7619 timeout before adding a new one.
7621 (hildon_pannable_axis_scroll):
7622 (hildon_pannable_area_scroll):
7623 (hildon_pannable_area_timeout): Added this functions so we can use
7624 the scroll code both for vertical and horizontal.
7626 (hildon_pannable_area_motion_notify_cb):
7627 (hildon_pannable_area_button_release_cb): Added the horizontal
7628 scrolling control, fixed a problem with the overshooting timeout.
7630 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7631 painting of the scrolls.
7633 (hildon_pannable_draw_vscroll):
7634 (hildon_pannable_draw_hscroll):
7635 (hildon_pannable_area_expose_event):
7636 Draw both scrollbars and rectangles in the overshooting area.
7638 (hildon_pannable_area_get_property):
7639 (hildon_pannable_area_set_property):
7640 Modified the overshoot property to overshoot_max
7642 (hildon_pannable_area_map):
7643 Replaced the comments symbols.
7645 (hildon_pannable_area_size_allocate):
7646 (hildon_pannable_area_class_init):
7647 (hildon_pannable_area_init): Added horizontal scroll, fading
7648 effect properties, fixed a problem when overshooting in the bottom
7651 * examples/hildon-pannable-area-example.c:
7652 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7653 looks better in the example.
7655 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7657 * src/hildon-window.c
7658 * src/hildon-window.h
7659 (hildon_window_class_init)
7660 (hildon_window_unset_program)
7661 (hildon_window_unset_program_real):
7662 Make unset_program a virtual function
7664 * src/hildon-stackable-window.c
7665 * src/hildon-stackable-window.h
7666 Added hildon_stackable_window_go_home()
7668 * examples/Makefile.am
7669 * examples/hildon-stackable-window-example.c
7670 HildonStackableWindow example
7672 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7674 * hildon-pannable-area.c: Added the overshoot property and removed
7675 the OVERSHOOT define. Fixed an indent style error.
7676 (hildon_pannable_area_motion_notify_cb):
7677 (hildon_pannable_area_get_property):
7678 (hildon_pannable_area_set_property): Add overshoot property.
7680 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7683 (hildon_pannable_area_class_init): Installed the new property.
7685 * hildon-pannable-area-example.c: Added a sawtooth function, this
7686 way it is easier to check the movement in the pannable.
7687 (get_sawtooth_label): Added this function.
7688 (main): Now we get the labels from the new get_sawtooth_label
7691 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7693 * src/hildon-app-menu.h
7694 * src/hildon-app-menu.c
7695 Renamed API variables for consistency
7697 (hildon_app_menu_popup): Use also the default window size to
7698 decide where to place the menu
7700 (hildon_app_menu_init, hildon_app_menu_class_init): New
7701 external-border style property
7703 2008-05-26 Michael Natterer <mitch@imendio.com>
7705 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7706 widget_class->tap_and_hold_setup signal slot doesn't exist any
7707 longer, stop overriding it.
7709 (hildon_time_editor_init): g_signal_connect() to the
7710 tap-and-hold-setup signal instead.
7712 (hildon_time_editor_entry_keypress): add cast to fix warning.
7714 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7716 * doc/hildon-docs.sgml
7718 * examples/Makefile.am
7719 * examples/hildon-app-menu-example.c
7721 * src/hildon-app-menu-private.h
7722 * src/hildon-app-menu.c
7723 * src/hildon-app-menu.h
7725 New HildonAppMenu widget
7727 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7729 Rearranged the inheritance of the pannable area, now it inherits
7730 from GtkBin. This will allow us to control the event_window and
7731 the allocation process of the widget, required for some effects.
7733 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7734 GtkBin structures. * src/hildon-pannable-area.c: Added the
7735 event_window variable.
7736 (hildon_pannable_area_button_press_cb):
7737 (hildon_pannable_area_button_release_cb):
7738 (hildon_pannable_area_motion_notify_cb):
7739 Changed the signature of the method, now we override the event
7740 callback instead of connecting to the signal.
7742 (hildon_pannable_area_realize):
7743 (hildon_pannable_area_unrealize):
7744 (hildon_pannable_area_map):
7745 (hildon_pannable_area_unmap):
7746 (hildon_pannable_area_size_allocate):
7747 Added functions to control the widget construction. We add a
7748 INPUT_ONLY window and we put it over the widgets inside the
7749 container, this event_window handles the events.
7751 (hildon_pannable_area_class_init):
7752 Replaced the signal connections with overrides of the event
7755 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7757 Bouncing effect added when touching the borders, you can change
7758 the elasticity of the border changing the ELASTICITY define.
7760 * src/hildon-pannable-area.c: Added ELASTICITY define.
7761 (hildon_pannable_area_timeout): Added inverse velocity when
7762 touching the border of the child widget, that causes a bounce.
7764 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7766 Improved performance, we now do not go to the X server in order to
7767 get the list of window children. Apparently the effect is the
7768 same, we have to be careful and check if this breaks something in
7771 * src/hildon-pannable-area.c:
7772 (get_ordered_children): Removed this function.
7773 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7774 the children windows function with gdk_window_get_children.
7776 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7778 * src/hildon-pannable-area.c:
7779 (hildon_pannable_area_dispose): Fixed a crash when closing the
7780 window and kinetics is activated.
7782 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7784 * src/hildon-pannable-area.h
7785 * src/hildon-pannable-area.c
7786 Changed indentation style to meet the one used in Hildon
7788 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7790 Reviewed the interaction of the AUTO mode, now we use the time
7791 attribute of the events and calculate the velocity in the motion,
7792 doing a gimp like calculation. The velocity is calculated in each
7793 motion event using the last velocity and the current one, the
7794 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7796 * src/hildon-pannable-area.c: Replaced the time based algorithm
7798 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7799 timeout for the AUTO mode when we are still moving the cursor. We
7800 added also the velocity calculation in this function.
7801 (hildon_pannable_area_button_release_cb): launch the timeout in
7802 case we are in AUTO mode. There are still some constants here that
7803 come from the old implementation that should be reviewed and
7806 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7808 * doc/hildon-docs.sgml
7811 * src/hildon-stackable-window.c
7812 * src/hildon-stackable-window.h
7814 New HildonStackableWindow widget
7816 * examples/hildon-dialog-example.c
7817 * examples/hildon-pannable-area-example.c
7820 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7822 * src/hildon-dialog.c
7823 (hildon_dialog_new_with_buttons): New constructor.
7825 * examples/hildon-dialog-example.c
7826 (main): Update the example to use the new
7827 hildon_dialog_new_with_buttons().
7829 * examples/hildon-pannable-area-example.c
7830 (main): Update example.
7832 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7834 * doc/hildon-docs.sgml
7836 Added HildonPannableArea to the documentation.
7838 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7840 * doc/visual_index.xml
7841 Fix reference to HildonLoginDialog in documentation
7843 * doc/hildon-docs.sgml
7845 * examples/Makefile.am
7846 * examples/hildon-dialog-example.c
7848 * src/hildon-dialog.c
7849 * src/hildon-dialog.h
7851 New HildonDialog widget.
7853 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7855 * src/hildon-pannable-area.c
7856 Merge latest changes (r4318, r4342) from libmokoui trunk
7858 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7860 * examples/Makefile.am
7861 * examples/hildon-pannable-area-example.c
7863 * src/hildon-pannable-area.c
7864 * src/hildon-pannable-area.h
7866 New HildonPannableArea widget.
7868 2008-04-15 18:05:19 <timj@imendio.com>
7870 * src/hildon-banner.c: revert the recent change, that introduced
7871 gtk_window_present() calls. this reopens:
7872 Bug 78481 - [freetest] information banners are hidden under browser menu
7873 But resolves another variant of:
7874 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7876 2008-04-15 13:21:13 <timj@imendio.com>
7878 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7879 recreated its layout, spotted by Kris. this fixes all remaining
7880 artefacts and stability issues with the banner code. in particular:
7881 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7883 2008-04-14 16:52:59 <timj@imendio.com>
7885 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7886 operating on unrealized widgets, fixes:
7887 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7889 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7891 2008-04-09 Kristian Rietveld <kris@imendio.com>
7893 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7894 makes banner disappear.
7895 Fixes: NB#79182: info banner flickering with certain message lengts.
7897 * src/hildon-banner.c (hildon_banner_constructor),
7898 (hildon_banner_init), (hildon_banner_set_text),
7899 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7900 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7901 FALSE, reset size requests of label and banner,
7902 (force_to_wrap_truncated): when the text is too wide, always enforce
7903 the maximum possible width instead of recalculating it from the
7904 layout; enforce the maximum banner height of 3 lines,
7905 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7906 nicer wrapping and no truncated chars if space gets tight.
7908 * src/hildon-banner-private.h: add has_been_wrapped and
7909 has_been_truncated fields.
7911 2008-04-07 Sven Herzberg <sven@imendio.com>
7913 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7914 local values in hildon_date_editor_size_allocate
7916 * src/hildon-date-editor.c: moved the real allocation code into the
7919 2008-04-07 Sven Herzberg <sven@imendio.com>
7921 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7922 local values in hildon_date_editor_size_allocate
7924 * src/hildon-date-editor.c: merged the two if() branches together
7926 2008-04-07 Sven Herzberg <sven@imendio.com>
7928 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7929 local values in hildon_date_editor_size_allocate
7931 * src/hildon-date-editor.c: changed the arguments of the if()
7934 2008-04-07 Sven Herzberg <sven@imendio.com>
7936 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7937 local values in hildon_date_editor_size_allocate
7939 * src/hildon-date-editor.c: split the calculation of the allocation
7940 from the real allocation
7942 2008-03-27 Michael Natterer <mitch@imendio.com>
7944 Fixes: NB#81696: The passcode is not overwritten even after
7947 * src/hildon-code-dialog.c
7948 (hildon_code_dialog_button_clicked)
7949 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7950 because that doesn't overwrite selected text. Instead, emit the
7951 "commit" signal on the entry's im_context so the entry's normal
7952 insert logic is triggered. Set the cursor to the end of the entry
7953 after each insert operation so that we *only* insert in the middle
7954 of the text if something was selected.
7956 2008-03-27 Michael Natterer <mitch@imendio.com>
7958 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7959 selector cannot be opened
7961 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7962 when the popup color selector is created. Please connect to this
7963 signal in order to set the dialog's help ID.
7965 2008-03-25 Sven Herzberg <sven@imendio.com>
7967 Fixes: MB#1212: Hide info banners (infoprints) on click
7969 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7970 extracted the close event simulation into an extra function
7971 (hildon_banner_button_press_event): simulate a close event and destroy
7972 the widget if the event wasn't handled
7973 (hildon_banner_class_init): added the button_press_event handler
7974 (hildon_banner_init): added button-press events to the widget
7976 2008-03-25 Sven Herzberg <sven@imendio.com>
7978 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7979 Patch from: Mohammad Anwari <mdamt@maemo.org>
7981 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7982 instead of the right in RTL mode
7983 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7984 breadcrumb button list in RTL mode
7985 * src/hildon-caption.c: mirror the appearance of the caption widget in
7987 * src/hildon-date-editor.c: mirror appearance of the date editor in
7989 * src/hildon-time-editor.c: mirror appearance of the time editor in
7991 * src/hildon-window.c: fix the position of the popup in RTL mode
7993 2008-03-25 Sven Herzberg <sven@imendio.com>
7995 Amendment to the fix of NB#22072. Fix compilation.
7997 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7999 2008-03-19 Sven Herzberg <sven@imendio.com>
8001 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8004 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8005 timeout id properly when the timeout will disappear this leaves no
8006 artifacts around in the destroy(); there will only be the timeout
8007 created by hildon_banner_ensure_timeout() and adding a new timeout
8008 will also work if the timeout gets removed because the timeout_handler
8011 2008-03-19 Michael Natterer <mitch@imendio.com>
8013 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8015 * src/hildon-volumebar.c
8016 * src/hildon-vvolumebar.c
8017 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8018 the widget becomes focussable at all.
8020 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8021 set the focus to wither the mute button or the volumebar.
8023 Remove own "can-focus" property and instead listen to
8024 notify::can-focus in order to update the widget's state.
8026 Implement GtkWidget::focus() and make sure we can also *leave* the
8027 widget, not only enter it, depending on volumebar orientation and
8028 requested focus direction.
8030 Clean up set_mute() to cooperate nicely with all the above.
8032 2008-03-04 Michael Natterer <mitch@imendio.com>
8034 Fixes: NB#78481: information banners are hidden under browser menu
8036 * src/hildon-banner.c: call gtk_window_present() on the banners so
8037 they are risen if they are already visible.
8039 2008-03-03 Sven Herzberg <sven@imendio.com>
8041 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8043 * examples/hildon-window-menu-example.c: (main): extended the window
8044 menu example to serve as a testcase for automatically added
8045 accelerator groups, too
8046 * src/hildon-window.c: (hildon_window_add_accel_group),
8047 (hildon_window_set_menu): added patch by Tommi Komulainen
8049 2008-03-03 Sven Herzberg <sven@imendio.com>
8051 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8053 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8054 knowledge about the border allocators used within GTK+
8056 2008-02-26 Sven Herzberg <sven@imendio.com>
8058 Fixes: MB#2981: Build with asserts broken
8060 * src/hildon-date-editor.c,
8061 * src/hildon-number-editor.c,
8062 * src/hildon-time-editor.c,
8063 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8064 the proper GType instance check
8066 2008-02-25 Sven Herzberg <sven@imendio.com>
8068 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8070 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8071 * examples/hildon-window-menu-example.c: (main): explicitly show
8073 * src/hildon-window.c:
8074 (hildon_window_set_main_menu): moved most of the code from set_menu()
8075 to this place; skipped the call to gtk_widget_show_all(); also didn't
8076 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8077 (hildon_window_set_menu): removed most of the code, just keep the
8078 questionable gtk_widget_show_all()
8079 * src/hildon-window.h: added the new function and deprecate the old
8082 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8088 * debian/changelog: Updating.
8090 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8093 * pkgconfig/Makefile.am:
8094 * pkgconfig/hildon.pc.in:
8097 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8098 use newly created API_MAJOR_VERSION.
8100 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8106 * debian/changelog: Updating.
8108 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8110 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8112 Add outer_border style property, we use it but don't define it (!).
8116 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8118 * examples/hildon-bread-crumb-trail-example.c (main):
8122 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8124 Fix logic for the bread crumb trail node removal.
8128 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8134 * debian/changelog: Updating.
8136 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8138 Patch by Alejandro to get/set passwords dialogs accesibility.
8140 * hildon-1/src/hildon-get-password-dialog.c:
8141 * hildon-1/src/hildon-set-password-dialog.c:
8142 Set atk_set_name to the passwd entries in order to allow
8143 accessibility by name on this entries.
8145 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8150 * debian/control: Updating gtk dep.
8152 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8154 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8155 USE_MAEMO_GTK is enabled.
8157 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8159 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8160 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8162 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8168 * debian/changelog: Updating.
8170 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8172 * examples/Makefile.am:
8173 * examples/hildon-logical-color-example.c:
8174 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8175 applied + adding a test case. Fixes: NB#71660.
8177 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8179 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8180 to be visible, fixes warning on map for windows without toolbars.
8182 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8184 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8185 2.11.0, add a check for that besides the MAEMO_GTK check.
8187 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8193 * debian/changelog: Updating.
8195 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8197 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8198 visibility. Fixes: NB#70842 and MB#615.
8200 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8202 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8203 set the separator as no-show-all so it doesn't unintentionally appear when
8204 someone does a show_all.
8206 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8208 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8209 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8210 toplevel item. Fixes: NB#62031
8212 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8214 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8215 fix the name of the function in the docs.
8217 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8223 * debian/changelog: Updating.
8225 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8227 * examples/hildon-banner-long-example.c: Adding a test-case for long
8230 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8232 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8234 * src/hildon-color-chooser-dialog.c:
8235 * src/hildon-color-chooser.c:
8236 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8237 memory leaks in font selector and color selector. Fixes: NB#70499 and
8240 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8242 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8244 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8246 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8247 little bit bigger. Fixes: #NB63694.
8249 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8255 * debian/changelog: Updating.
8257 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8260 * doc/hildon-docs.sgml:
8261 * doc/images/bread-crumb-trail.png:
8262 * doc/images/calendar-popup.png:
8263 * doc/images/caption.png:
8264 * doc/images/code-dialog.png:
8265 * doc/images/color-button.png:
8266 * doc/images/color-chooser-dialog.png:
8267 * doc/images/color-chooser.png:
8268 * doc/images/controlbar.png:
8269 * doc/images/date-editor.png:
8270 * doc/images/font-selection-dialog.png:
8271 * doc/images/get-password-dialog.png:
8272 * doc/images/hvolumebar.png:
8273 * doc/images/login-dialog.png:
8274 * doc/images/note.png:
8275 * doc/images/number-editor.png:
8276 * doc/images/range-editor.png:
8277 * doc/images/seekbar.png:
8278 * doc/images/set-password-dialog.png:
8279 * doc/images/sort-dialog.png:
8280 * doc/images/time-editor.png:
8281 * doc/images/time-picker.png:
8282 * doc/images/vvolumebar.png:
8283 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8284 Adding the bread-crumb-trial and helpers to the documentation.
8286 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8288 * examples/hildon-find-toolbar-example.c:
8289 * src/hildon-find-toolbar.c:
8290 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8291 actually continue firing the other handlers if connected. Adding a new
8293 hildon_find_toolbar_get_last_index that gets the index of the most
8294 recently added (last) item. Fixes: NB#52301.
8296 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8298 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8299 behaviour. Fixes: NB#68610.
8301 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8303 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8306 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8308 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8309 when realizing the banner. Should make the infonbanner effect a bit more
8312 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8314 * src/hildon-volumebar.c:
8315 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8316 hildon_volumebar_set_range_insensitive_message and
8317 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8319 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8321 * src/hildon-window.c: Fixing the border freeing on destroy.
8323 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8325 * src/hildon-code-dialog-private.h:
8326 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8327 kw keyboard support in HildonCodeDialog.
8329 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8335 * debian/changelog: Updating.
8337 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * src/hildon-date-editor.c:
8340 * src/hildon-number-editor.c:
8341 * src/hildon-private.c:
8342 * src/hildon-private.h:
8343 * src/hildon-time-editor.c:
8344 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8345 handling in subclassed composite widgets. Fixes: NB#66628.
8347 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8349 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8350 from destroy_ callback as it introduces problems in async dbus signal
8351 handlers. Fixes NB#66673.
8353 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8355 * examples/hildon-hvolumebar-example.c:
8356 * src/hildon-volumebar.c: Improving the focus handling in the
8357 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8358 set_property accessor so that "mute" property can be actually set. I'm
8359 scared that nobody noticed it's totally broken.
8361 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8363 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8366 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8368 * src/hildon-calendar.c:
8369 * src/hildon-number-editor.c:
8370 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8371 matches the spec of 6 chars per second. Fixes: NB#60489.
8373 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8375 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8376 gtk_style_lookup_color sometime returns FALSE even though color was
8377 found and values were filled properly. Weird. Removing the warning for the
8380 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8382 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8383 expand vertically. Adding some extra space to the find toolbar buttons to
8384 make them thumbable. Fixes NB#66060.
8386 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8388 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8389 popup with "Ok" and "Cancel". Fixes NB#59299.
8391 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8393 * src/hildon-calendar.c: Process all window updates before executing next
8394 timeout. Fixes: NB#54146.
8396 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8402 * debian/changelog: Updating.
8404 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8406 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8407 the client event and ignore it, since we use the delete event to close
8410 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8412 * src/hildon-helper.c: Remove the bogus warning about color not being
8413 found. Fixes NB#58352.
8415 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8417 * examples/Makefile.am:
8418 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8419 HildonSeekbar widget inside a toolbar.
8421 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8423 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8424 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8425 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8426 don't want to be closed by non-temporary windows on map.
8428 Also use G_DEFINE_TYPE instead of manually typed code.
8430 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8437 * debian/rules: Updating.
8439 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8441 * examples/Makefile.am:
8442 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8443 bug NB#61128. Strangely it works.
8445 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8447 * src/hildon-date-editor.c: When the date editor entry has been changed
8448 but the numbers of characters < max, turn off the skip validation flag.
8449 Prevents a situation when we enter first a valid year and later re-write
8450 it with an invalid one. Fixes NB#60154.
8452 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8454 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8455 code dialog. Fixes NB#64355.
8457 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8459 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8460 switching the page. Fixes NB#49374.
8462 * examples/Makefile.am:
8463 * examples/hildon-wizard-dialog-example.c: Adding an example for
8464 HildonWizardDialog that shows how to handle manual sensitivity setting on
8467 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8471 * src/hildon-version.h.in:
8472 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8474 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8476 * src/hildon-volumebar.c: Updating the docs.
8478 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * debian/changelog: Updating.
8486 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8488 * src/hildon-find-toolbar.c:
8489 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8490 selected item: hildon_find_toolbar_set_active,
8491 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8492 hildon_find_toolbar_get_active_iter . They correspond to respective
8493 GtkComboBox functions.
8495 * examples/Makefile.am:
8496 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8499 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8501 * examples/Makefile.am:
8502 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8505 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8506 when font size > 32 and we pack a focusable widget inside. Actually using
8507 the default response would work too, but since we don't show default
8508 response state in any way (no theming) it would not be visible to the
8509 user. Fixes NB#63430.
8511 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * src/hildon-date-editor.c: Adding the missing variable setter in the
8514 set_property handler. Fixes NB#54182.
8516 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8518 * src/hildon-window.h: Changing the long key press time from 1500ms to
8519 800ms as requested in NB#63700. I have a bad feeling about this, let's
8520 see... Fixes NB#63700.
8522 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8524 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8525 hildon_time_picker_map, hildon_time_picker_realize,
8526 hildon_time_picker_style_set): Split the contents of map to more
8527 appropriate functions; set window decorations on realize and update
8528 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8530 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8535 * debian/changelog: Updating.
8537 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8539 * src/Makefile.am: fixed installation of the header files
8541 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8547 * debian/changelog: Updating.
8549 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * configure.ac: Removing some remaining of --enable-xan.
8553 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8555 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8556 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8558 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8559 2.10.12-osso6 because the move-focus signal needs to be available in
8562 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8564 * examples/Makefile.am:
8565 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8566 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8567 fine. Prolly NB#61128 is fixed now.
8569 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8571 * src/hildon-volumebar.c:
8572 * src/hildon-volumebar.h: Adding the
8573 hildon_volumebar_set_range_insensitive_message and
8574 hildon_volumebar_set_range_insensitive_messagef functions to set
8575 insensitive message on the slider of the volumebar. Fixes NB#61129.
8577 * examples/Makefile.am:
8578 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8579 test the new insensitive messsage functionality on HildonVolumebar.
8581 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8583 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8586 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8588 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8589 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8590 button on after clearing the trail.
8592 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8594 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8596 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8598 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8599 by splitting the installed headers in generated and non-generated groups. Use
8600 only the non-generated headers to create the hildon-enum-types.h file.
8602 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8604 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8606 * src/hildon-window.c: Hide the window before performing the destroy.
8607 Should make the app closing a little tiny bit more snappy.
8609 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8611 * src/hildon-seekbar.c: add gtkrange.h header
8612 * src/hildon-caption.c: remove unused variable
8614 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8616 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8619 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * debian/changelog: Updating.
8627 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8629 * src/hildon-window.c (hildon_window_window_state_event,
8630 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8631 escape timeout on focus-out-event rather than notify::is-topmost; the
8632 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8634 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8637 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8639 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8641 * src/hildon-window: actually, you need to use the macro always, there's
8642 no private pointer in the instance structure. We should have cleaned this up
8643 when we had the chance...
8645 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8647 * src/hildon-window.c: do not get the private date from HildonWindow before
8648 it passes the g_return_if_fail check. Once it's passed the test, there's no
8649 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8650 if you are only going to access the data once. Whitespace cleanups.
8652 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8654 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8655 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8657 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8663 * debian/changelog: Updating.
8665 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8667 * src/hildon-window.c: When destroying the window, remove (if exists) the
8668 escape timeout handler. Fixes #NB59276.
8670 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8672 * src/hildon-banner.c: When realizing the widget, set the window
8673 transiency. Setting the transiency in the gobject constructor is not
8674 good, as the widget is not realized at that point. Fixes: #NB56624.
8676 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8678 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8679 Add padding for future expansions.
8681 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8683 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8684 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8685 will fake an activation on the previous to the last item of the trail, so
8686 the effect can be overrided by the developer as usual.
8687 Also change the callback for the back button to do the same thing, so its
8688 effect can be overrided too. Fixes: NB#58982
8690 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8692 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8693 HildonCaption. Fixes NB#52379.
8695 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8697 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8698 the internal state of the trail after the user has had the chance of executing
8699 his handler for the signal. Specifically, it may happen that the activated button
8700 is removed and the user still lets the default handler run. This would segfault
8703 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8705 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8706 scrollbar to the preview dialog. Fixes NB#54147.
8708 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8711 max/min year properties can be altered, so the client can modify it
8712 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8714 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8716 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8717 hildonlike by default. Fixing a problem with disappearing arrows when
8718 scrolling through months and years. Fixes NB#54127.
8720 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * examples/hildon-date-editor-example.c: Adding error callback to the date
8725 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8731 * configure.ac: Updating.
8733 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8735 * configure.ac: Adding a special '--enable-xan' configure option that
8736 turns off the -Werror compilation setting. Usefull for development.
8738 * src/hildon-calendar.c:
8739 * src/hildon-number-editor.c:
8740 * src/hildon-time-picker.c: Adding the 5* multiplier to
8743 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8745 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8746 instead of g_object_ref + gtk_object_sink.
8748 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8754 * debian/changelog: Updating.
8756 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8758 * src/hildon-color-chooser-dialog.c:
8759 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8760 straight from Tommi labs.
8762 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8764 * examples/hildon-finger-example.c: Correcting the header file path.
8766 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8767 the changed signal. Fixes a small memory leak.
8769 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8773 * src/hildon-banner.c: Importing several usefull fixes from the
8774 ubuntu-mobile branch.
8776 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8778 * examples/Makefile.am:
8779 * examples/hildon-finger-example.c: Adding a finger-checking code
8782 * src/hildon-font-selection-dialog.c: Do not allocate the color
8783 structure using the g_new. Fixes NB#54061.
8785 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8787 * src/hildon-helper.c: Correcting tabs in file.
8789 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8791 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8792 control the visibility of the children.
8794 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8796 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * debian/changelog: Updating.
8804 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8806 * src/hildon-bread-crumb-trail.c:
8807 (hildon_bread_crumb_trail_size_allocate):
8809 Make the back button always a square.
8811 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8813 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8814 from the .c file as it's a private file.
8816 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8818 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8819 uses slightly bigger height.
8821 * src/hildon-font-selection-dialog.c: Adding some checks before
8822 freeing memory in the font selection dialog.
8824 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8826 * src/hildon-font-selection-dialog.c: Adding a small check when
8829 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8830 buttons sensitivity on page switching.
8832 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8834 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8835 internal details of adding a bread crumb to the trail.
8837 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * debian/changelog: Updating.
8845 * src/hildon-bread-crumb-trail.h:
8846 * src/hildon-bread-crumb.h: Changing the API guard to
8847 HILDON_ENABLE_UNSTABLE_API.
8849 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8857 * src/hildon-helper.h: Updating.
8859 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8867 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8871 * src/hildon-helper.h: Small fix to make the package actually compile.
8873 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8875 * src/hildon-bread-crumb-trail.h:
8876 * src/hildon-bread-crumb.h:
8878 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8879 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8881 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8883 * examples/hildon-bread-crumb-trail-example.c:
8885 * src/hildon-bread-crumb-trail.c:
8886 * src/hildon-bread-crumb-trail.h:
8887 * src/hildon-bread-crumb.c:
8888 * src/hildon-bread-crumb.h:
8889 * src/hildon-marshalers.list:
8890 * src/hildon-bread-crumb-widget.c:
8891 * src/hildon-bread-crumb-widget.h:
8893 Slight change in the widget design. The bread crumb trail API is
8894 unchanged, but HildonBreadCrumb is now an interface. A *private*
8895 implementation, hildon-bread-crumb-widget, is provided and used
8896 internally by the trail for the push_text/push_icon functions.
8898 The generic push API is still available, so anyone can implement
8899 and use its own bread crumb widget.
8901 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8903 * debian/rules: Fixing the shlibs.
8905 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8907 * src/hildon-banner.c: Fixing a problem with timed banners having
8908 their parrent destroyed before they are.
8910 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8912 * src/hildon-bread-crumb.c:
8913 * src/hildon-bread-crumb.h:
8915 Make the get_natural_size function a vfunc.
8917 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8919 * src/hildon-bread-crumb.c:
8920 * src/hildon-bread-crumb-trail.c:
8924 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8931 * debian/changelog: Updating for release.
8933 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8935 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8936 don't leak the pango layout.
8938 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8941 * examples/hildon-bread-crumb-trail-example.c:
8945 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8947 * debian/changelog: Removing the bug-fixed entries that were actually
8948 resolved as WONTFIX.
8950 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8953 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8955 * src/hildon-bread-crumb-trail.c:
8956 * src/hildon-bread-crumb-trail.h:
8957 * src/hildon-bread-crumb.c:
8958 * src/hildon-bread-crumb.h:
8962 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8964 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8965 until it's passed the type check.
8967 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8969 * examples/hildon-bread-crumb-trail-example.c
8973 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8975 * examples/Makefile.am
8976 * examples/hildon-bread-crumb-trail-example.c
8978 * src/hildon-bread-crumb-trail.c
8979 * src/hildon-bread-crumb-trail.h
8980 * src/hildon-bread-crumb.c
8981 * src/hildon-bread-crumb.h
8983 New HildonBreadCrumbTrail widget.
8985 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8987 * src/hildon-range-editor.c (hildon_range_editor_init),
8988 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8989 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8990 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8991 hildon_time_editor_class_init, hildon_time_editor_init),
8992 src/hildon-get-password-dialog.c (invalid_input,
8993 hildon_get_password_set_property, hildon_get_password_get_property,
8994 create_contents, hildon_get_password_dialog_set_max_characters),
8995 src/hildon-set-password-dialog.c (create_contents),
8996 src/hildon-date-editor.c (hildon_date_editor_init),
8997 src/hildon-login-dialog.c (hildon_login_dialog_init),
8998 src/hildon-number-editor.c (hildon_number_editor_init),
8999 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9000 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9001 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9002 configure option and adding the respective checks in the code.
9003 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9004 hildon_calendar_drag_data_received): fixed some build warnings.
9006 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * debian/changelog: A 1.0.0 release notes.